AWS Outposts

2024/07/25 - AWS Outposts - 2 updated api methods

Changes  Adding default vCPU information to GetOutpostSupportedInstanceTypes and GetOutpostInstanceTypes responses

GetOutpostInstanceTypes (updated) Link ¶
Changes (response)
{'InstanceTypes': {'VCPUs': 'integer'}}

Gets the instance types for the specified Outpost.

See also: AWS API Documentation

Request Syntax

client.get_outpost_instance_types(
    OutpostId='string',
    NextToken='string',
    MaxResults=123
)
type OutpostId:

string

param OutpostId:

[REQUIRED]

The ID or ARN of the Outpost.

type NextToken:

string

param NextToken:

The pagination token.

type MaxResults:

integer

param MaxResults:

The maximum page size.

rtype:

dict

returns:

Response Syntax

{
    'InstanceTypes': [
        {
            'InstanceType': 'string',
            'VCPUs': 123
        },
    ],
    'NextToken': 'string',
    'OutpostId': 'string',
    'OutpostArn': 'string'
}

Response Structure

  • (dict) --

    • InstanceTypes (list) --

      Information about the instance types.

      • (dict) --

        Information about an instance type.

        • InstanceType (string) --

          The instance type.

        • VCPUs (integer) --

          The number of default VCPUs in an instance type.

    • NextToken (string) --

      The pagination token.

    • OutpostId (string) --

      The ID of the Outpost.

    • OutpostArn (string) --

      The Amazon Resource Name (ARN) of the Outpost.

GetOutpostSupportedInstanceTypes (updated) Link ¶
Changes (response)
{'InstanceTypes': {'VCPUs': 'integer'}}

Gets the instance types that an Outpost can support in InstanceTypeCapacity. This will generally include instance types that are not currently configured and therefore cannot be launched with the current Outpost capacity configuration.

See also: AWS API Documentation

Request Syntax

client.get_outpost_supported_instance_types(
    OutpostIdentifier='string',
    OrderId='string',
    MaxResults=123,
    NextToken='string'
)
type OutpostIdentifier:

string

param OutpostIdentifier:

[REQUIRED]

The ID or ARN of the Outpost.

type OrderId:

string

param OrderId:

[REQUIRED]

The ID for the Amazon Web Services Outposts order.

type MaxResults:

integer

param MaxResults:

The maximum page size.

type NextToken:

string

param NextToken:

The pagination token.

rtype:

dict

returns:

Response Syntax

{
    'InstanceTypes': [
        {
            'InstanceType': 'string',
            'VCPUs': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • InstanceTypes (list) --

      Information about the instance types.

      • (dict) --

        Information about an instance type.

        • InstanceType (string) --

          The instance type.

        • VCPUs (integer) --

          The number of default VCPUs in an instance type.

    • NextToken (string) --

      The pagination token.