Interface EvsAsyncClient
- 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 Elastic VMware Service (Amazon EVS) is a service that you can use to deploy a VMware Cloud Foundation (VCF) software environment directly on EC2 bare metal instances within an Amazon Virtual Private Cloud (VPC).
Workloads running on Amazon EVS are fully compatible with workloads running on any standard VMware vSphere environment. This means that you can migrate any VMware-based workload to Amazon EVS without workload modification.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateEipToVlan(Consumer<AssociateEipToVlanRequest.Builder> associateEipToVlanRequest) Associates an Elastic IP address with a public HCX VLAN.associateEipToVlan(AssociateEipToVlanRequest associateEipToVlanRequest) Associates an Elastic IP address with a public HCX VLAN.static EvsAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aEvsAsyncClient.static EvsAsyncClientcreate()Create aEvsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createEntitlement(Consumer<CreateEntitlementRequest.Builder> createEntitlementRequest) Creates a Windows Server License entitlement for virtual machines in an Amazon EVS environment using the provided vCenter Server connector.createEntitlement(CreateEntitlementRequest createEntitlementRequest) Creates a Windows Server License entitlement for virtual machines in an Amazon EVS environment using the provided vCenter Server connector.createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.createEnvironmentConnector(Consumer<CreateEnvironmentConnectorRequest.Builder> createEnvironmentConnectorRequest) Creates a connector for an Amazon EVS environment.createEnvironmentConnector(CreateEnvironmentConnectorRequest createEnvironmentConnectorRequest) Creates a connector for an Amazon EVS environment.createEnvironmentHost(Consumer<CreateEnvironmentHostRequest.Builder> createEnvironmentHostRequest) Creates an ESX host and adds it to an Amazon EVS environment.createEnvironmentHost(CreateEnvironmentHostRequest createEnvironmentHostRequest) Creates an ESX host and adds it to an Amazon EVS environment.deleteEntitlement(Consumer<DeleteEntitlementRequest.Builder> deleteEntitlementRequest) Deletes a Windows Server License entitlement for virtual machines in an Amazon EVS environment.deleteEntitlement(DeleteEntitlementRequest deleteEntitlementRequest) Deletes a Windows Server License entitlement for virtual machines in an Amazon EVS environment.deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes an Amazon EVS environment.deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes an Amazon EVS environment.deleteEnvironmentConnector(Consumer<DeleteEnvironmentConnectorRequest.Builder> deleteEnvironmentConnectorRequest) Deletes a connector from an Amazon EVS environment.deleteEnvironmentConnector(DeleteEnvironmentConnectorRequest deleteEnvironmentConnectorRequest) Deletes a connector from an Amazon EVS environment.deleteEnvironmentHost(Consumer<DeleteEnvironmentHostRequest.Builder> deleteEnvironmentHostRequest) Deletes a host from an Amazon EVS environment.deleteEnvironmentHost(DeleteEnvironmentHostRequest deleteEnvironmentHostRequest) Deletes a host from an Amazon EVS environment.disassociateEipFromVlan(Consumer<DisassociateEipFromVlanRequest.Builder> disassociateEipFromVlanRequest) Disassociates an Elastic IP address from a public HCX VLAN.disassociateEipFromVlan(DisassociateEipFromVlanRequest disassociateEipFromVlanRequest) Disassociates an Elastic IP address from a public HCX VLAN.default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Returns a description of the specified environment.default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Returns a description of the specified environment.default CompletableFuture<GetVersionsResponse> getVersions(Consumer<GetVersionsRequest.Builder> getVersionsRequest) Returns information about VCF versions, ESX versions and EC2 instance types provided by Amazon EVS.default CompletableFuture<GetVersionsResponse> getVersions(GetVersionsRequest getVersionsRequest) Returns information about VCF versions, ESX versions and EC2 instance types provided by Amazon EVS.listEnvironmentConnectors(Consumer<ListEnvironmentConnectorsRequest.Builder> listEnvironmentConnectorsRequest) Lists the connectors within an environment.listEnvironmentConnectors(ListEnvironmentConnectorsRequest listEnvironmentConnectorsRequest) Lists the connectors within an environment.listEnvironmentConnectorsPaginator(Consumer<ListEnvironmentConnectorsRequest.Builder> listEnvironmentConnectorsRequest) This is a variant oflistEnvironmentConnectors(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsRequest)operation.listEnvironmentConnectorsPaginator(ListEnvironmentConnectorsRequest listEnvironmentConnectorsRequest) This is a variant oflistEnvironmentConnectors(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsRequest)operation.listEnvironmentHosts(Consumer<ListEnvironmentHostsRequest.Builder> listEnvironmentHostsRequest) List the hosts within an environment.listEnvironmentHosts(ListEnvironmentHostsRequest listEnvironmentHostsRequest) List the hosts within an environment.default ListEnvironmentHostsPublisherlistEnvironmentHostsPaginator(Consumer<ListEnvironmentHostsRequest.Builder> listEnvironmentHostsRequest) This is a variant oflistEnvironmentHosts(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsRequest)operation.default ListEnvironmentHostsPublisherlistEnvironmentHostsPaginator(ListEnvironmentHostsRequest listEnvironmentHostsRequest) This is a variant oflistEnvironmentHosts(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsRequest)operation.listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists the Amazon EVS environments in your Amazon Web Services account in the specified Amazon Web Services Region.listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists the Amazon EVS environments in your Amazon Web Services account in the specified Amazon Web Services Region.default ListEnvironmentsPublisherlistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.evs.model.ListEnvironmentsRequest)operation.default ListEnvironmentsPublisherlistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.evs.model.ListEnvironmentsRequest)operation.listEnvironmentVlans(Consumer<ListEnvironmentVlansRequest.Builder> listEnvironmentVlansRequest) Lists environment VLANs that are associated with the specified environment.listEnvironmentVlans(ListEnvironmentVlansRequest listEnvironmentVlansRequest) Lists environment VLANs that are associated with the specified environment.default ListEnvironmentVlansPublisherlistEnvironmentVlansPaginator(Consumer<ListEnvironmentVlansRequest.Builder> listEnvironmentVlansRequest) This is a variant oflistEnvironmentVlans(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansRequest)operation.default ListEnvironmentVlansPublisherlistEnvironmentVlansPaginator(ListEnvironmentVlansRequest listEnvironmentVlansRequest) This is a variant oflistEnvironmentVlans(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for an Amazon EVS resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for an Amazon EVS resource.listVmEntitlements(Consumer<ListVmEntitlementsRequest.Builder> listVmEntitlementsRequest) Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment.listVmEntitlements(ListVmEntitlementsRequest listVmEntitlementsRequest) Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment.default ListVmEntitlementsPublisherlistVmEntitlementsPaginator(Consumer<ListVmEntitlementsRequest.Builder> listVmEntitlementsRequest) This is a variant oflistVmEntitlements(software.amazon.awssdk.services.evs.model.ListVmEntitlementsRequest)operation.default ListVmEntitlementsPublisherlistVmEntitlementsPaginator(ListVmEntitlementsRequest listVmEntitlementsRequest) This is a variant oflistVmEntitlements(software.amazon.awssdk.services.evs.model.ListVmEntitlementsRequest)operation.default EvsServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to an Amazon EVS resource with the specifiedresourceArn.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Associates the specified tags to an Amazon EVS resource with the specifiedresourceArn.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from an Amazon EVS resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes specified tags from an Amazon EVS resource.updateEnvironmentConnector(Consumer<UpdateEnvironmentConnectorRequest.Builder> updateEnvironmentConnectorRequest) Updates a connector for an Amazon EVS environment.updateEnvironmentConnector(UpdateEnvironmentConnectorRequest updateEnvironmentConnectorRequest) Updates a connector for an Amazon EVS environment.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateEipToVlan
default CompletableFuture<AssociateEipToVlanResponse> associateEipToVlan(AssociateEipToVlanRequest associateEipToVlanRequest) Associates an Elastic IP address with a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.
- Parameters:
associateEipToVlanRequest-- Returns:
- A Java Future containing the result of the AssociateEipToVlan 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateEipToVlan
default CompletableFuture<AssociateEipToVlanResponse> associateEipToVlan(Consumer<AssociateEipToVlanRequest.Builder> associateEipToVlanRequest) Associates an Elastic IP address with a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.
This is a convenience which creates an instance of the
AssociateEipToVlanRequest.Builderavoiding the need to create one manually viaAssociateEipToVlanRequest.builder()- Parameters:
associateEipToVlanRequest- AConsumerthat will call methods onAssociateEipToVlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateEipToVlan 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEntitlement
default CompletableFuture<CreateEntitlementResponse> createEntitlement(CreateEntitlementRequest createEntitlementRequest) Creates a Windows Server License entitlement for virtual machines in an Amazon EVS environment using the provided vCenter Server connector. This is an asynchronous operation. Amazon EVS validates the specified virtual machines before starting usage tracking.
- Parameters:
createEntitlementRequest-- Returns:
- A Java Future containing the result of the CreateEntitlement 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEntitlement
default CompletableFuture<CreateEntitlementResponse> createEntitlement(Consumer<CreateEntitlementRequest.Builder> createEntitlementRequest) Creates a Windows Server License entitlement for virtual machines in an Amazon EVS environment using the provided vCenter Server connector. This is an asynchronous operation. Amazon EVS validates the specified virtual machines before starting usage tracking.
This is a convenience which creates an instance of the
CreateEntitlementRequest.Builderavoiding the need to create one manually viaCreateEntitlementRequest.builder()- Parameters:
createEntitlementRequest- AConsumerthat will call methods onCreateEntitlementRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEntitlement 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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) Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.
During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.
It can take several hours to create an environment. After the deployment completes, you can configure VCF in the vSphere user interface according to your needs.
When creating a new environment, the default ESX version for the selected VCF version will be used, you cannot choose a specific ESX version in
CreateEnvironmentaction. When a host has been added with a specific ESX version, it can only be upgraded using vCenter Lifecycle Manager.You cannot use the
dedicatedHostIdandplacementGroupIdparameters together in the sameCreateEnvironmentaction. This results in aValidationExceptionresponse.- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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) Creates an Amazon EVS environment that runs VCF software, such as SDDC Manager, NSX Manager, and vCenter Server.
During environment creation, Amazon EVS performs validations on DNS settings, provisions VLAN subnets and hosts, and deploys the supplied version of VCF.
It can take several hours to create an environment. After the deployment completes, you can configure VCF in the vSphere user interface according to your needs.
When creating a new environment, the default ESX version for the selected VCF version will be used, you cannot choose a specific ESX version in
CreateEnvironmentaction. When a host has been added with a specific ESX version, it can only be upgraded using vCenter Lifecycle Manager.You cannot use the
dedicatedHostIdandplacementGroupIdparameters together in the sameCreateEnvironmentaction. This results in aValidationExceptionresponse.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentConnector
default CompletableFuture<CreateEnvironmentConnectorResponse> createEnvironmentConnector(CreateEnvironmentConnectorRequest createEnvironmentConnectorRequest) Creates a connector for an Amazon EVS environment. A connector establishes a connection to a VCF appliance, such as vCenter, using a fully qualified domain name and an Amazon Web Services Secrets Manager secret that stores the appliance credentials.
- Parameters:
createEnvironmentConnectorRequest-- Returns:
- A Java Future containing the result of the CreateEnvironmentConnector 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentConnector
default CompletableFuture<CreateEnvironmentConnectorResponse> createEnvironmentConnector(Consumer<CreateEnvironmentConnectorRequest.Builder> createEnvironmentConnectorRequest) Creates a connector for an Amazon EVS environment. A connector establishes a connection to a VCF appliance, such as vCenter, using a fully qualified domain name and an Amazon Web Services Secrets Manager secret that stores the appliance credentials.
This is a convenience which creates an instance of the
CreateEnvironmentConnectorRequest.Builderavoiding the need to create one manually viaCreateEnvironmentConnectorRequest.builder()- Parameters:
createEnvironmentConnectorRequest- AConsumerthat will call methods onCreateEnvironmentConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentConnector 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentHost
default CompletableFuture<CreateEnvironmentHostResponse> createEnvironmentHost(CreateEnvironmentHostRequest createEnvironmentHostRequest) Creates an ESX host and adds it to an Amazon EVS environment. Amazon EVS supports 4-16 hosts per environment.
This action can only be used after the Amazon EVS environment is deployed.
You can use the
dedicatedHostIdparameter to specify an Amazon EC2 Dedicated Host for ESX host creation.You can use the
placementGroupIdparameter to specify a cluster or partition placement group to launch EC2 instances into.If you don't specify an ESX version when adding hosts using
CreateEnvironmentHostaction, Amazon EVS automatically uses the default ESX version associated with your environment's VCF version. To find the default ESX version for a particular VCF version, use theGetVersionsaction.You cannot use the
dedicatedHostIdandplacementGroupIdparameters together in the sameCreateEnvironmentHostaction. This results in aValidationExceptionresponse.- Parameters:
createEnvironmentHostRequest-- Returns:
- A Java Future containing the result of the CreateEnvironmentHost 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentHost
default CompletableFuture<CreateEnvironmentHostResponse> createEnvironmentHost(Consumer<CreateEnvironmentHostRequest.Builder> createEnvironmentHostRequest) Creates an ESX host and adds it to an Amazon EVS environment. Amazon EVS supports 4-16 hosts per environment.
This action can only be used after the Amazon EVS environment is deployed.
You can use the
dedicatedHostIdparameter to specify an Amazon EC2 Dedicated Host for ESX host creation.You can use the
placementGroupIdparameter to specify a cluster or partition placement group to launch EC2 instances into.If you don't specify an ESX version when adding hosts using
CreateEnvironmentHostaction, Amazon EVS automatically uses the default ESX version associated with your environment's VCF version. To find the default ESX version for a particular VCF version, use theGetVersionsaction.You cannot use the
dedicatedHostIdandplacementGroupIdparameters together in the sameCreateEnvironmentHostaction. This results in aValidationExceptionresponse.
This is a convenience which creates an instance of the
CreateEnvironmentHostRequest.Builderavoiding the need to create one manually viaCreateEnvironmentHostRequest.builder()- Parameters:
createEnvironmentHostRequest- AConsumerthat will call methods onCreateEnvironmentHostRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentHost 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEntitlement
default CompletableFuture<DeleteEntitlementResponse> deleteEntitlement(DeleteEntitlementRequest deleteEntitlementRequest) Deletes a Windows Server License entitlement for virtual machines in an Amazon EVS environment. Deleting an entitlement stops usage tracking for the specified virtual machines.
- Parameters:
deleteEntitlementRequest-- Returns:
- A Java Future containing the result of the DeleteEntitlement 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEntitlement
default CompletableFuture<DeleteEntitlementResponse> deleteEntitlement(Consumer<DeleteEntitlementRequest.Builder> deleteEntitlementRequest) Deletes a Windows Server License entitlement for virtual machines in an Amazon EVS environment. Deleting an entitlement stops usage tracking for the specified virtual machines.
This is a convenience which creates an instance of the
DeleteEntitlementRequest.Builderavoiding the need to create one manually viaDeleteEntitlementRequest.builder()- Parameters:
deleteEntitlementRequest- AConsumerthat will call methods onDeleteEntitlementRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEntitlement 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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 Amazon EVS environment.
Amazon EVS environments will only be enabled for deletion once the hosts are deleted. You can delete hosts using the
DeleteEnvironmentHostaction.Environment deletion also deletes the associated Amazon EVS VLAN subnets and Amazon Web Services Secrets Manager secrets that Amazon EVS created. Amazon Web Services resources that you create are not deleted. These resources may continue to incur costs.
- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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 Amazon EVS environment.
Amazon EVS environments will only be enabled for deletion once the hosts are deleted. You can delete hosts using the
DeleteEnvironmentHostaction.Environment deletion also deletes the associated Amazon EVS VLAN subnets and Amazon Web Services Secrets Manager secrets that Amazon EVS created. Amazon Web Services resources that you create are not deleted. These resources may continue to incur costs.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentConnector
default CompletableFuture<DeleteEnvironmentConnectorResponse> deleteEnvironmentConnector(DeleteEnvironmentConnectorRequest deleteEnvironmentConnectorRequest) Deletes a connector from an Amazon EVS environment.
Before deleting a connector, you must remove all entitlements that are associated with the same vCenter.
- Parameters:
deleteEnvironmentConnectorRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentConnector 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentConnector
default CompletableFuture<DeleteEnvironmentConnectorResponse> deleteEnvironmentConnector(Consumer<DeleteEnvironmentConnectorRequest.Builder> deleteEnvironmentConnectorRequest) Deletes a connector from an Amazon EVS environment.
Before deleting a connector, you must remove all entitlements that are associated with the same vCenter.
This is a convenience which creates an instance of the
DeleteEnvironmentConnectorRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentConnectorRequest.builder()- Parameters:
deleteEnvironmentConnectorRequest- AConsumerthat will call methods onDeleteEnvironmentConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentConnector 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentHost
default CompletableFuture<DeleteEnvironmentHostResponse> deleteEnvironmentHost(DeleteEnvironmentHostRequest deleteEnvironmentHostRequest) Deletes a host from an Amazon EVS environment.
Before deleting a host, you must unassign and decommission the host from within the SDDC Manager user interface. Not doing so could impact the availability of your virtual machines or result in data loss.
- Parameters:
deleteEnvironmentHostRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentHost 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentHost
default CompletableFuture<DeleteEnvironmentHostResponse> deleteEnvironmentHost(Consumer<DeleteEnvironmentHostRequest.Builder> deleteEnvironmentHostRequest) Deletes a host from an Amazon EVS environment.
Before deleting a host, you must unassign and decommission the host from within the SDDC Manager user interface. Not doing so could impact the availability of your virtual machines or result in data loss.
This is a convenience which creates an instance of the
DeleteEnvironmentHostRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentHostRequest.builder()- Parameters:
deleteEnvironmentHostRequest- AConsumerthat will call methods onDeleteEnvironmentHostRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentHost 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateEipFromVlan
default CompletableFuture<DisassociateEipFromVlanResponse> disassociateEipFromVlan(DisassociateEipFromVlanRequest disassociateEipFromVlanRequest) Disassociates an Elastic IP address from a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.
- Parameters:
disassociateEipFromVlanRequest-- Returns:
- A Java Future containing the result of the DisassociateEipFromVlan 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateEipFromVlan
default CompletableFuture<DisassociateEipFromVlanResponse> disassociateEipFromVlan(Consumer<DisassociateEipFromVlanRequest.Builder> disassociateEipFromVlanRequest) Disassociates an Elastic IP address from a public HCX VLAN. This operation is only allowed for public HCX VLANs at this time.
This is a convenience which creates an instance of the
DisassociateEipFromVlanRequest.Builderavoiding the need to create one manually viaDisassociateEipFromVlanRequest.builder()- Parameters:
disassociateEipFromVlanRequest- AConsumerthat will call methods onDisassociateEipFromVlanRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateEipFromVlan 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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) Returns a description of the specified 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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) Returns a description of the specified environment.
This is a convenience which creates an instance of the
GetEnvironmentRequest.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVersions
Returns information about VCF versions, ESX versions and EC2 instance types provided by Amazon EVS. For each VCF version, the response also includes the default ESX version and provided EC2 instance types.
- Parameters:
getVersionsRequest-- Returns:
- A Java Future containing the result of the GetVersions 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- InternalServerException An internal server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVersions
default CompletableFuture<GetVersionsResponse> getVersions(Consumer<GetVersionsRequest.Builder> getVersionsRequest) Returns information about VCF versions, ESX versions and EC2 instance types provided by Amazon EVS. For each VCF version, the response also includes the default ESX version and provided EC2 instance types.
This is a convenience which creates an instance of the
GetVersionsRequest.Builderavoiding the need to create one manually viaGetVersionsRequest.builder()- Parameters:
getVersionsRequest- AConsumerthat will call methods onGetVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetVersions 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- InternalServerException An internal server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnectors
default CompletableFuture<ListEnvironmentConnectorsResponse> listEnvironmentConnectors(ListEnvironmentConnectorsRequest listEnvironmentConnectorsRequest) Lists the connectors within an environment. Returns the status of each connector and its applicable checks, among other connector details.
- Parameters:
listEnvironmentConnectorsRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentConnectors 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnectors
default CompletableFuture<ListEnvironmentConnectorsResponse> listEnvironmentConnectors(Consumer<ListEnvironmentConnectorsRequest.Builder> listEnvironmentConnectorsRequest) Lists the connectors within an environment. Returns the status of each connector and its applicable checks, among other connector details.
This is a convenience which creates an instance of the
ListEnvironmentConnectorsRequest.Builderavoiding the need to create one manually viaListEnvironmentConnectorsRequest.builder()- Parameters:
listEnvironmentConnectorsRequest- AConsumerthat will call methods onListEnvironmentConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentConnectors 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnectorsPaginator
default ListEnvironmentConnectorsPublisher listEnvironmentConnectorsPaginator(ListEnvironmentConnectorsRequest listEnvironmentConnectorsRequest) This is a variant of
listEnvironmentConnectors(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentConnectorsPublisher publisher = client.listEnvironmentConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentConnectorsPublisher publisher = client.listEnvironmentConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsResponse 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
listEnvironmentConnectors(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsRequest)operation.- Parameters:
listEnvironmentConnectorsRequest-- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnectorsPaginator
default ListEnvironmentConnectorsPublisher listEnvironmentConnectorsPaginator(Consumer<ListEnvironmentConnectorsRequest.Builder> listEnvironmentConnectorsRequest) This is a variant of
listEnvironmentConnectors(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentConnectorsPublisher publisher = client.listEnvironmentConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentConnectorsPublisher publisher = client.listEnvironmentConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsResponse 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
listEnvironmentConnectors(software.amazon.awssdk.services.evs.model.ListEnvironmentConnectorsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentConnectorsRequest.Builderavoiding the need to create one manually viaListEnvironmentConnectorsRequest.builder()- Parameters:
listEnvironmentConnectorsRequest- AConsumerthat will call methods onListEnvironmentConnectorsRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentHosts
default CompletableFuture<ListEnvironmentHostsResponse> listEnvironmentHosts(ListEnvironmentHostsRequest listEnvironmentHostsRequest) List the hosts within an environment.
- Parameters:
listEnvironmentHostsRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentHosts 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentHosts
default CompletableFuture<ListEnvironmentHostsResponse> listEnvironmentHosts(Consumer<ListEnvironmentHostsRequest.Builder> listEnvironmentHostsRequest) List the hosts within an environment.
This is a convenience which creates an instance of the
ListEnvironmentHostsRequest.Builderavoiding the need to create one manually viaListEnvironmentHostsRequest.builder()- Parameters:
listEnvironmentHostsRequest- AConsumerthat will call methods onListEnvironmentHostsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentHosts 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentHostsPaginator
default ListEnvironmentHostsPublisher listEnvironmentHostsPaginator(ListEnvironmentHostsRequest listEnvironmentHostsRequest) This is a variant of
listEnvironmentHosts(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentHostsPublisher publisher = client.listEnvironmentHostsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentHostsPublisher publisher = client.listEnvironmentHostsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentHostsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsResponse 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
listEnvironmentHosts(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsRequest)operation.- Parameters:
listEnvironmentHostsRequest-- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentHostsPaginator
default ListEnvironmentHostsPublisher listEnvironmentHostsPaginator(Consumer<ListEnvironmentHostsRequest.Builder> listEnvironmentHostsRequest) This is a variant of
listEnvironmentHosts(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentHostsPublisher publisher = client.listEnvironmentHostsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentHostsPublisher publisher = client.listEnvironmentHostsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentHostsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsResponse 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
listEnvironmentHosts(software.amazon.awssdk.services.evs.model.ListEnvironmentHostsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentHostsRequest.Builderavoiding the need to create one manually viaListEnvironmentHostsRequest.builder()- Parameters:
listEnvironmentHostsRequest- AConsumerthat will call methods onListEnvironmentHostsRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVlans
default CompletableFuture<ListEnvironmentVlansResponse> listEnvironmentVlans(ListEnvironmentVlansRequest listEnvironmentVlansRequest) Lists environment VLANs that are associated with the specified environment.
- Parameters:
listEnvironmentVlansRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentVlans 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVlans
default CompletableFuture<ListEnvironmentVlansResponse> listEnvironmentVlans(Consumer<ListEnvironmentVlansRequest.Builder> listEnvironmentVlansRequest) Lists environment VLANs that are associated with the specified environment.
This is a convenience which creates an instance of the
ListEnvironmentVlansRequest.Builderavoiding the need to create one manually viaListEnvironmentVlansRequest.builder()- Parameters:
listEnvironmentVlansRequest- AConsumerthat will call methods onListEnvironmentVlansRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentVlans 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVlansPaginator
default ListEnvironmentVlansPublisher listEnvironmentVlansPaginator(ListEnvironmentVlansRequest listEnvironmentVlansRequest) This is a variant of
listEnvironmentVlans(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentVlansPublisher publisher = client.listEnvironmentVlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentVlansPublisher publisher = client.listEnvironmentVlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentVlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansResponse 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
listEnvironmentVlans(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansRequest)operation.- Parameters:
listEnvironmentVlansRequest-- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentVlansPaginator
default ListEnvironmentVlansPublisher listEnvironmentVlansPaginator(Consumer<ListEnvironmentVlansRequest.Builder> listEnvironmentVlansRequest) This is a variant of
listEnvironmentVlans(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentVlansPublisher publisher = client.listEnvironmentVlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentVlansPublisher publisher = client.listEnvironmentVlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentVlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansResponse 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
listEnvironmentVlans(software.amazon.awssdk.services.evs.model.ListEnvironmentVlansRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentVlansRequest.Builderavoiding the need to create one manually viaListEnvironmentVlansRequest.builder()- Parameters:
listEnvironmentVlansRequest- AConsumerthat will call methods onListEnvironmentVlansRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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 the Amazon EVS environments in your Amazon Web Services account in the specified Amazon Web Services Region.
- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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 the Amazon EVS environments in your Amazon Web Services account in the specified Amazon Web Services Region.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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.evs.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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.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.evs.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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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.evs.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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.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.evs.model.ListEnvironmentsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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 the tags for an Amazon EVS resource.
- 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.- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for an Amazon EVS resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- 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.- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
- See Also:
-
listVmEntitlements
default CompletableFuture<ListVmEntitlementsResponse> listVmEntitlements(ListVmEntitlementsRequest listVmEntitlementsRequest) Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment. Returns existing entitlements for virtual machines associated with the specified environment and connector.
- Parameters:
listVmEntitlementsRequest-- Returns:
- A Java Future containing the result of the ListVmEntitlements 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listVmEntitlements
default CompletableFuture<ListVmEntitlementsResponse> listVmEntitlements(Consumer<ListVmEntitlementsRequest.Builder> listVmEntitlementsRequest) Lists the Windows Server License entitlements for virtual machines in an Amazon EVS environment. Returns existing entitlements for virtual machines associated with the specified environment and connector.
This is a convenience which creates an instance of the
ListVmEntitlementsRequest.Builderavoiding the need to create one manually viaListVmEntitlementsRequest.builder()- Parameters:
listVmEntitlementsRequest- AConsumerthat will call methods onListVmEntitlementsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListVmEntitlements 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listVmEntitlementsPaginator
default ListVmEntitlementsPublisher listVmEntitlementsPaginator(ListVmEntitlementsRequest listVmEntitlementsRequest) This is a variant of
listVmEntitlements(software.amazon.awssdk.services.evs.model.ListVmEntitlementsRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListVmEntitlementsPublisher publisher = client.listVmEntitlementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListVmEntitlementsPublisher publisher = client.listVmEntitlementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListVmEntitlementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListVmEntitlementsResponse 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
listVmEntitlements(software.amazon.awssdk.services.evs.model.ListVmEntitlementsRequest)operation.- Parameters:
listVmEntitlementsRequest-- 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listVmEntitlementsPaginator
default ListVmEntitlementsPublisher listVmEntitlementsPaginator(Consumer<ListVmEntitlementsRequest.Builder> listVmEntitlementsRequest) This is a variant of
listVmEntitlements(software.amazon.awssdk.services.evs.model.ListVmEntitlementsRequest)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 newSubscriptioni.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 method
2) Using a custom subscribersoftware.amazon.awssdk.services.evs.paginators.ListVmEntitlementsPublisher publisher = client.listVmEntitlementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evs.paginators.ListVmEntitlementsPublisher publisher = client.listVmEntitlementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evs.model.ListVmEntitlementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evs.model.ListVmEntitlementsResponse 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
listVmEntitlements(software.amazon.awssdk.services.evs.model.ListVmEntitlementsRequest)operation.
This is a convenience which creates an instance of the
ListVmEntitlementsRequest.Builderavoiding the need to create one manually viaListVmEntitlementsRequest.builder()- Parameters:
listVmEntitlementsRequest- AConsumerthat will call methods onListVmEntitlementsRequest.Builderto 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.- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Associates the specified tags to an Amazon EVS resource with the specified
resourceArn. If existing tags on a resource are not specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted. Tags that you create for Amazon EVS resources don't propagate to any other resources associated with the environment. For example, if you tag an environment with this operation, that tag doesn't automatically propagate to the VLAN subnets and hosts associated with the environment.- 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.- ServiceQuotaExceededException The number of one or more Amazon EVS resources exceeds the maximum allowed. For a list of Amazon EVS quotas, see Amazon EVS endpoints and quotas in the Amazon EVS User Guide. Delete some resources or request an increase in your service quota. To request an increase, see Amazon Web Services Service Quotas in the Amazon Web Services General Reference Guide.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - TooManyTagsException
TooManyTagsExceptionis deprecated. SeeServiceQuotaExceededExceptioninstead.A service resource associated with the request has more than 200 tags.
- TagPolicyException
TagPolicyExceptionis deprecated. SeeValidationExceptioninstead.The request doesn't comply with IAM tag policy. Correct your request and then retry it.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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) Associates the specified tags to an Amazon EVS resource with the specified
resourceArn. If existing tags on a resource are not specified in the request parameters, they aren't changed. When a resource is deleted, the tags associated with that resource are also deleted. Tags that you create for Amazon EVS resources don't propagate to any other resources associated with the environment. For example, if you tag an environment with this operation, that tag doesn't automatically propagate to the VLAN subnets and hosts associated with the environment.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- 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.- ServiceQuotaExceededException The number of one or more Amazon EVS resources exceeds the maximum allowed. For a list of Amazon EVS quotas, see Amazon EVS endpoints and quotas in the Amazon EVS User Guide. Delete some resources or request an increase in your service quota. To request an increase, see Amazon Web Services Service Quotas in the Amazon Web Services General Reference Guide.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - TooManyTagsException
TooManyTagsExceptionis deprecated. SeeServiceQuotaExceededExceptioninstead.A service resource associated with the request has more than 200 tags.
- TagPolicyException
TagPolicyExceptionis deprecated. SeeValidationExceptioninstead.The request doesn't comply with IAM tag policy. Correct your request and then retry it.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException 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) Deletes specified tags from an Amazon EVS resource.
- 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.- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - TagPolicyException
TagPolicyExceptionis deprecated. SeeValidationExceptioninstead.The request doesn't comply with IAM tag policy. Correct your request and then retry it.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from an Amazon EVS resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- 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.- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - TagPolicyException
TagPolicyExceptionis deprecated. SeeValidationExceptioninstead.The request doesn't comply with IAM tag policy. Correct your request and then retry it.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
- See Also:
-
updateEnvironmentConnector
default CompletableFuture<UpdateEnvironmentConnectorResponse> updateEnvironmentConnector(UpdateEnvironmentConnectorRequest updateEnvironmentConnectorRequest) Updates a connector for an Amazon EVS environment. You can update the Amazon Web Services Secrets Manager secret ARN or the appliance FQDN to reconfigure the connector metadata.
You cannot update both the secret and the FQDN in the same request.
- Parameters:
updateEnvironmentConnectorRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironmentConnector 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentConnector
default CompletableFuture<UpdateEnvironmentConnectorResponse> updateEnvironmentConnector(Consumer<UpdateEnvironmentConnectorRequest.Builder> updateEnvironmentConnectorRequest) Updates a connector for an Amazon EVS environment. You can update the Amazon Web Services Secrets Manager secret ARN or the appliance FQDN to reconfigure the connector metadata.
You cannot update both the secret and the FQDN in the same request.
This is a convenience which creates an instance of the
UpdateEnvironmentConnectorRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentConnectorRequest.builder()- Parameters:
updateEnvironmentConnectorRequest- AConsumerthat will call methods onUpdateEnvironmentConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironmentConnector 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.- ThrottlingException The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.
- ValidationException The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.
- ResourceNotFoundException A service resource associated with the request could not be found. The
resource might not be specified correctly, or it may have a
stateofDELETED. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aEvsAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aEvsAsyncClient.
-