2021/05/26 - AWS Outposts - 4 updated api methods
Changes Add ConflictException to DeleteOutpost, CreateOutpost
{'Outpost': {'SiteArn': 'string'}}
Creates an Outpost.
See also: AWS API Documentation
Request Syntax
client.create_outpost(
Name='string',
Description='string',
SiteId='string',
AvailabilityZone='string',
AvailabilityZoneId='string',
Tags={
'string': 'string'
}
)
string
[REQUIRED]
The name of the Outpost.
string
The description of the Outpost.
string
[REQUIRED]
The ID of the site.
string
The Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
string
The ID of the Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
dict
The tags to apply to the Outpost.
(string) --
(string) --
dict
Response Syntax
{
'Outpost': {
'OutpostId': 'string',
'OwnerId': 'string',
'OutpostArn': 'string',
'SiteId': 'string',
'Name': 'string',
'Description': 'string',
'LifeCycleStatus': 'string',
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'Tags': {
'string': 'string'
},
'SiteArn': 'string'
}
}
Response Structure
(dict) --
Outpost (dict) --
Information about an Outpost.
OutpostId (string) --
The ID of the Outpost.
OwnerId (string) --
The AWS account ID of the Outpost owner.
OutpostArn (string) --
The Amazon Resource Name (ARN) of the Outpost.
SiteId (string) --
The ID of the site.
Name (string) --
The name of the Outpost.
Description (string) --
The description of the Outpost.
LifeCycleStatus (string) --
The life cycle status.
AvailabilityZone (string) --
The Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
AvailabilityZoneId (string) --
The ID of the Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
Tags (dict) --
The Outpost tags.
(string) --
(string) --
SiteArn (string) --
The Amazon Resource Name (ARN) of the site.
{'Outpost': {'SiteArn': 'string'}}
Gets information about the specified Outpost.
See also: AWS API Documentation
Request Syntax
client.get_outpost(
OutpostId='string'
)
string
[REQUIRED]
The ID of the Outpost.
dict
Response Syntax
{
'Outpost': {
'OutpostId': 'string',
'OwnerId': 'string',
'OutpostArn': 'string',
'SiteId': 'string',
'Name': 'string',
'Description': 'string',
'LifeCycleStatus': 'string',
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'Tags': {
'string': 'string'
},
'SiteArn': 'string'
}
}
Response Structure
(dict) --
Outpost (dict) --
Information about an Outpost.
OutpostId (string) --
The ID of the Outpost.
OwnerId (string) --
The AWS account ID of the Outpost owner.
OutpostArn (string) --
The Amazon Resource Name (ARN) of the Outpost.
SiteId (string) --
The ID of the site.
Name (string) --
The name of the Outpost.
Description (string) --
The description of the Outpost.
LifeCycleStatus (string) --
The life cycle status.
AvailabilityZone (string) --
The Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
AvailabilityZoneId (string) --
The ID of the Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
Tags (dict) --
The Outpost tags.
(string) --
(string) --
SiteArn (string) --
The Amazon Resource Name (ARN) of the site.
{'Outposts': {'SiteArn': 'string'}}
List the Outposts for your AWS account.
See also: AWS API Documentation
Request Syntax
client.list_outposts(
NextToken='string',
MaxResults=123
)
string
The pagination token.
integer
The maximum page size.
dict
Response Syntax
{
'Outposts': [
{
'OutpostId': 'string',
'OwnerId': 'string',
'OutpostArn': 'string',
'SiteId': 'string',
'Name': 'string',
'Description': 'string',
'LifeCycleStatus': 'string',
'AvailabilityZone': 'string',
'AvailabilityZoneId': 'string',
'Tags': {
'string': 'string'
},
'SiteArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Outposts (list) --
Information about the Outposts.
(dict) --
Information about an Outpost.
OutpostId (string) --
The ID of the Outpost.
OwnerId (string) --
The AWS account ID of the Outpost owner.
OutpostArn (string) --
The Amazon Resource Name (ARN) of the Outpost.
SiteId (string) --
The ID of the site.
Name (string) --
The name of the Outpost.
Description (string) --
The description of the Outpost.
LifeCycleStatus (string) --
The life cycle status.
AvailabilityZone (string) --
The Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
AvailabilityZoneId (string) --
The ID of the Availability Zone.
You must specify AvailabilityZone or AvailabilityZoneId .
Tags (dict) --
The Outpost tags.
(string) --
(string) --
SiteArn (string) --
The Amazon Resource Name (ARN) of the site.
NextToken (string) --
The pagination token.
{'Sites': {'SiteArn': 'string'}}
Lists the sites for the specified AWS account.
See also: AWS API Documentation
Request Syntax
client.list_sites(
NextToken='string',
MaxResults=123
)
string
The pagination token.
integer
The maximum page size.
dict
Response Syntax
{
'Sites': [
{
'SiteId': 'string',
'AccountId': 'string',
'Name': 'string',
'Description': 'string',
'Tags': {
'string': 'string'
},
'SiteArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Sites (list) --
Information about the sites.
(dict) --
Information about a site.
SiteId (string) --
The ID of the site.
AccountId (string) --
The ID of the AWS account.
Name (string) --
The name of the site.
Description (string) --
The description of the site.
Tags (dict) --
The site tags.
(string) --
(string) --
SiteArn (string) --
The Amazon Resource Name (ARN) of the site.
NextToken (string) --
The pagination token.