Interface SsmQuickSetupClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface SsmQuickSetupClient extends AwsClient
Service client for accessing AWS Systems Manager QuickSetup. This can be created using the staticbuilder()method.Quick Setup helps you quickly configure frequently used services and features with recommended best practices. Quick Setup simplifies setting up services, including Systems Manager, by automating common or recommended tasks.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createConfigurationManager
default CreateConfigurationManagerResponse createConfigurationManager(CreateConfigurationManagerRequest createConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Creates a Quick Setup configuration manager resource. This object is a collection of desired state configurations for multiple configuration definitions and summaries describing the deployments of those definitions.
- Parameters:
createConfigurationManagerRequest-- Returns:
- Result of the CreateConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createConfigurationManager
default CreateConfigurationManagerResponse createConfigurationManager(Consumer<CreateConfigurationManagerRequest.Builder> createConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Creates a Quick Setup configuration manager resource. This object is a collection of desired state configurations for multiple configuration definitions and summaries describing the deployments of those definitions.
This is a convenience which creates an instance of the
CreateConfigurationManagerRequest.Builderavoiding the need to create one manually viaCreateConfigurationManagerRequest.builder()- Parameters:
createConfigurationManagerRequest- AConsumerthat will call methods onCreateConfigurationManagerRequest.Builderto create a request.- Returns:
- Result of the CreateConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfigurationManager
default DeleteConfigurationManagerResponse deleteConfigurationManager(DeleteConfigurationManagerRequest deleteConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Deletes a configuration manager.
- Parameters:
deleteConfigurationManagerRequest-- Returns:
- Result of the DeleteConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConfigurationManager
default DeleteConfigurationManagerResponse deleteConfigurationManager(Consumer<DeleteConfigurationManagerRequest.Builder> deleteConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Deletes a configuration manager.
This is a convenience which creates an instance of the
DeleteConfigurationManagerRequest.Builderavoiding the need to create one manually viaDeleteConfigurationManagerRequest.builder()- Parameters:
deleteConfigurationManagerRequest- AConsumerthat will call methods onDeleteConfigurationManagerRequest.Builderto create a request.- Returns:
- Result of the DeleteConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguration
default GetConfigurationResponse getConfiguration(GetConfigurationRequest getConfigurationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns details about the specified configuration.
- Parameters:
getConfigurationRequest-- Returns:
- Result of the GetConfiguration operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConfiguration
default GetConfigurationResponse getConfiguration(Consumer<GetConfigurationRequest.Builder> getConfigurationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns details about the specified configuration.
This is a convenience which creates an instance of the
GetConfigurationRequest.Builderavoiding the need to create one manually viaGetConfigurationRequest.builder()- Parameters:
getConfigurationRequest- AConsumerthat will call methods onGetConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetConfiguration operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConfigurationManager
default GetConfigurationManagerResponse getConfigurationManager(GetConfigurationManagerRequest getConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns a configuration manager.
- Parameters:
getConfigurationManagerRequest-- Returns:
- Result of the GetConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConfigurationManager
default GetConfigurationManagerResponse getConfigurationManager(Consumer<GetConfigurationManagerRequest.Builder> getConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns a configuration manager.
This is a convenience which creates an instance of the
GetConfigurationManagerRequest.Builderavoiding the need to create one manually viaGetConfigurationManagerRequest.builder()- Parameters:
getConfigurationManagerRequest- AConsumerthat will call methods onGetConfigurationManagerRequest.Builderto create a request.- Returns:
- Result of the GetConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceSettings
default GetServiceSettingsResponse getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest) throws ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns settings configured for Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
- Parameters:
getServiceSettingsRequest-- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceSettings
default GetServiceSettingsResponse getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest) throws ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns settings configured for Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
This is a convenience which creates an instance of the
GetServiceSettingsRequest.Builderavoiding the need to create one manually viaGetServiceSettingsRequest.builder()- Parameters:
getServiceSettingsRequest- AConsumerthat will call methods onGetServiceSettingsRequest.Builderto create a request.- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationManagers
default ListConfigurationManagersResponse listConfigurationManagers(ListConfigurationManagersRequest listConfigurationManagersRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns Quick Setup configuration managers.
- Parameters:
listConfigurationManagersRequest-- Returns:
- Result of the ListConfigurationManagers operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationManagers
default ListConfigurationManagersResponse listConfigurationManagers(Consumer<ListConfigurationManagersRequest.Builder> listConfigurationManagersRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns Quick Setup configuration managers.
This is a convenience which creates an instance of the
ListConfigurationManagersRequest.Builderavoiding the need to create one manually viaListConfigurationManagersRequest.builder()- Parameters:
listConfigurationManagersRequest- AConsumerthat will call methods onListConfigurationManagersRequest.Builderto create a request.- Returns:
- Result of the ListConfigurationManagers operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationManagersPaginator
default ListConfigurationManagersIterable listConfigurationManagersPaginator(ListConfigurationManagersRequest listConfigurationManagersRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
This is a variant of
listConfigurationManagers(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationManagersRequest)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.ssmquicksetup.paginators.ListConfigurationManagersIterable responses = client.listConfigurationManagersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationManagersIterable responses = client .listConfigurationManagersPaginator(request); for (software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationManagersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationManagersIterable responses = client.listConfigurationManagersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxItems 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
listConfigurationManagers(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationManagersRequest)operation.- Parameters:
listConfigurationManagersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationManagersPaginator
default ListConfigurationManagersIterable listConfigurationManagersPaginator(Consumer<ListConfigurationManagersRequest.Builder> listConfigurationManagersRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
This is a variant of
listConfigurationManagers(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationManagersRequest)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.ssmquicksetup.paginators.ListConfigurationManagersIterable responses = client.listConfigurationManagersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationManagersIterable responses = client .listConfigurationManagersPaginator(request); for (software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationManagersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationManagersIterable responses = client.listConfigurationManagersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxItems 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
listConfigurationManagers(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationManagersRequest)operation.
This is a convenience which creates an instance of the
ListConfigurationManagersRequest.Builderavoiding the need to create one manually viaListConfigurationManagersRequest.builder()- Parameters:
listConfigurationManagersRequest- AConsumerthat will call methods onListConfigurationManagersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurations
default ListConfigurationsResponse listConfigurations(ListConfigurationsRequest listConfigurationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns configurations deployed by Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
- Parameters:
listConfigurationsRequest-- Returns:
- Result of the ListConfigurations operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurations
default ListConfigurationsResponse listConfigurations(Consumer<ListConfigurationsRequest.Builder> listConfigurationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns configurations deployed by Quick Setup in the requesting Amazon Web Services account and Amazon Web Services Region.
This is a convenience which creates an instance of the
ListConfigurationsRequest.Builderavoiding the need to create one manually viaListConfigurationsRequest.builder()- Parameters:
listConfigurationsRequest- AConsumerthat will call methods onListConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListConfigurations operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationsPaginator
default ListConfigurationsIterable listConfigurationsPaginator(ListConfigurationsRequest listConfigurationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
This is a variant of
listConfigurations(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationsRequest)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.ssmquicksetup.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationsIterable responses = client .listConfigurationsPaginator(request); for (software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxItems 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
listConfigurations(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationsRequest)operation.- Parameters:
listConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConfigurationsPaginator
default ListConfigurationsIterable listConfigurationsPaginator(Consumer<ListConfigurationsRequest.Builder> listConfigurationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
This is a variant of
listConfigurations(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationsRequest)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.ssmquicksetup.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationsIterable responses = client .listConfigurationsPaginator(request); for (software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.ssmquicksetup.paginators.ListConfigurationsIterable responses = client.listConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxItems 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
listConfigurations(software.amazon.awssdk.services.ssmquicksetup.model.ListConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListConfigurationsRequest.Builderavoiding the need to create one manually viaListConfigurationsRequest.builder()- Parameters:
listConfigurationsRequest- AConsumerthat will call methods onListConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listQuickSetupTypes
default ListQuickSetupTypesResponse listQuickSetupTypes(ListQuickSetupTypesRequest listQuickSetupTypesRequest) throws ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns the available Quick Setup types.
- Parameters:
listQuickSetupTypesRequest-- Returns:
- Result of the ListQuickSetupTypes operation returned by the service.
- Throws:
ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listQuickSetupTypes
default ListQuickSetupTypesResponse listQuickSetupTypes(Consumer<ListQuickSetupTypesRequest.Builder> listQuickSetupTypesRequest) throws ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns the available Quick Setup types.
This is a convenience which creates an instance of the
ListQuickSetupTypesRequest.Builderavoiding the need to create one manually viaListQuickSetupTypesRequest.builder()- Parameters:
listQuickSetupTypesRequest- AConsumerthat will call methods onListQuickSetupTypesRequest.Builderto create a request.- Returns:
- Result of the ListQuickSetupTypes operation returned by the service.
- Throws:
ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns tags assigned to the resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Returns tags assigned to the 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.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Assigns key-value pairs of metadata to Amazon Web Services resources.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Assigns key-value pairs of metadata to Amazon Web Services resources.
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.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Removes tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Removes tags from the specified 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.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfigurationDefinition
default UpdateConfigurationDefinitionResponse updateConfigurationDefinition(UpdateConfigurationDefinitionRequest updateConfigurationDefinitionRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Updates a Quick Setup configuration definition.
- Parameters:
updateConfigurationDefinitionRequest-- Returns:
- Result of the UpdateConfigurationDefinition operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfigurationDefinition
default UpdateConfigurationDefinitionResponse updateConfigurationDefinition(Consumer<UpdateConfigurationDefinitionRequest.Builder> updateConfigurationDefinitionRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Updates a Quick Setup configuration definition.
This is a convenience which creates an instance of the
UpdateConfigurationDefinitionRequest.Builderavoiding the need to create one manually viaUpdateConfigurationDefinitionRequest.builder()- Parameters:
updateConfigurationDefinitionRequest- AConsumerthat will call methods onUpdateConfigurationDefinitionRequest.Builderto create a request.- Returns:
- Result of the UpdateConfigurationDefinition operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfigurationManager
default UpdateConfigurationManagerResponse updateConfigurationManager(UpdateConfigurationManagerRequest updateConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Updates a Quick Setup configuration manager.
- Parameters:
updateConfigurationManagerRequest-- Returns:
- Result of the UpdateConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateConfigurationManager
default UpdateConfigurationManagerResponse updateConfigurationManager(Consumer<UpdateConfigurationManagerRequest.Builder> updateConfigurationManagerRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, SsmQuickSetupException
Updates a Quick Setup configuration manager.
This is a convenience which creates an instance of the
UpdateConfigurationManagerRequest.Builderavoiding the need to create one manually viaUpdateConfigurationManagerRequest.builder()- Parameters:
updateConfigurationManagerRequest- AConsumerthat will call methods onUpdateConfigurationManagerRequest.Builderto create a request.- Returns:
- Result of the UpdateConfigurationManager operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.ResourceNotFoundException- The resource couldn't be found. Check the ID or name and try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceSettings
default UpdateServiceSettingsResponse updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Updates settings configured for Quick Setup.
- Parameters:
updateServiceSettingsRequest-- Returns:
- Result of the UpdateServiceSettings operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceSettings
default UpdateServiceSettingsResponse updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, SsmQuickSetupException
Updates settings configured for Quick Setup.
This is a convenience which creates an instance of the
UpdateServiceSettingsRequest.Builderavoiding the need to create one manually viaUpdateServiceSettingsRequest.builder()- Parameters:
updateServiceSettingsRequest- AConsumerthat will call methods onUpdateServiceSettingsRequest.Builderto create a request.- Returns:
- Result of the UpdateServiceSettings operation returned by the service.
- Throws:
ValidationException- The request is invalid. Verify the values provided for the request parameters are accurate.ConflictException- Another request is being processed. Wait a few minutes and try again.InternalServerException- An error occurred on the server side.AccessDeniedException- The requester has insufficient permissions to perform the operation.ThrottlingException- The request or operation exceeds the maximum allowed request rate per Amazon Web Services account and Amazon Web Services Region.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmQuickSetupException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static SsmQuickSetupClient create()
Create aSsmQuickSetupClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static SsmQuickSetupClientBuilder builder()
Create a builder that can be used to configure and create aSsmQuickSetupClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default SsmQuickSetupServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-