DatabaseMigrationService / Waiter / MetadataModelCreated
MetadataModelCreated¶
- class DatabaseMigrationService.Waiter.MetadataModelCreated¶
waiter = client.get_waiter('metadata_model_created')
- wait(**kwargs)¶
Polls
DatabaseMigrationService.Client.describe_metadata_model_creations()every 15 seconds until a successful state is reached. An error is raised after 40 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( Filters=[ { 'Name': 'string', 'Values': [ 'string', ] }, ], Marker='string', MaxRecords=123, MigrationProjectIdentifier='string', WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- 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).
WaiterConfig (dict) –
A dictionary that provides parameters to control waiting behavior.
Delay (integer) –
The amount of time in seconds to wait between attempts. Default: 15
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 40
- Returns:
None