Interface DataZoneAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Amazon DataZone is a data management service that enables you to catalog, discover, govern, share, and analyze your data. With Amazon DataZone, you can share and access your data across accounts and supported regions. Amazon DataZone simplifies your experience across Amazon Web Services services, including, but not limited to, Amazon Redshift, Amazon Athena, Amazon Web Services Glue, and Amazon Web Services Lake Formation.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionacceptPredictions
(Consumer<AcceptPredictionsRequest.Builder> acceptPredictionsRequest) Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.acceptPredictions
(AcceptPredictionsRequest acceptPredictionsRequest) Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.acceptSubscriptionRequest
(Consumer<AcceptSubscriptionRequestRequest.Builder> acceptSubscriptionRequestRequest) Accepts a subscription request to a specific asset.acceptSubscriptionRequest
(AcceptSubscriptionRequestRequest acceptSubscriptionRequestRequest) Accepts a subscription request to a specific asset.static DataZoneAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aDataZoneAsyncClient
.cancelMetadataGenerationRun
(Consumer<CancelMetadataGenerationRunRequest.Builder> cancelMetadataGenerationRunRequest) Cancels the metadata generation run.cancelMetadataGenerationRun
(CancelMetadataGenerationRunRequest cancelMetadataGenerationRunRequest) Cancels the metadata generation run.cancelSubscription
(Consumer<CancelSubscriptionRequest.Builder> cancelSubscriptionRequest) Cancels the subscription to the specified asset.cancelSubscription
(CancelSubscriptionRequest cancelSubscriptionRequest) Cancels the subscription to the specified asset.static DataZoneAsyncClient
create()
Create aDataZoneAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateAssetResponse> createAsset
(Consumer<CreateAssetRequest.Builder> createAssetRequest) Creates an asset in Amazon DataZone catalog.default CompletableFuture
<CreateAssetResponse> createAsset
(CreateAssetRequest createAssetRequest) Creates an asset in Amazon DataZone catalog.createAssetRevision
(Consumer<CreateAssetRevisionRequest.Builder> createAssetRevisionRequest) Creates a revision of the asset.createAssetRevision
(CreateAssetRevisionRequest createAssetRevisionRequest) Creates a revision of the asset.default CompletableFuture
<CreateAssetTypeResponse> createAssetType
(Consumer<CreateAssetTypeRequest.Builder> createAssetTypeRequest) Creates a custom asset type.default CompletableFuture
<CreateAssetTypeResponse> createAssetType
(CreateAssetTypeRequest createAssetTypeRequest) Creates a custom asset type.createDataSource
(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) Creates an Amazon DataZone data source.createDataSource
(CreateDataSourceRequest createDataSourceRequest) Creates an Amazon DataZone data source.default CompletableFuture
<CreateDomainResponse> createDomain
(Consumer<CreateDomainRequest.Builder> createDomainRequest) Creates an Amazon DataZone domain.default CompletableFuture
<CreateDomainResponse> createDomain
(CreateDomainRequest createDomainRequest) Creates an Amazon DataZone domain.createEnvironment
(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Create an Amazon DataZone environment.createEnvironment
(CreateEnvironmentRequest createEnvironmentRequest) Create an Amazon DataZone environment.createEnvironmentProfile
(Consumer<CreateEnvironmentProfileRequest.Builder> createEnvironmentProfileRequest) Creates an Amazon DataZone environment profile.createEnvironmentProfile
(CreateEnvironmentProfileRequest createEnvironmentProfileRequest) Creates an Amazon DataZone environment profile.default CompletableFuture
<CreateFormTypeResponse> createFormType
(Consumer<CreateFormTypeRequest.Builder> createFormTypeRequest) Creates a metadata form type.default CompletableFuture
<CreateFormTypeResponse> createFormType
(CreateFormTypeRequest createFormTypeRequest) Creates a metadata form type.default CompletableFuture
<CreateGlossaryResponse> createGlossary
(Consumer<CreateGlossaryRequest.Builder> createGlossaryRequest) Creates an Amazon DataZone business glossary.default CompletableFuture
<CreateGlossaryResponse> createGlossary
(CreateGlossaryRequest createGlossaryRequest) Creates an Amazon DataZone business glossary.createGlossaryTerm
(Consumer<CreateGlossaryTermRequest.Builder> createGlossaryTermRequest) Creates a business glossary term.createGlossaryTerm
(CreateGlossaryTermRequest createGlossaryTermRequest) Creates a business glossary term.createGroupProfile
(Consumer<CreateGroupProfileRequest.Builder> createGroupProfileRequest) Creates a group profile in Amazon DataZone.createGroupProfile
(CreateGroupProfileRequest createGroupProfileRequest) Creates a group profile in Amazon DataZone.createListingChangeSet
(Consumer<CreateListingChangeSetRequest.Builder> createListingChangeSetRequest) Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog.createListingChangeSet
(CreateListingChangeSetRequest createListingChangeSetRequest) Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog.default CompletableFuture
<CreateProjectResponse> createProject
(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates an Amazon DataZone project.default CompletableFuture
<CreateProjectResponse> createProject
(CreateProjectRequest createProjectRequest) Creates an Amazon DataZone project.createProjectMembership
(Consumer<CreateProjectMembershipRequest.Builder> createProjectMembershipRequest) Creates a project membership in Amazon DataZone.createProjectMembership
(CreateProjectMembershipRequest createProjectMembershipRequest) Creates a project membership in Amazon DataZone.createSubscriptionGrant
(Consumer<CreateSubscriptionGrantRequest.Builder> createSubscriptionGrantRequest) Creates a subsscription grant in Amazon DataZone.createSubscriptionGrant
(CreateSubscriptionGrantRequest createSubscriptionGrantRequest) Creates a subsscription grant in Amazon DataZone.createSubscriptionRequest
(Consumer<CreateSubscriptionRequestRequest.Builder> createSubscriptionRequestRequest) Creates a subscription request in Amazon DataZone.createSubscriptionRequest
(CreateSubscriptionRequestRequest createSubscriptionRequestRequest) Creates a subscription request in Amazon DataZone.createSubscriptionTarget
(Consumer<CreateSubscriptionTargetRequest.Builder> createSubscriptionTargetRequest) Creates a subscription target in Amazon DataZone.createSubscriptionTarget
(CreateSubscriptionTargetRequest createSubscriptionTargetRequest) Creates a subscription target in Amazon DataZone.createUserProfile
(Consumer<CreateUserProfileRequest.Builder> createUserProfileRequest) Creates a user profile in Amazon DataZone.createUserProfile
(CreateUserProfileRequest createUserProfileRequest) Creates a user profile in Amazon DataZone.default CompletableFuture
<DeleteAssetResponse> deleteAsset
(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) Delets an asset in Amazon DataZone.default CompletableFuture
<DeleteAssetResponse> deleteAsset
(DeleteAssetRequest deleteAssetRequest) Delets an asset in Amazon DataZone.default CompletableFuture
<DeleteAssetTypeResponse> deleteAssetType
(Consumer<DeleteAssetTypeRequest.Builder> deleteAssetTypeRequest) Deletes an asset type in Amazon DataZone.default CompletableFuture
<DeleteAssetTypeResponse> deleteAssetType
(DeleteAssetTypeRequest deleteAssetTypeRequest) Deletes an asset type in Amazon DataZone.deleteDataSource
(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) Deletes a data source in Amazon DataZone.deleteDataSource
(DeleteDataSourceRequest deleteDataSourceRequest) Deletes a data source in Amazon DataZone.default CompletableFuture
<DeleteDomainResponse> deleteDomain
(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Deletes a Amazon DataZone domain.default CompletableFuture
<DeleteDomainResponse> deleteDomain
(DeleteDomainRequest deleteDomainRequest) Deletes a Amazon DataZone domain.deleteEnvironment
(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment in Amazon DataZone.deleteEnvironment
(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment in Amazon DataZone.deleteEnvironmentBlueprintConfiguration
(Consumer<DeleteEnvironmentBlueprintConfigurationRequest.Builder> deleteEnvironmentBlueprintConfigurationRequest) Deletes the blueprint configuration in Amazon DataZone.deleteEnvironmentBlueprintConfiguration
(DeleteEnvironmentBlueprintConfigurationRequest deleteEnvironmentBlueprintConfigurationRequest) Deletes the blueprint configuration in Amazon DataZone.deleteEnvironmentProfile
(Consumer<DeleteEnvironmentProfileRequest.Builder> deleteEnvironmentProfileRequest) Deletes an environment profile in Amazon DataZone.deleteEnvironmentProfile
(DeleteEnvironmentProfileRequest deleteEnvironmentProfileRequest) Deletes an environment profile in Amazon DataZone.default CompletableFuture
<DeleteFormTypeResponse> deleteFormType
(Consumer<DeleteFormTypeRequest.Builder> deleteFormTypeRequest) Delets and metadata form type in Amazon DataZone.default CompletableFuture
<DeleteFormTypeResponse> deleteFormType
(DeleteFormTypeRequest deleteFormTypeRequest) Delets and metadata form type in Amazon DataZone.default CompletableFuture
<DeleteGlossaryResponse> deleteGlossary
(Consumer<DeleteGlossaryRequest.Builder> deleteGlossaryRequest) Deletes a business glossary in Amazon DataZone.default CompletableFuture
<DeleteGlossaryResponse> deleteGlossary
(DeleteGlossaryRequest deleteGlossaryRequest) Deletes a business glossary in Amazon DataZone.deleteGlossaryTerm
(Consumer<DeleteGlossaryTermRequest.Builder> deleteGlossaryTermRequest) Deletes a business glossary term in Amazon DataZone.deleteGlossaryTerm
(DeleteGlossaryTermRequest deleteGlossaryTermRequest) Deletes a business glossary term in Amazon DataZone.default CompletableFuture
<DeleteListingResponse> deleteListing
(Consumer<DeleteListingRequest.Builder> deleteListingRequest) Deletes a listing (a record of an asset at a given time).default CompletableFuture
<DeleteListingResponse> deleteListing
(DeleteListingRequest deleteListingRequest) Deletes a listing (a record of an asset at a given time).default CompletableFuture
<DeleteProjectResponse> deleteProject
(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project in Amazon DataZone.default CompletableFuture
<DeleteProjectResponse> deleteProject
(DeleteProjectRequest deleteProjectRequest) Deletes a project in Amazon DataZone.deleteProjectMembership
(Consumer<DeleteProjectMembershipRequest.Builder> deleteProjectMembershipRequest) Deletes project membership in Amazon DataZone.deleteProjectMembership
(DeleteProjectMembershipRequest deleteProjectMembershipRequest) Deletes project membership in Amazon DataZone.deleteSubscriptionGrant
(Consumer<DeleteSubscriptionGrantRequest.Builder> deleteSubscriptionGrantRequest) Deletes and subscription grant in Amazon DataZone.deleteSubscriptionGrant
(DeleteSubscriptionGrantRequest deleteSubscriptionGrantRequest) Deletes and subscription grant in Amazon DataZone.deleteSubscriptionRequest
(Consumer<DeleteSubscriptionRequestRequest.Builder> deleteSubscriptionRequestRequest) Deletes a subscription request in Amazon DataZone.deleteSubscriptionRequest
(DeleteSubscriptionRequestRequest deleteSubscriptionRequestRequest) Deletes a subscription request in Amazon DataZone.deleteSubscriptionTarget
(Consumer<DeleteSubscriptionTargetRequest.Builder> deleteSubscriptionTargetRequest) Deletes a subscription target in Amazon DataZone.deleteSubscriptionTarget
(DeleteSubscriptionTargetRequest deleteSubscriptionTargetRequest) Deletes a subscription target in Amazon DataZone.deleteTimeSeriesDataPoints
(Consumer<DeleteTimeSeriesDataPointsRequest.Builder> deleteTimeSeriesDataPointsRequest) Deletes the specified time series form for the specified asset.deleteTimeSeriesDataPoints
(DeleteTimeSeriesDataPointsRequest deleteTimeSeriesDataPointsRequest) Deletes the specified time series form for the specified asset.default CompletableFuture
<GetAssetResponse> getAsset
(Consumer<GetAssetRequest.Builder> getAssetRequest) Gets an Amazon DataZone asset.default CompletableFuture
<GetAssetResponse> getAsset
(GetAssetRequest getAssetRequest) Gets an Amazon DataZone asset.default CompletableFuture
<GetAssetTypeResponse> getAssetType
(Consumer<GetAssetTypeRequest.Builder> getAssetTypeRequest) Gets an Amazon DataZone asset type.default CompletableFuture
<GetAssetTypeResponse> getAssetType
(GetAssetTypeRequest getAssetTypeRequest) Gets an Amazon DataZone asset type.default CompletableFuture
<GetDataSourceResponse> getDataSource
(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) Gets an Amazon DataZone data source.default CompletableFuture
<GetDataSourceResponse> getDataSource
(GetDataSourceRequest getDataSourceRequest) Gets an Amazon DataZone data source.getDataSourceRun
(Consumer<GetDataSourceRunRequest.Builder> getDataSourceRunRequest) Gets an Amazon DataZone data source run.getDataSourceRun
(GetDataSourceRunRequest getDataSourceRunRequest) Gets an Amazon DataZone data source run.default CompletableFuture
<GetDomainResponse> getDomain
(Consumer<GetDomainRequest.Builder> getDomainRequest) Gets an Amazon DataZone domain.default CompletableFuture
<GetDomainResponse> getDomain
(GetDomainRequest getDomainRequest) Gets an Amazon DataZone domain.default CompletableFuture
<GetEnvironmentResponse> getEnvironment
(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Gets an Amazon DataZone environment.default CompletableFuture
<GetEnvironmentResponse> getEnvironment
(GetEnvironmentRequest getEnvironmentRequest) Gets an Amazon DataZone environment.getEnvironmentBlueprint
(Consumer<GetEnvironmentBlueprintRequest.Builder> getEnvironmentBlueprintRequest) Gets an Amazon DataZone blueprint.getEnvironmentBlueprint
(GetEnvironmentBlueprintRequest getEnvironmentBlueprintRequest) Gets an Amazon DataZone blueprint.getEnvironmentBlueprintConfiguration
(Consumer<GetEnvironmentBlueprintConfigurationRequest.Builder> getEnvironmentBlueprintConfigurationRequest) Gets the blueprint configuration in Amazon DataZone.getEnvironmentBlueprintConfiguration
(GetEnvironmentBlueprintConfigurationRequest getEnvironmentBlueprintConfigurationRequest) Gets the blueprint configuration in Amazon DataZone.getEnvironmentProfile
(Consumer<GetEnvironmentProfileRequest.Builder> getEnvironmentProfileRequest) Gets an evinronment profile in Amazon DataZone.getEnvironmentProfile
(GetEnvironmentProfileRequest getEnvironmentProfileRequest) Gets an evinronment profile in Amazon DataZone.default CompletableFuture
<GetFormTypeResponse> getFormType
(Consumer<GetFormTypeRequest.Builder> getFormTypeRequest) Gets a metadata form type in Amazon DataZone.default CompletableFuture
<GetFormTypeResponse> getFormType
(GetFormTypeRequest getFormTypeRequest) Gets a metadata form type in Amazon DataZone.default CompletableFuture
<GetGlossaryResponse> getGlossary
(Consumer<GetGlossaryRequest.Builder> getGlossaryRequest) Gets a business glossary in Amazon DataZone.default CompletableFuture
<GetGlossaryResponse> getGlossary
(GetGlossaryRequest getGlossaryRequest) Gets a business glossary in Amazon DataZone.default CompletableFuture
<GetGlossaryTermResponse> getGlossaryTerm
(Consumer<GetGlossaryTermRequest.Builder> getGlossaryTermRequest) Gets a business glossary term in Amazon DataZone.default CompletableFuture
<GetGlossaryTermResponse> getGlossaryTerm
(GetGlossaryTermRequest getGlossaryTermRequest) Gets a business glossary term in Amazon DataZone.default CompletableFuture
<GetGroupProfileResponse> getGroupProfile
(Consumer<GetGroupProfileRequest.Builder> getGroupProfileRequest) Gets a group profile in Amazon DataZone.default CompletableFuture
<GetGroupProfileResponse> getGroupProfile
(GetGroupProfileRequest getGroupProfileRequest) Gets a group profile in Amazon DataZone.getIamPortalLoginUrl
(Consumer<GetIamPortalLoginUrlRequest.Builder> getIamPortalLoginUrlRequest) Gets the data portal URL for the specified Amazon DataZone domain.getIamPortalLoginUrl
(GetIamPortalLoginUrlRequest getIamPortalLoginUrlRequest) Gets the data portal URL for the specified Amazon DataZone domain.default CompletableFuture
<GetListingResponse> getListing
(Consumer<GetListingRequest.Builder> getListingRequest) Gets a listing (a record of an asset at a given time).default CompletableFuture
<GetListingResponse> getListing
(GetListingRequest getListingRequest) Gets a listing (a record of an asset at a given time).getMetadataGenerationRun
(Consumer<GetMetadataGenerationRunRequest.Builder> getMetadataGenerationRunRequest) Gets a metadata generation run in Amazon DataZone.getMetadataGenerationRun
(GetMetadataGenerationRunRequest getMetadataGenerationRunRequest) Gets a metadata generation run in Amazon DataZone.default CompletableFuture
<GetProjectResponse> getProject
(Consumer<GetProjectRequest.Builder> getProjectRequest) Gets a project in Amazon DataZone.default CompletableFuture
<GetProjectResponse> getProject
(GetProjectRequest getProjectRequest) Gets a project in Amazon DataZone.default CompletableFuture
<GetSubscriptionResponse> getSubscription
(Consumer<GetSubscriptionRequest.Builder> getSubscriptionRequest) Gets a subscription in Amazon DataZone.default CompletableFuture
<GetSubscriptionResponse> getSubscription
(GetSubscriptionRequest getSubscriptionRequest) Gets a subscription in Amazon DataZone.getSubscriptionGrant
(Consumer<GetSubscriptionGrantRequest.Builder> getSubscriptionGrantRequest) Gets the subscription grant in Amazon DataZone.getSubscriptionGrant
(GetSubscriptionGrantRequest getSubscriptionGrantRequest) Gets the subscription grant in Amazon DataZone.getSubscriptionRequestDetails
(Consumer<GetSubscriptionRequestDetailsRequest.Builder> getSubscriptionRequestDetailsRequest) Gets the details of the specified subscription request.getSubscriptionRequestDetails
(GetSubscriptionRequestDetailsRequest getSubscriptionRequestDetailsRequest) Gets the details of the specified subscription request.getSubscriptionTarget
(Consumer<GetSubscriptionTargetRequest.Builder> getSubscriptionTargetRequest) Gets the subscription target in Amazon DataZone.getSubscriptionTarget
(GetSubscriptionTargetRequest getSubscriptionTargetRequest) Gets the subscription target in Amazon DataZone.getTimeSeriesDataPoint
(Consumer<GetTimeSeriesDataPointRequest.Builder> getTimeSeriesDataPointRequest) Gets the existing data point for the asset.getTimeSeriesDataPoint
(GetTimeSeriesDataPointRequest getTimeSeriesDataPointRequest) Gets the existing data point for the asset.default CompletableFuture
<GetUserProfileResponse> getUserProfile
(Consumer<GetUserProfileRequest.Builder> getUserProfileRequest) Gets a user profile in Amazon DataZone.default CompletableFuture
<GetUserProfileResponse> getUserProfile
(GetUserProfileRequest getUserProfileRequest) Gets a user profile in Amazon DataZone.listAssetRevisions
(Consumer<ListAssetRevisionsRequest.Builder> listAssetRevisionsRequest) Lists the revisions for the asset.listAssetRevisions
(ListAssetRevisionsRequest listAssetRevisionsRequest) Lists the revisions for the asset.default ListAssetRevisionsPublisher
listAssetRevisionsPaginator
(Consumer<ListAssetRevisionsRequest.Builder> listAssetRevisionsRequest) This is a variant oflistAssetRevisions(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsRequest)
operation.default ListAssetRevisionsPublisher
listAssetRevisionsPaginator
(ListAssetRevisionsRequest listAssetRevisionsRequest) This is a variant oflistAssetRevisions(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsRequest)
operation.listDataSourceRunActivities
(Consumer<ListDataSourceRunActivitiesRequest.Builder> listDataSourceRunActivitiesRequest) Lists data source run activities.listDataSourceRunActivities
(ListDataSourceRunActivitiesRequest listDataSourceRunActivitiesRequest) Lists data source run activities.listDataSourceRunActivitiesPaginator
(Consumer<ListDataSourceRunActivitiesRequest.Builder> listDataSourceRunActivitiesRequest) This is a variant oflistDataSourceRunActivities(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesRequest)
operation.listDataSourceRunActivitiesPaginator
(ListDataSourceRunActivitiesRequest listDataSourceRunActivitiesRequest) This is a variant oflistDataSourceRunActivities(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesRequest)
operation.listDataSourceRuns
(Consumer<ListDataSourceRunsRequest.Builder> listDataSourceRunsRequest) Lists data source runs in Amazon DataZone.listDataSourceRuns
(ListDataSourceRunsRequest listDataSourceRunsRequest) Lists data source runs in Amazon DataZone.default ListDataSourceRunsPublisher
listDataSourceRunsPaginator
(Consumer<ListDataSourceRunsRequest.Builder> listDataSourceRunsRequest) This is a variant oflistDataSourceRuns(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsRequest)
operation.default ListDataSourceRunsPublisher
listDataSourceRunsPaginator
(ListDataSourceRunsRequest listDataSourceRunsRequest) This is a variant oflistDataSourceRuns(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsRequest)
operation.default CompletableFuture
<ListDataSourcesResponse> listDataSources
(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) Lists data sources in Amazon DataZone.default CompletableFuture
<ListDataSourcesResponse> listDataSources
(ListDataSourcesRequest listDataSourcesRequest) Lists data sources in Amazon DataZone.default ListDataSourcesPublisher
listDataSourcesPaginator
(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) This is a variant oflistDataSources(software.amazon.awssdk.services.datazone.model.ListDataSourcesRequest)
operation.default ListDataSourcesPublisher
listDataSourcesPaginator
(ListDataSourcesRequest listDataSourcesRequest) This is a variant oflistDataSources(software.amazon.awssdk.services.datazone.model.ListDataSourcesRequest)
operation.default CompletableFuture
<ListDomainsResponse> listDomains
(Consumer<ListDomainsRequest.Builder> listDomainsRequest) Lists Amazon DataZone domains.default CompletableFuture
<ListDomainsResponse> listDomains
(ListDomainsRequest listDomainsRequest) Lists Amazon DataZone domains.default ListDomainsPublisher
listDomainsPaginator
(Consumer<ListDomainsRequest.Builder> listDomainsRequest) This is a variant oflistDomains(software.amazon.awssdk.services.datazone.model.ListDomainsRequest)
operation.default ListDomainsPublisher
listDomainsPaginator
(ListDomainsRequest listDomainsRequest) This is a variant oflistDomains(software.amazon.awssdk.services.datazone.model.ListDomainsRequest)
operation.listEnvironmentBlueprintConfigurations
(Consumer<ListEnvironmentBlueprintConfigurationsRequest.Builder> listEnvironmentBlueprintConfigurationsRequest) Lists blueprint configurations for a Amazon DataZone environment.listEnvironmentBlueprintConfigurations
(ListEnvironmentBlueprintConfigurationsRequest listEnvironmentBlueprintConfigurationsRequest) Lists blueprint configurations for a Amazon DataZone environment.listEnvironmentBlueprintConfigurationsPaginator
(Consumer<ListEnvironmentBlueprintConfigurationsRequest.Builder> listEnvironmentBlueprintConfigurationsRequest) listEnvironmentBlueprintConfigurationsPaginator
(ListEnvironmentBlueprintConfigurationsRequest listEnvironmentBlueprintConfigurationsRequest) listEnvironmentBlueprints
(Consumer<ListEnvironmentBlueprintsRequest.Builder> listEnvironmentBlueprintsRequest) Lists blueprints in an Amazon DataZone environment.listEnvironmentBlueprints
(ListEnvironmentBlueprintsRequest listEnvironmentBlueprintsRequest) Lists blueprints in an Amazon DataZone environment.listEnvironmentBlueprintsPaginator
(Consumer<ListEnvironmentBlueprintsRequest.Builder> listEnvironmentBlueprintsRequest) This is a variant oflistEnvironmentBlueprints(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsRequest)
operation.listEnvironmentBlueprintsPaginator
(ListEnvironmentBlueprintsRequest listEnvironmentBlueprintsRequest) This is a variant oflistEnvironmentBlueprints(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsRequest)
operation.listEnvironmentProfiles
(Consumer<ListEnvironmentProfilesRequest.Builder> listEnvironmentProfilesRequest) Lists Amazon DataZone environment profiles.listEnvironmentProfiles
(ListEnvironmentProfilesRequest listEnvironmentProfilesRequest) Lists Amazon DataZone environment profiles.default ListEnvironmentProfilesPublisher
listEnvironmentProfilesPaginator
(Consumer<ListEnvironmentProfilesRequest.Builder> listEnvironmentProfilesRequest) This is a variant oflistEnvironmentProfiles(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesRequest)
operation.default ListEnvironmentProfilesPublisher
listEnvironmentProfilesPaginator
(ListEnvironmentProfilesRequest listEnvironmentProfilesRequest) This is a variant oflistEnvironmentProfiles(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesRequest)
operation.listEnvironments
(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists Amazon DataZone environments.listEnvironments
(ListEnvironmentsRequest listEnvironmentsRequest) Lists Amazon DataZone environments.default ListEnvironmentsPublisher
listEnvironmentsPaginator
(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.datazone.model.ListEnvironmentsRequest)
operation.default ListEnvironmentsPublisher
listEnvironmentsPaginator
(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.datazone.model.ListEnvironmentsRequest)
operation.listMetadataGenerationRuns
(Consumer<ListMetadataGenerationRunsRequest.Builder> listMetadataGenerationRunsRequest) Lists all metadata generation runs.listMetadataGenerationRuns
(ListMetadataGenerationRunsRequest listMetadataGenerationRunsRequest) Lists all metadata generation runs.listMetadataGenerationRunsPaginator
(Consumer<ListMetadataGenerationRunsRequest.Builder> listMetadataGenerationRunsRequest) This is a variant oflistMetadataGenerationRuns(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsRequest)
operation.listMetadataGenerationRunsPaginator
(ListMetadataGenerationRunsRequest listMetadataGenerationRunsRequest) This is a variant oflistMetadataGenerationRuns(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsRequest)
operation.listNotifications
(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) Lists all Amazon DataZone notifications.listNotifications
(ListNotificationsRequest listNotificationsRequest) Lists all Amazon DataZone notifications.default ListNotificationsPublisher
listNotificationsPaginator
(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) This is a variant oflistNotifications(software.amazon.awssdk.services.datazone.model.ListNotificationsRequest)
operation.default ListNotificationsPublisher
listNotificationsPaginator
(ListNotificationsRequest listNotificationsRequest) This is a variant oflistNotifications(software.amazon.awssdk.services.datazone.model.ListNotificationsRequest)
operation.listProjectMemberships
(Consumer<ListProjectMembershipsRequest.Builder> listProjectMembershipsRequest) Lists all members of the specified project.listProjectMemberships
(ListProjectMembershipsRequest listProjectMembershipsRequest) Lists all members of the specified project.default ListProjectMembershipsPublisher
listProjectMembershipsPaginator
(Consumer<ListProjectMembershipsRequest.Builder> listProjectMembershipsRequest) This is a variant oflistProjectMemberships(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsRequest)
operation.default ListProjectMembershipsPublisher
listProjectMembershipsPaginator
(ListProjectMembershipsRequest listProjectMembershipsRequest) This is a variant oflistProjectMemberships(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsRequest)
operation.default CompletableFuture
<ListProjectsResponse> listProjects
(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Lists Amazon DataZone projects.default CompletableFuture
<ListProjectsResponse> listProjects
(ListProjectsRequest listProjectsRequest) Lists Amazon DataZone projects.default ListProjectsPublisher
listProjectsPaginator
(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.datazone.model.ListProjectsRequest)
operation.default ListProjectsPublisher
listProjectsPaginator
(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.datazone.model.ListProjectsRequest)
operation.listSubscriptionGrants
(Consumer<ListSubscriptionGrantsRequest.Builder> listSubscriptionGrantsRequest) Lists subscription grants.listSubscriptionGrants
(ListSubscriptionGrantsRequest listSubscriptionGrantsRequest) Lists subscription grants.default ListSubscriptionGrantsPublisher
listSubscriptionGrantsPaginator
(Consumer<ListSubscriptionGrantsRequest.Builder> listSubscriptionGrantsRequest) This is a variant oflistSubscriptionGrants(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsRequest)
operation.default ListSubscriptionGrantsPublisher
listSubscriptionGrantsPaginator
(ListSubscriptionGrantsRequest listSubscriptionGrantsRequest) This is a variant oflistSubscriptionGrants(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsRequest)
operation.listSubscriptionRequests
(Consumer<ListSubscriptionRequestsRequest.Builder> listSubscriptionRequestsRequest) Lists Amazon DataZone subscription requests.listSubscriptionRequests
(ListSubscriptionRequestsRequest listSubscriptionRequestsRequest) Lists Amazon DataZone subscription requests.listSubscriptionRequestsPaginator
(Consumer<ListSubscriptionRequestsRequest.Builder> listSubscriptionRequestsRequest) This is a variant oflistSubscriptionRequests(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsRequest)
operation.listSubscriptionRequestsPaginator
(ListSubscriptionRequestsRequest listSubscriptionRequestsRequest) This is a variant oflistSubscriptionRequests(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsRequest)
operation.listSubscriptions
(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) Lists subscriptions in Amazon DataZone.listSubscriptions
(ListSubscriptionsRequest listSubscriptionsRequest) Lists subscriptions in Amazon DataZone.default ListSubscriptionsPublisher
listSubscriptionsPaginator
(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) This is a variant oflistSubscriptions(software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest)
operation.default ListSubscriptionsPublisher
listSubscriptionsPaginator
(ListSubscriptionsRequest listSubscriptionsRequest) This is a variant oflistSubscriptions(software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest)
operation.listSubscriptionTargets
(Consumer<ListSubscriptionTargetsRequest.Builder> listSubscriptionTargetsRequest) Lists subscription targets in Amazon DataZone.listSubscriptionTargets
(ListSubscriptionTargetsRequest listSubscriptionTargetsRequest) Lists subscription targets in Amazon DataZone.default ListSubscriptionTargetsPublisher
listSubscriptionTargetsPaginator
(Consumer<ListSubscriptionTargetsRequest.Builder> listSubscriptionTargetsRequest) This is a variant oflistSubscriptionTargets(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsRequest)
operation.default ListSubscriptionTargetsPublisher
listSubscriptionTargetsPaginator
(ListSubscriptionTargetsRequest listSubscriptionTargetsRequest) This is a variant oflistSubscriptionTargets(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for the specified resource in Amazon DataZone.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for the specified resource in Amazon DataZone.listTimeSeriesDataPoints
(Consumer<ListTimeSeriesDataPointsRequest.Builder> listTimeSeriesDataPointsRequest) Lists time series data points.listTimeSeriesDataPoints
(ListTimeSeriesDataPointsRequest listTimeSeriesDataPointsRequest) Lists time series data points.listTimeSeriesDataPointsPaginator
(Consumer<ListTimeSeriesDataPointsRequest.Builder> listTimeSeriesDataPointsRequest) This is a variant oflistTimeSeriesDataPoints(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsRequest)
operation.listTimeSeriesDataPointsPaginator
(ListTimeSeriesDataPointsRequest listTimeSeriesDataPointsRequest) This is a variant oflistTimeSeriesDataPoints(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsRequest)
operation.postTimeSeriesDataPoints
(Consumer<PostTimeSeriesDataPointsRequest.Builder> postTimeSeriesDataPointsRequest) Posts time series data points to Amazon DataZone for the specified asset.postTimeSeriesDataPoints
(PostTimeSeriesDataPointsRequest postTimeSeriesDataPointsRequest) Posts time series data points to Amazon DataZone for the specified asset.putEnvironmentBlueprintConfiguration
(Consumer<PutEnvironmentBlueprintConfigurationRequest.Builder> putEnvironmentBlueprintConfigurationRequest) Writes the configuration for the specified environment blueprint in Amazon DataZone.putEnvironmentBlueprintConfiguration
(PutEnvironmentBlueprintConfigurationRequest putEnvironmentBlueprintConfigurationRequest) Writes the configuration for the specified environment blueprint in Amazon DataZone.rejectPredictions
(Consumer<RejectPredictionsRequest.Builder> rejectPredictionsRequest) Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.rejectPredictions
(RejectPredictionsRequest rejectPredictionsRequest) Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.rejectSubscriptionRequest
(Consumer<RejectSubscriptionRequestRequest.Builder> rejectSubscriptionRequestRequest) Rejects the specified subscription request.rejectSubscriptionRequest
(RejectSubscriptionRequestRequest rejectSubscriptionRequestRequest) Rejects the specified subscription request.revokeSubscription
(Consumer<RevokeSubscriptionRequest.Builder> revokeSubscriptionRequest) Revokes a specified subscription in Amazon DataZone.revokeSubscription
(RevokeSubscriptionRequest revokeSubscriptionRequest) Revokes a specified subscription in Amazon DataZone.default CompletableFuture
<SearchResponse> search
(Consumer<SearchRequest.Builder> searchRequest) Searches for assets in Amazon DataZone.default CompletableFuture
<SearchResponse> search
(SearchRequest searchRequest) Searches for assets in Amazon DataZone.searchGroupProfiles
(Consumer<SearchGroupProfilesRequest.Builder> searchGroupProfilesRequest) Searches group profiles in Amazon DataZone.searchGroupProfiles
(SearchGroupProfilesRequest searchGroupProfilesRequest) Searches group profiles in Amazon DataZone.default SearchGroupProfilesPublisher
searchGroupProfilesPaginator
(Consumer<SearchGroupProfilesRequest.Builder> searchGroupProfilesRequest) This is a variant ofsearchGroupProfiles(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesRequest)
operation.default SearchGroupProfilesPublisher
searchGroupProfilesPaginator
(SearchGroupProfilesRequest searchGroupProfilesRequest) This is a variant ofsearchGroupProfiles(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesRequest)
operation.default CompletableFuture
<SearchListingsResponse> searchListings
(Consumer<SearchListingsRequest.Builder> searchListingsRequest) Searches listings (records of an asset at a given time) in Amazon DataZone.default CompletableFuture
<SearchListingsResponse> searchListings
(SearchListingsRequest searchListingsRequest) Searches listings (records of an asset at a given time) in Amazon DataZone.default SearchListingsPublisher
searchListingsPaginator
(Consumer<SearchListingsRequest.Builder> searchListingsRequest) This is a variant ofsearchListings(software.amazon.awssdk.services.datazone.model.SearchListingsRequest)
operation.default SearchListingsPublisher
searchListingsPaginator
(SearchListingsRequest searchListingsRequest) This is a variant ofsearchListings(software.amazon.awssdk.services.datazone.model.SearchListingsRequest)
operation.default SearchPublisher
searchPaginator
(Consumer<SearchRequest.Builder> searchRequest) This is a variant ofsearch(software.amazon.awssdk.services.datazone.model.SearchRequest)
operation.default SearchPublisher
searchPaginator
(SearchRequest searchRequest) This is a variant ofsearch(software.amazon.awssdk.services.datazone.model.SearchRequest)
operation.default CompletableFuture
<SearchTypesResponse> searchTypes
(Consumer<SearchTypesRequest.Builder> searchTypesRequest) Searches for types in Amazon DataZone.default CompletableFuture
<SearchTypesResponse> searchTypes
(SearchTypesRequest searchTypesRequest) Searches for types in Amazon DataZone.default SearchTypesPublisher
searchTypesPaginator
(Consumer<SearchTypesRequest.Builder> searchTypesRequest) This is a variant ofsearchTypes(software.amazon.awssdk.services.datazone.model.SearchTypesRequest)
operation.default SearchTypesPublisher
searchTypesPaginator
(SearchTypesRequest searchTypesRequest) This is a variant ofsearchTypes(software.amazon.awssdk.services.datazone.model.SearchTypesRequest)
operation.searchUserProfiles
(Consumer<SearchUserProfilesRequest.Builder> searchUserProfilesRequest) Searches user profiles in Amazon DataZone.searchUserProfiles
(SearchUserProfilesRequest searchUserProfilesRequest) Searches user profiles in Amazon DataZone.default SearchUserProfilesPublisher
searchUserProfilesPaginator
(Consumer<SearchUserProfilesRequest.Builder> searchUserProfilesRequest) This is a variant ofsearchUserProfiles(software.amazon.awssdk.services.datazone.model.SearchUserProfilesRequest)
operation.default SearchUserProfilesPublisher
searchUserProfilesPaginator
(SearchUserProfilesRequest searchUserProfilesRequest) This is a variant ofsearchUserProfiles(software.amazon.awssdk.services.datazone.model.SearchUserProfilesRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartDataSourceRun
(Consumer<StartDataSourceRunRequest.Builder> startDataSourceRunRequest) Start the run of the specified data source in Amazon DataZone.startDataSourceRun
(StartDataSourceRunRequest startDataSourceRunRequest) Start the run of the specified data source in Amazon DataZone.startMetadataGenerationRun
(Consumer<StartMetadataGenerationRunRequest.Builder> startMetadataGenerationRunRequest) Starts the metadata generation run.startMetadataGenerationRun
(StartMetadataGenerationRunRequest startMetadataGenerationRunRequest) Starts the metadata generation run.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a resource in Amazon DataZone.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Tags a resource in Amazon DataZone.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untags a resource in Amazon DataZone.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Untags a resource in Amazon DataZone.updateDataSource
(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) Updates the specified data source in Amazon DataZone.updateDataSource
(UpdateDataSourceRequest updateDataSourceRequest) Updates the specified data source in Amazon DataZone.default CompletableFuture
<UpdateDomainResponse> updateDomain
(Consumer<UpdateDomainRequest.Builder> updateDomainRequest) Updates a Amazon DataZone domain.default CompletableFuture
<UpdateDomainResponse> updateDomain
(UpdateDomainRequest updateDomainRequest) Updates a Amazon DataZone domain.updateEnvironment
(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates the specified environment in Amazon DataZone.updateEnvironment
(UpdateEnvironmentRequest updateEnvironmentRequest) Updates the specified environment in Amazon DataZone.updateEnvironmentProfile
(Consumer<UpdateEnvironmentProfileRequest.Builder> updateEnvironmentProfileRequest) Updates the specified environment profile in Amazon DataZone.updateEnvironmentProfile
(UpdateEnvironmentProfileRequest updateEnvironmentProfileRequest) Updates the specified environment profile in Amazon DataZone.default CompletableFuture
<UpdateGlossaryResponse> updateGlossary
(Consumer<UpdateGlossaryRequest.Builder> updateGlossaryRequest) Updates the business glossary in Amazon DataZone.default CompletableFuture
<UpdateGlossaryResponse> updateGlossary
(UpdateGlossaryRequest updateGlossaryRequest) Updates the business glossary in Amazon DataZone.updateGlossaryTerm
(Consumer<UpdateGlossaryTermRequest.Builder> updateGlossaryTermRequest) Updates a business glossary term in Amazon DataZone.updateGlossaryTerm
(UpdateGlossaryTermRequest updateGlossaryTermRequest) Updates a business glossary term in Amazon DataZone.updateGroupProfile
(Consumer<UpdateGroupProfileRequest.Builder> updateGroupProfileRequest) Updates the specified group profile in Amazon DataZone.updateGroupProfile
(UpdateGroupProfileRequest updateGroupProfileRequest) Updates the specified group profile in Amazon DataZone.default CompletableFuture
<UpdateProjectResponse> updateProject
(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates the specified project in Amazon DataZone.default CompletableFuture
<UpdateProjectResponse> updateProject
(UpdateProjectRequest updateProjectRequest) Updates the specified project in Amazon DataZone.updateSubscriptionGrantStatus
(Consumer<UpdateSubscriptionGrantStatusRequest.Builder> updateSubscriptionGrantStatusRequest) Updates the status of the specified subscription grant status in Amazon DataZone.updateSubscriptionGrantStatus
(UpdateSubscriptionGrantStatusRequest updateSubscriptionGrantStatusRequest) Updates the status of the specified subscription grant status in Amazon DataZone.updateSubscriptionRequest
(Consumer<UpdateSubscriptionRequestRequest.Builder> updateSubscriptionRequestRequest) Updates a specified subscription request in Amazon DataZone.updateSubscriptionRequest
(UpdateSubscriptionRequestRequest updateSubscriptionRequestRequest) Updates a specified subscription request in Amazon DataZone.updateSubscriptionTarget
(Consumer<UpdateSubscriptionTargetRequest.Builder> updateSubscriptionTargetRequest) Updates the specified subscription target in Amazon DataZone.updateSubscriptionTarget
(UpdateSubscriptionTargetRequest updateSubscriptionTargetRequest) Updates the specified subscription target in Amazon DataZone.updateUserProfile
(Consumer<UpdateUserProfileRequest.Builder> updateUserProfileRequest) Updates the specified user profile in Amazon DataZone.updateUserProfile
(UpdateUserProfileRequest updateUserProfileRequest) Updates the specified user profile in Amazon DataZone.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptPredictions
default CompletableFuture<AcceptPredictionsResponse> acceptPredictions(AcceptPredictionsRequest acceptPredictionsRequest) Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.
- Parameters:
acceptPredictionsRequest
-- Returns:
- A Java Future containing the result of the AcceptPredictions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptPredictions
default CompletableFuture<AcceptPredictionsResponse> acceptPredictions(Consumer<AcceptPredictionsRequest.Builder> acceptPredictionsRequest) Accepts automatically generated business-friendly metadata for your Amazon DataZone assets.
This is a convenience which creates an instance of the
AcceptPredictionsRequest.Builder
avoiding the need to create one manually viaAcceptPredictionsRequest.builder()
- Parameters:
acceptPredictionsRequest
- AConsumer
that will call methods onAcceptPredictionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AcceptPredictions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptSubscriptionRequest
default CompletableFuture<AcceptSubscriptionRequestResponse> acceptSubscriptionRequest(AcceptSubscriptionRequestRequest acceptSubscriptionRequestRequest) Accepts a subscription request to a specific asset.
- Parameters:
acceptSubscriptionRequestRequest
-- Returns:
- A Java Future containing the result of the AcceptSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptSubscriptionRequest
default CompletableFuture<AcceptSubscriptionRequestResponse> acceptSubscriptionRequest(Consumer<AcceptSubscriptionRequestRequest.Builder> acceptSubscriptionRequestRequest) Accepts a subscription request to a specific asset.
This is a convenience which creates an instance of the
AcceptSubscriptionRequestRequest.Builder
avoiding the need to create one manually viaAcceptSubscriptionRequestRequest.builder()
- Parameters:
acceptSubscriptionRequestRequest
- AConsumer
that will call methods onAcceptSubscriptionRequestRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AcceptSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMetadataGenerationRun
default CompletableFuture<CancelMetadataGenerationRunResponse> cancelMetadataGenerationRun(CancelMetadataGenerationRunRequest cancelMetadataGenerationRunRequest) Cancels the metadata generation run.
- Parameters:
cancelMetadataGenerationRunRequest
-- Returns:
- A Java Future containing the result of the CancelMetadataGenerationRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelMetadataGenerationRun
default CompletableFuture<CancelMetadataGenerationRunResponse> cancelMetadataGenerationRun(Consumer<CancelMetadataGenerationRunRequest.Builder> cancelMetadataGenerationRunRequest) Cancels the metadata generation run.
This is a convenience which creates an instance of the
CancelMetadataGenerationRunRequest.Builder
avoiding the need to create one manually viaCancelMetadataGenerationRunRequest.builder()
- Parameters:
cancelMetadataGenerationRunRequest
- AConsumer
that will call methods onCancelMetadataGenerationRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelMetadataGenerationRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelSubscription
default CompletableFuture<CancelSubscriptionResponse> cancelSubscription(CancelSubscriptionRequest cancelSubscriptionRequest) Cancels the subscription to the specified asset.
- Parameters:
cancelSubscriptionRequest
-- Returns:
- A Java Future containing the result of the CancelSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelSubscription
default CompletableFuture<CancelSubscriptionResponse> cancelSubscription(Consumer<CancelSubscriptionRequest.Builder> cancelSubscriptionRequest) Cancels the subscription to the specified asset.
This is a convenience which creates an instance of the
CancelSubscriptionRequest.Builder
avoiding the need to create one manually viaCancelSubscriptionRequest.builder()
- Parameters:
cancelSubscriptionRequest
- AConsumer
that will call methods onCancelSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CancelSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAsset
Creates an asset in Amazon DataZone catalog.
- Parameters:
createAssetRequest
-- Returns:
- A Java Future containing the result of the CreateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAsset
default CompletableFuture<CreateAssetResponse> createAsset(Consumer<CreateAssetRequest.Builder> createAssetRequest) Creates an asset in Amazon DataZone catalog.
This is a convenience which creates an instance of the
CreateAssetRequest.Builder
avoiding the need to create one manually viaCreateAssetRequest.builder()
- Parameters:
createAssetRequest
- AConsumer
that will call methods onCreateAssetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssetRevision
default CompletableFuture<CreateAssetRevisionResponse> createAssetRevision(CreateAssetRevisionRequest createAssetRevisionRequest) Creates a revision of the asset.
- Parameters:
createAssetRevisionRequest
-- Returns:
- A Java Future containing the result of the CreateAssetRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssetRevision
default CompletableFuture<CreateAssetRevisionResponse> createAssetRevision(Consumer<CreateAssetRevisionRequest.Builder> createAssetRevisionRequest) Creates a revision of the asset.
This is a convenience which creates an instance of the
CreateAssetRevisionRequest.Builder
avoiding the need to create one manually viaCreateAssetRevisionRequest.builder()
- Parameters:
createAssetRevisionRequest
- AConsumer
that will call methods onCreateAssetRevisionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAssetRevision operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssetType
default CompletableFuture<CreateAssetTypeResponse> createAssetType(CreateAssetTypeRequest createAssetTypeRequest) Creates a custom asset type.
- Parameters:
createAssetTypeRequest
-- Returns:
- A Java Future containing the result of the CreateAssetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssetType
default CompletableFuture<CreateAssetTypeResponse> createAssetType(Consumer<CreateAssetTypeRequest.Builder> createAssetTypeRequest) Creates a custom asset type.
This is a convenience which creates an instance of the
CreateAssetTypeRequest.Builder
avoiding the need to create one manually viaCreateAssetTypeRequest.builder()
- Parameters:
createAssetTypeRequest
- AConsumer
that will call methods onCreateAssetTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAssetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataSource
default CompletableFuture<CreateDataSourceResponse> createDataSource(CreateDataSourceRequest createDataSourceRequest) Creates an Amazon DataZone data source.
- Parameters:
createDataSourceRequest
-- Returns:
- A Java Future containing the result of the CreateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDataSource
default CompletableFuture<CreateDataSourceResponse> createDataSource(Consumer<CreateDataSourceRequest.Builder> createDataSourceRequest) Creates an Amazon DataZone data source.
This is a convenience which creates an instance of the
CreateDataSourceRequest.Builder
avoiding the need to create one manually viaCreateDataSourceRequest.builder()
- Parameters:
createDataSourceRequest
- AConsumer
that will call methods onCreateDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDomain
default CompletableFuture<CreateDomainResponse> createDomain(CreateDomainRequest createDomainRequest) Creates an Amazon DataZone domain.
- Parameters:
createDomainRequest
-- Returns:
- A Java Future containing the result of the CreateDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createDomain
default CompletableFuture<CreateDomainResponse> createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) Creates an Amazon DataZone domain.
This is a convenience which creates an instance of the
CreateDomainRequest.Builder
avoiding the need to create one manually viaCreateDomainRequest.builder()
- Parameters:
createDomainRequest
- AConsumer
that will call methods onCreateDomainRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Create an Amazon DataZone environment.
- Parameters:
createEnvironmentRequest
-- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Create an Amazon DataZone environment.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builder
avoiding the need to create one manually viaCreateEnvironmentRequest.builder()
- Parameters:
createEnvironmentRequest
- AConsumer
that will call methods onCreateEnvironmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentProfile
default CompletableFuture<CreateEnvironmentProfileResponse> createEnvironmentProfile(CreateEnvironmentProfileRequest createEnvironmentProfileRequest) Creates an Amazon DataZone environment profile.
- Parameters:
createEnvironmentProfileRequest
-- Returns:
- A Java Future containing the result of the CreateEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentProfile
default CompletableFuture<CreateEnvironmentProfileResponse> createEnvironmentProfile(Consumer<CreateEnvironmentProfileRequest.Builder> createEnvironmentProfileRequest) Creates an Amazon DataZone environment profile.
This is a convenience which creates an instance of the
CreateEnvironmentProfileRequest.Builder
avoiding the need to create one manually viaCreateEnvironmentProfileRequest.builder()
- Parameters:
createEnvironmentProfileRequest
- AConsumer
that will call methods onCreateEnvironmentProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFormType
default CompletableFuture<CreateFormTypeResponse> createFormType(CreateFormTypeRequest createFormTypeRequest) Creates a metadata form type.
- Parameters:
createFormTypeRequest
-- Returns:
- A Java Future containing the result of the CreateFormType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFormType
default CompletableFuture<CreateFormTypeResponse> createFormType(Consumer<CreateFormTypeRequest.Builder> createFormTypeRequest) Creates a metadata form type.
This is a convenience which creates an instance of the
CreateFormTypeRequest.Builder
avoiding the need to create one manually viaCreateFormTypeRequest.builder()
- Parameters:
createFormTypeRequest
- AConsumer
that will call methods onCreateFormTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFormType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGlossary
default CompletableFuture<CreateGlossaryResponse> createGlossary(CreateGlossaryRequest createGlossaryRequest) Creates an Amazon DataZone business glossary.
- Parameters:
createGlossaryRequest
-- Returns:
- A Java Future containing the result of the CreateGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGlossary
default CompletableFuture<CreateGlossaryResponse> createGlossary(Consumer<CreateGlossaryRequest.Builder> createGlossaryRequest) Creates an Amazon DataZone business glossary.
This is a convenience which creates an instance of the
CreateGlossaryRequest.Builder
avoiding the need to create one manually viaCreateGlossaryRequest.builder()
- Parameters:
createGlossaryRequest
- AConsumer
that will call methods onCreateGlossaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGlossaryTerm
default CompletableFuture<CreateGlossaryTermResponse> createGlossaryTerm(CreateGlossaryTermRequest createGlossaryTermRequest) Creates a business glossary term.
- Parameters:
createGlossaryTermRequest
-- Returns:
- A Java Future containing the result of the CreateGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGlossaryTerm
default CompletableFuture<CreateGlossaryTermResponse> createGlossaryTerm(Consumer<CreateGlossaryTermRequest.Builder> createGlossaryTermRequest) Creates a business glossary term.
This is a convenience which creates an instance of the
CreateGlossaryTermRequest.Builder
avoiding the need to create one manually viaCreateGlossaryTermRequest.builder()
- Parameters:
createGlossaryTermRequest
- AConsumer
that will call methods onCreateGlossaryTermRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGroupProfile
default CompletableFuture<CreateGroupProfileResponse> createGroupProfile(CreateGroupProfileRequest createGroupProfileRequest) Creates a group profile in Amazon DataZone.
- Parameters:
createGroupProfileRequest
-- Returns:
- A Java Future containing the result of the CreateGroupProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGroupProfile
default CompletableFuture<CreateGroupProfileResponse> createGroupProfile(Consumer<CreateGroupProfileRequest.Builder> createGroupProfileRequest) Creates a group profile in Amazon DataZone.
This is a convenience which creates an instance of the
CreateGroupProfileRequest.Builder
avoiding the need to create one manually viaCreateGroupProfileRequest.builder()
- Parameters:
createGroupProfileRequest
- AConsumer
that will call methods onCreateGroupProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGroupProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createListingChangeSet
default CompletableFuture<CreateListingChangeSetResponse> createListingChangeSet(CreateListingChangeSetRequest createListingChangeSetRequest) Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog.
- Parameters:
createListingChangeSetRequest
-- Returns:
- A Java Future containing the result of the CreateListingChangeSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createListingChangeSet
default CompletableFuture<CreateListingChangeSetResponse> createListingChangeSet(Consumer<CreateListingChangeSetRequest.Builder> createListingChangeSetRequest) Publishes a listing (a record of an asset at a given time) or removes a listing from the catalog.
This is a convenience which creates an instance of the
CreateListingChangeSetRequest.Builder
avoiding the need to create one manually viaCreateListingChangeSetRequest.builder()
- Parameters:
createListingChangeSetRequest
- AConsumer
that will call methods onCreateListingChangeSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateListingChangeSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest) Creates an Amazon DataZone project.
- Parameters:
createProjectRequest
-- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates an Amazon DataZone project.
This is a convenience which creates an instance of the
CreateProjectRequest.Builder
avoiding the need to create one manually viaCreateProjectRequest.builder()
- Parameters:
createProjectRequest
- AConsumer
that will call methods onCreateProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProjectMembership
default CompletableFuture<CreateProjectMembershipResponse> createProjectMembership(CreateProjectMembershipRequest createProjectMembershipRequest) Creates a project membership in Amazon DataZone.
- Parameters:
createProjectMembershipRequest
-- Returns:
- A Java Future containing the result of the CreateProjectMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProjectMembership
default CompletableFuture<CreateProjectMembershipResponse> createProjectMembership(Consumer<CreateProjectMembershipRequest.Builder> createProjectMembershipRequest) Creates a project membership in Amazon DataZone.
This is a convenience which creates an instance of the
CreateProjectMembershipRequest.Builder
avoiding the need to create one manually viaCreateProjectMembershipRequest.builder()
- Parameters:
createProjectMembershipRequest
- AConsumer
that will call methods onCreateProjectMembershipRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateProjectMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSubscriptionGrant
default CompletableFuture<CreateSubscriptionGrantResponse> createSubscriptionGrant(CreateSubscriptionGrantRequest createSubscriptionGrantRequest) Creates a subsscription grant in Amazon DataZone.
- Parameters:
createSubscriptionGrantRequest
-- Returns:
- A Java Future containing the result of the CreateSubscriptionGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSubscriptionGrant
default CompletableFuture<CreateSubscriptionGrantResponse> createSubscriptionGrant(Consumer<CreateSubscriptionGrantRequest.Builder> createSubscriptionGrantRequest) Creates a subsscription grant in Amazon DataZone.
This is a convenience which creates an instance of the
CreateSubscriptionGrantRequest.Builder
avoiding the need to create one manually viaCreateSubscriptionGrantRequest.builder()
- Parameters:
createSubscriptionGrantRequest
- AConsumer
that will call methods onCreateSubscriptionGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSubscriptionGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSubscriptionRequest
default CompletableFuture<CreateSubscriptionRequestResponse> createSubscriptionRequest(CreateSubscriptionRequestRequest createSubscriptionRequestRequest) Creates a subscription request in Amazon DataZone.
- Parameters:
createSubscriptionRequestRequest
-- Returns:
- A Java Future containing the result of the CreateSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSubscriptionRequest
default CompletableFuture<CreateSubscriptionRequestResponse> createSubscriptionRequest(Consumer<CreateSubscriptionRequestRequest.Builder> createSubscriptionRequestRequest) Creates a subscription request in Amazon DataZone.
This is a convenience which creates an instance of the
CreateSubscriptionRequestRequest.Builder
avoiding the need to create one manually viaCreateSubscriptionRequestRequest.builder()
- Parameters:
createSubscriptionRequestRequest
- AConsumer
that will call methods onCreateSubscriptionRequestRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSubscriptionTarget
default CompletableFuture<CreateSubscriptionTargetResponse> createSubscriptionTarget(CreateSubscriptionTargetRequest createSubscriptionTargetRequest) Creates a subscription target in Amazon DataZone.
- Parameters:
createSubscriptionTargetRequest
-- Returns:
- A Java Future containing the result of the CreateSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSubscriptionTarget
default CompletableFuture<CreateSubscriptionTargetResponse> createSubscriptionTarget(Consumer<CreateSubscriptionTargetRequest.Builder> createSubscriptionTargetRequest) Creates a subscription target in Amazon DataZone.
This is a convenience which creates an instance of the
CreateSubscriptionTargetRequest.Builder
avoiding the need to create one manually viaCreateSubscriptionTargetRequest.builder()
- Parameters:
createSubscriptionTargetRequest
- AConsumer
that will call methods onCreateSubscriptionTargetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUserProfile
default CompletableFuture<CreateUserProfileResponse> createUserProfile(CreateUserProfileRequest createUserProfileRequest) Creates a user profile in Amazon DataZone.
- Parameters:
createUserProfileRequest
-- Returns:
- A Java Future containing the result of the CreateUserProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUserProfile
default CompletableFuture<CreateUserProfileResponse> createUserProfile(Consumer<CreateUserProfileRequest.Builder> createUserProfileRequest) Creates a user profile in Amazon DataZone.
This is a convenience which creates an instance of the
CreateUserProfileRequest.Builder
avoiding the need to create one manually viaCreateUserProfileRequest.builder()
- Parameters:
createUserProfileRequest
- AConsumer
that will call methods onCreateUserProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateUserProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAsset
Delets an asset in Amazon DataZone.
- Parameters:
deleteAssetRequest
-- Returns:
- A Java Future containing the result of the DeleteAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAsset
default CompletableFuture<DeleteAssetResponse> deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) Delets an asset in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteAssetRequest.Builder
avoiding the need to create one manually viaDeleteAssetRequest.builder()
- Parameters:
deleteAssetRequest
- AConsumer
that will call methods onDeleteAssetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssetType
default CompletableFuture<DeleteAssetTypeResponse> deleteAssetType(DeleteAssetTypeRequest deleteAssetTypeRequest) Deletes an asset type in Amazon DataZone.
- Parameters:
deleteAssetTypeRequest
-- Returns:
- A Java Future containing the result of the DeleteAssetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssetType
default CompletableFuture<DeleteAssetTypeResponse> deleteAssetType(Consumer<DeleteAssetTypeRequest.Builder> deleteAssetTypeRequest) Deletes an asset type in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteAssetTypeRequest.Builder
avoiding the need to create one manually viaDeleteAssetTypeRequest.builder()
- Parameters:
deleteAssetTypeRequest
- AConsumer
that will call methods onDeleteAssetTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAssetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataSource
default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(DeleteDataSourceRequest deleteDataSourceRequest) Deletes a data source in Amazon DataZone.
- Parameters:
deleteDataSourceRequest
-- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDataSource
default CompletableFuture<DeleteDataSourceResponse> deleteDataSource(Consumer<DeleteDataSourceRequest.Builder> deleteDataSourceRequest) Deletes a data source in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteDataSourceRequest.Builder
avoiding the need to create one manually viaDeleteDataSourceRequest.builder()
- Parameters:
deleteDataSourceRequest
- AConsumer
that will call methods onDeleteDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDomain
default CompletableFuture<DeleteDomainResponse> deleteDomain(DeleteDomainRequest deleteDomainRequest) Deletes a Amazon DataZone domain.
- Parameters:
deleteDomainRequest
-- Returns:
- A Java Future containing the result of the DeleteDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDomain
default CompletableFuture<DeleteDomainResponse> deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Deletes a Amazon DataZone domain.
This is a convenience which creates an instance of the
DeleteDomainRequest.Builder
avoiding the need to create one manually viaDeleteDomainRequest.builder()
- Parameters:
deleteDomainRequest
- AConsumer
that will call methods onDeleteDomainRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an environment in Amazon DataZone.
- Parameters:
deleteEnvironmentRequest
-- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an environment in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builder
avoiding the need to create one manually viaDeleteEnvironmentRequest.builder()
- Parameters:
deleteEnvironmentRequest
- AConsumer
that will call methods onDeleteEnvironmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentBlueprintConfiguration
default CompletableFuture<DeleteEnvironmentBlueprintConfigurationResponse> deleteEnvironmentBlueprintConfiguration(DeleteEnvironmentBlueprintConfigurationRequest deleteEnvironmentBlueprintConfigurationRequest) Deletes the blueprint configuration in Amazon DataZone.
- Parameters:
deleteEnvironmentBlueprintConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteEnvironmentBlueprintConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentBlueprintConfiguration
default CompletableFuture<DeleteEnvironmentBlueprintConfigurationResponse> deleteEnvironmentBlueprintConfiguration(Consumer<DeleteEnvironmentBlueprintConfigurationRequest.Builder> deleteEnvironmentBlueprintConfigurationRequest) Deletes the blueprint configuration in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteEnvironmentBlueprintConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteEnvironmentBlueprintConfigurationRequest.builder()
- Parameters:
deleteEnvironmentBlueprintConfigurationRequest
- AConsumer
that will call methods onDeleteEnvironmentBlueprintConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentBlueprintConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentProfile
default CompletableFuture<DeleteEnvironmentProfileResponse> deleteEnvironmentProfile(DeleteEnvironmentProfileRequest deleteEnvironmentProfileRequest) Deletes an environment profile in Amazon DataZone.
- Parameters:
deleteEnvironmentProfileRequest
-- Returns:
- A Java Future containing the result of the DeleteEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentProfile
default CompletableFuture<DeleteEnvironmentProfileResponse> deleteEnvironmentProfile(Consumer<DeleteEnvironmentProfileRequest.Builder> deleteEnvironmentProfileRequest) Deletes an environment profile in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteEnvironmentProfileRequest.Builder
avoiding the need to create one manually viaDeleteEnvironmentProfileRequest.builder()
- Parameters:
deleteEnvironmentProfileRequest
- AConsumer
that will call methods onDeleteEnvironmentProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFormType
default CompletableFuture<DeleteFormTypeResponse> deleteFormType(DeleteFormTypeRequest deleteFormTypeRequest) Delets and metadata form type in Amazon DataZone.
- Parameters:
deleteFormTypeRequest
-- Returns:
- A Java Future containing the result of the DeleteFormType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFormType
default CompletableFuture<DeleteFormTypeResponse> deleteFormType(Consumer<DeleteFormTypeRequest.Builder> deleteFormTypeRequest) Delets and metadata form type in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteFormTypeRequest.Builder
avoiding the need to create one manually viaDeleteFormTypeRequest.builder()
- Parameters:
deleteFormTypeRequest
- AConsumer
that will call methods onDeleteFormTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFormType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGlossary
default CompletableFuture<DeleteGlossaryResponse> deleteGlossary(DeleteGlossaryRequest deleteGlossaryRequest) Deletes a business glossary in Amazon DataZone.
- Parameters:
deleteGlossaryRequest
-- Returns:
- A Java Future containing the result of the DeleteGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGlossary
default CompletableFuture<DeleteGlossaryResponse> deleteGlossary(Consumer<DeleteGlossaryRequest.Builder> deleteGlossaryRequest) Deletes a business glossary in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteGlossaryRequest.Builder
avoiding the need to create one manually viaDeleteGlossaryRequest.builder()
- Parameters:
deleteGlossaryRequest
- AConsumer
that will call methods onDeleteGlossaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGlossaryTerm
default CompletableFuture<DeleteGlossaryTermResponse> deleteGlossaryTerm(DeleteGlossaryTermRequest deleteGlossaryTermRequest) Deletes a business glossary term in Amazon DataZone.
- Parameters:
deleteGlossaryTermRequest
-- Returns:
- A Java Future containing the result of the DeleteGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGlossaryTerm
default CompletableFuture<DeleteGlossaryTermResponse> deleteGlossaryTerm(Consumer<DeleteGlossaryTermRequest.Builder> deleteGlossaryTermRequest) Deletes a business glossary term in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteGlossaryTermRequest.Builder
avoiding the need to create one manually viaDeleteGlossaryTermRequest.builder()
- Parameters:
deleteGlossaryTermRequest
- AConsumer
that will call methods onDeleteGlossaryTermRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteListing
default CompletableFuture<DeleteListingResponse> deleteListing(DeleteListingRequest deleteListingRequest) Deletes a listing (a record of an asset at a given time).
- Parameters:
deleteListingRequest
-- Returns:
- A Java Future containing the result of the DeleteListing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteListing
default CompletableFuture<DeleteListingResponse> deleteListing(Consumer<DeleteListingRequest.Builder> deleteListingRequest) Deletes a listing (a record of an asset at a given time).
This is a convenience which creates an instance of the
DeleteListingRequest.Builder
avoiding the need to create one manually viaDeleteListingRequest.builder()
- Parameters:
deleteListingRequest
- AConsumer
that will call methods onDeleteListingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteListing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest) Deletes a project in Amazon DataZone.
- Parameters:
deleteProjectRequest
-- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builder
avoiding the need to create one manually viaDeleteProjectRequest.builder()
- Parameters:
deleteProjectRequest
- AConsumer
that will call methods onDeleteProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProjectMembership
default CompletableFuture<DeleteProjectMembershipResponse> deleteProjectMembership(DeleteProjectMembershipRequest deleteProjectMembershipRequest) Deletes project membership in Amazon DataZone.
- Parameters:
deleteProjectMembershipRequest
-- Returns:
- A Java Future containing the result of the DeleteProjectMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProjectMembership
default CompletableFuture<DeleteProjectMembershipResponse> deleteProjectMembership(Consumer<DeleteProjectMembershipRequest.Builder> deleteProjectMembershipRequest) Deletes project membership in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteProjectMembershipRequest.Builder
avoiding the need to create one manually viaDeleteProjectMembershipRequest.builder()
- Parameters:
deleteProjectMembershipRequest
- AConsumer
that will call methods onDeleteProjectMembershipRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteProjectMembership operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSubscriptionGrant
default CompletableFuture<DeleteSubscriptionGrantResponse> deleteSubscriptionGrant(DeleteSubscriptionGrantRequest deleteSubscriptionGrantRequest) Deletes and subscription grant in Amazon DataZone.
- Parameters:
deleteSubscriptionGrantRequest
-- Returns:
- A Java Future containing the result of the DeleteSubscriptionGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSubscriptionGrant
default CompletableFuture<DeleteSubscriptionGrantResponse> deleteSubscriptionGrant(Consumer<DeleteSubscriptionGrantRequest.Builder> deleteSubscriptionGrantRequest) Deletes and subscription grant in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteSubscriptionGrantRequest.Builder
avoiding the need to create one manually viaDeleteSubscriptionGrantRequest.builder()
- Parameters:
deleteSubscriptionGrantRequest
- AConsumer
that will call methods onDeleteSubscriptionGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSubscriptionGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSubscriptionRequest
default CompletableFuture<DeleteSubscriptionRequestResponse> deleteSubscriptionRequest(DeleteSubscriptionRequestRequest deleteSubscriptionRequestRequest) Deletes a subscription request in Amazon DataZone.
- Parameters:
deleteSubscriptionRequestRequest
-- Returns:
- A Java Future containing the result of the DeleteSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSubscriptionRequest
default CompletableFuture<DeleteSubscriptionRequestResponse> deleteSubscriptionRequest(Consumer<DeleteSubscriptionRequestRequest.Builder> deleteSubscriptionRequestRequest) Deletes a subscription request in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteSubscriptionRequestRequest.Builder
avoiding the need to create one manually viaDeleteSubscriptionRequestRequest.builder()
- Parameters:
deleteSubscriptionRequestRequest
- AConsumer
that will call methods onDeleteSubscriptionRequestRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSubscriptionTarget
default CompletableFuture<DeleteSubscriptionTargetResponse> deleteSubscriptionTarget(DeleteSubscriptionTargetRequest deleteSubscriptionTargetRequest) Deletes a subscription target in Amazon DataZone.
- Parameters:
deleteSubscriptionTargetRequest
-- Returns:
- A Java Future containing the result of the DeleteSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSubscriptionTarget
default CompletableFuture<DeleteSubscriptionTargetResponse> deleteSubscriptionTarget(Consumer<DeleteSubscriptionTargetRequest.Builder> deleteSubscriptionTargetRequest) Deletes a subscription target in Amazon DataZone.
This is a convenience which creates an instance of the
DeleteSubscriptionTargetRequest.Builder
avoiding the need to create one manually viaDeleteSubscriptionTargetRequest.builder()
- Parameters:
deleteSubscriptionTargetRequest
- AConsumer
that will call methods onDeleteSubscriptionTargetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTimeSeriesDataPoints
default CompletableFuture<DeleteTimeSeriesDataPointsResponse> deleteTimeSeriesDataPoints(DeleteTimeSeriesDataPointsRequest deleteTimeSeriesDataPointsRequest) Deletes the specified time series form for the specified asset.
- Parameters:
deleteTimeSeriesDataPointsRequest
-- Returns:
- A Java Future containing the result of the DeleteTimeSeriesDataPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTimeSeriesDataPoints
default CompletableFuture<DeleteTimeSeriesDataPointsResponse> deleteTimeSeriesDataPoints(Consumer<DeleteTimeSeriesDataPointsRequest.Builder> deleteTimeSeriesDataPointsRequest) Deletes the specified time series form for the specified asset.
This is a convenience which creates an instance of the
DeleteTimeSeriesDataPointsRequest.Builder
avoiding the need to create one manually viaDeleteTimeSeriesDataPointsRequest.builder()
- Parameters:
deleteTimeSeriesDataPointsRequest
- AConsumer
that will call methods onDeleteTimeSeriesDataPointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteTimeSeriesDataPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAsset
Gets an Amazon DataZone asset.
- Parameters:
getAssetRequest
-- Returns:
- A Java Future containing the result of the GetAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAsset
default CompletableFuture<GetAssetResponse> getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) Gets an Amazon DataZone asset.
This is a convenience which creates an instance of the
GetAssetRequest.Builder
avoiding the need to create one manually viaGetAssetRequest.builder()
- Parameters:
getAssetRequest
- AConsumer
that will call methods onGetAssetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssetType
default CompletableFuture<GetAssetTypeResponse> getAssetType(GetAssetTypeRequest getAssetTypeRequest) Gets an Amazon DataZone asset type.
- Parameters:
getAssetTypeRequest
-- Returns:
- A Java Future containing the result of the GetAssetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssetType
default CompletableFuture<GetAssetTypeResponse> getAssetType(Consumer<GetAssetTypeRequest.Builder> getAssetTypeRequest) Gets an Amazon DataZone asset type.
This is a convenience which creates an instance of the
GetAssetTypeRequest.Builder
avoiding the need to create one manually viaGetAssetTypeRequest.builder()
- Parameters:
getAssetTypeRequest
- AConsumer
that will call methods onGetAssetTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAssetType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataSource
default CompletableFuture<GetDataSourceResponse> getDataSource(GetDataSourceRequest getDataSourceRequest) Gets an Amazon DataZone data source.
- Parameters:
getDataSourceRequest
-- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataSource
default CompletableFuture<GetDataSourceResponse> getDataSource(Consumer<GetDataSourceRequest.Builder> getDataSourceRequest) Gets an Amazon DataZone data source.
This is a convenience which creates an instance of the
GetDataSourceRequest.Builder
avoiding the need to create one manually viaGetDataSourceRequest.builder()
- Parameters:
getDataSourceRequest
- AConsumer
that will call methods onGetDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataSourceRun
default CompletableFuture<GetDataSourceRunResponse> getDataSourceRun(GetDataSourceRunRequest getDataSourceRunRequest) Gets an Amazon DataZone data source run.
- Parameters:
getDataSourceRunRequest
-- Returns:
- A Java Future containing the result of the GetDataSourceRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDataSourceRun
default CompletableFuture<GetDataSourceRunResponse> getDataSourceRun(Consumer<GetDataSourceRunRequest.Builder> getDataSourceRunRequest) Gets an Amazon DataZone data source run.
This is a convenience which creates an instance of the
GetDataSourceRunRequest.Builder
avoiding the need to create one manually viaGetDataSourceRunRequest.builder()
- Parameters:
getDataSourceRunRequest
- AConsumer
that will call methods onGetDataSourceRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDataSourceRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDomain
Gets an Amazon DataZone domain.
- Parameters:
getDomainRequest
-- Returns:
- A Java Future containing the result of the GetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDomain
default CompletableFuture<GetDomainResponse> getDomain(Consumer<GetDomainRequest.Builder> getDomainRequest) Gets an Amazon DataZone domain.
This is a convenience which creates an instance of the
GetDomainRequest.Builder
avoiding the need to create one manually viaGetDomainRequest.builder()
- Parameters:
getDomainRequest
- AConsumer
that will call methods onGetDomainRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Gets an Amazon DataZone environment.
- Parameters:
getEnvironmentRequest
-- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Gets an Amazon DataZone environment.
This is a convenience which creates an instance of the
GetEnvironmentRequest.Builder
avoiding the need to create one manually viaGetEnvironmentRequest.builder()
- Parameters:
getEnvironmentRequest
- AConsumer
that will call methods onGetEnvironmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentBlueprint
default CompletableFuture<GetEnvironmentBlueprintResponse> getEnvironmentBlueprint(GetEnvironmentBlueprintRequest getEnvironmentBlueprintRequest) Gets an Amazon DataZone blueprint.
- Parameters:
getEnvironmentBlueprintRequest
-- Returns:
- A Java Future containing the result of the GetEnvironmentBlueprint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentBlueprint
default CompletableFuture<GetEnvironmentBlueprintResponse> getEnvironmentBlueprint(Consumer<GetEnvironmentBlueprintRequest.Builder> getEnvironmentBlueprintRequest) Gets an Amazon DataZone blueprint.
This is a convenience which creates an instance of the
GetEnvironmentBlueprintRequest.Builder
avoiding the need to create one manually viaGetEnvironmentBlueprintRequest.builder()
- Parameters:
getEnvironmentBlueprintRequest
- AConsumer
that will call methods onGetEnvironmentBlueprintRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentBlueprint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentBlueprintConfiguration
default CompletableFuture<GetEnvironmentBlueprintConfigurationResponse> getEnvironmentBlueprintConfiguration(GetEnvironmentBlueprintConfigurationRequest getEnvironmentBlueprintConfigurationRequest) Gets the blueprint configuration in Amazon DataZone.
- Parameters:
getEnvironmentBlueprintConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetEnvironmentBlueprintConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentBlueprintConfiguration
default CompletableFuture<GetEnvironmentBlueprintConfigurationResponse> getEnvironmentBlueprintConfiguration(Consumer<GetEnvironmentBlueprintConfigurationRequest.Builder> getEnvironmentBlueprintConfigurationRequest) Gets the blueprint configuration in Amazon DataZone.
This is a convenience which creates an instance of the
GetEnvironmentBlueprintConfigurationRequest.Builder
avoiding the need to create one manually viaGetEnvironmentBlueprintConfigurationRequest.builder()
- Parameters:
getEnvironmentBlueprintConfigurationRequest
- AConsumer
that will call methods onGetEnvironmentBlueprintConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentBlueprintConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentProfile
default CompletableFuture<GetEnvironmentProfileResponse> getEnvironmentProfile(GetEnvironmentProfileRequest getEnvironmentProfileRequest) Gets an evinronment profile in Amazon DataZone.
- Parameters:
getEnvironmentProfileRequest
-- Returns:
- A Java Future containing the result of the GetEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentProfile
default CompletableFuture<GetEnvironmentProfileResponse> getEnvironmentProfile(Consumer<GetEnvironmentProfileRequest.Builder> getEnvironmentProfileRequest) Gets an evinronment profile in Amazon DataZone.
This is a convenience which creates an instance of the
GetEnvironmentProfileRequest.Builder
avoiding the need to create one manually viaGetEnvironmentProfileRequest.builder()
- Parameters:
getEnvironmentProfileRequest
- AConsumer
that will call methods onGetEnvironmentProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFormType
Gets a metadata form type in Amazon DataZone.
- Parameters:
getFormTypeRequest
-- Returns:
- A Java Future containing the result of the GetFormType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFormType
default CompletableFuture<GetFormTypeResponse> getFormType(Consumer<GetFormTypeRequest.Builder> getFormTypeRequest) Gets a metadata form type in Amazon DataZone.
This is a convenience which creates an instance of the
GetFormTypeRequest.Builder
avoiding the need to create one manually viaGetFormTypeRequest.builder()
- Parameters:
getFormTypeRequest
- AConsumer
that will call methods onGetFormTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFormType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGlossary
Gets a business glossary in Amazon DataZone.
- Parameters:
getGlossaryRequest
-- Returns:
- A Java Future containing the result of the GetGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGlossary
default CompletableFuture<GetGlossaryResponse> getGlossary(Consumer<GetGlossaryRequest.Builder> getGlossaryRequest) Gets a business glossary in Amazon DataZone.
This is a convenience which creates an instance of the
GetGlossaryRequest.Builder
avoiding the need to create one manually viaGetGlossaryRequest.builder()
- Parameters:
getGlossaryRequest
- AConsumer
that will call methods onGetGlossaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGlossaryTerm
default CompletableFuture<GetGlossaryTermResponse> getGlossaryTerm(GetGlossaryTermRequest getGlossaryTermRequest) Gets a business glossary term in Amazon DataZone.
- Parameters:
getGlossaryTermRequest
-- Returns:
- A Java Future containing the result of the GetGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGlossaryTerm
default CompletableFuture<GetGlossaryTermResponse> getGlossaryTerm(Consumer<GetGlossaryTermRequest.Builder> getGlossaryTermRequest) Gets a business glossary term in Amazon DataZone.
This is a convenience which creates an instance of the
GetGlossaryTermRequest.Builder
avoiding the need to create one manually viaGetGlossaryTermRequest.builder()
- Parameters:
getGlossaryTermRequest
- AConsumer
that will call methods onGetGlossaryTermRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGroupProfile
default CompletableFuture<GetGroupProfileResponse> getGroupProfile(GetGroupProfileRequest getGroupProfileRequest) Gets a group profile in Amazon DataZone.
- Parameters:
getGroupProfileRequest
-- Returns:
- A Java Future containing the result of the GetGroupProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGroupProfile
default CompletableFuture<GetGroupProfileResponse> getGroupProfile(Consumer<GetGroupProfileRequest.Builder> getGroupProfileRequest) Gets a group profile in Amazon DataZone.
This is a convenience which creates an instance of the
GetGroupProfileRequest.Builder
avoiding the need to create one manually viaGetGroupProfileRequest.builder()
- Parameters:
getGroupProfileRequest
- AConsumer
that will call methods onGetGroupProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGroupProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIamPortalLoginUrl
default CompletableFuture<GetIamPortalLoginUrlResponse> getIamPortalLoginUrl(GetIamPortalLoginUrlRequest getIamPortalLoginUrlRequest) Gets the data portal URL for the specified Amazon DataZone domain.
- Parameters:
getIamPortalLoginUrlRequest
-- Returns:
- A Java Future containing the result of the GetIamPortalLoginUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getIamPortalLoginUrl
default CompletableFuture<GetIamPortalLoginUrlResponse> getIamPortalLoginUrl(Consumer<GetIamPortalLoginUrlRequest.Builder> getIamPortalLoginUrlRequest) Gets the data portal URL for the specified Amazon DataZone domain.
This is a convenience which creates an instance of the
GetIamPortalLoginUrlRequest.Builder
avoiding the need to create one manually viaGetIamPortalLoginUrlRequest.builder()
- Parameters:
getIamPortalLoginUrlRequest
- AConsumer
that will call methods onGetIamPortalLoginUrlRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetIamPortalLoginUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getListing
Gets a listing (a record of an asset at a given time).
- Parameters:
getListingRequest
-- Returns:
- A Java Future containing the result of the GetListing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getListing
default CompletableFuture<GetListingResponse> getListing(Consumer<GetListingRequest.Builder> getListingRequest) Gets a listing (a record of an asset at a given time).
This is a convenience which creates an instance of the
GetListingRequest.Builder
avoiding the need to create one manually viaGetListingRequest.builder()
- Parameters:
getListingRequest
- AConsumer
that will call methods onGetListingRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetListing operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetadataGenerationRun
default CompletableFuture<GetMetadataGenerationRunResponse> getMetadataGenerationRun(GetMetadataGenerationRunRequest getMetadataGenerationRunRequest) Gets a metadata generation run in Amazon DataZone.
- Parameters:
getMetadataGenerationRunRequest
-- Returns:
- A Java Future containing the result of the GetMetadataGenerationRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetadataGenerationRun
default CompletableFuture<GetMetadataGenerationRunResponse> getMetadataGenerationRun(Consumer<GetMetadataGenerationRunRequest.Builder> getMetadataGenerationRunRequest) Gets a metadata generation run in Amazon DataZone.
This is a convenience which creates an instance of the
GetMetadataGenerationRunRequest.Builder
avoiding the need to create one manually viaGetMetadataGenerationRunRequest.builder()
- Parameters:
getMetadataGenerationRunRequest
- AConsumer
that will call methods onGetMetadataGenerationRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetMetadataGenerationRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProject
Gets a project in Amazon DataZone.
- Parameters:
getProjectRequest
-- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProject
default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Gets a project in Amazon DataZone.
This is a convenience which creates an instance of the
GetProjectRequest.Builder
avoiding the need to create one manually viaGetProjectRequest.builder()
- Parameters:
getProjectRequest
- AConsumer
that will call methods onGetProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscription
default CompletableFuture<GetSubscriptionResponse> getSubscription(GetSubscriptionRequest getSubscriptionRequest) Gets a subscription in Amazon DataZone.
- Parameters:
getSubscriptionRequest
-- Returns:
- A Java Future containing the result of the GetSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscription
default CompletableFuture<GetSubscriptionResponse> getSubscription(Consumer<GetSubscriptionRequest.Builder> getSubscriptionRequest) Gets a subscription in Amazon DataZone.
This is a convenience which creates an instance of the
GetSubscriptionRequest.Builder
avoiding the need to create one manually viaGetSubscriptionRequest.builder()
- Parameters:
getSubscriptionRequest
- AConsumer
that will call methods onGetSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscriptionGrant
default CompletableFuture<GetSubscriptionGrantResponse> getSubscriptionGrant(GetSubscriptionGrantRequest getSubscriptionGrantRequest) Gets the subscription grant in Amazon DataZone.
- Parameters:
getSubscriptionGrantRequest
-- Returns:
- A Java Future containing the result of the GetSubscriptionGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscriptionGrant
default CompletableFuture<GetSubscriptionGrantResponse> getSubscriptionGrant(Consumer<GetSubscriptionGrantRequest.Builder> getSubscriptionGrantRequest) Gets the subscription grant in Amazon DataZone.
This is a convenience which creates an instance of the
GetSubscriptionGrantRequest.Builder
avoiding the need to create one manually viaGetSubscriptionGrantRequest.builder()
- Parameters:
getSubscriptionGrantRequest
- AConsumer
that will call methods onGetSubscriptionGrantRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSubscriptionGrant operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscriptionRequestDetails
default CompletableFuture<GetSubscriptionRequestDetailsResponse> getSubscriptionRequestDetails(GetSubscriptionRequestDetailsRequest getSubscriptionRequestDetailsRequest) Gets the details of the specified subscription request.
- Parameters:
getSubscriptionRequestDetailsRequest
-- Returns:
- A Java Future containing the result of the GetSubscriptionRequestDetails operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscriptionRequestDetails
default CompletableFuture<GetSubscriptionRequestDetailsResponse> getSubscriptionRequestDetails(Consumer<GetSubscriptionRequestDetailsRequest.Builder> getSubscriptionRequestDetailsRequest) Gets the details of the specified subscription request.
This is a convenience which creates an instance of the
GetSubscriptionRequestDetailsRequest.Builder
avoiding the need to create one manually viaGetSubscriptionRequestDetailsRequest.builder()
- Parameters:
getSubscriptionRequestDetailsRequest
- AConsumer
that will call methods onGetSubscriptionRequestDetailsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSubscriptionRequestDetails operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscriptionTarget
default CompletableFuture<GetSubscriptionTargetResponse> getSubscriptionTarget(GetSubscriptionTargetRequest getSubscriptionTargetRequest) Gets the subscription target in Amazon DataZone.
- Parameters:
getSubscriptionTargetRequest
-- Returns:
- A Java Future containing the result of the GetSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSubscriptionTarget
default CompletableFuture<GetSubscriptionTargetResponse> getSubscriptionTarget(Consumer<GetSubscriptionTargetRequest.Builder> getSubscriptionTargetRequest) Gets the subscription target in Amazon DataZone.
This is a convenience which creates an instance of the
GetSubscriptionTargetRequest.Builder
avoiding the need to create one manually viaGetSubscriptionTargetRequest.builder()
- Parameters:
getSubscriptionTargetRequest
- AConsumer
that will call methods onGetSubscriptionTargetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTimeSeriesDataPoint
default CompletableFuture<GetTimeSeriesDataPointResponse> getTimeSeriesDataPoint(GetTimeSeriesDataPointRequest getTimeSeriesDataPointRequest) Gets the existing data point for the asset.
- Parameters:
getTimeSeriesDataPointRequest
-- Returns:
- A Java Future containing the result of the GetTimeSeriesDataPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTimeSeriesDataPoint
default CompletableFuture<GetTimeSeriesDataPointResponse> getTimeSeriesDataPoint(Consumer<GetTimeSeriesDataPointRequest.Builder> getTimeSeriesDataPointRequest) Gets the existing data point for the asset.
This is a convenience which creates an instance of the
GetTimeSeriesDataPointRequest.Builder
avoiding the need to create one manually viaGetTimeSeriesDataPointRequest.builder()
- Parameters:
getTimeSeriesDataPointRequest
- AConsumer
that will call methods onGetTimeSeriesDataPointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTimeSeriesDataPoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUserProfile
default CompletableFuture<GetUserProfileResponse> getUserProfile(GetUserProfileRequest getUserProfileRequest) Gets a user profile in Amazon DataZone.
- Parameters:
getUserProfileRequest
-- Returns:
- A Java Future containing the result of the GetUserProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUserProfile
default CompletableFuture<GetUserProfileResponse> getUserProfile(Consumer<GetUserProfileRequest.Builder> getUserProfileRequest) Gets a user profile in Amazon DataZone.
This is a convenience which creates an instance of the
GetUserProfileRequest.Builder
avoiding the need to create one manually viaGetUserProfileRequest.builder()
- Parameters:
getUserProfileRequest
- AConsumer
that will call methods onGetUserProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetUserProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetRevisions
default CompletableFuture<ListAssetRevisionsResponse> listAssetRevisions(ListAssetRevisionsRequest listAssetRevisionsRequest) Lists the revisions for the asset.
- Parameters:
listAssetRevisionsRequest
-- Returns:
- A Java Future containing the result of the ListAssetRevisions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetRevisions
default CompletableFuture<ListAssetRevisionsResponse> listAssetRevisions(Consumer<ListAssetRevisionsRequest.Builder> listAssetRevisionsRequest) Lists the revisions for the asset.
This is a convenience which creates an instance of the
ListAssetRevisionsRequest.Builder
avoiding the need to create one manually viaListAssetRevisionsRequest.builder()
- Parameters:
listAssetRevisionsRequest
- AConsumer
that will call methods onListAssetRevisionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAssetRevisions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetRevisionsPaginator
default ListAssetRevisionsPublisher listAssetRevisionsPaginator(ListAssetRevisionsRequest listAssetRevisionsRequest) This is a variant of
listAssetRevisions(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListAssetRevisionsPublisher publisher = client.listAssetRevisionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListAssetRevisionsPublisher publisher = client.listAssetRevisionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListAssetRevisionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsResponse response) { //... }; });
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
listAssetRevisions(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsRequest)
operation.- Parameters:
listAssetRevisionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetRevisionsPaginator
default ListAssetRevisionsPublisher listAssetRevisionsPaginator(Consumer<ListAssetRevisionsRequest.Builder> listAssetRevisionsRequest) This is a variant of
listAssetRevisions(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListAssetRevisionsPublisher publisher = client.listAssetRevisionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListAssetRevisionsPublisher publisher = client.listAssetRevisionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListAssetRevisionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsResponse response) { //... }; });
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
listAssetRevisions(software.amazon.awssdk.services.datazone.model.ListAssetRevisionsRequest)
operation.
This is a convenience which creates an instance of the
ListAssetRevisionsRequest.Builder
avoiding the need to create one manually viaListAssetRevisionsRequest.builder()
- Parameters:
listAssetRevisionsRequest
- AConsumer
that will call methods onListAssetRevisionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRunActivities
default CompletableFuture<ListDataSourceRunActivitiesResponse> listDataSourceRunActivities(ListDataSourceRunActivitiesRequest listDataSourceRunActivitiesRequest) Lists data source run activities.
- Parameters:
listDataSourceRunActivitiesRequest
-- Returns:
- A Java Future containing the result of the ListDataSourceRunActivities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRunActivities
default CompletableFuture<ListDataSourceRunActivitiesResponse> listDataSourceRunActivities(Consumer<ListDataSourceRunActivitiesRequest.Builder> listDataSourceRunActivitiesRequest) Lists data source run activities.
This is a convenience which creates an instance of the
ListDataSourceRunActivitiesRequest.Builder
avoiding the need to create one manually viaListDataSourceRunActivitiesRequest.builder()
- Parameters:
listDataSourceRunActivitiesRequest
- AConsumer
that will call methods onListDataSourceRunActivitiesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSourceRunActivities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRunActivitiesPaginator
default ListDataSourceRunActivitiesPublisher listDataSourceRunActivitiesPaginator(ListDataSourceRunActivitiesRequest listDataSourceRunActivitiesRequest) This is a variant of
listDataSourceRunActivities(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDataSourceRunActivitiesPublisher publisher = client.listDataSourceRunActivitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDataSourceRunActivitiesPublisher publisher = client.listDataSourceRunActivitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesResponse response) { //... }; });
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
listDataSourceRunActivities(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesRequest)
operation.- Parameters:
listDataSourceRunActivitiesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRunActivitiesPaginator
default ListDataSourceRunActivitiesPublisher listDataSourceRunActivitiesPaginator(Consumer<ListDataSourceRunActivitiesRequest.Builder> listDataSourceRunActivitiesRequest) This is a variant of
listDataSourceRunActivities(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDataSourceRunActivitiesPublisher publisher = client.listDataSourceRunActivitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDataSourceRunActivitiesPublisher publisher = client.listDataSourceRunActivitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesResponse response) { //... }; });
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
listDataSourceRunActivities(software.amazon.awssdk.services.datazone.model.ListDataSourceRunActivitiesRequest)
operation.
This is a convenience which creates an instance of the
ListDataSourceRunActivitiesRequest.Builder
avoiding the need to create one manually viaListDataSourceRunActivitiesRequest.builder()
- Parameters:
listDataSourceRunActivitiesRequest
- AConsumer
that will call methods onListDataSourceRunActivitiesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRuns
default CompletableFuture<ListDataSourceRunsResponse> listDataSourceRuns(ListDataSourceRunsRequest listDataSourceRunsRequest) Lists data source runs in Amazon DataZone.
- Parameters:
listDataSourceRunsRequest
-- Returns:
- A Java Future containing the result of the ListDataSourceRuns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRuns
default CompletableFuture<ListDataSourceRunsResponse> listDataSourceRuns(Consumer<ListDataSourceRunsRequest.Builder> listDataSourceRunsRequest) Lists data source runs in Amazon DataZone.
This is a convenience which creates an instance of the
ListDataSourceRunsRequest.Builder
avoiding the need to create one manually viaListDataSourceRunsRequest.builder()
- Parameters:
listDataSourceRunsRequest
- AConsumer
that will call methods onListDataSourceRunsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSourceRuns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRunsPaginator
default ListDataSourceRunsPublisher listDataSourceRunsPaginator(ListDataSourceRunsRequest listDataSourceRunsRequest) This is a variant of
listDataSourceRuns(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDataSourceRunsPublisher publisher = client.listDataSourceRunsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDataSourceRunsPublisher publisher = client.listDataSourceRunsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDataSourceRunsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsResponse response) { //... }; });
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
listDataSourceRuns(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsRequest)
operation.- Parameters:
listDataSourceRunsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourceRunsPaginator
default ListDataSourceRunsPublisher listDataSourceRunsPaginator(Consumer<ListDataSourceRunsRequest.Builder> listDataSourceRunsRequest) This is a variant of
listDataSourceRuns(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDataSourceRunsPublisher publisher = client.listDataSourceRunsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDataSourceRunsPublisher publisher = client.listDataSourceRunsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDataSourceRunsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsResponse response) { //... }; });
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
listDataSourceRuns(software.amazon.awssdk.services.datazone.model.ListDataSourceRunsRequest)
operation.
This is a convenience which creates an instance of the
ListDataSourceRunsRequest.Builder
avoiding the need to create one manually viaListDataSourceRunsRequest.builder()
- Parameters:
listDataSourceRunsRequest
- AConsumer
that will call methods onListDataSourceRunsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSources
default CompletableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest listDataSourcesRequest) Lists data sources in Amazon DataZone.
- Parameters:
listDataSourcesRequest
-- Returns:
- A Java Future containing the result of the ListDataSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSources
default CompletableFuture<ListDataSourcesResponse> listDataSources(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) Lists data sources in Amazon DataZone.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builder
avoiding the need to create one manually viaListDataSourcesRequest.builder()
- Parameters:
listDataSourcesRequest
- AConsumer
that will call methods onListDataSourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDataSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourcesPaginator
default ListDataSourcesPublisher listDataSourcesPaginator(ListDataSourcesRequest listDataSourcesRequest) This is a variant of
listDataSources(software.amazon.awssdk.services.datazone.model.ListDataSourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDataSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDataSourcesResponse response) { //... }; });
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
listDataSources(software.amazon.awssdk.services.datazone.model.ListDataSourcesRequest)
operation.- Parameters:
listDataSourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDataSourcesPaginator
default ListDataSourcesPublisher listDataSourcesPaginator(Consumer<ListDataSourcesRequest.Builder> listDataSourcesRequest) This is a variant of
listDataSources(software.amazon.awssdk.services.datazone.model.ListDataSourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDataSourcesPublisher publisher = client.listDataSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDataSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDataSourcesResponse response) { //... }; });
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
listDataSources(software.amazon.awssdk.services.datazone.model.ListDataSourcesRequest)
operation.
This is a convenience which creates an instance of the
ListDataSourcesRequest.Builder
avoiding the need to create one manually viaListDataSourcesRequest.builder()
- Parameters:
listDataSourcesRequest
- AConsumer
that will call methods onListDataSourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomains
Lists Amazon DataZone domains.
- Parameters:
listDomainsRequest
-- Returns:
- A Java Future containing the result of the ListDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomains
default CompletableFuture<ListDomainsResponse> listDomains(Consumer<ListDomainsRequest.Builder> listDomainsRequest) Lists Amazon DataZone domains.
This is a convenience which creates an instance of the
ListDomainsRequest.Builder
avoiding the need to create one manually viaListDomainsRequest.builder()
- Parameters:
listDomainsRequest
- AConsumer
that will call methods onListDomainsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListDomains operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainsPaginator
This is a variant of
listDomains(software.amazon.awssdk.services.datazone.model.ListDomainsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDomainsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDomainsResponse response) { //... }; });
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
listDomains(software.amazon.awssdk.services.datazone.model.ListDomainsRequest)
operation.- Parameters:
listDomainsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDomainsPaginator
default ListDomainsPublisher listDomainsPaginator(Consumer<ListDomainsRequest.Builder> listDomainsRequest) This is a variant of
listDomains(software.amazon.awssdk.services.datazone.model.ListDomainsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListDomainsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListDomainsResponse response) { //... }; });
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
listDomains(software.amazon.awssdk.services.datazone.model.ListDomainsRequest)
operation.
This is a convenience which creates an instance of the
ListDomainsRequest.Builder
avoiding the need to create one manually viaListDomainsRequest.builder()
- Parameters:
listDomainsRequest
- AConsumer
that will call methods onListDomainsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprintConfigurations
default CompletableFuture<ListEnvironmentBlueprintConfigurationsResponse> listEnvironmentBlueprintConfigurations(ListEnvironmentBlueprintConfigurationsRequest listEnvironmentBlueprintConfigurationsRequest) Lists blueprint configurations for a Amazon DataZone environment.
- Parameters:
listEnvironmentBlueprintConfigurationsRequest
-- Returns:
- A Java Future containing the result of the ListEnvironmentBlueprintConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprintConfigurations
default CompletableFuture<ListEnvironmentBlueprintConfigurationsResponse> listEnvironmentBlueprintConfigurations(Consumer<ListEnvironmentBlueprintConfigurationsRequest.Builder> listEnvironmentBlueprintConfigurationsRequest) Lists blueprint configurations for a Amazon DataZone environment.
This is a convenience which creates an instance of the
ListEnvironmentBlueprintConfigurationsRequest.Builder
avoiding the need to create one manually viaListEnvironmentBlueprintConfigurationsRequest.builder()
- Parameters:
listEnvironmentBlueprintConfigurationsRequest
- AConsumer
that will call methods onListEnvironmentBlueprintConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentBlueprintConfigurations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprintConfigurationsPaginator
default ListEnvironmentBlueprintConfigurationsPublisher listEnvironmentBlueprintConfigurationsPaginator(ListEnvironmentBlueprintConfigurationsRequest listEnvironmentBlueprintConfigurationsRequest) This is a variant of
listEnvironmentBlueprintConfigurations(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintConfigurationsPublisher publisher = client.listEnvironmentBlueprintConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintConfigurationsPublisher publisher = client.listEnvironmentBlueprintConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsResponse response) { //... }; });
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
listEnvironmentBlueprintConfigurations(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsRequest)
operation.- Parameters:
listEnvironmentBlueprintConfigurationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprintConfigurationsPaginator
default ListEnvironmentBlueprintConfigurationsPublisher listEnvironmentBlueprintConfigurationsPaginator(Consumer<ListEnvironmentBlueprintConfigurationsRequest.Builder> listEnvironmentBlueprintConfigurationsRequest) This is a variant of
listEnvironmentBlueprintConfigurations(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintConfigurationsPublisher publisher = client.listEnvironmentBlueprintConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintConfigurationsPublisher publisher = client.listEnvironmentBlueprintConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsResponse response) { //... }; });
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
listEnvironmentBlueprintConfigurations(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintConfigurationsRequest)
operation.
This is a convenience which creates an instance of the
ListEnvironmentBlueprintConfigurationsRequest.Builder
avoiding the need to create one manually viaListEnvironmentBlueprintConfigurationsRequest.builder()
- Parameters:
listEnvironmentBlueprintConfigurationsRequest
- AConsumer
that will call methods onListEnvironmentBlueprintConfigurationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprints
default CompletableFuture<ListEnvironmentBlueprintsResponse> listEnvironmentBlueprints(ListEnvironmentBlueprintsRequest listEnvironmentBlueprintsRequest) Lists blueprints in an Amazon DataZone environment.
- Parameters:
listEnvironmentBlueprintsRequest
-- Returns:
- A Java Future containing the result of the ListEnvironmentBlueprints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprints
default CompletableFuture<ListEnvironmentBlueprintsResponse> listEnvironmentBlueprints(Consumer<ListEnvironmentBlueprintsRequest.Builder> listEnvironmentBlueprintsRequest) Lists blueprints in an Amazon DataZone environment.
This is a convenience which creates an instance of the
ListEnvironmentBlueprintsRequest.Builder
avoiding the need to create one manually viaListEnvironmentBlueprintsRequest.builder()
- Parameters:
listEnvironmentBlueprintsRequest
- AConsumer
that will call methods onListEnvironmentBlueprintsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentBlueprints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprintsPaginator
default ListEnvironmentBlueprintsPublisher listEnvironmentBlueprintsPaginator(ListEnvironmentBlueprintsRequest listEnvironmentBlueprintsRequest) This is a variant of
listEnvironmentBlueprints(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintsPublisher publisher = client.listEnvironmentBlueprintsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintsPublisher publisher = client.listEnvironmentBlueprintsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsResponse response) { //... }; });
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
listEnvironmentBlueprints(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsRequest)
operation.- Parameters:
listEnvironmentBlueprintsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentBlueprintsPaginator
default ListEnvironmentBlueprintsPublisher listEnvironmentBlueprintsPaginator(Consumer<ListEnvironmentBlueprintsRequest.Builder> listEnvironmentBlueprintsRequest) This is a variant of
listEnvironmentBlueprints(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintsPublisher publisher = client.listEnvironmentBlueprintsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentBlueprintsPublisher publisher = client.listEnvironmentBlueprintsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsResponse response) { //... }; });
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
listEnvironmentBlueprints(software.amazon.awssdk.services.datazone.model.ListEnvironmentBlueprintsRequest)
operation.
This is a convenience which creates an instance of the
ListEnvironmentBlueprintsRequest.Builder
avoiding the need to create one manually viaListEnvironmentBlueprintsRequest.builder()
- Parameters:
listEnvironmentBlueprintsRequest
- AConsumer
that will call methods onListEnvironmentBlueprintsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProfiles
default CompletableFuture<ListEnvironmentProfilesResponse> listEnvironmentProfiles(ListEnvironmentProfilesRequest listEnvironmentProfilesRequest) Lists Amazon DataZone environment profiles.
- Parameters:
listEnvironmentProfilesRequest
-- Returns:
- A Java Future containing the result of the ListEnvironmentProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProfiles
default CompletableFuture<ListEnvironmentProfilesResponse> listEnvironmentProfiles(Consumer<ListEnvironmentProfilesRequest.Builder> listEnvironmentProfilesRequest) Lists Amazon DataZone environment profiles.
This is a convenience which creates an instance of the
ListEnvironmentProfilesRequest.Builder
avoiding the need to create one manually viaListEnvironmentProfilesRequest.builder()
- Parameters:
listEnvironmentProfilesRequest
- AConsumer
that will call methods onListEnvironmentProfilesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProfilesPaginator
default ListEnvironmentProfilesPublisher listEnvironmentProfilesPaginator(ListEnvironmentProfilesRequest listEnvironmentProfilesRequest) This is a variant of
listEnvironmentProfiles(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentProfilesPublisher publisher = client.listEnvironmentProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentProfilesPublisher publisher = client.listEnvironmentProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesResponse response) { //... }; });
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
listEnvironmentProfiles(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesRequest)
operation.- Parameters:
listEnvironmentProfilesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProfilesPaginator
default ListEnvironmentProfilesPublisher listEnvironmentProfilesPaginator(Consumer<ListEnvironmentProfilesRequest.Builder> listEnvironmentProfilesRequest) This is a variant of
listEnvironmentProfiles(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentProfilesPublisher publisher = client.listEnvironmentProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentProfilesPublisher publisher = client.listEnvironmentProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesResponse response) { //... }; });
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
listEnvironmentProfiles(software.amazon.awssdk.services.datazone.model.ListEnvironmentProfilesRequest)
operation.
This is a convenience which creates an instance of the
ListEnvironmentProfilesRequest.Builder
avoiding the need to create one manually viaListEnvironmentProfilesRequest.builder()
- Parameters:
listEnvironmentProfilesRequest
- AConsumer
that will call methods onListEnvironmentProfilesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists Amazon DataZone environments.
- Parameters:
listEnvironmentsRequest
-- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists Amazon DataZone environments.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builder
avoiding the need to create one manually viaListEnvironmentsRequest.builder()
- Parameters:
listEnvironmentsRequest
- AConsumer
that will call methods onListEnvironmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.datazone.model.ListEnvironmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentsResponse response) { //... }; });
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
listEnvironments(software.amazon.awssdk.services.datazone.model.ListEnvironmentsRequest)
operation.- Parameters:
listEnvironmentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.datazone.model.ListEnvironmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListEnvironmentsResponse response) { //... }; });
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
listEnvironments(software.amazon.awssdk.services.datazone.model.ListEnvironmentsRequest)
operation.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builder
avoiding the need to create one manually viaListEnvironmentsRequest.builder()
- Parameters:
listEnvironmentsRequest
- AConsumer
that will call methods onListEnvironmentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMetadataGenerationRuns
default CompletableFuture<ListMetadataGenerationRunsResponse> listMetadataGenerationRuns(ListMetadataGenerationRunsRequest listMetadataGenerationRunsRequest) Lists all metadata generation runs.
- Parameters:
listMetadataGenerationRunsRequest
-- Returns:
- A Java Future containing the result of the ListMetadataGenerationRuns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMetadataGenerationRuns
default CompletableFuture<ListMetadataGenerationRunsResponse> listMetadataGenerationRuns(Consumer<ListMetadataGenerationRunsRequest.Builder> listMetadataGenerationRunsRequest) Lists all metadata generation runs.
This is a convenience which creates an instance of the
ListMetadataGenerationRunsRequest.Builder
avoiding the need to create one manually viaListMetadataGenerationRunsRequest.builder()
- Parameters:
listMetadataGenerationRunsRequest
- AConsumer
that will call methods onListMetadataGenerationRunsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListMetadataGenerationRuns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMetadataGenerationRunsPaginator
default ListMetadataGenerationRunsPublisher listMetadataGenerationRunsPaginator(ListMetadataGenerationRunsRequest listMetadataGenerationRunsRequest) This is a variant of
listMetadataGenerationRuns(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListMetadataGenerationRunsPublisher publisher = client.listMetadataGenerationRunsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListMetadataGenerationRunsPublisher publisher = client.listMetadataGenerationRunsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsResponse response) { //... }; });
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
listMetadataGenerationRuns(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsRequest)
operation.- Parameters:
listMetadataGenerationRunsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMetadataGenerationRunsPaginator
default ListMetadataGenerationRunsPublisher listMetadataGenerationRunsPaginator(Consumer<ListMetadataGenerationRunsRequest.Builder> listMetadataGenerationRunsRequest) This is a variant of
listMetadataGenerationRuns(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListMetadataGenerationRunsPublisher publisher = client.listMetadataGenerationRunsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListMetadataGenerationRunsPublisher publisher = client.listMetadataGenerationRunsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsResponse response) { //... }; });
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
listMetadataGenerationRuns(software.amazon.awssdk.services.datazone.model.ListMetadataGenerationRunsRequest)
operation.
This is a convenience which creates an instance of the
ListMetadataGenerationRunsRequest.Builder
avoiding the need to create one manually viaListMetadataGenerationRunsRequest.builder()
- Parameters:
listMetadataGenerationRunsRequest
- AConsumer
that will call methods onListMetadataGenerationRunsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotifications
default CompletableFuture<ListNotificationsResponse> listNotifications(ListNotificationsRequest listNotificationsRequest) Lists all Amazon DataZone notifications.
- Parameters:
listNotificationsRequest
-- Returns:
- A Java Future containing the result of the ListNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotifications
default CompletableFuture<ListNotificationsResponse> listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) Lists all Amazon DataZone notifications.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builder
avoiding the need to create one manually viaListNotificationsRequest.builder()
- Parameters:
listNotificationsRequest
- AConsumer
that will call methods onListNotificationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListNotifications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationsPaginator
default ListNotificationsPublisher listNotificationsPaginator(ListNotificationsRequest listNotificationsRequest) This is a variant of
listNotifications(software.amazon.awssdk.services.datazone.model.ListNotificationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListNotificationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListNotificationsResponse response) { //... }; });
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
listNotifications(software.amazon.awssdk.services.datazone.model.ListNotificationsRequest)
operation.- Parameters:
listNotificationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listNotificationsPaginator
default ListNotificationsPublisher listNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest) This is a variant of
listNotifications(software.amazon.awssdk.services.datazone.model.ListNotificationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListNotificationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListNotificationsResponse response) { //... }; });
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
listNotifications(software.amazon.awssdk.services.datazone.model.ListNotificationsRequest)
operation.
This is a convenience which creates an instance of the
ListNotificationsRequest.Builder
avoiding the need to create one manually viaListNotificationsRequest.builder()
- Parameters:
listNotificationsRequest
- AConsumer
that will call methods onListNotificationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectMemberships
default CompletableFuture<ListProjectMembershipsResponse> listProjectMemberships(ListProjectMembershipsRequest listProjectMembershipsRequest) Lists all members of the specified project.
- Parameters:
listProjectMembershipsRequest
-- Returns:
- A Java Future containing the result of the ListProjectMemberships operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectMemberships
default CompletableFuture<ListProjectMembershipsResponse> listProjectMemberships(Consumer<ListProjectMembershipsRequest.Builder> listProjectMembershipsRequest) Lists all members of the specified project.
This is a convenience which creates an instance of the
ListProjectMembershipsRequest.Builder
avoiding the need to create one manually viaListProjectMembershipsRequest.builder()
- Parameters:
listProjectMembershipsRequest
- AConsumer
that will call methods onListProjectMembershipsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListProjectMemberships operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectMembershipsPaginator
default ListProjectMembershipsPublisher listProjectMembershipsPaginator(ListProjectMembershipsRequest listProjectMembershipsRequest) This is a variant of
listProjectMemberships(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListProjectMembershipsPublisher publisher = client.listProjectMembershipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListProjectMembershipsPublisher publisher = client.listProjectMembershipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListProjectMembershipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsResponse response) { //... }; });
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
listProjectMemberships(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsRequest)
operation.- Parameters:
listProjectMembershipsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectMembershipsPaginator
default ListProjectMembershipsPublisher listProjectMembershipsPaginator(Consumer<ListProjectMembershipsRequest.Builder> listProjectMembershipsRequest) This is a variant of
listProjectMemberships(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListProjectMembershipsPublisher publisher = client.listProjectMembershipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListProjectMembershipsPublisher publisher = client.listProjectMembershipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListProjectMembershipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsResponse response) { //... }; });
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
listProjectMemberships(software.amazon.awssdk.services.datazone.model.ListProjectMembershipsRequest)
operation.
This is a convenience which creates an instance of the
ListProjectMembershipsRequest.Builder
avoiding the need to create one manually viaListProjectMembershipsRequest.builder()
- Parameters:
listProjectMembershipsRequest
- AConsumer
that will call methods onListProjectMembershipsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest) Lists Amazon DataZone projects.
- Parameters:
listProjectsRequest
-- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Lists Amazon DataZone projects.
This is a convenience which creates an instance of the
ListProjectsRequest.Builder
avoiding the need to create one manually viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectsPaginator
This is a variant of
listProjects(software.amazon.awssdk.services.datazone.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListProjectsResponse response) { //... }; });
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
listProjects(software.amazon.awssdk.services.datazone.model.ListProjectsRequest)
operation.- Parameters:
listProjectsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectsPaginator
default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant of
listProjects(software.amazon.awssdk.services.datazone.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListProjectsResponse response) { //... }; });
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
listProjects(software.amazon.awssdk.services.datazone.model.ListProjectsRequest)
operation.
This is a convenience which creates an instance of the
ListProjectsRequest.Builder
avoiding the need to create one manually viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionGrants
default CompletableFuture<ListSubscriptionGrantsResponse> listSubscriptionGrants(ListSubscriptionGrantsRequest listSubscriptionGrantsRequest) Lists subscription grants.
- Parameters:
listSubscriptionGrantsRequest
-- Returns:
- A Java Future containing the result of the ListSubscriptionGrants operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionGrants
default CompletableFuture<ListSubscriptionGrantsResponse> listSubscriptionGrants(Consumer<ListSubscriptionGrantsRequest.Builder> listSubscriptionGrantsRequest) Lists subscription grants.
This is a convenience which creates an instance of the
ListSubscriptionGrantsRequest.Builder
avoiding the need to create one manually viaListSubscriptionGrantsRequest.builder()
- Parameters:
listSubscriptionGrantsRequest
- AConsumer
that will call methods onListSubscriptionGrantsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSubscriptionGrants operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionGrantsPaginator
default ListSubscriptionGrantsPublisher listSubscriptionGrantsPaginator(ListSubscriptionGrantsRequest listSubscriptionGrantsRequest) This is a variant of
listSubscriptionGrants(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionGrantsPublisher publisher = client.listSubscriptionGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionGrantsPublisher publisher = client.listSubscriptionGrantsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsResponse response) { //... }; });
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
listSubscriptionGrants(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsRequest)
operation.- Parameters:
listSubscriptionGrantsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionGrantsPaginator
default ListSubscriptionGrantsPublisher listSubscriptionGrantsPaginator(Consumer<ListSubscriptionGrantsRequest.Builder> listSubscriptionGrantsRequest) This is a variant of
listSubscriptionGrants(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionGrantsPublisher publisher = client.listSubscriptionGrantsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionGrantsPublisher publisher = client.listSubscriptionGrantsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsResponse response) { //... }; });
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
listSubscriptionGrants(software.amazon.awssdk.services.datazone.model.ListSubscriptionGrantsRequest)
operation.
This is a convenience which creates an instance of the
ListSubscriptionGrantsRequest.Builder
avoiding the need to create one manually viaListSubscriptionGrantsRequest.builder()
- Parameters:
listSubscriptionGrantsRequest
- AConsumer
that will call methods onListSubscriptionGrantsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionRequests
default CompletableFuture<ListSubscriptionRequestsResponse> listSubscriptionRequests(ListSubscriptionRequestsRequest listSubscriptionRequestsRequest) Lists Amazon DataZone subscription requests.
- Parameters:
listSubscriptionRequestsRequest
-- Returns:
- A Java Future containing the result of the ListSubscriptionRequests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionRequests
default CompletableFuture<ListSubscriptionRequestsResponse> listSubscriptionRequests(Consumer<ListSubscriptionRequestsRequest.Builder> listSubscriptionRequestsRequest) Lists Amazon DataZone subscription requests.
This is a convenience which creates an instance of the
ListSubscriptionRequestsRequest.Builder
avoiding the need to create one manually viaListSubscriptionRequestsRequest.builder()
- Parameters:
listSubscriptionRequestsRequest
- AConsumer
that will call methods onListSubscriptionRequestsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSubscriptionRequests operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionRequestsPaginator
default ListSubscriptionRequestsPublisher listSubscriptionRequestsPaginator(ListSubscriptionRequestsRequest listSubscriptionRequestsRequest) This is a variant of
listSubscriptionRequests(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionRequestsPublisher publisher = client.listSubscriptionRequestsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionRequestsPublisher publisher = client.listSubscriptionRequestsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsResponse response) { //... }; });
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
listSubscriptionRequests(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsRequest)
operation.- Parameters:
listSubscriptionRequestsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionRequestsPaginator
default ListSubscriptionRequestsPublisher listSubscriptionRequestsPaginator(Consumer<ListSubscriptionRequestsRequest.Builder> listSubscriptionRequestsRequest) This is a variant of
listSubscriptionRequests(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionRequestsPublisher publisher = client.listSubscriptionRequestsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionRequestsPublisher publisher = client.listSubscriptionRequestsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsResponse response) { //... }; });
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
listSubscriptionRequests(software.amazon.awssdk.services.datazone.model.ListSubscriptionRequestsRequest)
operation.
This is a convenience which creates an instance of the
ListSubscriptionRequestsRequest.Builder
avoiding the need to create one manually viaListSubscriptionRequestsRequest.builder()
- Parameters:
listSubscriptionRequestsRequest
- AConsumer
that will call methods onListSubscriptionRequestsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionTargets
default CompletableFuture<ListSubscriptionTargetsResponse> listSubscriptionTargets(ListSubscriptionTargetsRequest listSubscriptionTargetsRequest) Lists subscription targets in Amazon DataZone.
- Parameters:
listSubscriptionTargetsRequest
-- Returns:
- A Java Future containing the result of the ListSubscriptionTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionTargets
default CompletableFuture<ListSubscriptionTargetsResponse> listSubscriptionTargets(Consumer<ListSubscriptionTargetsRequest.Builder> listSubscriptionTargetsRequest) Lists subscription targets in Amazon DataZone.
This is a convenience which creates an instance of the
ListSubscriptionTargetsRequest.Builder
avoiding the need to create one manually viaListSubscriptionTargetsRequest.builder()
- Parameters:
listSubscriptionTargetsRequest
- AConsumer
that will call methods onListSubscriptionTargetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSubscriptionTargets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionTargetsPaginator
default ListSubscriptionTargetsPublisher listSubscriptionTargetsPaginator(ListSubscriptionTargetsRequest listSubscriptionTargetsRequest) This is a variant of
listSubscriptionTargets(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionTargetsPublisher publisher = client.listSubscriptionTargetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionTargetsPublisher publisher = client.listSubscriptionTargetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsResponse response) { //... }; });
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
listSubscriptionTargets(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsRequest)
operation.- Parameters:
listSubscriptionTargetsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionTargetsPaginator
default ListSubscriptionTargetsPublisher listSubscriptionTargetsPaginator(Consumer<ListSubscriptionTargetsRequest.Builder> listSubscriptionTargetsRequest) This is a variant of
listSubscriptionTargets(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionTargetsPublisher publisher = client.listSubscriptionTargetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionTargetsPublisher publisher = client.listSubscriptionTargetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsResponse response) { //... }; });
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
listSubscriptionTargets(software.amazon.awssdk.services.datazone.model.ListSubscriptionTargetsRequest)
operation.
This is a convenience which creates an instance of the
ListSubscriptionTargetsRequest.Builder
avoiding the need to create one manually viaListSubscriptionTargetsRequest.builder()
- Parameters:
listSubscriptionTargetsRequest
- AConsumer
that will call methods onListSubscriptionTargetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptions
default CompletableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest listSubscriptionsRequest) Lists subscriptions in Amazon DataZone.
- Parameters:
listSubscriptionsRequest
-- Returns:
- A Java Future containing the result of the ListSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptions
default CompletableFuture<ListSubscriptionsResponse> listSubscriptions(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) Lists subscriptions in Amazon DataZone.
This is a convenience which creates an instance of the
ListSubscriptionsRequest.Builder
avoiding the need to create one manually viaListSubscriptionsRequest.builder()
- Parameters:
listSubscriptionsRequest
- AConsumer
that will call methods onListSubscriptionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSubscriptions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionsPaginator
default ListSubscriptionsPublisher listSubscriptionsPaginator(ListSubscriptionsRequest listSubscriptionsRequest) This is a variant of
listSubscriptions(software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionsResponse response) { //... }; });
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
listSubscriptions(software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest)
operation.- Parameters:
listSubscriptionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSubscriptionsPaginator
default ListSubscriptionsPublisher listSubscriptionsPaginator(Consumer<ListSubscriptionsRequest.Builder> listSubscriptionsRequest) This is a variant of
listSubscriptions(software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListSubscriptionsPublisher publisher = client.listSubscriptionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListSubscriptionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListSubscriptionsResponse response) { //... }; });
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
listSubscriptions(software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest)
operation.
This is a convenience which creates an instance of the
ListSubscriptionsRequest.Builder
avoiding the need to create one manually viaListSubscriptionsRequest.builder()
- Parameters:
listSubscriptionsRequest
- AConsumer
that will call methods onListSubscriptionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for the specified resource in Amazon DataZone.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for the specified resource in Amazon DataZone.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTimeSeriesDataPoints
default CompletableFuture<ListTimeSeriesDataPointsResponse> listTimeSeriesDataPoints(ListTimeSeriesDataPointsRequest listTimeSeriesDataPointsRequest) Lists time series data points.
- Parameters:
listTimeSeriesDataPointsRequest
-- Returns:
- A Java Future containing the result of the ListTimeSeriesDataPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTimeSeriesDataPoints
default CompletableFuture<ListTimeSeriesDataPointsResponse> listTimeSeriesDataPoints(Consumer<ListTimeSeriesDataPointsRequest.Builder> listTimeSeriesDataPointsRequest) Lists time series data points.
This is a convenience which creates an instance of the
ListTimeSeriesDataPointsRequest.Builder
avoiding the need to create one manually viaListTimeSeriesDataPointsRequest.builder()
- Parameters:
listTimeSeriesDataPointsRequest
- AConsumer
that will call methods onListTimeSeriesDataPointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTimeSeriesDataPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTimeSeriesDataPointsPaginator
default ListTimeSeriesDataPointsPublisher listTimeSeriesDataPointsPaginator(ListTimeSeriesDataPointsRequest listTimeSeriesDataPointsRequest) This is a variant of
listTimeSeriesDataPoints(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListTimeSeriesDataPointsPublisher publisher = client.listTimeSeriesDataPointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListTimeSeriesDataPointsPublisher publisher = client.listTimeSeriesDataPointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsResponse response) { //... }; });
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
listTimeSeriesDataPoints(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsRequest)
operation.- Parameters:
listTimeSeriesDataPointsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTimeSeriesDataPointsPaginator
default ListTimeSeriesDataPointsPublisher listTimeSeriesDataPointsPaginator(Consumer<ListTimeSeriesDataPointsRequest.Builder> listTimeSeriesDataPointsRequest) This is a variant of
listTimeSeriesDataPoints(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.ListTimeSeriesDataPointsPublisher publisher = client.listTimeSeriesDataPointsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.ListTimeSeriesDataPointsPublisher publisher = client.listTimeSeriesDataPointsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsResponse response) { //... }; });
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
listTimeSeriesDataPoints(software.amazon.awssdk.services.datazone.model.ListTimeSeriesDataPointsRequest)
operation.
This is a convenience which creates an instance of the
ListTimeSeriesDataPointsRequest.Builder
avoiding the need to create one manually viaListTimeSeriesDataPointsRequest.builder()
- Parameters:
listTimeSeriesDataPointsRequest
- AConsumer
that will call methods onListTimeSeriesDataPointsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
postTimeSeriesDataPoints
default CompletableFuture<PostTimeSeriesDataPointsResponse> postTimeSeriesDataPoints(PostTimeSeriesDataPointsRequest postTimeSeriesDataPointsRequest) Posts time series data points to Amazon DataZone for the specified asset.
- Parameters:
postTimeSeriesDataPointsRequest
-- Returns:
- A Java Future containing the result of the PostTimeSeriesDataPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
postTimeSeriesDataPoints
default CompletableFuture<PostTimeSeriesDataPointsResponse> postTimeSeriesDataPoints(Consumer<PostTimeSeriesDataPointsRequest.Builder> postTimeSeriesDataPointsRequest) Posts time series data points to Amazon DataZone for the specified asset.
This is a convenience which creates an instance of the
PostTimeSeriesDataPointsRequest.Builder
avoiding the need to create one manually viaPostTimeSeriesDataPointsRequest.builder()
- Parameters:
postTimeSeriesDataPointsRequest
- AConsumer
that will call methods onPostTimeSeriesDataPointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PostTimeSeriesDataPoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEnvironmentBlueprintConfiguration
default CompletableFuture<PutEnvironmentBlueprintConfigurationResponse> putEnvironmentBlueprintConfiguration(PutEnvironmentBlueprintConfigurationRequest putEnvironmentBlueprintConfigurationRequest) Writes the configuration for the specified environment blueprint in Amazon DataZone.
- Parameters:
putEnvironmentBlueprintConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutEnvironmentBlueprintConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEnvironmentBlueprintConfiguration
default CompletableFuture<PutEnvironmentBlueprintConfigurationResponse> putEnvironmentBlueprintConfiguration(Consumer<PutEnvironmentBlueprintConfigurationRequest.Builder> putEnvironmentBlueprintConfigurationRequest) Writes the configuration for the specified environment blueprint in Amazon DataZone.
This is a convenience which creates an instance of the
PutEnvironmentBlueprintConfigurationRequest.Builder
avoiding the need to create one manually viaPutEnvironmentBlueprintConfigurationRequest.builder()
- Parameters:
putEnvironmentBlueprintConfigurationRequest
- AConsumer
that will call methods onPutEnvironmentBlueprintConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutEnvironmentBlueprintConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectPredictions
default CompletableFuture<RejectPredictionsResponse> rejectPredictions(RejectPredictionsRequest rejectPredictionsRequest) Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.
- Parameters:
rejectPredictionsRequest
-- Returns:
- A Java Future containing the result of the RejectPredictions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectPredictions
default CompletableFuture<RejectPredictionsResponse> rejectPredictions(Consumer<RejectPredictionsRequest.Builder> rejectPredictionsRequest) Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.
This is a convenience which creates an instance of the
RejectPredictionsRequest.Builder
avoiding the need to create one manually viaRejectPredictionsRequest.builder()
- Parameters:
rejectPredictionsRequest
- AConsumer
that will call methods onRejectPredictionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RejectPredictions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectSubscriptionRequest
default CompletableFuture<RejectSubscriptionRequestResponse> rejectSubscriptionRequest(RejectSubscriptionRequestRequest rejectSubscriptionRequestRequest) Rejects the specified subscription request.
- Parameters:
rejectSubscriptionRequestRequest
-- Returns:
- A Java Future containing the result of the RejectSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectSubscriptionRequest
default CompletableFuture<RejectSubscriptionRequestResponse> rejectSubscriptionRequest(Consumer<RejectSubscriptionRequestRequest.Builder> rejectSubscriptionRequestRequest) Rejects the specified subscription request.
This is a convenience which creates an instance of the
RejectSubscriptionRequestRequest.Builder
avoiding the need to create one manually viaRejectSubscriptionRequestRequest.builder()
- Parameters:
rejectSubscriptionRequestRequest
- AConsumer
that will call methods onRejectSubscriptionRequestRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RejectSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeSubscription
default CompletableFuture<RevokeSubscriptionResponse> revokeSubscription(RevokeSubscriptionRequest revokeSubscriptionRequest) Revokes a specified subscription in Amazon DataZone.
- Parameters:
revokeSubscriptionRequest
-- Returns:
- A Java Future containing the result of the RevokeSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeSubscription
default CompletableFuture<RevokeSubscriptionResponse> revokeSubscription(Consumer<RevokeSubscriptionRequest.Builder> revokeSubscriptionRequest) Revokes a specified subscription in Amazon DataZone.
This is a convenience which creates an instance of the
RevokeSubscriptionRequest.Builder
avoiding the need to create one manually viaRevokeSubscriptionRequest.builder()
- Parameters:
revokeSubscriptionRequest
- AConsumer
that will call methods onRevokeSubscriptionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RevokeSubscription operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
search
Searches for assets in Amazon DataZone.
- Parameters:
searchRequest
-- Returns:
- A Java Future containing the result of the Search operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
search
Searches for assets in Amazon DataZone.
This is a convenience which creates an instance of the
SearchRequest.Builder
avoiding the need to create one manually viaSearchRequest.builder()
- Parameters:
searchRequest
- AConsumer
that will call methods onSearchRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the Search operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchGroupProfiles
default CompletableFuture<SearchGroupProfilesResponse> searchGroupProfiles(SearchGroupProfilesRequest searchGroupProfilesRequest) Searches group profiles in Amazon DataZone.
- Parameters:
searchGroupProfilesRequest
-- Returns:
- A Java Future containing the result of the SearchGroupProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchGroupProfiles
default CompletableFuture<SearchGroupProfilesResponse> searchGroupProfiles(Consumer<SearchGroupProfilesRequest.Builder> searchGroupProfilesRequest) Searches group profiles in Amazon DataZone.
This is a convenience which creates an instance of the
SearchGroupProfilesRequest.Builder
avoiding the need to create one manually viaSearchGroupProfilesRequest.builder()
- Parameters:
searchGroupProfilesRequest
- AConsumer
that will call methods onSearchGroupProfilesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchGroupProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchGroupProfilesPaginator
default SearchGroupProfilesPublisher searchGroupProfilesPaginator(SearchGroupProfilesRequest searchGroupProfilesRequest) This is a variant of
searchGroupProfiles(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchGroupProfilesPublisher publisher = client.searchGroupProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchGroupProfilesPublisher publisher = client.searchGroupProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchGroupProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesResponse response) { //... }; });
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
searchGroupProfiles(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesRequest)
operation.- Parameters:
searchGroupProfilesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchGroupProfilesPaginator
default SearchGroupProfilesPublisher searchGroupProfilesPaginator(Consumer<SearchGroupProfilesRequest.Builder> searchGroupProfilesRequest) This is a variant of
searchGroupProfiles(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchGroupProfilesPublisher publisher = client.searchGroupProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchGroupProfilesPublisher publisher = client.searchGroupProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchGroupProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesResponse response) { //... }; });
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
searchGroupProfiles(software.amazon.awssdk.services.datazone.model.SearchGroupProfilesRequest)
operation.
This is a convenience which creates an instance of the
SearchGroupProfilesRequest.Builder
avoiding the need to create one manually viaSearchGroupProfilesRequest.builder()
- Parameters:
searchGroupProfilesRequest
- AConsumer
that will call methods onSearchGroupProfilesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchListings
default CompletableFuture<SearchListingsResponse> searchListings(SearchListingsRequest searchListingsRequest) Searches listings (records of an asset at a given time) in Amazon DataZone.
- Parameters:
searchListingsRequest
-- Returns:
- A Java Future containing the result of the SearchListings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchListings
default CompletableFuture<SearchListingsResponse> searchListings(Consumer<SearchListingsRequest.Builder> searchListingsRequest) Searches listings (records of an asset at a given time) in Amazon DataZone.
This is a convenience which creates an instance of the
SearchListingsRequest.Builder
avoiding the need to create one manually viaSearchListingsRequest.builder()
- Parameters:
searchListingsRequest
- AConsumer
that will call methods onSearchListingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchListings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchListingsPaginator
default SearchListingsPublisher searchListingsPaginator(SearchListingsRequest searchListingsRequest) This is a variant of
searchListings(software.amazon.awssdk.services.datazone.model.SearchListingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchListingsPublisher publisher = client.searchListingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchListingsPublisher publisher = client.searchListingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchListingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchListingsResponse response) { //... }; });
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
searchListings(software.amazon.awssdk.services.datazone.model.SearchListingsRequest)
operation.- Parameters:
searchListingsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchListingsPaginator
default SearchListingsPublisher searchListingsPaginator(Consumer<SearchListingsRequest.Builder> searchListingsRequest) This is a variant of
searchListings(software.amazon.awssdk.services.datazone.model.SearchListingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchListingsPublisher publisher = client.searchListingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchListingsPublisher publisher = client.searchListingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchListingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchListingsResponse response) { //... }; });
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
searchListings(software.amazon.awssdk.services.datazone.model.SearchListingsRequest)
operation.
This is a convenience which creates an instance of the
SearchListingsRequest.Builder
avoiding the need to create one manually viaSearchListingsRequest.builder()
- Parameters:
searchListingsRequest
- AConsumer
that will call methods onSearchListingsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPaginator
This is a variant of
search(software.amazon.awssdk.services.datazone.model.SearchRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchPublisher publisher = client.searchPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchPublisher publisher = client.searchPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchResponse response) { //... }; });
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
search(software.amazon.awssdk.services.datazone.model.SearchRequest)
operation.- Parameters:
searchRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchPaginator
This is a variant of
search(software.amazon.awssdk.services.datazone.model.SearchRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchPublisher publisher = client.searchPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchPublisher publisher = client.searchPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchResponse response) { //... }; });
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
search(software.amazon.awssdk.services.datazone.model.SearchRequest)
operation.
This is a convenience which creates an instance of the
SearchRequest.Builder
avoiding the need to create one manually viaSearchRequest.builder()
- Parameters:
searchRequest
- AConsumer
that will call methods onSearchRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchTypes
Searches for types in Amazon DataZone.
- Parameters:
searchTypesRequest
-- Returns:
- A Java Future containing the result of the SearchTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchTypes
default CompletableFuture<SearchTypesResponse> searchTypes(Consumer<SearchTypesRequest.Builder> searchTypesRequest) Searches for types in Amazon DataZone.
This is a convenience which creates an instance of the
SearchTypesRequest.Builder
avoiding the need to create one manually viaSearchTypesRequest.builder()
- Parameters:
searchTypesRequest
- AConsumer
that will call methods onSearchTypesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchTypesPaginator
This is a variant of
searchTypes(software.amazon.awssdk.services.datazone.model.SearchTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchTypesPublisher publisher = client.searchTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchTypesPublisher publisher = client.searchTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchTypesResponse response) { //... }; });
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
searchTypes(software.amazon.awssdk.services.datazone.model.SearchTypesRequest)
operation.- Parameters:
searchTypesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchTypesPaginator
default SearchTypesPublisher searchTypesPaginator(Consumer<SearchTypesRequest.Builder> searchTypesRequest) This is a variant of
searchTypes(software.amazon.awssdk.services.datazone.model.SearchTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchTypesPublisher publisher = client.searchTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchTypesPublisher publisher = client.searchTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchTypesResponse response) { //... }; });
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
searchTypes(software.amazon.awssdk.services.datazone.model.SearchTypesRequest)
operation.
This is a convenience which creates an instance of the
SearchTypesRequest.Builder
avoiding the need to create one manually viaSearchTypesRequest.builder()
- Parameters:
searchTypesRequest
- AConsumer
that will call methods onSearchTypesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserProfiles
default CompletableFuture<SearchUserProfilesResponse> searchUserProfiles(SearchUserProfilesRequest searchUserProfilesRequest) Searches user profiles in Amazon DataZone.
- Parameters:
searchUserProfilesRequest
-- Returns:
- A Java Future containing the result of the SearchUserProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserProfiles
default CompletableFuture<SearchUserProfilesResponse> searchUserProfiles(Consumer<SearchUserProfilesRequest.Builder> searchUserProfilesRequest) Searches user profiles in Amazon DataZone.
This is a convenience which creates an instance of the
SearchUserProfilesRequest.Builder
avoiding the need to create one manually viaSearchUserProfilesRequest.builder()
- Parameters:
searchUserProfilesRequest
- AConsumer
that will call methods onSearchUserProfilesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchUserProfiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserProfilesPaginator
default SearchUserProfilesPublisher searchUserProfilesPaginator(SearchUserProfilesRequest searchUserProfilesRequest) This is a variant of
searchUserProfiles(software.amazon.awssdk.services.datazone.model.SearchUserProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchUserProfilesPublisher publisher = client.searchUserProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchUserProfilesPublisher publisher = client.searchUserProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchUserProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchUserProfilesResponse response) { //... }; });
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
searchUserProfiles(software.amazon.awssdk.services.datazone.model.SearchUserProfilesRequest)
operation.- Parameters:
searchUserProfilesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchUserProfilesPaginator
default SearchUserProfilesPublisher searchUserProfilesPaginator(Consumer<SearchUserProfilesRequest.Builder> searchUserProfilesRequest) This is a variant of
searchUserProfiles(software.amazon.awssdk.services.datazone.model.SearchUserProfilesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.datazone.paginators.SearchUserProfilesPublisher publisher = client.searchUserProfilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.datazone.paginators.SearchUserProfilesPublisher publisher = client.searchUserProfilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.datazone.model.SearchUserProfilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.datazone.model.SearchUserProfilesResponse response) { //... }; });
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
searchUserProfiles(software.amazon.awssdk.services.datazone.model.SearchUserProfilesRequest)
operation.
This is a convenience which creates an instance of the
SearchUserProfilesRequest.Builder
avoiding the need to create one manually viaSearchUserProfilesRequest.builder()
- Parameters:
searchUserProfilesRequest
- AConsumer
that will call methods onSearchUserProfilesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDataSourceRun
default CompletableFuture<StartDataSourceRunResponse> startDataSourceRun(StartDataSourceRunRequest startDataSourceRunRequest) Start the run of the specified data source in Amazon DataZone.
- Parameters:
startDataSourceRunRequest
-- Returns:
- A Java Future containing the result of the StartDataSourceRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startDataSourceRun
default CompletableFuture<StartDataSourceRunResponse> startDataSourceRun(Consumer<StartDataSourceRunRequest.Builder> startDataSourceRunRequest) Start the run of the specified data source in Amazon DataZone.
This is a convenience which creates an instance of the
StartDataSourceRunRequest.Builder
avoiding the need to create one manually viaStartDataSourceRunRequest.builder()
- Parameters:
startDataSourceRunRequest
- AConsumer
that will call methods onStartDataSourceRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartDataSourceRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataGenerationRun
default CompletableFuture<StartMetadataGenerationRunResponse> startMetadataGenerationRun(StartMetadataGenerationRunRequest startMetadataGenerationRunRequest) Starts the metadata generation run.
- Parameters:
startMetadataGenerationRunRequest
-- Returns:
- A Java Future containing the result of the StartMetadataGenerationRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startMetadataGenerationRun
default CompletableFuture<StartMetadataGenerationRunResponse> startMetadataGenerationRun(Consumer<StartMetadataGenerationRunRequest.Builder> startMetadataGenerationRunRequest) Starts the metadata generation run.
This is a convenience which creates an instance of the
StartMetadataGenerationRunRequest.Builder
avoiding the need to create one manually viaStartMetadataGenerationRunRequest.builder()
- Parameters:
startMetadataGenerationRunRequest
- AConsumer
that will call methods onStartMetadataGenerationRunRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartMetadataGenerationRun operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Tags a resource in Amazon DataZone.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a resource in Amazon DataZone.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Untags a resource in Amazon DataZone.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Untags a resource in Amazon DataZone.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDataSource
default CompletableFuture<UpdateDataSourceResponse> updateDataSource(UpdateDataSourceRequest updateDataSourceRequest) Updates the specified data source in Amazon DataZone.
- Parameters:
updateDataSourceRequest
-- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDataSource
default CompletableFuture<UpdateDataSourceResponse> updateDataSource(Consumer<UpdateDataSourceRequest.Builder> updateDataSourceRequest) Updates the specified data source in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateDataSourceRequest.Builder
avoiding the need to create one manually viaUpdateDataSourceRequest.builder()
- Parameters:
updateDataSourceRequest
- AConsumer
that will call methods onUpdateDataSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDataSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDomain
default CompletableFuture<UpdateDomainResponse> updateDomain(UpdateDomainRequest updateDomainRequest) Updates a Amazon DataZone domain.
- Parameters:
updateDomainRequest
-- Returns:
- A Java Future containing the result of the UpdateDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDomain
default CompletableFuture<UpdateDomainResponse> updateDomain(Consumer<UpdateDomainRequest.Builder> updateDomainRequest) Updates a Amazon DataZone domain.
This is a convenience which creates an instance of the
UpdateDomainRequest.Builder
avoiding the need to create one manually viaUpdateDomainRequest.builder()
- Parameters:
updateDomainRequest
- AConsumer
that will call methods onUpdateDomainRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDomain operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates the specified environment in Amazon DataZone.
- Parameters:
updateEnvironmentRequest
-- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates the specified environment in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builder
avoiding the need to create one manually viaUpdateEnvironmentRequest.builder()
- Parameters:
updateEnvironmentRequest
- AConsumer
that will call methods onUpdateEnvironmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentProfile
default CompletableFuture<UpdateEnvironmentProfileResponse> updateEnvironmentProfile(UpdateEnvironmentProfileRequest updateEnvironmentProfileRequest) Updates the specified environment profile in Amazon DataZone.
- Parameters:
updateEnvironmentProfileRequest
-- Returns:
- A Java Future containing the result of the UpdateEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentProfile
default CompletableFuture<UpdateEnvironmentProfileResponse> updateEnvironmentProfile(Consumer<UpdateEnvironmentProfileRequest.Builder> updateEnvironmentProfileRequest) Updates the specified environment profile in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateEnvironmentProfileRequest.Builder
avoiding the need to create one manually viaUpdateEnvironmentProfileRequest.builder()
- Parameters:
updateEnvironmentProfileRequest
- AConsumer
that will call methods onUpdateEnvironmentProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironmentProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlossary
default CompletableFuture<UpdateGlossaryResponse> updateGlossary(UpdateGlossaryRequest updateGlossaryRequest) Updates the business glossary in Amazon DataZone.
- Parameters:
updateGlossaryRequest
-- Returns:
- A Java Future containing the result of the UpdateGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlossary
default CompletableFuture<UpdateGlossaryResponse> updateGlossary(Consumer<UpdateGlossaryRequest.Builder> updateGlossaryRequest) Updates the business glossary in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateGlossaryRequest.Builder
avoiding the need to create one manually viaUpdateGlossaryRequest.builder()
- Parameters:
updateGlossaryRequest
- AConsumer
that will call methods onUpdateGlossaryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateGlossary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlossaryTerm
default CompletableFuture<UpdateGlossaryTermResponse> updateGlossaryTerm(UpdateGlossaryTermRequest updateGlossaryTermRequest) Updates a business glossary term in Amazon DataZone.
- Parameters:
updateGlossaryTermRequest
-- Returns:
- A Java Future containing the result of the UpdateGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGlossaryTerm
default CompletableFuture<UpdateGlossaryTermResponse> updateGlossaryTerm(Consumer<UpdateGlossaryTermRequest.Builder> updateGlossaryTermRequest) Updates a business glossary term in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateGlossaryTermRequest.Builder
avoiding the need to create one manually viaUpdateGlossaryTermRequest.builder()
- Parameters:
updateGlossaryTermRequest
- AConsumer
that will call methods onUpdateGlossaryTermRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateGlossaryTerm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGroupProfile
default CompletableFuture<UpdateGroupProfileResponse> updateGroupProfile(UpdateGroupProfileRequest updateGroupProfileRequest) Updates the specified group profile in Amazon DataZone.
- Parameters:
updateGroupProfileRequest
-- Returns:
- A Java Future containing the result of the UpdateGroupProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGroupProfile
default CompletableFuture<UpdateGroupProfileResponse> updateGroupProfile(Consumer<UpdateGroupProfileRequest.Builder> updateGroupProfileRequest) Updates the specified group profile in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateGroupProfileRequest.Builder
avoiding the need to create one manually viaUpdateGroupProfileRequest.builder()
- Parameters:
updateGroupProfileRequest
- AConsumer
that will call methods onUpdateGroupProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateGroupProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest) Updates the specified project in Amazon DataZone.
- Parameters:
updateProjectRequest
-- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates the specified project in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builder
avoiding the need to create one manually viaUpdateProjectRequest.builder()
- Parameters:
updateProjectRequest
- AConsumer
that will call methods onUpdateProjectRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ServiceQuotaExceededException The request has exceeded the specified service quota.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionGrantStatus
default CompletableFuture<UpdateSubscriptionGrantStatusResponse> updateSubscriptionGrantStatus(UpdateSubscriptionGrantStatusRequest updateSubscriptionGrantStatusRequest) Updates the status of the specified subscription grant status in Amazon DataZone.
- Parameters:
updateSubscriptionGrantStatusRequest
-- Returns:
- A Java Future containing the result of the UpdateSubscriptionGrantStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionGrantStatus
default CompletableFuture<UpdateSubscriptionGrantStatusResponse> updateSubscriptionGrantStatus(Consumer<UpdateSubscriptionGrantStatusRequest.Builder> updateSubscriptionGrantStatusRequest) Updates the status of the specified subscription grant status in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateSubscriptionGrantStatusRequest.Builder
avoiding the need to create one manually viaUpdateSubscriptionGrantStatusRequest.builder()
- Parameters:
updateSubscriptionGrantStatusRequest
- AConsumer
that will call methods onUpdateSubscriptionGrantStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSubscriptionGrantStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionRequest
default CompletableFuture<UpdateSubscriptionRequestResponse> updateSubscriptionRequest(UpdateSubscriptionRequestRequest updateSubscriptionRequestRequest) Updates a specified subscription request in Amazon DataZone.
- Parameters:
updateSubscriptionRequestRequest
-- Returns:
- A Java Future containing the result of the UpdateSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionRequest
default CompletableFuture<UpdateSubscriptionRequestResponse> updateSubscriptionRequest(Consumer<UpdateSubscriptionRequestRequest.Builder> updateSubscriptionRequestRequest) Updates a specified subscription request in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateSubscriptionRequestRequest.Builder
avoiding the need to create one manually viaUpdateSubscriptionRequestRequest.builder()
- Parameters:
updateSubscriptionRequestRequest
- AConsumer
that will call methods onUpdateSubscriptionRequestRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSubscriptionRequest operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionTarget
default CompletableFuture<UpdateSubscriptionTargetResponse> updateSubscriptionTarget(UpdateSubscriptionTargetRequest updateSubscriptionTargetRequest) Updates the specified subscription target in Amazon DataZone.
- Parameters:
updateSubscriptionTargetRequest
-- Returns:
- A Java Future containing the result of the UpdateSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSubscriptionTarget
default CompletableFuture<UpdateSubscriptionTargetResponse> updateSubscriptionTarget(Consumer<UpdateSubscriptionTargetRequest.Builder> updateSubscriptionTargetRequest) Updates the specified subscription target in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateSubscriptionTargetRequest.Builder
avoiding the need to create one manually viaUpdateSubscriptionTargetRequest.builder()
- Parameters:
updateSubscriptionTargetRequest
- AConsumer
that will call methods onUpdateSubscriptionTargetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSubscriptionTarget operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException There is a conflict while performing this action.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserProfile
default CompletableFuture<UpdateUserProfileResponse> updateUserProfile(UpdateUserProfileRequest updateUserProfileRequest) Updates the specified user profile in Amazon DataZone.
- Parameters:
updateUserProfileRequest
-- Returns:
- A Java Future containing the result of the UpdateUserProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserProfile
default CompletableFuture<UpdateUserProfileResponse> updateUserProfile(Consumer<UpdateUserProfileRequest.Builder> updateUserProfileRequest) Updates the specified user profile in Amazon DataZone.
This is a convenience which creates an instance of the
UpdateUserProfileRequest.Builder
avoiding the need to create one manually viaUpdateUserProfileRequest.builder()
- Parameters:
updateUserProfileRequest
- AConsumer
that will call methods onUpdateUserProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateUserProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException The request has failed because of an unknown error, exception or failure.
- ResourceNotFoundException The specified resource cannot be found.
- AccessDeniedException You do not have sufficient access to perform this action.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by the Amazon Web Services service.
- UnauthorizedException You do not have permission to perform this action.
- 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.
- DataZoneException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aDataZoneAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aDataZoneAsyncClient
.
-