2023/07/31 - Elastic Disaster Recovery Service - 5 updated api methods
Changes Add support for in-aws right sizing
{'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}Response
{'launchConfigurationTemplate': {'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}}
Creates a new Launch Configuration Template.
See also: AWS API Documentation
Request Syntax
client.create_launch_configuration_template( copyPrivateIp=True|False, copyTags=True|False, exportBucketArn='string', launchDisposition='STOPPED'|'STARTED', licensing={ 'osByol': True|False }, tags={ 'string': 'string' }, targetInstanceTypeRightSizingMethod='NONE'|'BASIC'|'IN_AWS' )
boolean
Copy private IP.
boolean
Copy tags.
string
S3 bucket ARN to export Source Network templates.
string
Launch disposition.
dict
Licensing.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
dict
Request to associate tags during creation of a Launch Configuration Template.
(string) --
(string) --
string
Target instance type right-sizing method.
dict
Response Syntax
{ 'launchConfigurationTemplate': { 'arn': 'string', 'copyPrivateIp': True|False, 'copyTags': True|False, 'exportBucketArn': 'string', 'launchConfigurationTemplateID': 'string', 'launchDisposition': 'STOPPED'|'STARTED', 'licensing': { 'osByol': True|False }, 'tags': { 'string': 'string' }, 'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS' } }
Response Structure
(dict) --
launchConfigurationTemplate (dict) --
Created Launch Configuration Template.
arn (string) --
ARN of the Launch Configuration Template.
copyPrivateIp (boolean) --
Copy private IP.
copyTags (boolean) --
Copy tags.
exportBucketArn (string) --
S3 bucket ARN to export Source Network templates.
launchConfigurationTemplateID (string) --
ID of the Launch Configuration Template.
launchDisposition (string) --
Launch disposition.
licensing (dict) --
Licensing.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
tags (dict) --
Tags of the Launch Configuration Template.
(string) --
(string) --
targetInstanceTypeRightSizingMethod (string) --
Target instance type right-sizing method.
{'items': {'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}}
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
See also: AWS API Documentation
Request Syntax
client.describe_launch_configuration_templates( launchConfigurationTemplateIDs=[ 'string', ], maxResults=123, nextToken='string' )
list
Request to filter Launch Configuration Templates list by Launch Configuration Template ID.
(string) --
integer
Maximum results to be returned in DescribeLaunchConfigurationTemplates.
string
The token of the next Launch Configuration Template to retrieve.
dict
Response Syntax
{ 'items': [ { 'arn': 'string', 'copyPrivateIp': True|False, 'copyTags': True|False, 'exportBucketArn': 'string', 'launchConfigurationTemplateID': 'string', 'launchDisposition': 'STOPPED'|'STARTED', 'licensing': { 'osByol': True|False }, 'tags': { 'string': 'string' }, 'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS' }, ], 'nextToken': 'string' }
Response Structure
(dict) --
items (list) --
List of items returned by DescribeLaunchConfigurationTemplates.
(dict) --
Account level Launch Configuration Template.
arn (string) --
ARN of the Launch Configuration Template.
copyPrivateIp (boolean) --
Copy private IP.
copyTags (boolean) --
Copy tags.
exportBucketArn (string) --
S3 bucket ARN to export Source Network templates.
launchConfigurationTemplateID (string) --
ID of the Launch Configuration Template.
launchDisposition (string) --
Launch disposition.
licensing (dict) --
Licensing.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
tags (dict) --
Tags of the Launch Configuration Template.
(string) --
(string) --
targetInstanceTypeRightSizingMethod (string) --
Target instance type right-sizing method.
nextToken (string) --
The token of the next Launch Configuration Template to retrieve.
{'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}
Gets a LaunchConfiguration, filtered by Source Server IDs.
See also: AWS API Documentation
Request Syntax
client.get_launch_configuration( sourceServerID='string' )
string
[REQUIRED]
The ID of the Source Server that we want to retrieve a Launch Configuration for.
dict
Response Syntax
{ 'copyPrivateIp': True|False, 'copyTags': True|False, 'ec2LaunchTemplateID': 'string', 'launchDisposition': 'STOPPED'|'STARTED', 'licensing': { 'osByol': True|False }, 'name': 'string', 'sourceServerID': 'string', 'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS' }
Response Structure
(dict) --
copyPrivateIp (boolean) --
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
copyTags (boolean) --
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
ec2LaunchTemplateID (string) --
The EC2 launch template ID of this launch configuration.
launchDisposition (string) --
The state of the Recovery Instance in EC2 after the recovery operation.
licensing (dict) --
The licensing configuration to be used for this launch configuration.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
name (string) --
The name of the launch configuration.
sourceServerID (string) --
The ID of the Source Server for this launch configuration.
targetInstanceTypeRightSizingMethod (string) --
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
{'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}
Updates a LaunchConfiguration by Source Server ID.
See also: AWS API Documentation
Request Syntax
client.update_launch_configuration( copyPrivateIp=True|False, copyTags=True|False, launchDisposition='STOPPED'|'STARTED', licensing={ 'osByol': True|False }, name='string', sourceServerID='string', targetInstanceTypeRightSizingMethod='NONE'|'BASIC'|'IN_AWS' )
boolean
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
boolean
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
string
The state of the Recovery Instance in EC2 after the recovery operation.
dict
The licensing configuration to be used for this launch configuration.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
string
The name of the launch configuration.
string
[REQUIRED]
The ID of the Source Server that we want to retrieve a Launch Configuration for.
string
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
dict
Response Syntax
{ 'copyPrivateIp': True|False, 'copyTags': True|False, 'ec2LaunchTemplateID': 'string', 'launchDisposition': 'STOPPED'|'STARTED', 'licensing': { 'osByol': True|False }, 'name': 'string', 'sourceServerID': 'string', 'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS' }
Response Structure
(dict) --
copyPrivateIp (boolean) --
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
copyTags (boolean) --
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
ec2LaunchTemplateID (string) --
The EC2 launch template ID of this launch configuration.
launchDisposition (string) --
The state of the Recovery Instance in EC2 after the recovery operation.
licensing (dict) --
The licensing configuration to be used for this launch configuration.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
name (string) --
The name of the launch configuration.
sourceServerID (string) --
The ID of the Source Server for this launch configuration.
targetInstanceTypeRightSizingMethod (string) --
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
{'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}Response
{'launchConfigurationTemplate': {'targetInstanceTypeRightSizingMethod': {'IN_AWS'}}}
Updates an existing Launch Configuration Template by ID.
See also: AWS API Documentation
Request Syntax
client.update_launch_configuration_template( copyPrivateIp=True|False, copyTags=True|False, exportBucketArn='string', launchConfigurationTemplateID='string', launchDisposition='STOPPED'|'STARTED', licensing={ 'osByol': True|False }, targetInstanceTypeRightSizingMethod='NONE'|'BASIC'|'IN_AWS' )
boolean
Copy private IP.
boolean
Copy tags.
string
S3 bucket ARN to export Source Network templates.
string
[REQUIRED]
Launch Configuration Template ID.
string
Launch disposition.
dict
Licensing.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
string
Target instance type right-sizing method.
dict
Response Syntax
{ 'launchConfigurationTemplate': { 'arn': 'string', 'copyPrivateIp': True|False, 'copyTags': True|False, 'exportBucketArn': 'string', 'launchConfigurationTemplateID': 'string', 'launchDisposition': 'STOPPED'|'STARTED', 'licensing': { 'osByol': True|False }, 'tags': { 'string': 'string' }, 'targetInstanceTypeRightSizingMethod': 'NONE'|'BASIC'|'IN_AWS' } }
Response Structure
(dict) --
launchConfigurationTemplate (dict) --
Updated Launch Configuration Template.
arn (string) --
ARN of the Launch Configuration Template.
copyPrivateIp (boolean) --
Copy private IP.
copyTags (boolean) --
Copy tags.
exportBucketArn (string) --
S3 bucket ARN to export Source Network templates.
launchConfigurationTemplateID (string) --
ID of the Launch Configuration Template.
launchDisposition (string) --
Launch disposition.
licensing (dict) --
Licensing.
osByol (boolean) --
Whether to enable "Bring your own license" or not.
tags (dict) --
Tags of the Launch Configuration Template.
(string) --
(string) --
targetInstanceTypeRightSizingMethod (string) --
Target instance type right-sizing method.