mgn / Client / list_source_server_actions
list_source_server_actions¶
- mgn.Client.list_source_server_actions(**kwargs)¶
List source server post migration custom actions.
See also: AWS API Documentation
Request Syntax
response = client.list_source_server_actions( sourceServerID='string', filters={ 'actionIDs': [ 'string', ] }, maxResults=123, nextToken='string', accountID='string' )
- Parameters:
sourceServerID (string) –
[REQUIRED]
Source server ID.
filters (dict) –
Filters to apply when listing source server post migration custom actions.
actionIDs (list) –
Action IDs to filter source server post migration custom actions by.
(string) –
maxResults (integer) – Maximum amount of items to return when listing source server post migration custom actions.
nextToken (string) – Next token to use when listing source server post migration custom actions.
accountID (string) – Account ID to return when listing source server post migration custom actions.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'actionID': 'string', 'actionName': 'string', 'documentIdentifier': 'string', 'order': 123, 'documentVersion': 'string', 'active': True|False, 'timeoutSeconds': 123, 'mustSucceedForCutover': True|False, 'parameters': { 'string': [ { 'parameterType': 'STRING'|'SECURE_STRING', 'parameterName': 'string' }, ] }, 'externalParameters': { 'string': { 'dynamicPath': 'string' } }, 'description': 'string', 'category': 'DISASTER_RECOVERY'|'OPERATING_SYSTEM'|'LICENSE_AND_SUBSCRIPTION'|'VALIDATION'|'OBSERVABILITY'|'REFACTORING'|'SECURITY'|'NETWORKING'|'CONFIGURATION'|'BACKUP'|'OTHER' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
List of source server post migration custom actions.
(dict) –
actionID (string) –
Source server post migration custom action ID.
actionName (string) –
Source server post migration custom action name.
documentIdentifier (string) –
Source server post migration custom action document identifier.
order (integer) –
Source server post migration custom action order.
documentVersion (string) –
Source server post migration custom action document version.
active (boolean) –
Source server post migration custom action active status.
timeoutSeconds (integer) –
Source server post migration custom action timeout in seconds.
mustSucceedForCutover (boolean) –
Source server post migration custom action must succeed for cutover.
parameters (dict) –
Source server post migration custom action parameters.
(string) –
(list) –
(dict) –
AWS Systems Manager Parameter Store parameter.
parameterType (string) –
AWS Systems Manager Parameter Store parameter type.
parameterName (string) –
AWS Systems Manager Parameter Store parameter name.
externalParameters (dict) –
Source server post migration custom action external parameters.
(string) –
(dict) –
AWS Systems Manager Document external parameter.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
dynamicPath. 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'}
dynamicPath (string) –
AWS Systems Manager Document external parameters dynamic path.
description (string) –
Source server post migration custom action description.
category (string) –
Source server post migration custom action category.
nextToken (string) –
Next token returned when listing source server post migration custom actions.
Exceptions
mgn.Client.exceptions.UninitializedAccountExceptionmgn.Client.exceptions.ResourceNotFoundException