RedshiftServerless / Client / update_snapshot_copy_configuration
update_snapshot_copy_configuration#
- RedshiftServerless.Client.update_snapshot_copy_configuration(**kwargs)#
- Updates a snapshot copy configuration. - See also: AWS API Documentation - Request Syntax- response = client.update_snapshot_copy_configuration( snapshotCopyConfigurationId='string', snapshotRetentionPeriod=123 ) - Parameters:
- snapshotCopyConfigurationId (string) – - [REQUIRED] - The ID of the snapshot copy configuration to update. 
- snapshotRetentionPeriod (integer) – The new retention period of how long to keep a snapshot in the destination Amazon Web Services Region. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'snapshotCopyConfiguration': { 'destinationKmsKeyId': 'string', 'destinationRegion': 'string', 'namespaceName': 'string', 'snapshotCopyConfigurationArn': 'string', 'snapshotCopyConfigurationId': 'string', 'snapshotRetentionPeriod': 123 } } - Response Structure- (dict) – - snapshotCopyConfiguration (dict) – - The updated snapshot copy configuration object. - 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- RedshiftServerless.Client.exceptions.InternalServerException
- RedshiftServerless.Client.exceptions.ResourceNotFoundException
- RedshiftServerless.Client.exceptions.ConflictException
- RedshiftServerless.Client.exceptions.ValidationException
- RedshiftServerless.Client.exceptions.AccessDeniedException