Interface LaunchWizardClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Launch Wizard offers a guided way of sizing, configuring, and deploying Amazon Web Services resources for third party applications, such as Microsoft SQL Server Always On and HANA based SAP systems, without the need to manually identify and provision individual Amazon Web Services resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic LaunchWizardClientBuilderbuilder()Create a builder that can be used to configure and create aLaunchWizardClient.static LaunchWizardClientcreate()Create aLaunchWizardClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateDeploymentResponsecreateDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) Creates a deployment for the given workload.default CreateDeploymentResponsecreateDeployment(CreateDeploymentRequest createDeploymentRequest) Creates a deployment for the given workload.default DeleteDeploymentResponsedeleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Deletes a deployment.default DeleteDeploymentResponsedeleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Deletes a deployment.default GetDeploymentResponsegetDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Returns information about the deployment.default GetDeploymentResponsegetDeployment(GetDeploymentRequest getDeploymentRequest) Returns information about the deployment.default GetWorkloadResponsegetWorkload(Consumer<GetWorkloadRequest.Builder> getWorkloadRequest) Returns information about a workload.default GetWorkloadResponsegetWorkload(GetWorkloadRequest getWorkloadRequest) Returns information about a workload.getWorkloadDeploymentPattern(Consumer<GetWorkloadDeploymentPatternRequest.Builder> getWorkloadDeploymentPatternRequest) Returns details for a given workload and deployment pattern, including the available specifications.getWorkloadDeploymentPattern(GetWorkloadDeploymentPatternRequest getWorkloadDeploymentPatternRequest) Returns details for a given workload and deployment pattern, including the available specifications.default ListDeploymentEventsResponselistDeploymentEvents(Consumer<ListDeploymentEventsRequest.Builder> listDeploymentEventsRequest) Lists the events of a deployment.default ListDeploymentEventsResponselistDeploymentEvents(ListDeploymentEventsRequest listDeploymentEventsRequest) Lists the events of a deployment.default ListDeploymentEventsIterablelistDeploymentEventsPaginator(Consumer<ListDeploymentEventsRequest.Builder> listDeploymentEventsRequest) This is a variant oflistDeploymentEvents(software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsRequest)operation.default ListDeploymentEventsIterablelistDeploymentEventsPaginator(ListDeploymentEventsRequest listDeploymentEventsRequest) This is a variant oflistDeploymentEvents(software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsRequest)operation.default ListDeploymentsResponselistDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) Lists the deployments that have been created.default ListDeploymentsResponselistDeployments(ListDeploymentsRequest listDeploymentsRequest) Lists the deployments that have been created.default ListDeploymentsIterablelistDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) This is a variant oflistDeployments(software.amazon.awssdk.services.launchwizard.model.ListDeploymentsRequest)operation.default ListDeploymentsIterablelistDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) This is a variant oflistDeployments(software.amazon.awssdk.services.launchwizard.model.ListDeploymentsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags associated with a specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags associated with a specified resource.listWorkloadDeploymentPatterns(Consumer<ListWorkloadDeploymentPatternsRequest.Builder> listWorkloadDeploymentPatternsRequest) Lists the workload deployment patterns for a given workload name.listWorkloadDeploymentPatterns(ListWorkloadDeploymentPatternsRequest listWorkloadDeploymentPatternsRequest) Lists the workload deployment patterns for a given workload name.listWorkloadDeploymentPatternsPaginator(Consumer<ListWorkloadDeploymentPatternsRequest.Builder> listWorkloadDeploymentPatternsRequest) This is a variant oflistWorkloadDeploymentPatterns(software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsRequest)operation.listWorkloadDeploymentPatternsPaginator(ListWorkloadDeploymentPatternsRequest listWorkloadDeploymentPatternsRequest) This is a variant oflistWorkloadDeploymentPatterns(software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsRequest)operation.default ListWorkloadsResponselistWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) Lists the available workload names.default ListWorkloadsResponselistWorkloads(ListWorkloadsRequest listWorkloadsRequest) Lists the available workload names.default ListWorkloadsIterablelistWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.launchwizard.model.ListWorkloadsRequest)operation.default ListWorkloadsIterablelistWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest) This is a variant oflistWorkloads(software.amazon.awssdk.services.launchwizard.model.ListWorkloadsRequest)operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the given resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds the specified tags to the given resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the given resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the given resource.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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
-
createDeployment
default CreateDeploymentResponse createDeployment(CreateDeploymentRequest createDeploymentRequest) throws ResourceLimitException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Creates a deployment for the given workload. Deployments created by this operation are not available in the Launch Wizard console to use the
Clone deploymentaction on.- Parameters:
createDeploymentRequest-- Returns:
- Result of the CreateDeployment operation returned by the service.
- See Also:
-
createDeployment
default CreateDeploymentResponse createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) throws ResourceLimitException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Creates a deployment for the given workload. Deployments created by this operation are not available in the Launch Wizard console to use the
Clone deploymentaction on.
This is a convenience which creates an instance of the
CreateDeploymentRequest.Builderavoiding the need to create one manually viaCreateDeploymentRequest.builder()- Parameters:
createDeploymentRequest- AConsumerthat will call methods onCreateDeploymentRequest.Builderto create a request.- Returns:
- Result of the CreateDeployment operation returned by the service.
- See Also:
-
deleteDeployment
default DeleteDeploymentResponse deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) throws ResourceLimitException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Deletes a deployment.
- Parameters:
deleteDeploymentRequest-- Returns:
- Result of the DeleteDeployment operation returned by the service.
- See Also:
-
deleteDeployment
default DeleteDeploymentResponse deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) throws ResourceLimitException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Deletes a deployment.
This is a convenience which creates an instance of the
DeleteDeploymentRequest.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- Result of the DeleteDeployment operation returned by the service.
- See Also:
-
getDeployment
default GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Returns information about the deployment.
- Parameters:
getDeploymentRequest-- Returns:
- Result of the GetDeployment operation returned by the service.
- See Also:
-
getDeployment
default GetDeploymentResponse getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Returns information about the deployment.
This is a convenience which creates an instance of the
GetDeploymentRequest.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- Result of the GetDeployment operation returned by the service.
- See Also:
-
getWorkload
default GetWorkloadResponse getWorkload(GetWorkloadRequest getWorkloadRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Returns information about a workload.
- Parameters:
getWorkloadRequest-- Returns:
- Result of the GetWorkload operation returned by the service.
- See Also:
-
getWorkload
default GetWorkloadResponse getWorkload(Consumer<GetWorkloadRequest.Builder> getWorkloadRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Returns information about a workload.
This is a convenience which creates an instance of the
GetWorkloadRequest.Builderavoiding the need to create one manually viaGetWorkloadRequest.builder()- Parameters:
getWorkloadRequest- AConsumerthat will call methods onGetWorkloadRequest.Builderto create a request.- Returns:
- Result of the GetWorkload operation returned by the service.
- See Also:
-
getWorkloadDeploymentPattern
default GetWorkloadDeploymentPatternResponse getWorkloadDeploymentPattern(GetWorkloadDeploymentPatternRequest getWorkloadDeploymentPatternRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload.
- Parameters:
getWorkloadDeploymentPatternRequest-- Returns:
- Result of the GetWorkloadDeploymentPattern operation returned by the service.
- See Also:
-
getWorkloadDeploymentPattern
default GetWorkloadDeploymentPatternResponse getWorkloadDeploymentPattern(Consumer<GetWorkloadDeploymentPatternRequest.Builder> getWorkloadDeploymentPatternRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Returns details for a given workload and deployment pattern, including the available specifications. You can use the ListWorkloads operation to discover the available workload names and the ListWorkloadDeploymentPatterns operation to discover the available deployment pattern names of a given workload.
This is a convenience which creates an instance of the
GetWorkloadDeploymentPatternRequest.Builderavoiding the need to create one manually viaGetWorkloadDeploymentPatternRequest.builder()- Parameters:
getWorkloadDeploymentPatternRequest- AConsumerthat will call methods onGetWorkloadDeploymentPatternRequest.Builderto create a request.- Returns:
- Result of the GetWorkloadDeploymentPattern operation returned by the service.
- See Also:
-
listDeploymentEvents
default ListDeploymentEventsResponse listDeploymentEvents(ListDeploymentEventsRequest listDeploymentEventsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Lists the events of a deployment.
- Parameters:
listDeploymentEventsRequest-- Returns:
- Result of the ListDeploymentEvents operation returned by the service.
- See Also:
-
listDeploymentEvents
default ListDeploymentEventsResponse listDeploymentEvents(Consumer<ListDeploymentEventsRequest.Builder> listDeploymentEventsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Lists the events of a deployment.
This is a convenience which creates an instance of the
ListDeploymentEventsRequest.Builderavoiding the need to create one manually viaListDeploymentEventsRequest.builder()- Parameters:
listDeploymentEventsRequest- AConsumerthat will call methods onListDeploymentEventsRequest.Builderto create a request.- Returns:
- Result of the ListDeploymentEvents operation returned by the service.
- See Also:
-
listDeploymentEventsPaginator
default ListDeploymentEventsIterable listDeploymentEventsPaginator(ListDeploymentEventsRequest listDeploymentEventsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listDeploymentEvents(software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentEventsIterable responses = client.listDeploymentEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListDeploymentEventsIterable responses = client .listDeploymentEventsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentEventsIterable responses = client.listDeploymentEventsPaginator(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
listDeploymentEvents(software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsRequest)operation.- Parameters:
listDeploymentEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDeploymentEventsPaginator
default ListDeploymentEventsIterable listDeploymentEventsPaginator(Consumer<ListDeploymentEventsRequest.Builder> listDeploymentEventsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listDeploymentEvents(software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentEventsIterable responses = client.listDeploymentEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListDeploymentEventsIterable responses = client .listDeploymentEventsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentEventsIterable responses = client.listDeploymentEventsPaginator(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
listDeploymentEvents(software.amazon.awssdk.services.launchwizard.model.ListDeploymentEventsRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentEventsRequest.Builderavoiding the need to create one manually viaListDeploymentEventsRequest.builder()- Parameters:
listDeploymentEventsRequest- AConsumerthat will call methods onListDeploymentEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDeployments
default ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException Lists the deployments that have been created.
- Parameters:
listDeploymentsRequest-- Returns:
- Result of the ListDeployments operation returned by the service.
- See Also:
-
listDeployments
default ListDeploymentsResponse listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException Lists the deployments that have been created.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- Result of the ListDeployments operation returned by the service.
- See Also:
-
listDeploymentsPaginator
default ListDeploymentsIterable listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listDeployments(software.amazon.awssdk.services.launchwizard.model.ListDeploymentsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListDeploymentsIterable responses = client .listDeploymentsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListDeploymentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(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
listDeployments(software.amazon.awssdk.services.launchwizard.model.ListDeploymentsRequest)operation.- Parameters:
listDeploymentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDeploymentsPaginator
default ListDeploymentsIterable listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listDeployments(software.amazon.awssdk.services.launchwizard.model.ListDeploymentsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListDeploymentsIterable responses = client .listDeploymentsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListDeploymentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(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
listDeployments(software.amazon.awssdk.services.launchwizard.model.ListDeploymentsRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto 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, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Lists the tags associated with a 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, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Lists the tags associated with a specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listWorkloadDeploymentPatterns
default ListWorkloadDeploymentPatternsResponse listWorkloadDeploymentPatterns(ListWorkloadDeploymentPatternsRequest listWorkloadDeploymentPatternsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names.
- Parameters:
listWorkloadDeploymentPatternsRequest-- Returns:
- Result of the ListWorkloadDeploymentPatterns operation returned by the service.
- See Also:
-
listWorkloadDeploymentPatterns
default ListWorkloadDeploymentPatternsResponse listWorkloadDeploymentPatterns(Consumer<ListWorkloadDeploymentPatternsRequest.Builder> listWorkloadDeploymentPatternsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Lists the workload deployment patterns for a given workload name. You can use the ListWorkloads operation to discover the available workload names.
This is a convenience which creates an instance of the
ListWorkloadDeploymentPatternsRequest.Builderavoiding the need to create one manually viaListWorkloadDeploymentPatternsRequest.builder()- Parameters:
listWorkloadDeploymentPatternsRequest- AConsumerthat will call methods onListWorkloadDeploymentPatternsRequest.Builderto create a request.- Returns:
- Result of the ListWorkloadDeploymentPatterns operation returned by the service.
- See Also:
-
listWorkloadDeploymentPatternsPaginator
default ListWorkloadDeploymentPatternsIterable listWorkloadDeploymentPatternsPaginator(ListWorkloadDeploymentPatternsRequest listWorkloadDeploymentPatternsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listWorkloadDeploymentPatterns(software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadDeploymentPatternsIterable responses = client.listWorkloadDeploymentPatternsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListWorkloadDeploymentPatternsIterable responses = client .listWorkloadDeploymentPatternsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadDeploymentPatternsIterable responses = client.listWorkloadDeploymentPatternsPaginator(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
listWorkloadDeploymentPatterns(software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsRequest)operation.- Parameters:
listWorkloadDeploymentPatternsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkloadDeploymentPatternsPaginator
default ListWorkloadDeploymentPatternsIterable listWorkloadDeploymentPatternsPaginator(Consumer<ListWorkloadDeploymentPatternsRequest.Builder> listWorkloadDeploymentPatternsRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listWorkloadDeploymentPatterns(software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadDeploymentPatternsIterable responses = client.listWorkloadDeploymentPatternsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListWorkloadDeploymentPatternsIterable responses = client .listWorkloadDeploymentPatternsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadDeploymentPatternsIterable responses = client.listWorkloadDeploymentPatternsPaginator(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
listWorkloadDeploymentPatterns(software.amazon.awssdk.services.launchwizard.model.ListWorkloadDeploymentPatternsRequest)operation.
This is a convenience which creates an instance of the
ListWorkloadDeploymentPatternsRequest.Builderavoiding the need to create one manually viaListWorkloadDeploymentPatternsRequest.builder()- Parameters:
listWorkloadDeploymentPatternsRequest- AConsumerthat will call methods onListWorkloadDeploymentPatternsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkloads
default ListWorkloadsResponse listWorkloads(ListWorkloadsRequest listWorkloadsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload.
- Parameters:
listWorkloadsRequest-- Returns:
- Result of the ListWorkloads operation returned by the service.
- See Also:
-
listWorkloads
default ListWorkloadsResponse listWorkloads(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException Lists the available workload names. You can use the ListWorkloadDeploymentPatterns operation to discover the available deployment patterns for a given workload.
This is a convenience which creates an instance of the
ListWorkloadsRequest.Builderavoiding the need to create one manually viaListWorkloadsRequest.builder()- Parameters:
listWorkloadsRequest- AConsumerthat will call methods onListWorkloadsRequest.Builderto create a request.- Returns:
- Result of the ListWorkloads operation returned by the service.
- See Also:
-
listWorkloadsPaginator
default ListWorkloadsIterable listWorkloadsPaginator(ListWorkloadsRequest listWorkloadsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listWorkloads(software.amazon.awssdk.services.launchwizard.model.ListWorkloadsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListWorkloadsIterable responses = client .listWorkloadsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListWorkloadsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(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
listWorkloads(software.amazon.awssdk.services.launchwizard.model.ListWorkloadsRequest)operation.- Parameters:
listWorkloadsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkloadsPaginator
default ListWorkloadsIterable listWorkloadsPaginator(Consumer<ListWorkloadsRequest.Builder> listWorkloadsRequest) throws InternalServerException, ValidationException, AwsServiceException, SdkClientException, LaunchWizardException This is a variant of
listWorkloads(software.amazon.awssdk.services.launchwizard.model.ListWorkloadsRequest)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 Stream
2) Using For loopsoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.launchwizard.paginators.ListWorkloadsIterable responses = client .listWorkloadsPaginator(request); for (software.amazon.awssdk.services.launchwizard.model.ListWorkloadsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.launchwizard.paginators.ListWorkloadsIterable responses = client.listWorkloadsPaginator(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
listWorkloads(software.amazon.awssdk.services.launchwizard.model.ListWorkloadsRequest)operation.
This is a convenience which creates an instance of the
ListWorkloadsRequest.Builderavoiding the need to create one manually viaListWorkloadsRequest.builder()- Parameters:
listWorkloadsRequest- AConsumerthat will call methods onListWorkloadsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Adds the specified tags to the given 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, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Adds the specified tags to the given resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Removes the specified tags from the given 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, ResourceNotFoundException, AwsServiceException, SdkClientException, LaunchWizardException Removes the specified tags from the given resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
create
Create aLaunchWizardClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aLaunchWizardClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-