@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ServiceCatalogAppRegistryClient extends SdkClient
builder() method.
Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateAttributeGroupResponse |
associateAttributeGroup(AssociateAttributeGroupRequest associateAttributeGroupRequest)
Associates an attribute group with an application to augment the application's metadata with the group's
attributes.
|
default AssociateAttributeGroupResponse |
associateAttributeGroup(Consumer<AssociateAttributeGroupRequest.Builder> associateAttributeGroupRequest)
Associates an attribute group with an application to augment the application's metadata with the group's
attributes.
|
default AssociateResourceResponse |
associateResource(AssociateResourceRequest associateResourceRequest)
Associates a resource with an application.
|
default AssociateResourceResponse |
associateResource(Consumer<AssociateResourceRequest.Builder> associateResourceRequest)
Associates a resource with an application.
|
static ServiceCatalogAppRegistryClientBuilder |
builder()
Create a builder that can be used to configure and create a
ServiceCatalogAppRegistryClient. |
static ServiceCatalogAppRegistryClient |
create()
Create a
ServiceCatalogAppRegistryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
|
default CreateAttributeGroupResponse |
createAttributeGroup(Consumer<CreateAttributeGroupRequest.Builder> createAttributeGroupRequest)
Creates a new attribute group as a container for user-defined attributes.
|
default CreateAttributeGroupResponse |
createAttributeGroup(CreateAttributeGroupRequest createAttributeGroupRequest)
Creates a new attribute group as a container for user-defined attributes.
|
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes an application that is specified either by its application ID or name.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes an application that is specified either by its application ID or name.
|
default DeleteAttributeGroupResponse |
deleteAttributeGroup(Consumer<DeleteAttributeGroupRequest.Builder> deleteAttributeGroupRequest)
Deletes an attribute group, specified either by its attribute group ID or name.
|
default DeleteAttributeGroupResponse |
deleteAttributeGroup(DeleteAttributeGroupRequest deleteAttributeGroupRequest)
Deletes an attribute group, specified either by its attribute group ID or name.
|
default DisassociateAttributeGroupResponse |
disassociateAttributeGroup(Consumer<DisassociateAttributeGroupRequest.Builder> disassociateAttributeGroupRequest)
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
group from the application's metadata.
|
default DisassociateAttributeGroupResponse |
disassociateAttributeGroup(DisassociateAttributeGroupRequest disassociateAttributeGroupRequest)
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
group from the application's metadata.
|
default DisassociateResourceResponse |
disassociateResource(Consumer<DisassociateResourceRequest.Builder> disassociateResourceRequest)
Disassociates a resource from application.
|
default DisassociateResourceResponse |
disassociateResource(DisassociateResourceRequest disassociateResourceRequest)
Disassociates a resource from application.
|
default GetApplicationResponse |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Retrieves metadata information about one of your applications.
|
default GetApplicationResponse |
getApplication(GetApplicationRequest getApplicationRequest)
Retrieves metadata information about one of your applications.
|
default GetAssociatedResourceResponse |
getAssociatedResource(Consumer<GetAssociatedResourceRequest.Builder> getAssociatedResourceRequest)
Gets the resource associated with the application.
|
default GetAssociatedResourceResponse |
getAssociatedResource(GetAssociatedResourceRequest getAssociatedResourceRequest)
Gets the resource associated with the application.
|
default GetAttributeGroupResponse |
getAttributeGroup(Consumer<GetAttributeGroupRequest.Builder> getAttributeGroupRequest)
Retrieves an attribute group, either by its name or its ID.
|
default GetAttributeGroupResponse |
getAttributeGroup(GetAttributeGroupRequest getAttributeGroupRequest)
Retrieves an attribute group, either by its name or its ID.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Retrieves a list of all of your applications.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Retrieves a list of all of your applications.
|
default ListApplicationsIterable |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Retrieves a list of all of your applications.
|
default ListApplicationsIterable |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Retrieves a list of all of your applications.
|
default ListAssociatedAttributeGroupsResponse |
listAssociatedAttributeGroups(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest)
Lists all attribute groups that are associated with specified application.
|
default ListAssociatedAttributeGroupsResponse |
listAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest)
Lists all attribute groups that are associated with specified application.
|
default ListAssociatedAttributeGroupsIterable |
listAssociatedAttributeGroupsPaginator(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest)
Lists all attribute groups that are associated with specified application.
|
default ListAssociatedAttributeGroupsIterable |
listAssociatedAttributeGroupsPaginator(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest)
Lists all attribute groups that are associated with specified application.
|
default ListAssociatedResourcesResponse |
listAssociatedResources(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest)
Lists all resources that are associated with specified application.
|
default ListAssociatedResourcesResponse |
listAssociatedResources(ListAssociatedResourcesRequest listAssociatedResourcesRequest)
Lists all resources that are associated with specified application.
|
default ListAssociatedResourcesIterable |
listAssociatedResourcesPaginator(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest)
Lists all resources that are associated with specified application.
|
default ListAssociatedResourcesIterable |
listAssociatedResourcesPaginator(ListAssociatedResourcesRequest listAssociatedResourcesRequest)
Lists all resources that are associated with specified application.
|
default ListAttributeGroupsResponse |
listAttributeGroups(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest)
Lists all attribute groups which you have access to.
|
default ListAttributeGroupsResponse |
listAttributeGroups(ListAttributeGroupsRequest listAttributeGroupsRequest)
Lists all attribute groups which you have access to.
|
default ListAttributeGroupsIterable |
listAttributeGroupsPaginator(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest)
Lists all attribute groups which you have access to.
|
default ListAttributeGroupsIterable |
listAttributeGroupsPaginator(ListAttributeGroupsRequest listAttributeGroupsRequest)
Lists all attribute groups which you have access to.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all of the tags on the resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all of the tags on the resource.
|
static ServiceMetadata |
serviceMetadata() |
default SyncResourceResponse |
syncResource(Consumer<SyncResourceRequest.Builder> syncResourceRequest)
Syncs the resource with current AppRegistry records.
|
default SyncResourceResponse |
syncResource(SyncResourceRequest syncResourceRequest)
Syncs the resource with current AppRegistry records.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Assigns one or more tags (key-value pairs) to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates an existing application with new attributes.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates an existing application with new attributes.
|
default UpdateAttributeGroupResponse |
updateAttributeGroup(Consumer<UpdateAttributeGroupRequest.Builder> updateAttributeGroupRequest)
Updates an existing attribute group with new details.
|
default UpdateAttributeGroupResponse |
updateAttributeGroup(UpdateAttributeGroupRequest updateAttributeGroupRequest)
Updates an existing attribute group with new details.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static ServiceCatalogAppRegistryClient create()
ServiceCatalogAppRegistryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ServiceCatalogAppRegistryClientBuilder builder()
ServiceCatalogAppRegistryClient.default AssociateAttributeGroupResponse associateAttributeGroup(AssociateAttributeGroupRequest associateAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Associates an attribute group with an application to augment the application's metadata with the group's attributes. This feature enables applications to be described with user-defined details that are machine-readable, such as third-party integrations.
associateAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.ServiceQuotaExceededException - The maximum number of resources per account has been reached.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateAttributeGroupResponse associateAttributeGroup(Consumer<AssociateAttributeGroupRequest.Builder> associateAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Associates an attribute group with an application to augment the application's metadata with the group's attributes. This feature enables applications to be described with user-defined details that are machine-readable, such as third-party integrations.
This is a convenience which creates an instance of the AssociateAttributeGroupRequest.Builder avoiding
the need to create one manually via AssociateAttributeGroupRequest.builder()
associateAttributeGroupRequest - A Consumer that will call methods on AssociateAttributeGroupRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.ServiceQuotaExceededException - The maximum number of resources per account has been reached.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateResourceResponse associateResource(AssociateResourceRequest associateResourceRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Associates a resource with an application. Both the resource and the application can be specified either by ID or name.
associateResourceRequest - ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateResourceResponse associateResource(Consumer<AssociateResourceRequest.Builder> associateResourceRequest) throws ResourceNotFoundException, InternalServerException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Associates a resource with an application. Both the resource and the application can be specified either by ID or name.
This is a convenience which creates an instance of the AssociateResourceRequest.Builder avoiding the need
to create one manually via AssociateResourceRequest.builder()
associateResourceRequest - A Consumer that will call methods on AssociateResourceRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws ServiceQuotaExceededException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
createApplicationRequest - ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws ServiceQuotaExceededException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Creates a new application that is the top-level node in a hierarchy of related cloud resource abstractions.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAttributeGroupResponse createAttributeGroup(CreateAttributeGroupRequest createAttributeGroupRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.
createAttributeGroupRequest - ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAttributeGroupResponse createAttributeGroup(Consumer<CreateAttributeGroupRequest.Builder> createAttributeGroupRequest) throws ServiceQuotaExceededException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.
This is a convenience which creates an instance of the CreateAttributeGroupRequest.Builder avoiding the
need to create one manually via CreateAttributeGroupRequest.builder()
createAttributeGroupRequest - A Consumer that will call methods on CreateAttributeGroupRequest.Builder to create a
request.ServiceQuotaExceededException - The maximum number of resources per account has been reached.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Deletes an application that is specified either by its application ID or name. All associated attribute groups and resources must be disassociated from it before deleting an application.
deleteApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Deletes an application that is specified either by its application ID or name. All associated attribute groups and resources must be disassociated from it before deleting an application.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAttributeGroupResponse deleteAttributeGroup(DeleteAttributeGroupRequest deleteAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Deletes an attribute group, specified either by its attribute group ID or name.
deleteAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAttributeGroupResponse deleteAttributeGroup(Consumer<DeleteAttributeGroupRequest.Builder> deleteAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Deletes an attribute group, specified either by its attribute group ID or name.
This is a convenience which creates an instance of the DeleteAttributeGroupRequest.Builder avoiding the
need to create one manually via DeleteAttributeGroupRequest.builder()
deleteAttributeGroupRequest - A Consumer that will call methods on DeleteAttributeGroupRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateAttributeGroupResponse disassociateAttributeGroup(DisassociateAttributeGroupRequest disassociateAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
group from the application's metadata. This operation reverts AssociateAttributeGroup.
disassociateAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateAttributeGroupResponse disassociateAttributeGroup(Consumer<DisassociateAttributeGroupRequest.Builder> disassociateAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Disassociates an attribute group from an application to remove the extra attributes contained in the attribute
group from the application's metadata. This operation reverts AssociateAttributeGroup.
This is a convenience which creates an instance of the DisassociateAttributeGroupRequest.Builder avoiding
the need to create one manually via DisassociateAttributeGroupRequest.builder()
disassociateAttributeGroupRequest - A Consumer that will call methods on DisassociateAttributeGroupRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateResourceResponse disassociateResource(DisassociateResourceRequest disassociateResourceRequest) throws ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
disassociateResourceRequest - ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateResourceResponse disassociateResource(Consumer<DisassociateResourceRequest.Builder> disassociateResourceRequest) throws ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
This is a convenience which creates an instance of the DisassociateResourceRequest.Builder avoiding the
need to create one manually via DisassociateResourceRequest.builder()
disassociateResourceRequest - A Consumer that will call methods on DisassociateResourceRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves metadata information about one of your applications. The application can be specified either by its
unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by
ID in automated workflows if you want to make sure that the exact same application is returned or a
ResourceNotFoundException is thrown, avoiding the ABA addressing problem.
getApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves metadata information about one of your applications. The application can be specified either by its
unique ID or by its name (which is unique within one account in one region at a given point in time). Specify by
ID in automated workflows if you want to make sure that the exact same application is returned or a
ResourceNotFoundException is thrown, avoiding the ABA addressing problem.
This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to
create one manually via GetApplicationRequest.builder()
getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAssociatedResourceResponse getAssociatedResource(GetAssociatedResourceRequest getAssociatedResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Gets the resource associated with the application.
getAssociatedResourceRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAssociatedResourceResponse getAssociatedResource(Consumer<GetAssociatedResourceRequest.Builder> getAssociatedResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Gets the resource associated with the application.
This is a convenience which creates an instance of the GetAssociatedResourceRequest.Builder avoiding the
need to create one manually via GetAssociatedResourceRequest.builder()
getAssociatedResourceRequest - A Consumer that will call methods on GetAssociatedResourceRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAttributeGroupResponse getAttributeGroup(GetAttributeGroupRequest getAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name.
getAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAttributeGroupResponse getAttributeGroup(Consumer<GetAttributeGroupRequest.Builder> getAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves an attribute group, either by its name or its ID. The attribute group can be specified either by its unique ID or by its name.
This is a convenience which creates an instance of the GetAttributeGroupRequest.Builder avoiding the need
to create one manually via GetAttributeGroupRequest.builder()
getAttributeGroupRequest - A Consumer that will call methods on GetAttributeGroupRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves a list of all of your applications. Results are paginated.
listApplicationsRequest - ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves a list of all of your applications. Results are paginated.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves a list of all of your applications. Results are paginated.
This is a variant of
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsIterable responses = client
.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(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
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation.
listApplicationsRequest - ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Retrieves a list of all of your applications. Results are paginated.
This is a variant of
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsIterable responses = client
.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(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
listApplications(software.amazon.awssdk.services.servicecatalogappregistry.model.ListApplicationsRequest)
operation.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedAttributeGroupsResponse listAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups that are associated with specified application. Results are paginated.
listAssociatedAttributeGroupsRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedAttributeGroupsResponse listAssociatedAttributeGroups(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups that are associated with specified application. Results are paginated.
This is a convenience which creates an instance of the ListAssociatedAttributeGroupsRequest.Builder
avoiding the need to create one manually via ListAssociatedAttributeGroupsRequest.builder()
listAssociatedAttributeGroupsRequest - A Consumer that will call methods on ListAssociatedAttributeGroupsRequest.Builder to
create a request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedAttributeGroupsIterable listAssociatedAttributeGroupsPaginator(ListAssociatedAttributeGroupsRequest listAssociatedAttributeGroupsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups that are associated with specified application. Results are paginated.
This is a variant of
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsIterable responses = client.listAssociatedAttributeGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsIterable responses = client
.listAssociatedAttributeGroupsPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsIterable responses = client.listAssociatedAttributeGroupsPaginator(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
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
operation.
listAssociatedAttributeGroupsRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedAttributeGroupsIterable listAssociatedAttributeGroupsPaginator(Consumer<ListAssociatedAttributeGroupsRequest.Builder> listAssociatedAttributeGroupsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups that are associated with specified application. Results are paginated.
This is a variant of
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsIterable responses = client.listAssociatedAttributeGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsIterable responses = client
.listAssociatedAttributeGroupsPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedAttributeGroupsIterable responses = client.listAssociatedAttributeGroupsPaginator(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
listAssociatedAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedAttributeGroupsRequest)
operation.
This is a convenience which creates an instance of the ListAssociatedAttributeGroupsRequest.Builder
avoiding the need to create one manually via ListAssociatedAttributeGroupsRequest.builder()
listAssociatedAttributeGroupsRequest - A Consumer that will call methods on ListAssociatedAttributeGroupsRequest.Builder to
create a request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedResourcesResponse listAssociatedResources(ListAssociatedResourcesRequest listAssociatedResourcesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all resources that are associated with specified application. Results are paginated.
listAssociatedResourcesRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedResourcesResponse listAssociatedResources(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all resources that are associated with specified application. Results are paginated.
This is a convenience which creates an instance of the ListAssociatedResourcesRequest.Builder avoiding
the need to create one manually via ListAssociatedResourcesRequest.builder()
listAssociatedResourcesRequest - A Consumer that will call methods on ListAssociatedResourcesRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedResourcesIterable listAssociatedResourcesPaginator(ListAssociatedResourcesRequest listAssociatedResourcesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all resources that are associated with specified application. Results are paginated.
This is a variant of
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesIterable responses = client.listAssociatedResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesIterable responses = client
.listAssociatedResourcesPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesIterable responses = client.listAssociatedResourcesPaginator(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
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation.
listAssociatedResourcesRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAssociatedResourcesIterable listAssociatedResourcesPaginator(Consumer<ListAssociatedResourcesRequest.Builder> listAssociatedResourcesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all resources that are associated with specified application. Results are paginated.
This is a variant of
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesIterable responses = client.listAssociatedResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesIterable responses = client
.listAssociatedResourcesPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAssociatedResourcesIterable responses = client.listAssociatedResourcesPaginator(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
listAssociatedResources(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAssociatedResourcesRequest)
operation.
This is a convenience which creates an instance of the ListAssociatedResourcesRequest.Builder avoiding
the need to create one manually via ListAssociatedResourcesRequest.builder()
listAssociatedResourcesRequest - A Consumer that will call methods on ListAssociatedResourcesRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAttributeGroupsResponse listAttributeGroups(ListAttributeGroupsRequest listAttributeGroupsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups which you have access to. Results are paginated.
listAttributeGroupsRequest - ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAttributeGroupsResponse listAttributeGroups(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups which you have access to. Results are paginated.
This is a convenience which creates an instance of the ListAttributeGroupsRequest.Builder avoiding the
need to create one manually via ListAttributeGroupsRequest.builder()
listAttributeGroupsRequest - A Consumer that will call methods on ListAttributeGroupsRequest.Builder to create a
request.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAttributeGroupsIterable listAttributeGroupsPaginator(ListAttributeGroupsRequest listAttributeGroupsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups which you have access to. Results are paginated.
This is a variant of
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsIterable responses = client.listAttributeGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsIterable responses = client
.listAttributeGroupsPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsIterable responses = client.listAttributeGroupsPaginator(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
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation.
listAttributeGroupsRequest - ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAttributeGroupsIterable listAttributeGroupsPaginator(Consumer<ListAttributeGroupsRequest.Builder> listAttributeGroupsRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all attribute groups which you have access to. Results are paginated.
This is a variant of
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
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
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsIterable responses = client.listAttributeGroupsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsIterable responses = client
.listAttributeGroupsPaginator(request);
for (software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.servicecatalogappregistry.paginators.ListAttributeGroupsIterable responses = client.listAttributeGroupsPaginator(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
listAttributeGroups(software.amazon.awssdk.services.servicecatalogappregistry.model.ListAttributeGroupsRequest)
operation.
This is a convenience which creates an instance of the ListAttributeGroupsRequest.Builder avoiding the
need to create one manually via ListAttributeGroupsRequest.builder()
listAttributeGroupsRequest - A Consumer that will call methods on ListAttributeGroupsRequest.Builder to create a
request.ValidationException - The request has invalid or missing parameters.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all of the tags on the resource.
listTagsForResourceRequest - ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Lists all of the tags on the resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SyncResourceResponse syncResource(SyncResourceRequest syncResourceRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Syncs the resource with current AppRegistry records.
Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.
syncResourceRequest - ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SyncResourceResponse syncResource(Consumer<SyncResourceRequest.Builder> syncResourceRequest) throws ResourceNotFoundException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Syncs the resource with current AppRegistry records.
Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.
This is a convenience which creates an instance of the SyncResourceRequest.Builder avoiding the need to
create one manually via SyncResourceRequest.builder()
syncResourceRequest - A Consumer that will call methods on SyncResourceRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Assigns one or more tags (key-value pairs) to the specified resource.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.
This operation returns an empty response if the call was successful.
tagResourceRequest - ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Assigns one or more tags (key-value pairs) to the specified resource.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.
This operation returns an empty response if the call was successful.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Removes tags from a resource.
This operation returns an empty response if the call was successful.
untagResourceRequest - ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Removes tags from a resource.
This operation returns an empty response if the call was successful.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - The request has invalid or missing parameters.ResourceNotFoundException - The specified resource does not exist.InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Updates an existing application with new attributes.
updateApplicationRequest - ResourceNotFoundException - The specified resource does not exist.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Updates an existing application with new attributes.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.ResourceNotFoundException - The specified resource does not exist.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAttributeGroupResponse updateAttributeGroup(UpdateAttributeGroupRequest updateAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Updates an existing attribute group with new details.
updateAttributeGroupRequest - ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAttributeGroupResponse updateAttributeGroup(Consumer<UpdateAttributeGroupRequest.Builder> updateAttributeGroupRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, ServiceCatalogAppRegistryException
Updates an existing attribute group with new details.
This is a convenience which creates an instance of the UpdateAttributeGroupRequest.Builder avoiding the
need to create one manually via UpdateAttributeGroupRequest.builder()
updateAttributeGroupRequest - A Consumer that will call methods on UpdateAttributeGroupRequest.Builder to create a
request.ResourceNotFoundException - The specified resource does not exist.ValidationException - The request has invalid or missing parameters.ConflictException - There was a conflict when processing the request (for example, a resource with the given name already
exists within the account).InternalServerException - The service is experiencing internal problems.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.ServiceCatalogAppRegistryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.