Interface OutpostsClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutpostsClientBuilder
builder()
Create a builder that can be used to configure and create aOutpostsClient
.default CancelCapacityTaskResponse
cancelCapacityTask
(Consumer<CancelCapacityTaskRequest.Builder> cancelCapacityTaskRequest) Cancels the capacity task.default CancelCapacityTaskResponse
cancelCapacityTask
(CancelCapacityTaskRequest cancelCapacityTaskRequest) Cancels the capacity task.default CancelOrderResponse
cancelOrder
(Consumer<CancelOrderRequest.Builder> cancelOrderRequest) Cancels the specified order for an Outpost.default CancelOrderResponse
cancelOrder
(CancelOrderRequest cancelOrderRequest) Cancels the specified order for an Outpost.static OutpostsClient
create()
Create aOutpostsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateOrderResponse
createOrder
(Consumer<CreateOrderRequest.Builder> createOrderRequest) Creates an order for an Outpost.default CreateOrderResponse
createOrder
(CreateOrderRequest createOrderRequest) Creates an order for an Outpost.default CreateOutpostResponse
createOutpost
(Consumer<CreateOutpostRequest.Builder> createOutpostRequest) Creates an Outpost.default CreateOutpostResponse
createOutpost
(CreateOutpostRequest createOutpostRequest) Creates an Outpost.default CreateSiteResponse
createSite
(Consumer<CreateSiteRequest.Builder> createSiteRequest) Creates a site for an Outpost.default CreateSiteResponse
createSite
(CreateSiteRequest createSiteRequest) Creates a site for an Outpost.default DeleteOutpostResponse
deleteOutpost
(Consumer<DeleteOutpostRequest.Builder> deleteOutpostRequest) Deletes the specified Outpost.default DeleteOutpostResponse
deleteOutpost
(DeleteOutpostRequest deleteOutpostRequest) Deletes the specified Outpost.default DeleteSiteResponse
deleteSite
(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) Deletes the specified site.default DeleteSiteResponse
deleteSite
(DeleteSiteRequest deleteSiteRequest) Deletes the specified site.default GetCapacityTaskResponse
getCapacityTask
(Consumer<GetCapacityTaskRequest.Builder> getCapacityTaskRequest) Gets details of the specified capacity task.default GetCapacityTaskResponse
getCapacityTask
(GetCapacityTaskRequest getCapacityTaskRequest) Gets details of the specified capacity task.default GetCatalogItemResponse
getCatalogItem
(Consumer<GetCatalogItemRequest.Builder> getCatalogItemRequest) Gets information about the specified catalog item.default GetCatalogItemResponse
getCatalogItem
(GetCatalogItemRequest getCatalogItemRequest) Gets information about the specified catalog item.default GetConnectionResponse
getConnection
(Consumer<GetConnectionRequest.Builder> getConnectionRequest) default GetConnectionResponse
getConnection
(GetConnectionRequest getConnectionRequest) default GetOrderResponse
getOrder
(Consumer<GetOrderRequest.Builder> getOrderRequest) Gets information about the specified order.default GetOrderResponse
getOrder
(GetOrderRequest getOrderRequest) Gets information about the specified order.default GetOutpostResponse
getOutpost
(Consumer<GetOutpostRequest.Builder> getOutpostRequest) Gets information about the specified Outpost.default GetOutpostResponse
getOutpost
(GetOutpostRequest getOutpostRequest) Gets information about the specified Outpost.default GetOutpostInstanceTypesResponse
getOutpostInstanceTypes
(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest) Gets the instance types for the specified Outpost.default GetOutpostInstanceTypesResponse
getOutpostInstanceTypes
(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest) Gets the instance types for the specified Outpost.default GetOutpostInstanceTypesIterable
getOutpostInstanceTypesPaginator
(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest) This is a variant ofgetOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation.default GetOutpostInstanceTypesIterable
getOutpostInstanceTypesPaginator
(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest) This is a variant ofgetOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation.getOutpostSupportedInstanceTypes
(Consumer<GetOutpostSupportedInstanceTypesRequest.Builder> getOutpostSupportedInstanceTypesRequest) Gets the instance types that an Outpost can support inInstanceTypeCapacity
.getOutpostSupportedInstanceTypes
(GetOutpostSupportedInstanceTypesRequest getOutpostSupportedInstanceTypesRequest) Gets the instance types that an Outpost can support inInstanceTypeCapacity
.getOutpostSupportedInstanceTypesPaginator
(Consumer<GetOutpostSupportedInstanceTypesRequest.Builder> getOutpostSupportedInstanceTypesRequest) This is a variant ofgetOutpostSupportedInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesRequest)
operation.getOutpostSupportedInstanceTypesPaginator
(GetOutpostSupportedInstanceTypesRequest getOutpostSupportedInstanceTypesRequest) This is a variant ofgetOutpostSupportedInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesRequest)
operation.default GetSiteResponse
getSite
(Consumer<GetSiteRequest.Builder> getSiteRequest) Gets information about the specified Outpost site.default GetSiteResponse
getSite
(GetSiteRequest getSiteRequest) Gets information about the specified Outpost site.default GetSiteAddressResponse
getSiteAddress
(Consumer<GetSiteAddressRequest.Builder> getSiteAddressRequest) Gets the site address of the specified site.default GetSiteAddressResponse
getSiteAddress
(GetSiteAddressRequest getSiteAddressRequest) Gets the site address of the specified site.default ListAssetsResponse
listAssets
(Consumer<ListAssetsRequest.Builder> listAssetsRequest) Lists the hardware assets for the specified Outpost.default ListAssetsResponse
listAssets
(ListAssetsRequest listAssetsRequest) Lists the hardware assets for the specified Outpost.default ListAssetsIterable
listAssetsPaginator
(Consumer<ListAssetsRequest.Builder> listAssetsRequest) This is a variant oflistAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
operation.default ListAssetsIterable
listAssetsPaginator
(ListAssetsRequest listAssetsRequest) This is a variant oflistAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
operation.default ListCapacityTasksResponse
listCapacityTasks
(Consumer<ListCapacityTasksRequest.Builder> listCapacityTasksRequest) Lists the capacity tasks for your Amazon Web Services account.default ListCapacityTasksResponse
listCapacityTasks
(ListCapacityTasksRequest listCapacityTasksRequest) Lists the capacity tasks for your Amazon Web Services account.default ListCapacityTasksIterable
listCapacityTasksPaginator
(Consumer<ListCapacityTasksRequest.Builder> listCapacityTasksRequest) This is a variant oflistCapacityTasks(software.amazon.awssdk.services.outposts.model.ListCapacityTasksRequest)
operation.default ListCapacityTasksIterable
listCapacityTasksPaginator
(ListCapacityTasksRequest listCapacityTasksRequest) This is a variant oflistCapacityTasks(software.amazon.awssdk.services.outposts.model.ListCapacityTasksRequest)
operation.default ListCatalogItemsResponse
listCatalogItems
(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest) Lists the items in the catalog.default ListCatalogItemsResponse
listCatalogItems
(ListCatalogItemsRequest listCatalogItemsRequest) Lists the items in the catalog.default ListCatalogItemsIterable
listCatalogItemsPaginator
(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest) This is a variant oflistCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest)
operation.default ListCatalogItemsIterable
listCatalogItemsPaginator
(ListCatalogItemsRequest listCatalogItemsRequest) This is a variant oflistCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest)
operation.default ListOrdersResponse
listOrders
(Consumer<ListOrdersRequest.Builder> listOrdersRequest) Lists the Outpost orders for your Amazon Web Services account.default ListOrdersResponse
listOrders
(ListOrdersRequest listOrdersRequest) Lists the Outpost orders for your Amazon Web Services account.default ListOrdersIterable
listOrdersPaginator
(Consumer<ListOrdersRequest.Builder> listOrdersRequest) This is a variant oflistOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
operation.default ListOrdersIterable
listOrdersPaginator
(ListOrdersRequest listOrdersRequest) This is a variant oflistOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
operation.default ListOutpostsResponse
listOutposts
(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest) Lists the Outposts for your Amazon Web Services account.default ListOutpostsResponse
listOutposts
(ListOutpostsRequest listOutpostsRequest) Lists the Outposts for your Amazon Web Services account.default ListOutpostsIterable
listOutpostsPaginator
(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest) This is a variant oflistOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
operation.default ListOutpostsIterable
listOutpostsPaginator
(ListOutpostsRequest listOutpostsRequest) This is a variant oflistOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
operation.default ListSitesResponse
listSites
(Consumer<ListSitesRequest.Builder> listSitesRequest) Lists the Outpost sites for your Amazon Web Services account.default ListSitesResponse
listSites
(ListSitesRequest listSitesRequest) Lists the Outpost sites for your Amazon Web Services account.default ListSitesIterable
listSitesPaginator
(Consumer<ListSitesRequest.Builder> listSitesRequest) This is a variant oflistSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
operation.default ListSitesIterable
listSitesPaginator
(ListSitesRequest listSitesRequest) This is a variant oflistSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartCapacityTaskResponse
startCapacityTask
(Consumer<StartCapacityTaskRequest.Builder> startCapacityTaskRequest) Starts the specified capacity task.default StartCapacityTaskResponse
startCapacityTask
(StartCapacityTaskRequest startCapacityTaskRequest) Starts the specified capacity task.default StartConnectionResponse
startConnection
(Consumer<StartConnectionRequest.Builder> startConnectionRequest) default StartConnectionResponse
startConnection
(StartConnectionRequest startConnectionRequest) default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to the specified resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds tags to the specified resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from the specified resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from the specified resource.default UpdateOutpostResponse
updateOutpost
(Consumer<UpdateOutpostRequest.Builder> updateOutpostRequest) Updates an Outpost.default UpdateOutpostResponse
updateOutpost
(UpdateOutpostRequest updateOutpostRequest) Updates an Outpost.default UpdateSiteResponse
updateSite
(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) Updates the specified site.default UpdateSiteResponse
updateSite
(UpdateSiteRequest updateSiteRequest) Updates the specified site.default UpdateSiteAddressResponse
updateSiteAddress
(Consumer<UpdateSiteAddressRequest.Builder> updateSiteAddressRequest) Updates the address of the specified site.default UpdateSiteAddressResponse
updateSiteAddress
(UpdateSiteAddressRequest updateSiteAddressRequest) Updates the address of the specified site.updateSiteRackPhysicalProperties
(Consumer<UpdateSiteRackPhysicalPropertiesRequest.Builder> updateSiteRackPhysicalPropertiesRequest) Update the physical and logistical details for a rack at a site.updateSiteRackPhysicalProperties
(UpdateSiteRackPhysicalPropertiesRequest updateSiteRackPhysicalPropertiesRequest) Update the physical and logistical details for a rack at a site.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
cancelCapacityTask
default CancelCapacityTaskResponse cancelCapacityTask(CancelCapacityTaskRequest cancelCapacityTaskRequest) throws ValidationException, AccessDeniedException, NotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Cancels the capacity task.
- Parameters:
cancelCapacityTaskRequest
-- Returns:
- Result of the CancelCapacityTask operation returned by the service.
- See Also:
-
cancelCapacityTask
default CancelCapacityTaskResponse cancelCapacityTask(Consumer<CancelCapacityTaskRequest.Builder> cancelCapacityTaskRequest) throws ValidationException, AccessDeniedException, NotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Cancels the capacity task.
This is a convenience which creates an instance of the
CancelCapacityTaskRequest.Builder
avoiding the need to create one manually viaCancelCapacityTaskRequest.builder()
- Parameters:
cancelCapacityTaskRequest
- AConsumer
that will call methods onCancelCapacityTaskRequest.Builder
to create a request.- Returns:
- Result of the CancelCapacityTask operation returned by the service.
- See Also:
-
cancelOrder
default CancelOrderResponse cancelOrder(CancelOrderRequest cancelOrderRequest) throws ValidationException, ConflictException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Cancels the specified order for an Outpost.
- Parameters:
cancelOrderRequest
-- Returns:
- Result of the CancelOrder operation returned by the service.
- See Also:
-
cancelOrder
default CancelOrderResponse cancelOrder(Consumer<CancelOrderRequest.Builder> cancelOrderRequest) throws ValidationException, ConflictException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Cancels the specified order for an Outpost.
This is a convenience which creates an instance of the
CancelOrderRequest.Builder
avoiding the need to create one manually viaCancelOrderRequest.builder()
- Parameters:
cancelOrderRequest
- AConsumer
that will call methods onCancelOrderRequest.Builder
to create a request.- Returns:
- Result of the CancelOrder operation returned by the service.
- See Also:
-
createOrder
default CreateOrderResponse createOrder(CreateOrderRequest createOrderRequest) throws ValidationException, ConflictException, AccessDeniedException, NotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, OutpostsException Creates an order for an Outpost.
- Parameters:
createOrderRequest
-- Returns:
- Result of the CreateOrder operation returned by the service.
- See Also:
-
createOrder
default CreateOrderResponse createOrder(Consumer<CreateOrderRequest.Builder> createOrderRequest) throws ValidationException, ConflictException, AccessDeniedException, NotFoundException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, OutpostsException Creates an order for an Outpost.
This is a convenience which creates an instance of the
CreateOrderRequest.Builder
avoiding the need to create one manually viaCreateOrderRequest.builder()
- Parameters:
createOrderRequest
- AConsumer
that will call methods onCreateOrderRequest.Builder
to create a request.- Returns:
- Result of the CreateOrder operation returned by the service.
- See Also:
-
createOutpost
default CreateOutpostResponse createOutpost(CreateOutpostRequest createOutpostRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, OutpostsException Creates an Outpost.
You can specify either an Availability one or an AZ ID.
- Parameters:
createOutpostRequest
-- Returns:
- Result of the CreateOutpost operation returned by the service.
- See Also:
-
createOutpost
default CreateOutpostResponse createOutpost(Consumer<CreateOutpostRequest.Builder> createOutpostRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, OutpostsException Creates an Outpost.
You can specify either an Availability one or an AZ ID.
This is a convenience which creates an instance of the
CreateOutpostRequest.Builder
avoiding the need to create one manually viaCreateOutpostRequest.builder()
- Parameters:
createOutpostRequest
- AConsumer
that will call methods onCreateOutpostRequest.Builder
to create a request.- Returns:
- Result of the CreateOutpost operation returned by the service.
- See Also:
-
createSite
default CreateSiteResponse createSite(CreateSiteRequest createSiteRequest) throws ValidationException, ConflictException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, OutpostsException Creates a site for an Outpost.
- Parameters:
createSiteRequest
-- Returns:
- Result of the CreateSite operation returned by the service.
- See Also:
-
createSite
default CreateSiteResponse createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest) throws ValidationException, ConflictException, AccessDeniedException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, OutpostsException Creates a site for an Outpost.
This is a convenience which creates an instance of the
CreateSiteRequest.Builder
avoiding the need to create one manually viaCreateSiteRequest.builder()
- Parameters:
createSiteRequest
- AConsumer
that will call methods onCreateSiteRequest.Builder
to create a request.- Returns:
- Result of the CreateSite operation returned by the service.
- See Also:
-
deleteOutpost
default DeleteOutpostResponse deleteOutpost(DeleteOutpostRequest deleteOutpostRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Deletes the specified Outpost.
- Parameters:
deleteOutpostRequest
-- Returns:
- Result of the DeleteOutpost operation returned by the service.
- See Also:
-
deleteOutpost
default DeleteOutpostResponse deleteOutpost(Consumer<DeleteOutpostRequest.Builder> deleteOutpostRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Deletes the specified Outpost.
This is a convenience which creates an instance of the
DeleteOutpostRequest.Builder
avoiding the need to create one manually viaDeleteOutpostRequest.builder()
- Parameters:
deleteOutpostRequest
- AConsumer
that will call methods onDeleteOutpostRequest.Builder
to create a request.- Returns:
- Result of the DeleteOutpost operation returned by the service.
- See Also:
-
deleteSite
default DeleteSiteResponse deleteSite(DeleteSiteRequest deleteSiteRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Deletes the specified site.
- Parameters:
deleteSiteRequest
-- Returns:
- Result of the DeleteSite operation returned by the service.
- See Also:
-
deleteSite
default DeleteSiteResponse deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Deletes the specified site.
This is a convenience which creates an instance of the
DeleteSiteRequest.Builder
avoiding the need to create one manually viaDeleteSiteRequest.builder()
- Parameters:
deleteSiteRequest
- AConsumer
that will call methods onDeleteSiteRequest.Builder
to create a request.- Returns:
- Result of the DeleteSite operation returned by the service.
- See Also:
-
getCapacityTask
default GetCapacityTaskResponse getCapacityTask(GetCapacityTaskRequest getCapacityTaskRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets details of the specified capacity task.
- Parameters:
getCapacityTaskRequest
-- Returns:
- Result of the GetCapacityTask operation returned by the service.
- See Also:
-
getCapacityTask
default GetCapacityTaskResponse getCapacityTask(Consumer<GetCapacityTaskRequest.Builder> getCapacityTaskRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets details of the specified capacity task.
This is a convenience which creates an instance of the
GetCapacityTaskRequest.Builder
avoiding the need to create one manually viaGetCapacityTaskRequest.builder()
- Parameters:
getCapacityTaskRequest
- AConsumer
that will call methods onGetCapacityTaskRequest.Builder
to create a request.- Returns:
- Result of the GetCapacityTask operation returned by the service.
- See Also:
-
getCatalogItem
default GetCatalogItemResponse getCatalogItem(GetCatalogItemRequest getCatalogItemRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified catalog item.
- Parameters:
getCatalogItemRequest
-- Returns:
- Result of the GetCatalogItem operation returned by the service.
- See Also:
-
getCatalogItem
default GetCatalogItemResponse getCatalogItem(Consumer<GetCatalogItemRequest.Builder> getCatalogItemRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified catalog item.
This is a convenience which creates an instance of the
GetCatalogItemRequest.Builder
avoiding the need to create one manually viaGetCatalogItemRequest.builder()
- Parameters:
getCatalogItemRequest
- AConsumer
that will call methods onGetCatalogItemRequest.Builder
to create a request.- Returns:
- Result of the GetCatalogItem operation returned by the service.
- See Also:
-
getConnection
default GetConnectionResponse getConnection(GetConnectionRequest getConnectionRequest) throws AccessDeniedException, ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Amazon Web Services uses this action to install Outpost servers.
Gets information about the 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.
- Parameters:
getConnectionRequest
-- Returns:
- Result of the GetConnection operation returned by the service.
- See Also:
-
getConnection
default GetConnectionResponse getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest) throws AccessDeniedException, ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Amazon Web Services uses this action to install Outpost servers.
Gets information about the 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.
This is a convenience which creates an instance of the
GetConnectionRequest.Builder
avoiding the need to create one manually viaGetConnectionRequest.builder()
- Parameters:
getConnectionRequest
- AConsumer
that will call methods onGetConnectionRequest.Builder
to create a request.- Returns:
- Result of the GetConnection operation returned by the service.
- See Also:
-
getOrder
default GetOrderResponse getOrder(GetOrderRequest getOrderRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified order.
- Parameters:
getOrderRequest
-- Returns:
- Result of the GetOrder operation returned by the service.
- See Also:
-
getOrder
default GetOrderResponse getOrder(Consumer<GetOrderRequest.Builder> getOrderRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified order.
This is a convenience which creates an instance of the
GetOrderRequest.Builder
avoiding the need to create one manually viaGetOrderRequest.builder()
- Parameters:
getOrderRequest
- AConsumer
that will call methods onGetOrderRequest.Builder
to create a request.- Returns:
- Result of the GetOrder operation returned by the service.
- See Also:
-
getOutpost
default GetOutpostResponse getOutpost(GetOutpostRequest getOutpostRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified Outpost.
- Parameters:
getOutpostRequest
-- Returns:
- Result of the GetOutpost operation returned by the service.
- See Also:
-
getOutpost
default GetOutpostResponse getOutpost(Consumer<GetOutpostRequest.Builder> getOutpostRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified Outpost.
This is a convenience which creates an instance of the
GetOutpostRequest.Builder
avoiding the need to create one manually viaGetOutpostRequest.builder()
- Parameters:
getOutpostRequest
- AConsumer
that will call methods onGetOutpostRequest.Builder
to create a request.- Returns:
- Result of the GetOutpost operation returned by the service.
- See Also:
-
getOutpostInstanceTypes
default GetOutpostInstanceTypesResponse getOutpostInstanceTypes(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets the instance types for the specified Outpost.
- Parameters:
getOutpostInstanceTypesRequest
-- Returns:
- Result of the GetOutpostInstanceTypes operation returned by the service.
- See Also:
-
getOutpostInstanceTypes
default GetOutpostInstanceTypesResponse getOutpostInstanceTypes(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets the instance types for the specified Outpost.
This is a convenience which creates an instance of the
GetOutpostInstanceTypesRequest.Builder
avoiding the need to create one manually viaGetOutpostInstanceTypesRequest.builder()
- Parameters:
getOutpostInstanceTypesRequest
- AConsumer
that will call methods onGetOutpostInstanceTypesRequest.Builder
to create a request.- Returns:
- Result of the GetOutpostInstanceTypes operation returned by the service.
- See Also:
-
getOutpostInstanceTypesPaginator
default GetOutpostInstanceTypesIterable getOutpostInstanceTypesPaginator(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesIterable responses = client.getOutpostInstanceTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesIterable responses = client .getOutpostInstanceTypesPaginator(request); for (software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesIterable responses = client.getOutpostInstanceTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation.- Parameters:
getOutpostInstanceTypesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getOutpostInstanceTypesPaginator
default GetOutpostInstanceTypesIterable getOutpostInstanceTypesPaginator(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesIterable responses = client.getOutpostInstanceTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesIterable responses = client .getOutpostInstanceTypesPaginator(request); for (software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesIterable responses = client.getOutpostInstanceTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest)
operation.
This is a convenience which creates an instance of the
GetOutpostInstanceTypesRequest.Builder
avoiding the need to create one manually viaGetOutpostInstanceTypesRequest.builder()
- Parameters:
getOutpostInstanceTypesRequest
- AConsumer
that will call methods onGetOutpostInstanceTypesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getOutpostSupportedInstanceTypes
default GetOutpostSupportedInstanceTypesResponse getOutpostSupportedInstanceTypes(GetOutpostSupportedInstanceTypesRequest getOutpostSupportedInstanceTypesRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException 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.- Parameters:
getOutpostSupportedInstanceTypesRequest
-- Returns:
- Result of the GetOutpostSupportedInstanceTypes operation returned by the service.
- See Also:
-
getOutpostSupportedInstanceTypes
default GetOutpostSupportedInstanceTypesResponse getOutpostSupportedInstanceTypes(Consumer<GetOutpostSupportedInstanceTypesRequest.Builder> getOutpostSupportedInstanceTypesRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException 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.
This is a convenience which creates an instance of the
GetOutpostSupportedInstanceTypesRequest.Builder
avoiding the need to create one manually viaGetOutpostSupportedInstanceTypesRequest.builder()
- Parameters:
getOutpostSupportedInstanceTypesRequest
- AConsumer
that will call methods onGetOutpostSupportedInstanceTypesRequest.Builder
to create a request.- Returns:
- Result of the GetOutpostSupportedInstanceTypes operation returned by the service.
- See Also:
-
getOutpostSupportedInstanceTypesPaginator
default GetOutpostSupportedInstanceTypesIterable getOutpostSupportedInstanceTypesPaginator(GetOutpostSupportedInstanceTypesRequest getOutpostSupportedInstanceTypesRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
getOutpostSupportedInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.GetOutpostSupportedInstanceTypesIterable responses = client.getOutpostSupportedInstanceTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.GetOutpostSupportedInstanceTypesIterable responses = client .getOutpostSupportedInstanceTypesPaginator(request); for (software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.GetOutpostSupportedInstanceTypesIterable responses = client.getOutpostSupportedInstanceTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOutpostSupportedInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesRequest)
operation.- Parameters:
getOutpostSupportedInstanceTypesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getOutpostSupportedInstanceTypesPaginator
default GetOutpostSupportedInstanceTypesIterable getOutpostSupportedInstanceTypesPaginator(Consumer<GetOutpostSupportedInstanceTypesRequest.Builder> getOutpostSupportedInstanceTypesRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
getOutpostSupportedInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.GetOutpostSupportedInstanceTypesIterable responses = client.getOutpostSupportedInstanceTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.GetOutpostSupportedInstanceTypesIterable responses = client .getOutpostSupportedInstanceTypesPaginator(request); for (software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.GetOutpostSupportedInstanceTypesIterable responses = client.getOutpostSupportedInstanceTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOutpostSupportedInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostSupportedInstanceTypesRequest)
operation.
This is a convenience which creates an instance of the
GetOutpostSupportedInstanceTypesRequest.Builder
avoiding the need to create one manually viaGetOutpostSupportedInstanceTypesRequest.builder()
- Parameters:
getOutpostSupportedInstanceTypesRequest
- AConsumer
that will call methods onGetOutpostSupportedInstanceTypesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getSite
default GetSiteResponse getSite(GetSiteRequest getSiteRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified Outpost site.
- Parameters:
getSiteRequest
-- Returns:
- Result of the GetSite operation returned by the service.
- See Also:
-
getSite
default GetSiteResponse getSite(Consumer<GetSiteRequest.Builder> getSiteRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets information about the specified Outpost site.
This is a convenience which creates an instance of the
GetSiteRequest.Builder
avoiding the need to create one manually viaGetSiteRequest.builder()
- Parameters:
getSiteRequest
- AConsumer
that will call methods onGetSiteRequest.Builder
to create a request.- Returns:
- Result of the GetSite operation returned by the service.
- See Also:
-
getSiteAddress
default GetSiteAddressResponse getSiteAddress(GetSiteAddressRequest getSiteAddressRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets the site address of the specified site.
- Parameters:
getSiteAddressRequest
-- Returns:
- Result of the GetSiteAddress operation returned by the service.
- See Also:
-
getSiteAddress
default GetSiteAddressResponse getSiteAddress(Consumer<GetSiteAddressRequest.Builder> getSiteAddressRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Gets the site address of the specified site.
This is a convenience which creates an instance of the
GetSiteAddressRequest.Builder
avoiding the need to create one manually viaGetSiteAddressRequest.builder()
- Parameters:
getSiteAddressRequest
- AConsumer
that will call methods onGetSiteAddressRequest.Builder
to create a request.- Returns:
- Result of the GetSiteAddress operation returned by the service.
- See Also:
-
listAssets
default ListAssetsResponse listAssets(ListAssetsRequest listAssetsRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
- Parameters:
listAssetsRequest
-- Returns:
- Result of the ListAssets operation returned by the service.
- See Also:
-
listAssets
default ListAssetsResponse listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the
ListAssetsRequest.Builder
avoiding the need to create one manually viaListAssetsRequest.builder()
- Parameters:
listAssetsRequest
- AConsumer
that will call methods onListAssetsRequest.Builder
to create a request.- Returns:
- Result of the ListAssets operation returned by the service.
- See Also:
-
listAssetsPaginator
default ListAssetsIterable listAssetsPaginator(ListAssetsRequest listAssetsRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListAssetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
operation.- Parameters:
listAssetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssetsPaginator
default ListAssetsIterable listAssetsPaginator(Consumer<ListAssetsRequest.Builder> listAssetsRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListAssetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListAssetsIterable responses = client.listAssetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest)
operation.
This is a convenience which creates an instance of the
ListAssetsRequest.Builder
avoiding the need to create one manually viaListAssetsRequest.builder()
- Parameters:
listAssetsRequest
- AConsumer
that will call methods onListAssetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCapacityTasks
default ListCapacityTasksResponse listCapacityTasks(ListCapacityTasksRequest listCapacityTasksRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the capacity tasks for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
- Parameters:
listCapacityTasksRequest
-- Returns:
- Result of the ListCapacityTasks operation returned by the service.
- See Also:
-
listCapacityTasks
default ListCapacityTasksResponse listCapacityTasks(Consumer<ListCapacityTasksRequest.Builder> listCapacityTasksRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the capacity tasks for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the
ListCapacityTasksRequest.Builder
avoiding the need to create one manually viaListCapacityTasksRequest.builder()
- Parameters:
listCapacityTasksRequest
- AConsumer
that will call methods onListCapacityTasksRequest.Builder
to create a request.- Returns:
- Result of the ListCapacityTasks operation returned by the service.
- See Also:
-
listCapacityTasksPaginator
default ListCapacityTasksIterable listCapacityTasksPaginator(ListCapacityTasksRequest listCapacityTasksRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listCapacityTasks(software.amazon.awssdk.services.outposts.model.ListCapacityTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListCapacityTasksIterable responses = client.listCapacityTasksPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListCapacityTasksIterable responses = client .listCapacityTasksPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListCapacityTasksResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListCapacityTasksIterable responses = client.listCapacityTasksPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCapacityTasks(software.amazon.awssdk.services.outposts.model.ListCapacityTasksRequest)
operation.- Parameters:
listCapacityTasksRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCapacityTasksPaginator
default ListCapacityTasksIterable listCapacityTasksPaginator(Consumer<ListCapacityTasksRequest.Builder> listCapacityTasksRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listCapacityTasks(software.amazon.awssdk.services.outposts.model.ListCapacityTasksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListCapacityTasksIterable responses = client.listCapacityTasksPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListCapacityTasksIterable responses = client .listCapacityTasksPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListCapacityTasksResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListCapacityTasksIterable responses = client.listCapacityTasksPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCapacityTasks(software.amazon.awssdk.services.outposts.model.ListCapacityTasksRequest)
operation.
This is a convenience which creates an instance of the
ListCapacityTasksRequest.Builder
avoiding the need to create one manually viaListCapacityTasksRequest.builder()
- Parameters:
listCapacityTasksRequest
- AConsumer
that will call methods onListCapacityTasksRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCatalogItems
default ListCatalogItemsResponse listCatalogItems(ListCatalogItemsRequest listCatalogItemsRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
- Parameters:
listCatalogItemsRequest
-- Returns:
- Result of the ListCatalogItems operation returned by the service.
- See Also:
-
listCatalogItems
default ListCatalogItemsResponse listCatalogItems(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the
ListCatalogItemsRequest.Builder
avoiding the need to create one manually viaListCatalogItemsRequest.builder()
- Parameters:
listCatalogItemsRequest
- AConsumer
that will call methods onListCatalogItemsRequest.Builder
to create a request.- Returns:
- Result of the ListCatalogItems operation returned by the service.
- See Also:
-
listCatalogItemsPaginator
default ListCatalogItemsIterable listCatalogItemsPaginator(ListCatalogItemsRequest listCatalogItemsRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListCatalogItemsIterable responses = client.listCatalogItemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsIterable responses = client .listCatalogItemsPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListCatalogItemsIterable responses = client.listCatalogItemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest)
operation.- Parameters:
listCatalogItemsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCatalogItemsPaginator
default ListCatalogItemsIterable listCatalogItemsPaginator(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest) throws ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListCatalogItemsIterable responses = client.listCatalogItemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsIterable responses = client .listCatalogItemsPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListCatalogItemsIterable responses = client.listCatalogItemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest)
operation.
This is a convenience which creates an instance of the
ListCatalogItemsRequest.Builder
avoiding the need to create one manually viaListCatalogItemsRequest.builder()
- Parameters:
listCatalogItemsRequest
- AConsumer
that will call methods onListCatalogItemsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrders
default ListOrdersResponse listOrders(ListOrdersRequest listOrdersRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the Outpost orders for your Amazon Web Services account.
- Parameters:
listOrdersRequest
-- Returns:
- Result of the ListOrders operation returned by the service.
- See Also:
-
listOrders
default ListOrdersResponse listOrders(Consumer<ListOrdersRequest.Builder> listOrdersRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the Outpost orders for your Amazon Web Services account.
This is a convenience which creates an instance of the
ListOrdersRequest.Builder
avoiding the need to create one manually viaListOrdersRequest.builder()
- Parameters:
listOrdersRequest
- AConsumer
that will call methods onListOrdersRequest.Builder
to create a request.- Returns:
- Result of the ListOrders operation returned by the service.
- See Also:
-
listOrdersPaginator
default ListOrdersIterable listOrdersPaginator(ListOrdersRequest listOrdersRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListOrdersIterable responses = client.listOrdersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListOrdersIterable responses = client.listOrdersPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListOrdersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListOrdersIterable responses = client.listOrdersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
operation.- Parameters:
listOrdersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrdersPaginator
default ListOrdersIterable listOrdersPaginator(Consumer<ListOrdersRequest.Builder> listOrdersRequest) throws ValidationException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListOrdersIterable responses = client.listOrdersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListOrdersIterable responses = client.listOrdersPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListOrdersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListOrdersIterable responses = client.listOrdersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest)
operation.
This is a convenience which creates an instance of the
ListOrdersRequest.Builder
avoiding the need to create one manually viaListOrdersRequest.builder()
- Parameters:
listOrdersRequest
- AConsumer
that will call methods onListOrdersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutposts
default ListOutpostsResponse listOutposts(ListOutpostsRequest listOutpostsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
- Parameters:
listOutpostsRequest
-- Returns:
- Result of the ListOutposts operation returned by the service.
- See Also:
-
listOutposts
default ListOutpostsResponse listOutposts(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the
ListOutpostsRequest.Builder
avoiding the need to create one manually viaListOutpostsRequest.builder()
- Parameters:
listOutpostsRequest
- AConsumer
that will call methods onListOutpostsRequest.Builder
to create a request.- Returns:
- Result of the ListOutposts operation returned by the service.
- See Also:
-
listOutpostsPaginator
default ListOutpostsIterable listOutpostsPaginator(ListOutpostsRequest listOutpostsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListOutpostsIterable responses = client.listOutpostsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListOutpostsIterable responses = client.listOutpostsPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListOutpostsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListOutpostsIterable responses = client.listOutpostsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
operation.- Parameters:
listOutpostsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutpostsPaginator
default ListOutpostsIterable listOutpostsPaginator(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListOutpostsIterable responses = client.listOutpostsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListOutpostsIterable responses = client.listOutpostsPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListOutpostsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListOutpostsIterable responses = client.listOutpostsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest)
operation.
This is a convenience which creates an instance of the
ListOutpostsRequest.Builder
avoiding the need to create one manually viaListOutpostsRequest.builder()
- Parameters:
listOutpostsRequest
- AConsumer
that will call methods onListOutpostsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSites
default ListSitesResponse listSites(ListSitesRequest listSitesRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
- Parameters:
listSitesRequest
-- Returns:
- Result of the ListSites operation returned by the service.
- See Also:
-
listSites
default ListSitesResponse listSites(Consumer<ListSitesRequest.Builder> listSitesRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
This is a convenience which creates an instance of the
ListSitesRequest.Builder
avoiding the need to create one manually viaListSitesRequest.builder()
- Parameters:
listSitesRequest
- AConsumer
that will call methods onListSitesRequest.Builder
to create a request.- Returns:
- Result of the ListSites operation returned by the service.
- See Also:
-
listSitesPaginator
default ListSitesIterable listSitesPaginator(ListSitesRequest listSitesRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListSitesIterable responses = client.listSitesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListSitesIterable responses = client.listSitesPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListSitesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListSitesIterable responses = client.listSitesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
operation.- Parameters:
listSitesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSitesPaginator
default ListSitesIterable listSitesPaginator(Consumer<ListSitesRequest.Builder> listSitesRequest) throws ValidationException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException This is a variant of
listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.outposts.paginators.ListSitesIterable responses = client.listSitesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.outposts.paginators.ListSitesIterable responses = client.listSitesPaginator(request); for (software.amazon.awssdk.services.outposts.model.ListSitesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.outposts.paginators.ListSitesIterable responses = client.listSitesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest)
operation.
This is a convenience which creates an instance of the
ListSitesRequest.Builder
avoiding the need to create one manually viaListSitesRequest.builder()
- Parameters:
listSitesRequest
- AConsumer
that will call methods onListSitesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ValidationException, NotFoundException, AwsServiceException, SdkClientException, OutpostsException Lists the tags for the specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ValidationException, NotFoundException, AwsServiceException, SdkClientException, OutpostsException Lists the tags for the specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
startCapacityTask
default StartCapacityTaskResponse startCapacityTask(StartCapacityTaskRequest startCapacityTaskRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, OutpostsException Starts the specified capacity task. You can have one active capacity task for an order.
- Parameters:
startCapacityTaskRequest
-- Returns:
- Result of the StartCapacityTask operation returned by the service.
- See Also:
-
startCapacityTask
default StartCapacityTaskResponse startCapacityTask(Consumer<StartCapacityTaskRequest.Builder> startCapacityTaskRequest) throws ValidationException, AccessDeniedException, NotFoundException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, OutpostsException Starts the specified capacity task. You can have one active capacity task for an order.
This is a convenience which creates an instance of the
StartCapacityTaskRequest.Builder
avoiding the need to create one manually viaStartCapacityTaskRequest.builder()
- Parameters:
startCapacityTaskRequest
- AConsumer
that will call methods onStartCapacityTaskRequest.Builder
to create a request.- Returns:
- Result of the StartCapacityTask operation returned by the service.
- See Also:
-
startConnection
default StartConnectionResponse startConnection(StartConnectionRequest startConnectionRequest) throws AccessDeniedException, ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException 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.
- Parameters:
startConnectionRequest
-- Returns:
- Result of the StartConnection operation returned by the service.
- See Also:
-
startConnection
default StartConnectionResponse startConnection(Consumer<StartConnectionRequest.Builder> startConnectionRequest) throws AccessDeniedException, ValidationException, NotFoundException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException 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.
This is a convenience which creates an instance of the
StartConnectionRequest.Builder
avoiding the need to create one manually viaStartConnectionRequest.builder()
- Parameters:
startConnectionRequest
- AConsumer
that will call methods onStartConnectionRequest.Builder
to create a request.- Returns:
- Result of the StartConnection operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ValidationException, NotFoundException, AwsServiceException, SdkClientException, OutpostsException Adds tags to the specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ValidationException, NotFoundException, AwsServiceException, SdkClientException, OutpostsException Adds tags to the specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ValidationException, NotFoundException, AwsServiceException, SdkClientException, OutpostsException Removes tags from the specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ValidationException, NotFoundException, AwsServiceException, SdkClientException, OutpostsException Removes tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateOutpost
default UpdateOutpostResponse updateOutpost(UpdateOutpostRequest updateOutpostRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Updates an Outpost.
- Parameters:
updateOutpostRequest
-- Returns:
- Result of the UpdateOutpost operation returned by the service.
- See Also:
-
updateOutpost
default UpdateOutpostResponse updateOutpost(Consumer<UpdateOutpostRequest.Builder> updateOutpostRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Updates an Outpost.
This is a convenience which creates an instance of the
UpdateOutpostRequest.Builder
avoiding the need to create one manually viaUpdateOutpostRequest.builder()
- Parameters:
updateOutpostRequest
- AConsumer
that will call methods onUpdateOutpostRequest.Builder
to create a request.- Returns:
- Result of the UpdateOutpost operation returned by the service.
- See Also:
-
updateSite
default UpdateSiteResponse updateSite(UpdateSiteRequest updateSiteRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Updates the specified site.
- Parameters:
updateSiteRequest
-- Returns:
- Result of the UpdateSite operation returned by the service.
- See Also:
-
updateSite
default UpdateSiteResponse updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Updates the specified site.
This is a convenience which creates an instance of the
UpdateSiteRequest.Builder
avoiding the need to create one manually viaUpdateSiteRequest.builder()
- Parameters:
updateSiteRequest
- AConsumer
that will call methods onUpdateSiteRequest.Builder
to create a request.- Returns:
- Result of the UpdateSite operation returned by the service.
- See Also:
-
updateSiteAddress
default UpdateSiteAddressResponse updateSiteAddress(UpdateSiteAddressRequest updateSiteAddressRequest) throws ValidationException, AccessDeniedException, NotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Updates the address of the specified site.
You can't update a site address if there is 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.
- Parameters:
updateSiteAddressRequest
-- Returns:
- Result of the UpdateSiteAddress operation returned by the service.
- See Also:
-
updateSiteAddress
default UpdateSiteAddressResponse updateSiteAddress(Consumer<UpdateSiteAddressRequest.Builder> updateSiteAddressRequest) throws ValidationException, AccessDeniedException, NotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException Updates the address of the specified site.
You can't update a site address if there is 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.
This is a convenience which creates an instance of the
UpdateSiteAddressRequest.Builder
avoiding the need to create one manually viaUpdateSiteAddressRequest.builder()
- Parameters:
updateSiteAddressRequest
- AConsumer
that will call methods onUpdateSiteAddressRequest.Builder
to create a request.- Returns:
- Result of the UpdateSiteAddress operation returned by the service.
- See Also:
-
updateSiteRackPhysicalProperties
default UpdateSiteRackPhysicalPropertiesResponse updateSiteRackPhysicalProperties(UpdateSiteRackPhysicalPropertiesRequest updateSiteRackPhysicalPropertiesRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException 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.- Parameters:
updateSiteRackPhysicalPropertiesRequest
-- Returns:
- Result of the UpdateSiteRackPhysicalProperties operation returned by the service.
- See Also:
-
updateSiteRackPhysicalProperties
default UpdateSiteRackPhysicalPropertiesResponse updateSiteRackPhysicalProperties(Consumer<UpdateSiteRackPhysicalPropertiesRequest.Builder> updateSiteRackPhysicalPropertiesRequest) throws ValidationException, ConflictException, NotFoundException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, OutpostsException 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.
This is a convenience which creates an instance of the
UpdateSiteRackPhysicalPropertiesRequest.Builder
avoiding the need to create one manually viaUpdateSiteRackPhysicalPropertiesRequest.builder()
- Parameters:
updateSiteRackPhysicalPropertiesRequest
- AConsumer
that will call methods onUpdateSiteRackPhysicalPropertiesRequest.Builder
to create a request.- Returns:
- Result of the UpdateSiteRackPhysicalProperties operation returned by the service.
- See Also:
-
create
Create aOutpostsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aOutpostsClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-