DatabaseMigrationService / Client / delete_migration_project
delete_migration_project#
- DatabaseMigrationService.Client.delete_migration_project(**kwargs)#
Deletes the specified migration project.
Note
The migration project must be closed before you can delete it.
See also: AWS API Documentation
Request Syntax
response = client.delete_migration_project( MigrationProjectIdentifier='string' )
- Parameters:
MigrationProjectIdentifier (string) –
[REQUIRED]
The name or Amazon Resource Name (ARN) of the migration project to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'MigrationProject': { 'MigrationProjectName': 'string', 'MigrationProjectArn': 'string', 'MigrationProjectCreationTime': datetime(2015, 1, 1), 'SourceDataProviderDescriptors': [ { 'SecretsManagerSecretId': 'string', 'SecretsManagerAccessRoleArn': 'string', 'DataProviderName': 'string', 'DataProviderArn': 'string' }, ], 'TargetDataProviderDescriptors': [ { 'SecretsManagerSecretId': 'string', 'SecretsManagerAccessRoleArn': 'string', 'DataProviderName': 'string', 'DataProviderArn': 'string' }, ], 'InstanceProfileArn': 'string', 'InstanceProfileName': 'string', 'TransformationRules': 'string', 'Description': 'string', 'SchemaConversionApplicationAttributes': { 'S3BucketPath': 'string', 'S3BucketRoleArn': 'string' } } }
Response Structure
(dict) –
MigrationProject (dict) –
The migration project that was deleted.
MigrationProjectName (string) –
The name of the migration project.
MigrationProjectArn (string) –
The ARN string that uniquely identifies the migration project.
MigrationProjectCreationTime (datetime) –
The time when the migration project was created.
SourceDataProviderDescriptors (list) –
Information about the source data provider, including the name or ARN, and Secrets Manager parameters.
(dict) –
Information about a data provider.
SecretsManagerSecretId (string) –
The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.
SecretsManagerAccessRoleArn (string) –
The ARN of the role used to access Amazon Web Services Secrets Manager.
DataProviderName (string) –
The user-friendly name of the data provider.
DataProviderArn (string) –
The Amazon Resource Name (ARN) of the data provider.
TargetDataProviderDescriptors (list) –
Information about the target data provider, including the name or ARN, and Secrets Manager parameters.
(dict) –
Information about a data provider.
SecretsManagerSecretId (string) –
The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider.
SecretsManagerAccessRoleArn (string) –
The ARN of the role used to access Amazon Web Services Secrets Manager.
DataProviderName (string) –
The user-friendly name of the data provider.
DataProviderArn (string) –
The Amazon Resource Name (ARN) of the data provider.
InstanceProfileArn (string) –
The Amazon Resource Name (ARN) of the instance profile for your migration project.
InstanceProfileName (string) –
The name of the associated instance profile.
TransformationRules (string) –
The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.
Description (string) –
A user-friendly description of the migration project.
SchemaConversionApplicationAttributes (dict) –
The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.
S3BucketPath (string) –
The path for the Amazon S3 bucket that the application uses for exporting assessment reports.
S3BucketRoleArn (string) –
The ARN for the role the application uses to access its Amazon S3 bucket.
Exceptions
DatabaseMigrationService.Client.exceptions.AccessDeniedFault
DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault
DatabaseMigrationService.Client.exceptions.InvalidResourceStateFault