:doc:`RedshiftServerless <../../redshift-serverless>` / Client / create_snapshot_copy_configuration

**********************************
create_snapshot_copy_configuration
**********************************



.. py:method:: RedshiftServerless.Client.create_snapshot_copy_configuration(**kwargs)

  

  Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateSnapshotCopyConfiguration>`_  


  **Request Syntax**
  ::

    response = client.create_snapshot_copy_configuration(
        destinationKmsKeyId='string',
        destinationRegion='string',
        namespaceName='string',
        snapshotRetentionPeriod=123
    )
    
  :type destinationKmsKeyId: string
  :param destinationKmsKeyId: 

    The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.

    

  
  :type destinationRegion: string
  :param destinationRegion: **[REQUIRED]** 

    The destination Amazon Web Services Region that you want to copy snapshots to.

    

  
  :type namespaceName: string
  :param namespaceName: **[REQUIRED]** 

    The name of the namespace to copy snapshots from.

    

  
  :type snapshotRetentionPeriod: integer
  :param snapshotRetentionPeriod: 

    The retention period of the snapshots that you copy to the destination Amazon Web Services Region.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'snapshotCopyConfiguration': {
              'destinationKmsKeyId': 'string',
              'destinationRegion': 'string',
              'namespaceName': 'string',
              'snapshotCopyConfigurationArn': 'string',
              'snapshotCopyConfigurationId': 'string',
              'snapshotRetentionPeriod': 123
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **snapshotCopyConfiguration** *(dict) --* 

        The snapshot copy configuration object that is returned.

        
        

        - **destinationKmsKeyId** *(string) --* 

          The ID of the KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.

          
        

        - **destinationRegion** *(string) --* 

          The destination Amazon Web Services Region to copy snapshots to.

          
        

        - **namespaceName** *(string) --* 

          The name of the namespace to copy snapshots from in the source Amazon Web Services Region.

          
        

        - **snapshotCopyConfigurationArn** *(string) --* 

          The ARN of the snapshot copy configuration object.

          
        

        - **snapshotCopyConfigurationId** *(string) --* 

          The ID of the snapshot copy configuration object.

          
        

        - **snapshotRetentionPeriod** *(integer) --* 

          The retention period of snapshots that are copied to the destination Amazon Web Services Region.

          
    
  
  **Exceptions**
  
  *   :py:class:`RedshiftServerless.Client.exceptions.InternalServerException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ConflictException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ValidationException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ServiceQuotaExceededException`

  