DatabaseMigrationService / Client / describe_metadata_model_creations
describe_metadata_model_creations¶
- DatabaseMigrationService.Client.describe_metadata_model_creations(**kwargs)¶
Returns a paginated list of metadata model creation requests for a migration project.
See also: AWS API Documentation
Request Syntax
response = client.describe_metadata_model_creations( Filters=[ { 'Name': 'string', 'Values': [ 'string', ] }, ], Marker='string', MaxRecords=123, MigrationProjectIdentifier='string' )
- Parameters:
Filters (list) –
Filters applied to the metadata model creation requests described in the form of key-value pairs. The supported filters are request-id and status.
(dict) –
Identifies the name and value of a filter object. This filter is used to limit the number and type of DMS objects that are returned for a particular
Describe*call or similar operation. Filters are used as an optional parameter for certain API operations.Name (string) – [REQUIRED]
The name of the filter as specified for a
Describe*or similar operation.Values (list) – [REQUIRED]
The filter value, which can specify one or more values used to narrow the returned results.
(string) –
Marker (string) – Specifies the unique pagination token that makes it possible to display the next page of metadata model creation requests. If Marker is returned by a previous response, there are more metadata model creation requests available.
MaxRecords (integer) – The maximum number of metadata model creation requests to include in the response. If more requests exist than the specified MaxRecords value, a pagination token is provided in the response so that you can retrieve the remaining results.
MigrationProjectIdentifier (string) –
[REQUIRED]
The migration project name or Amazon Resource Name (ARN).
- Return type:
dict
- Returns:
Response Syntax
{ 'Marker': 'string', 'Requests': [ { 'Status': 'string', 'RequestIdentifier': 'string', 'MigrationProjectArn': 'string', 'Error': { 'defaultErrorDetails': { 'Message': 'string' } }, 'ExportSqlDetails': { 'S3ObjectKey': 'string', 'ObjectURL': 'string' } }, ] }
Response Structure
(dict) –
Marker (string) –
Specifies the unique pagination token that makes it possible to display the next page of metadata model creation requests. If Marker is returned, there are more metadata model creation requests available.
Requests (list) –
A list of metadata model creation requests. The ExportSqlDetails field will never be populated for the DescribeMetadataModelCreations operation.
(dict) –
Provides information about a schema conversion action.
Status (string) –
The schema conversion action status.
RequestIdentifier (string) –
The identifier for the schema conversion action.
MigrationProjectArn (string) –
The migration project ARN.
Error (dict) –
Provides error information about a project.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
defaultErrorDetails. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBERas the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBERis as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
defaultErrorDetails (dict) –
Error information about a project.
Message (string) –
The error message.
ExportSqlDetails (dict) –
Provides information about a metadata model assessment exported to SQL.
S3ObjectKey (string) –
The Amazon S3 object key for the object containing the exported metadata model assessment.
ObjectURL (string) –
The URL for the object containing the exported metadata model assessment.
Exceptions
DatabaseMigrationService.Client.exceptions.ResourceNotFoundFaultDatabaseMigrationService.Client.exceptions.AccessDeniedFault