@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSOutpostsClient extends AmazonWebServiceClient implements AWSOutposts
Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers to build and run applications on premises using the same programming interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local data processing needs.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSOutpostsClientBuilder builder()
public CancelOrderResult cancelOrder(CancelOrderRequest request)
Cancels an order for an Outpost.
cancelOrder
in interface AWSOutposts
cancelOrderRequest
- 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.public CreateOrderResult createOrder(CreateOrderRequest request)
Creates an order for an Outpost.
createOrder
in interface AWSOutposts
createOrderRequest
- 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.public CreateOutpostResult createOutpost(CreateOutpostRequest request)
Creates an Outpost.
You can specify AvailabilityZone
or AvailabilityZoneId
.
createOutpost
in interface AWSOutposts
createOutpostRequest
- 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.public CreateSiteResult createSite(CreateSiteRequest request)
Creates a site for an Outpost.
createSite
in interface AWSOutposts
createSiteRequest
- 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.InternalServerException
- An internal error has occurred.ServiceQuotaExceededException
- You have exceeded a service quota.public DeleteOutpostResult deleteOutpost(DeleteOutpostRequest request)
Deletes the Outpost.
deleteOutpost
in interface AWSOutposts
deleteOutpostRequest
- 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.public DeleteSiteResult deleteSite(DeleteSiteRequest request)
Deletes the site.
deleteSite
in interface AWSOutposts
deleteSiteRequest
- 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.public GetCatalogItemResult getCatalogItem(GetCatalogItemRequest request)
Gets information about a catalog item.
getCatalogItem
in interface AWSOutposts
getCatalogItemRequest
- ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public GetConnectionResult getConnection(GetConnectionRequest request)
Amazon Web Services uses this action to install Outpost servers.
Gets information about a specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
getConnection
in interface AWSOutposts
getConnectionRequest
- AccessDeniedException
- You do not have permission to perform this operation.ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public GetOrderResult getOrder(GetOrderRequest request)
Gets an order.
getOrder
in interface AWSOutposts
getOrderRequest
- ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public GetOutpostResult getOutpost(GetOutpostRequest request)
Gets information about the specified Outpost.
getOutpost
in interface AWSOutposts
getOutpostRequest
- 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.public GetOutpostInstanceTypesResult getOutpostInstanceTypes(GetOutpostInstanceTypesRequest request)
Gets the instance types for the specified Outpost.
getOutpostInstanceTypes
in interface AWSOutposts
getOutpostInstanceTypesRequest
- 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.public GetSiteResult getSite(GetSiteRequest request)
Gets information about the specified Outpost site.
getSite
in interface AWSOutposts
getSiteRequest
- 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.public GetSiteAddressResult getSiteAddress(GetSiteAddressRequest request)
Gets the site address.
getSiteAddress
in interface AWSOutposts
getSiteAddressRequest
- ValidationException
- A parameter is not valid.AccessDeniedException
- You do not have permission to perform this operation.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public ListAssetsResult listAssets(ListAssetsRequest request)
Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts.
listAssets
in interface AWSOutposts
listAssetsRequest
- ValidationException
- A parameter is not valid.AccessDeniedException
- You do not have permission to perform this operation.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public ListCatalogItemsResult listCatalogItems(ListCatalogItemsRequest request)
Lists the items in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.
If you specify multiple filters, the filters are joined with an AND
, and the request returns only
results that match all of the specified filters.
listCatalogItems
in interface AWSOutposts
listCatalogItemsRequest
- ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public ListOrdersResult listOrders(ListOrdersRequest request)
Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.
listOrders
in interface AWSOutposts
listOrdersRequest
- 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.public ListOutpostsResult listOutposts(ListOutpostsRequest request)
Lists the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific
list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a
),
and AZ ID (use1-az1
).
If you specify multiple filters, the filters are joined with an AND
, and the request returns only
results that match all of the specified filters.
listOutposts
in interface AWSOutposts
listOutpostsRequest
- ValidationException
- A parameter is not valid.AccessDeniedException
- You do not have permission to perform this operation.InternalServerException
- An internal error has occurred.public ListSitesResult listSites(ListSitesRequest request)
Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address.
If you specify multiple filters, the filters are joined with an AND
, and the request returns only
results that match all of the specified filters.
listSites
in interface AWSOutposts
listSitesRequest
- ValidationException
- A parameter is not valid.AccessDeniedException
- You do not have permission to perform this operation.InternalServerException
- An internal error has occurred.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource
in interface AWSOutposts
listTagsForResourceRequest
- InternalServerException
- An internal error has occurred.ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.public StartConnectionResult startConnection(StartConnectionRequest request)
Amazon Web Services uses this action to install Outpost servers.
Starts the connection required for Outpost server installation.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
startConnection
in interface AWSOutposts
startConnectionRequest
- AccessDeniedException
- You do not have permission to perform this operation.ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.InternalServerException
- An internal error has occurred.public TagResourceResult tagResource(TagResourceRequest request)
Adds tags to the specified resource.
tagResource
in interface AWSOutposts
tagResourceRequest
- InternalServerException
- An internal error has occurred.ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from the specified resource.
untagResource
in interface AWSOutposts
untagResourceRequest
- InternalServerException
- An internal error has occurred.ValidationException
- A parameter is not valid.NotFoundException
- The specified request is not valid.public UpdateOutpostResult updateOutpost(UpdateOutpostRequest request)
Updates an Outpost.
updateOutpost
in interface AWSOutposts
updateOutpostRequest
- 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.public UpdateSiteResult updateSite(UpdateSiteRequest request)
Updates the site.
updateSite
in interface AWSOutposts
updateSiteRequest
- 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.public UpdateSiteAddressResult updateSiteAddress(UpdateSiteAddressRequest request)
Updates the site address.
To update a site address with an order IN_PROGRESS
, you must wait for the order to complete or
cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
updateSiteAddress
in interface AWSOutposts
updateSiteAddressRequest
- 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.public UpdateSiteRackPhysicalPropertiesResult updateSiteRackPhysicalProperties(UpdateSiteRackPhysicalPropertiesRequest request)
Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS
, you must wait for the order to complete or
cancel the order.
updateSiteRackPhysicalProperties
in interface AWSOutposts
updateSiteRackPhysicalPropertiesRequest
- 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSOutposts
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSOutposts
shutdown
in class AmazonWebServiceClient