AWS Outposts 2019-12-03
- Client: Aws\Outposts\OutpostsClient
- Service ID: outposts
- Version: 2019-12-03
This page describes the parameters and results for the operations of the AWS Outposts (2019-12-03), and shows how to use the Aws\Outposts\OutpostsClient object to call the described operations. This documentation is specific to the 2019-12-03 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName'), where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */).
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */).
- CancelCapacityTask ( array $params = [] )
- Cancels the capacity task.
- CancelOrder ( array $params = [] )
- Cancels the specified order for an Outpost.
- CreateOrder ( array $params = [] )
- Creates an order for an Outpost.
- CreateOutpost ( array $params = [] )
- Creates an Outpost.
- CreatePrivateConnectivityConfig ( array $params = [] )
- Creates the private connectivity configuration for the specified Outpost.
- CreateQuote ( array $params = [] )
- Creates a quote for an Outpost.
- CreateRenewal ( array $params = [] )
- Creates a renewal contract for the specified Outpost.
- CreateSite ( array $params = [] )
- Creates a site for an Outpost.
- DeleteOutpost ( array $params = [] )
- Deletes the specified Outpost.
- DeleteQuote ( array $params = [] )
- Deletes the specified quote.
- DeleteSite ( array $params = [] )
- Deletes the specified site.
- GetCapacityTask ( array $params = [] )
- Gets details of the specified capacity task.
- GetCatalogItem ( array $params = [] )
- Gets information about the specified catalog item.
- GetConnection ( array $params = [] )
- Amazon Web Services uses this action to install Outpost servers.
- GetOrder ( array $params = [] )
- Gets information about the specified order.
- GetOutpost ( array $params = [] )
- Gets information about the specified Outpost.
- GetOutpostBillingInformation ( array $params = [] )
- Gets current and historical billing information about the specified Outpost.
- GetOutpostInstanceTypes ( array $params = [] )
- Gets the instance types for the specified Outpost.
- GetOutpostSupportedInstanceTypes ( array $params = [] )
- Gets the instance types that an Outpost can support in InstanceTypeCapacity.
- GetPrivateConnectivityConfig ( array $params = [] )
- Gets the private connectivity configuration for the specified Outpost.
- GetQuote ( array $params = [] )
- Gets information about the specified quote.
- GetRenewalPricing ( array $params = [] )
- Gets all available renewal pricing options for the specified Outpost.
- GetSite ( array $params = [] )
- Gets information about the specified Outpost site.
- GetSiteAddress ( array $params = [] )
- Gets the site address of the specified site.
- ListAssetInstances ( array $params = [] )
- A list of Amazon EC2 instances, belonging to all accounts, running on the specified Outpost.
- ListAssets ( array $params = [] )
- Lists the hardware assets for the specified Outpost.
- ListBlockingInstancesForCapacityTask ( array $params = [] )
- A list of Amazon EC2 instances running on the Outpost and belonging to the account that initiated the capacity task.
- ListCapacityTasks ( array $params = [] )
- Lists the capacity tasks for your Amazon Web Services account.
- ListCatalogItems ( array $params = [] )
- Lists the items in the catalog.
- ListOrderableInstanceTypes ( array $params = [] )
- Lists the instance types that can be ordered for an Outpost.
- ListOrders ( array $params = [] )
- Lists the Outpost orders for your Amazon Web Services account.
- ListOutposts ( array $params = [] )
- Lists the Outposts for your Amazon Web Services account.
- ListQuotes ( array $params = [] )
- Lists the quotes for your Amazon Web Services account.
- ListSites ( array $params = [] )
- Lists the Outpost sites for your Amazon Web Services account.
- ListTagsForResource ( array $params = [] )
- Lists the tags for the specified resource.
- StartCapacityTask ( array $params = [] )
- Starts the specified capacity task.
- StartConnection ( array $params = [] )
- Amazon Web Services uses this action to install Outpost servers.
- StartOutpostDecommission ( array $params = [] )
- Starts the decommission process to return the Outposts racks or servers.
- TagResource ( array $params = [] )
- Adds tags to the specified resource.
- UntagResource ( array $params = [] )
- Removes tags from the specified resource.
- UpdateOutpost ( array $params = [] )
- Updates an Outpost.
- UpdateQuote ( array $params = [] )
- Updates the specified quote.
- UpdateSite ( array $params = [] )
- Updates the specified site.
- UpdateSiteAddress ( array $params = [] )
- Updates the address of the specified site.
- UpdateSiteRackPhysicalProperties ( array $params = [] )
- Update the physical and logistical details for a rack at a site.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- GetOutpostBillingInformation
- GetOutpostInstanceTypes
- GetOutpostSupportedInstanceTypes
- ListAssetInstances
- ListAssets
- ListBlockingInstancesForCapacityTask
- ListCapacityTasks
- ListCatalogItems
- ListOrderableInstanceTypes
- ListOrders
- ListOutposts
- ListQuotes
- ListSites
Operations
CancelCapacityTask
$result = $client->cancelCapacityTask([/* ... */]); $promise = $client->cancelCapacityTaskAsync([/* ... */]);
Cancels the capacity task.
Parameter Syntax
$result = $client->cancelCapacityTask([
'CapacityTaskId' => '<string>', // REQUIRED
'OutpostIdentifier' => '<string>', // REQUIRED
]);
Parameter Details
Members
- CapacityTaskId
-
- Required: Yes
- Type: string
ID of the capacity task that you want to cancel.
- OutpostIdentifier
-
- Required: Yes
- Type: string
ID or ARN of the Outpost associated with the capacity task that you want to cancel.
Result Syntax
[]
Result Details
Errors
- ValidationException:
A parameter is not valid.
- AccessDeniedException:
You do not have permission to perform this operation.
- NotFoundException:
The specified request is not valid.
- ConflictException:
Updating or deleting this resource can cause an inconsistent state.
- InternalServerException:
An internal error has occurred.
CancelOrder
$result = $client->cancelOrder([/* ... */]); $promise = $client->cancelOrderAsync([/* ... */]);
Cancels the specified order for an Outpost.
Parameter Syntax
$result = $client->cancelOrder([
'OrderId' => '<string>', // REQUIRED
]);
Parameter Details
Members
- OrderId
-
- Required: Yes
- Type: string
The ID of the order.
Result Syntax
[]
Result Details
Errors
- ValidationException:
A parameter is not valid.
- ConflictException:
Updating or deleting this resource can cause an inconsistent state.
- AccessDeniedException:
You do not have permission to perform this operation.
- NotFoundException:
The specified request is not valid.
- InternalServerException:
An internal error has occurred.
CreateOrder
$result = $client->createOrder([/* ... */]); $promise = $client->createOrderAsync([/* ... */]);
Creates an order for an Outpost.
Parameter Syntax
$result = $client->createOrder([
'LineItems' => [
[
'CatalogItemId' => '<string>',
'Quantity' => <integer>,
],
// ...
],
'OutpostIdentifier' => '<string>', // REQUIRED
'PaymentOption' => 'ALL_UPFRONT|NO_UPFRONT|PARTIAL_UPFRONT', // REQUIRED
'PaymentTerm' => 'THREE_YEARS|ONE_YEAR|FIVE_YEARS',
'QuoteIdentifier' => '<string>',
'QuoteOptionIdentifier' => '<string>',
]);
Parameter Details
Members
- LineItems
-
- Type: Array of LineItemRequest structures
The line items that make up the order.
- OutpostIdentifier
-
- Required: Yes
- Type: string
The ID or the Amazon Resource Name (ARN) of the Outpost.
- PaymentOption
-
- Required: Yes
- Type: string
The payment option.
- PaymentTerm
-
- Type: string
The payment terms.
- QuoteIdentifier
-
- Type: string
The ID of the quote to use for the order.
- QuoteOptionIdentifier
-
- Type: string
The ID of the quote option to use for the order.
Result Syntax
[
'Order' => [
'LineItems' => [
[
'AssetInformationList' => [
[
'AssetId' => '<string>',
'MacAddressList' => ['<string>', ...],
],
// ...
],
'CatalogItemId' => '<string>',
'LineItemId' => '<string>',
'PreviousLineItemId' => '<string>',
'PreviousOrderId' => '<string>',
'Quantity' => <integer>,
'ShipmentInformation' => [
'ShipmentCarrier' => 'DHL|DBS|FEDEX|UPS|EXPEDITORS',
'ShipmentTrackingNumber' => '<string>',
],
'Status' => 'PREPARING|BUILDING|SHIPPED|DELIVERED|INSTALLING|INSTALLED|ERROR|CANCELLED|REPLACED',
],
// ...
],
'OrderFulfilledDate' => <DateTime>,
'OrderId' => '<string>',
'OrderSubmissionDate' => <DateTime>,
'OrderType' => 'OUTPOST|REPLACEMENT',
'OutpostId' => '<string>',
'PaymentOption' => 'ALL_UPFRONT|NO_UPFRONT|PARTIAL_UPFRONT',
'PaymentTerm' => 'THREE_YEARS|ONE_YEAR|FIVE_YEARS',
'QuoteIdentifier' => '<string>',
'QuoteOptionIdentifier' => '<string>',
'Status' => 'RECEIVED|PENDING|PROCESSING|INSTALLING|FULFILLED|CANCELLED|PREPARING|IN_PROGRESS|DELIVERED|COMPLETED|ERROR',
],
]
Result Details
Members
- Order
-
- Type: Order structure
Information about this order.
Errors
- ValidationException:
A parameter is not valid.
- ConflictException:
Updating or deleting this resource can cause an inconsistent state.
- AccessDeniedException:
You do not have permission to perform this operation.
- NotFoundException:
The specified request is not valid.
- InternalServerException:
An internal error has occurred.
- ServiceQuotaExceededException:
You have exceeded a service quota.
CreateOutpost
$result = $client->createOutpost([/* ... */]); $promise = $client->createOutpostAsync([/* ... */]);
Creates an Outpost.
You can specify either an Availability one or an AZ ID.
Parameter Syntax
$result = $client->createOutpost([
'AvailabilityZone' => '<string>',
'AvailabilityZoneId' => '<string>',
'Description' => '<string>',
'Name' => '<string>', // REQUIRED
'SiteId' => '<string>', // REQUIRED
'SupportedHardwareType' => 'RACK|SERVER',
'Tags' => ['<string>', ...],
]);
Parameter Details
Members
- AvailabilityZone
-
- Type: string
The Availability Zone.
- AvailabilityZoneId
-
- Type: string
The ID of the Availability Zone.
- Description
-
- Type: string
The description of the Outpost.
- Name
-
- Required: Yes
- Type: string
The name of the Outpost.
- SiteId
-
- Required: Yes
- Type: string
The ID or the Amazon Resource Name (ARN) of the site.
- SupportedHardwareType
-
- Type: string
The type of hardware for this Outpost.
- Tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags to apply to the Outpost.
Result Syntax
[
'Outpost' => [
'AvailabilityZone' => '<string>',
'AvailabilityZoneId' => '<string>',
'Description' => '<string>',
'Generation' => 'GENERATION_2|GENERATION_1',
'LifeCycleStatus' => '<string>',
'Name' => '<string>',
'OutpostArn' => '<string>',
'OutpostId' => '<string>',
'OwnerId' => '<string>',
'RackScalingType' => 'SINGLE_RACK|MULTI_RACK',
'SiteArn' => '<string>',
'SiteId' => '<string>',
'SupportedHardwareType' => 'RACK|SERVER',
'Tags' => ['<string>', ...],
],
]
Result Details
Members
- Outpost
-
- Type: Outpost structure
Information about an Outpost.
Errors
- ValidationException:
A parameter is not valid.
- ConflictException:
Updating or deleting this resource can cause an inconsistent state.
- NotFoundException:
The specified request is not valid.
- AccessDeniedException:
You do not have permission to perform this operation.
- InternalServerException:
An internal error has occurred.
- ServiceQuotaExceededException:
You have exceeded a service quota.
CreatePrivateConnectivityConfig
$result = $client->createPrivateConnectivityConfig([/* ... */]); $promise = $client->createPrivateConnectivityConfigAsync([/* ... */]);
Creates the private connectivity configuration for the specified Outpost. Private connectivity establishes a service link VPN connection between the Outpost and its home Amazon Web Services Region using a VPC and subnet that you specify, which allows the service link traffic to flow through your VPC and minimizes public internet exposure.
Parameter Syntax
$result = $client->createPrivateConnectivityConfig([
'OutpostId' => '<string>', // REQUIRED
'VpcInformationList' => [ // REQUIRED
[
'SubnetIds' => ['<string>', ...],
'VpcEndpointId' => '<string>',
'VpcId' => '<string>',
],
// ...
],
]);
Parameter Details
Members
- OutpostId
-
- Required: Yes
- Type: string
The ID or ARN of the Outpost.
- VpcInformationList
-
- Required: Yes
- Type: Array of VpcInformation structures
Information about the VPC used for private connectivity, including the VPC, its subnets, and an associated VPC endpoint. You can specify at most one entry.
Result Syntax
[
'OutpostId' => '<string>',
'PrivateConnectivityConfig' => [
'PrivateConnectivityStatus' => 'ENABLED|DISABLED',
'ProvisioningRoleArn' => '<string>',
'RoleArn' => '<string>',
'VpcInformationList' => [
[
'SubnetIds' => ['<string>', ...],
'VpcEndpointId' => '<string>',
'VpcId' => '<string>',
],
// ...
],
],
]
Result Details
Members
- OutpostId
-
- Type: string
The ID of the Outpost.
- PrivateConnectivityConfig
-
- Type: PrivateConnectivityConfig structure
The private connectivity configuration for the Outpost.
Errors
- ConflictException:
Updating or deleting this resource can cause an inconsistent state.
- ValidationException:
A parameter is not valid.
- NotFoundException:
The specified request is not valid.
- AccessDeniedException:
You do not have permission to perform this operation.
- InternalServerException:
An internal error has occurred.
CreateQuote
$result = $client->createQuote([/* ... */]); $promise = $client->createQuoteAsync([/* ... */]);
Creates a quote for an Outpost. A quote provides pricing and configuration options based on the requested capacity. You can optionally associate the quote with an existing Outpost or create a standalone quote by specifying only the country code and requested capacities.
Parameter Syntax
$result = $client->createQuote([
'CountryCode' => '<string>', // REQUIRED
'Description' => '<string>',
'OutpostIdentifier' => '<string>',
'RequestedCapacities' => [ // REQUIRED
[
'Quantity' => <float>,
'QuoteCapacityType' => 'EC2|EBS|S3',
'Unit' => '<string>',
],
// ...
],
'RequestedConstraints' => [
[
'QuoteConstraintType' => 'RACK_MAXIMUM|RACK_MAX_POWER_KVA|RACK_MAX_WEIGHT_LBS|RACK_SPACE_CONSTRAINED',
'Value' => '<string>',
],
// ...
],
'RequestedPaymentOptions' => ['<string>', ...],
'RequestedPaymentTerms' => ['<string>', ...],
]);
Parameter Details
Members
- CountryCode
-
- Required: Yes
- Type: string
The country code for the Outpost site location.
- Description
-
- Type: string
A description for the quote.
- OutpostIdentifier
-
- Type: string
The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association.
- RequestedCapacities
-
- Required: Yes
- Type: Array of QuoteCapacity structures
The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.
- RequestedConstraints
-
- Type: Array of QuoteConstraint structures
The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.
- RequestedPaymentOptions
-
- Type: Array of strings
The payment options to include in the quote pricing. If not specified, all available payment options are returned.
- RequestedPaymentTerms
-
- Type: Array of strings
The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.
Result Syntax
[
'Quote' => [
'AccountId' => '<string>',
'CountryCode' => '<string>',
'CreatedDate' => <DateTime>,
'Description' => '<string>',
'ExpirationDate' => <DateTime>,
'OrderingRequirements' => [
[
'OrderingRequirementType' => 'OUTPOST_ACTIVE_CHECK_ERROR|MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR|VALID_ZIP_CODE_CHECK_ERROR|RACK_PHYSICAL_PROPERTIES_CHECK_ERROR|OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR|SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR|COUNTRY_CODE_MISMATCH_CHECK_ERROR|OUTPOST_GENERATION_MISMATCH_ERROR|UNSUPPORTED|OUTPOST_ID_MISSING_ON_QUOTE_ERROR|ENTERPRISE_SUPPORT_ERROR|SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR|SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR|SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR|OUTPOST_STATE_CHANGED_ERROR|OUTPOST_NOT_FOUND_ERROR|OUTPOST_RENEWAL_REQUIRED_ERROR',
'Status' => 'PASS|FAIL|EXEMPT',
'StatusMessage' => '<string>',
],
// ...
],
'OutpostArn' => '<string>',
'QuoteId' => '<string>',
'QuoteOptions' => [
[
'Capacities' => [
[
'Quantity' => <float>,
'QuoteCapacityType' => 'EC2|EBS|S3',
'Unit' => '<string>',
],
// ...
],
'CapacitySummary' => [
'CapacityChange' => [
[
'Quantity' => <float>,
'QuoteCapacityType' => 'EC2|EBS|S3',
'Unit' => '<string>',
],
// ...
],
'ExistingCapacities' => [
[
'Quantity' => <float>,
'QuoteCapacityType' => 'EC2|EBS|S3',
'Unit' => '<string>',
],
// ...
],
'FinalCapacities' => [
[
'Quantity' => <float>,
'QuoteCapacityType' => 'EC2|EBS|S3',
'Unit' => '<string>',
],
// ...
],
],
'PricingOptions' => [
[
'PricingType' => 'SUBSCRIPTION',
'SubscriptionPricingDetails' => [
'Currency' => 'USD',
'MonthlyRecurringPrice' => <float>,
'PaymentOption' => 'ALL_UPFRONT|NO_UPFRONT|PARTIAL_UPFRONT',
'PaymentTerm' => 'THREE_YEARS|ONE_YEAR|FIVE_YEARS',
'UpfrontPrice' => <float>,
],
],
// ...
],
'QuoteOptionIdentifier' => '<string>',
'Specifications' => [
[
'ExistingRackSpecificationDetails' => [
'EC2Capacities' => [
[
'Family' => '<string>',
'MaxSize' => '<string>',
'Quantity' => '<string>',
],
// ...
],
'RackDepthInches' => <float>,
'RackHeightInches' => <float>,
'RackId' => '<string>',
'RackPowerDrawKva' => <float>,
'RackUnitHeight' => 'HEIGHT_42U|HEIGHT_2U|HEIGHT_1U',
'RackUse' => 'NETWORKING|COMPUTE',
'RackWeightLbs' => <float>,
'RackWidthInches' => <float>,
],
'FinalRackSpecificationDetails' => [
'EC2Capacities' => [
[
'Family' => '<string>',
'MaxSize' => '<string>',
'Quantity' => '<string>',
],
// ...
],
'RackDepthInches' => <float>,
'RackHeightInches' => <float>,
'RackId' => '<string>',
'RackPowerDrawKva' => <float>,
'RackUnitHeight' => 'HEIGHT_42U|HEIGHT_2U|HEIGHT_1U',
'RackUse' => 'NETWORKING|COMPUTE',
'RackWeightLbs' => <float>,
'RackWidthInches' => <float>,
],
'QuoteSpecificationType' => 'UPDATED_RACK|NEW_RACK|EXISTING_RACK|SERVER',
'ServerSpecificationDetails' => [
'EC2Capacities' => [
[
'Family' => '<string>',
'MaxSize' => '<string>',
'Quantity' => '<string>',
],
// ...
],
'RackUnitHeight' => 'HEIGHT_42U|HEIGHT_2U|HEIGHT_1U',
'ServerDepthInches' => <float>,
'ServerHeightInches' => <float>,
'ServerPowerDrawKva' => <float>,
'ServerWeightLbs' => <float>,
'ServerWidthInches' => <float>,
],
],
// ...
],
],
// ...
],
'QuoteStatus' => 'CREATED|ORDER_SUBMITTED|EXPIRED',
'RequestedCapacities' => [
[
'Quantity' => <float>,
'QuoteCapacityType' => 'EC2|EBS|S3',
'Unit' => '<string>',
],
// ...
],
'RequestedConstraints' => [
[
'QuoteConstraintType' => 'RACK_MAXIMUM|RACK_MAX_POWER_KVA|RACK_MAX_WEIGHT_LBS|RACK_SPACE_CONSTRAINED',
'Value' => '<string>',
],
// ...
],
'RequestedPaymentOptions' => ['<string>', ...],
'RequestedPaymentTerms' => ['<string>', ...],
'StatusMessage' => '<string>',
'SubmittedOrderId' => '<string>',
],
]
Result Details
Members
- Quote
-
- Type: Quote structure
Information about the quote.
Errors
- AccessDeniedException:
You do not have permission to perform this operation.
- ValidationException:
A parameter is not valid.
- InternalServerException:
An internal error has occurred.
- NotFoundException:
The specified request is not valid.
CreateRenewal
$result = $client->createRenewal([/* ... */]); $promise = $client->createRenewalAsync([/* ... */]);
Creates a renewal contract for the specified Outpost.
Parameter Syntax
$result = $client->createRenewal([
'ClientToken' => '<string>',
'OutpostIdentifier' => '<string>', // REQUIRED
'PaymentOption' => 'ALL_UPFRONT|NO_UPFRONT|PARTIAL_UPFRONT', // REQUIRED
'PaymentTerm' => 'THREE_YEARS|ONE_YEAR|FIVE_YEARS', // REQUIRED
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- OutpostIdentifier
-
- Required: Yes
- Type: string
The ID or ARN of the Outpost.
- PaymentOption
-
- Required: Yes
- Type: string
The payment option.
- PaymentTerm
-
- Required: Yes
- Type: string
The payment term.
Result Syntax
[
'Currency' => 'USD',
'MonthlyRecurringPrice' => <float>,
'OutpostId' => '<string>',
'PaymentOption' => 'ALL_UPFRONT|NO_UPFRONT|PARTIAL_UPFRONT',
'PaymentTerm' => 'THREE_YEARS|ONE_YEAR|FIVE_YEARS',
'UpfrontPrice' => <float>,
]
Result Details
Members
- Currency
-
- Type: string
The currency of the renewal price.
- MonthlyRecurringPrice
-
- Type: float
The monthly recurring price of the renewal.
- OutpostId
-
- Type: string
The ID of the Outpost.
- PaymentOption
-
- Type: string
The payment option.
- PaymentTerm
-
- Type: string
The payment term.
- UpfrontPrice
-
- Type: float
The upfront price of the renewal.