@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface NetworkManagerClient extends SdkClient
builder() method.
Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your AWS and on-premises networks that are built around transit gateways.
The Network Manager APIs are supported in the US West (Oregon) Region only. You must specify the
us-west-2 Region in all requests made to Network Manager.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AssociateCustomerGatewayResponse |
associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link.
|
default AssociateCustomerGatewayResponse |
associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link.
|
default AssociateLinkResponse |
associateLink(AssociateLinkRequest associateLinkRequest)
Associates a link to a device.
|
default AssociateLinkResponse |
associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest)
Associates a link to a device.
|
default AssociateTransitGatewayConnectPeerResponse |
associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link.
|
default AssociateTransitGatewayConnectPeerResponse |
associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link.
|
static NetworkManagerClientBuilder |
builder()
Create a builder that can be used to configure and create a
NetworkManagerClient. |
static NetworkManagerClient |
create()
Create a
NetworkManagerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateConnectionResponse |
createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest)
Creates a connection between two devices.
|
default CreateConnectionResponse |
createConnection(CreateConnectionRequest createConnectionRequest)
Creates a connection between two devices.
|
default CreateDeviceResponse |
createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest)
Creates a new device in a global network.
|
default CreateDeviceResponse |
createDevice(CreateDeviceRequest createDeviceRequest)
Creates a new device in a global network.
|
default CreateGlobalNetworkResponse |
createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest)
Creates a new, empty global network.
|
default CreateGlobalNetworkResponse |
createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest)
Creates a new, empty global network.
|
default CreateLinkResponse |
createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest)
Creates a new link for a specified site.
|
default CreateLinkResponse |
createLink(CreateLinkRequest createLinkRequest)
Creates a new link for a specified site.
|
default CreateSiteResponse |
createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)
Creates a new site in a global network.
|
default CreateSiteResponse |
createSite(CreateSiteRequest createSiteRequest)
Creates a new site in a global network.
|
default DeleteConnectionResponse |
deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)
Deletes the specified connection in your global network.
|
default DeleteConnectionResponse |
deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Deletes the specified connection in your global network.
|
default DeleteDeviceResponse |
deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)
Deletes an existing device.
|
default DeleteDeviceResponse |
deleteDevice(DeleteDeviceRequest deleteDeviceRequest)
Deletes an existing device.
|
default DeleteGlobalNetworkResponse |
deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest)
Deletes an existing global network.
|
default DeleteGlobalNetworkResponse |
deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest)
Deletes an existing global network.
|
default DeleteLinkResponse |
deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest)
Deletes an existing link.
|
default DeleteLinkResponse |
deleteLink(DeleteLinkRequest deleteLinkRequest)
Deletes an existing link.
|
default DeleteSiteResponse |
deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)
Deletes an existing site.
|
default DeleteSiteResponse |
deleteSite(DeleteSiteRequest deleteSiteRequest)
Deletes an existing site.
|
default DeregisterTransitGatewayResponse |
deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network.
|
default DeregisterTransitGatewayResponse |
deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network.
|
default DescribeGlobalNetworksResponse |
describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksResponse |
describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksIterable |
describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksIterable |
describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DisassociateCustomerGatewayResponse |
disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
|
default DisassociateCustomerGatewayResponse |
disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
|
default DisassociateLinkResponse |
disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest)
Disassociates an existing device from a link.
|
default DisassociateLinkResponse |
disassociateLink(DisassociateLinkRequest disassociateLinkRequest)
Disassociates an existing device from a link.
|
default DisassociateTransitGatewayConnectPeerResponse |
disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
|
default DisassociateTransitGatewayConnectPeerResponse |
disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
|
default GetConnectionsResponse |
getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsResponse |
getConnections(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsIterable |
getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsIterable |
getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetCustomerGatewayAssociationsResponse |
getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsResponse |
getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsIterable |
getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsIterable |
getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetDevicesResponse |
getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesResponse |
getDevices(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesIterable |
getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesIterable |
getDevicesPaginator(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetLinkAssociationsResponse |
getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsResponse |
getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsIterable |
getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsIterable |
getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinksResponse |
getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksResponse |
getLinks(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksIterable |
getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksIterable |
getLinksPaginator(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetSitesResponse |
getSites(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesResponse |
getSites(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesIterable |
getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesIterable |
getSitesPaginator(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetTransitGatewayConnectPeerAssociationsResponse |
getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsResponse |
getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsIterable |
getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsIterable |
getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayRegistrationsResponse |
getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsResponse |
getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsIterable |
getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsIterable |
getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for a specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a specified resource.
|
default RegisterTransitGatewayResponse |
registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest)
Registers a transit gateway in your global network.
|
default RegisterTransitGatewayResponse |
registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest)
Registers a transit gateway in your global network.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Tags a specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Tags a specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a specified resource.
|
default UpdateConnectionResponse |
updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest)
Updates the information for an existing connection.
|
default UpdateConnectionResponse |
updateConnection(UpdateConnectionRequest updateConnectionRequest)
Updates the information for an existing connection.
|
default UpdateDeviceResponse |
updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest)
Updates the details for an existing device.
|
default UpdateDeviceResponse |
updateDevice(UpdateDeviceRequest updateDeviceRequest)
Updates the details for an existing device.
|
default UpdateGlobalNetworkResponse |
updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest)
Updates an existing global network.
|
default UpdateGlobalNetworkResponse |
updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest)
Updates an existing global network.
|
default UpdateLinkResponse |
updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest)
Updates the details for an existing link.
|
default UpdateLinkResponse |
updateLink(UpdateLinkRequest updateLinkRequest)
Updates the details for an existing link.
|
default UpdateSiteResponse |
updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)
Updates the information for an existing site.
|
default UpdateSiteResponse |
updateSite(UpdateSiteRequest updateSiteRequest)
Updates the information for an existing site.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static NetworkManagerClient create()
NetworkManagerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static NetworkManagerClientBuilder builder()
NetworkManagerClient.default AssociateCustomerGatewayResponse associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit
gateway must be registered in your global network. When you register a transit gateway, customer gateways that
are connected to the transit gateway are automatically included in the global network. To list customer gateways
that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.
You cannot associate a customer gateway with more than one device and link.
associateCustomerGatewayRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateCustomerGatewayResponse associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit
gateway must be registered in your global network. When you register a transit gateway, customer gateways that
are connected to the transit gateway are automatically included in the global network. To list customer gateways
that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.
You cannot associate a customer gateway with more than one device and link.
This is a convenience which creates an instance of the AssociateCustomerGatewayRequest.Builder avoiding
the need to create one manually via AssociateCustomerGatewayRequest.builder()
associateCustomerGatewayRequest - A Consumer that will call methods on AssociateCustomerGatewayRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateLinkResponse associateLink(AssociateLinkRequest associateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
associateLinkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateLinkResponse associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
This is a convenience which creates an instance of the AssociateLinkRequest.Builder avoiding the need to
create one manually via AssociateLinkRequest.builder()
associateLinkRequest - A Consumer that will call methods on AssociateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateTransitGatewayConnectPeerResponse associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
associateTransitGatewayConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateTransitGatewayConnectPeerResponse associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
This is a convenience which creates an instance of the AssociateTransitGatewayConnectPeerRequest.Builder
avoiding the need to create one manually via AssociateTransitGatewayConnectPeerRequest.builder()
associateTransitGatewayConnectPeerRequest - A Consumer that will call methods on AssociateTransitGatewayConnectPeerRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectionResponse createConnection(CreateConnectionRequest createConnectionRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
createConnectionRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectionResponse createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
This is a convenience which creates an instance of the CreateConnectionRequest.Builder avoiding the need
to create one manually via CreateConnectionRequest.builder()
createConnectionRequest - A Consumer that will call methods on CreateConnectionRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeviceResponse createDevice(CreateDeviceRequest createDeviceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
createDeviceRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeviceResponse createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
This is a convenience which creates an instance of the CreateDeviceRequest.Builder avoiding the need to
create one manually via CreateDeviceRequest.builder()
createDeviceRequest - A Consumer that will call methods on CreateDeviceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGlobalNetworkResponse createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new, empty global network.
createGlobalNetworkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGlobalNetworkResponse createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new, empty global network.
This is a convenience which creates an instance of the CreateGlobalNetworkRequest.Builder avoiding the
need to create one manually via CreateGlobalNetworkRequest.builder()
createGlobalNetworkRequest - A Consumer that will call methods on CreateGlobalNetworkRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLinkResponse createLink(CreateLinkRequest createLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new link for a specified site.
createLinkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLinkResponse createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new link for a specified site.
This is a convenience which creates an instance of the CreateLinkRequest.Builder avoiding the need to
create one manually via CreateLinkRequest.builder()
createLinkRequest - A Consumer that will call methods on CreateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSiteResponse createSite(CreateSiteRequest createSiteRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new site in a global network.
createSiteRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSiteResponse createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new site in a global network.
This is a convenience which creates an instance of the CreateSiteRequest.Builder avoiding the need to
create one manually via CreateSiteRequest.builder()
createSiteRequest - A Consumer that will call methods on CreateSiteRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes the specified connection in your global network.
deleteConnectionRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectionResponse deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes the specified connection in your global network.
This is a convenience which creates an instance of the DeleteConnectionRequest.Builder avoiding the need
to create one manually via DeleteConnectionRequest.builder()
deleteConnectionRequest - A Consumer that will call methods on DeleteConnectionRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDeviceResponse deleteDevice(DeleteDeviceRequest deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
deleteDeviceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDeviceResponse deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
This is a convenience which creates an instance of the DeleteDeviceRequest.Builder avoiding the need to
create one manually via DeleteDeviceRequest.builder()
deleteDeviceRequest - A Consumer that will call methods on DeleteDeviceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGlobalNetworkResponse deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.
deleteGlobalNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGlobalNetworkResponse deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.
This is a convenience which creates an instance of the DeleteGlobalNetworkRequest.Builder avoiding the
need to create one manually via DeleteGlobalNetworkRequest.builder()
deleteGlobalNetworkRequest - A Consumer that will call methods on DeleteGlobalNetworkRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLinkResponse deleteLink(DeleteLinkRequest deleteLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
deleteLinkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLinkResponse deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
This is a convenience which creates an instance of the DeleteLinkRequest.Builder avoiding the need to
create one manually via DeleteLinkRequest.builder()
deleteLinkRequest - A Consumer that will call methods on DeleteLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSiteResponse deleteSite(DeleteSiteRequest deleteSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing site. The site cannot be associated with any device or link.
deleteSiteRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSiteResponse deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing site. The site cannot be associated with any device or link.
This is a convenience which creates an instance of the DeleteSiteRequest.Builder avoiding the need to
create one manually via DeleteSiteRequest.builder()
deleteSiteRequest - A Consumer that will call methods on DeleteSiteRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeregisterTransitGatewayResponse deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.
deregisterTransitGatewayRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeregisterTransitGatewayResponse deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.
This is a convenience which creates an instance of the DeregisterTransitGatewayRequest.Builder avoiding
the need to create one manually via DeregisterTransitGatewayRequest.builder()
deregisterTransitGatewayRequest - A Consumer that will call methods on DeregisterTransitGatewayRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksResponse describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
describeGlobalNetworksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksResponse describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the
need to create one manually via DescribeGlobalNetworksRequest.builder()
describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksIterable describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client
.describeGlobalNetworksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.
describeGlobalNetworksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksIterable describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client
.describeGlobalNetworksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.
This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the
need to create one manually via DescribeGlobalNetworksRequest.builder()
describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateCustomerGatewayResponse disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a customer gateway from a device and a link.
disassociateCustomerGatewayRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateCustomerGatewayResponse disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a customer gateway from a device and a link.
This is a convenience which creates an instance of the DisassociateCustomerGatewayRequest.Builder
avoiding the need to create one manually via DisassociateCustomerGatewayRequest.builder()
disassociateCustomerGatewayRequest - A Consumer that will call methods on DisassociateCustomerGatewayRequest.Builder to create
a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateLinkResponse disassociateLink(DisassociateLinkRequest disassociateLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
disassociateLinkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateLinkResponse disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
This is a convenience which creates an instance of the DisassociateLinkRequest.Builder avoiding the need
to create one manually via DisassociateLinkRequest.builder()
disassociateLinkRequest - A Consumer that will call methods on DisassociateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateTransitGatewayConnectPeerResponse disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a transit gateway Connect peer from a device and link.
disassociateTransitGatewayConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateTransitGatewayConnectPeerResponse disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a transit gateway Connect peer from a device and link.
This is a convenience which creates an instance of the
DisassociateTransitGatewayConnectPeerRequest.Builder avoiding the need to create one manually via
DisassociateTransitGatewayConnectPeerRequest.builder()
disassociateTransitGatewayConnectPeerRequest - A Consumer that will call methods on DisassociateTransitGatewayConnectPeerRequest.Builder
to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsResponse getConnections(GetConnectionsRequest getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
getConnectionsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsResponse getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to
create one manually via GetConnectionsRequest.builder()
getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsIterable getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client
.getConnectionsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.
getConnectionsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsIterable getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client
.getConnectionsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.
This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to
create one manually via GetConnectionsRequest.builder()
getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsResponse getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
getCustomerGatewayAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsResponse getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder
avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()
getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsIterable getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client
.getCustomerGatewayAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.
getCustomerGatewayAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsIterable getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client
.getCustomerGatewayAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder
avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()
getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesResponse getDevices(GetDevicesRequest getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
getDevicesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesResponse getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to
create one manually via GetDevicesRequest.builder()
getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesIterable getDevicesPaginator(GetDevicesRequest getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.
getDevicesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesIterable getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.
This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to
create one manually via GetDevicesRequest.builder()
getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsResponse getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
getLinkAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsResponse getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the
need to create one manually via GetLinkAssociationsRequest.builder()
getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsIterable getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client
.getLinkAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.
getLinkAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsIterable getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client
.getLinkAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the
need to create one manually via GetLinkAssociationsRequest.builder()
getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksResponse getLinks(GetLinksRequest getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
getLinksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksResponse getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to
create one manually via GetLinksRequest.builder()
getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksIterable getLinksPaginator(GetLinksRequest getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.
getLinksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksIterable getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.
This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to
create one manually via GetLinksRequest.builder()
getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesResponse getSites(GetSitesRequest getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
getSitesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesResponse getSites(Consumer<GetSitesRequest.Builder> getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to
create one manually via GetSitesRequest.builder()
getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesIterable getSitesPaginator(GetSitesRequest getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.
getSitesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesIterable getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.
This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to
create one manually via GetSitesRequest.builder()
getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsResponse getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
getTransitGatewayConnectPeerAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsResponse getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a convenience which creates an instance of the
GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via
GetTransitGatewayConnectPeerAssociationsRequest.builder()
getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on
GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsIterable getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client
.getTransitGatewayConnectPeerAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.
getTransitGatewayConnectPeerAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsIterable getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client
.getTransitGatewayConnectPeerAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.
This is a convenience which creates an instance of the
GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via
GetTransitGatewayConnectPeerAssociationsRequest.builder()
getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on
GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsResponse getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
getTransitGatewayRegistrationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsResponse getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder
avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()
getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsIterable getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client
.getTransitGatewayRegistrationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.
getTransitGatewayRegistrationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsIterable getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client
.getTransitGatewayRegistrationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.
This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder
avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()
getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the tags for a specified resource.
listTagsForResourceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the tags for a specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterTransitGatewayResponse registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.
registerTransitGatewayRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterTransitGatewayResponse registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.
This is a convenience which creates an instance of the RegisterTransitGatewayRequest.Builder avoiding the
need to create one manually via RegisterTransitGatewayRequest.builder()
registerTransitGatewayRequest - A Consumer that will call methods on RegisterTransitGatewayRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Tags a specified resource.
tagResourceRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Tags a specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Removes tags from a specified resource.
untagResourceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Removes tags from a specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConnectionResponse updateConnection(UpdateConnectionRequest updateConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
updateConnectionRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConnectionResponse updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateConnectionRequest.Builder avoiding the need
to create one manually via UpdateConnectionRequest.builder()
updateConnectionRequest - A Consumer that will call methods on UpdateConnectionRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeviceResponse updateDevice(UpdateDeviceRequest updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
updateDeviceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeviceResponse updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateDeviceRequest.Builder avoiding the need to
create one manually via UpdateDeviceRequest.builder()
updateDeviceRequest - A Consumer that will call methods on UpdateDeviceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGlobalNetworkResponse updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
updateGlobalNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGlobalNetworkResponse updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateGlobalNetworkRequest.Builder avoiding the
need to create one manually via UpdateGlobalNetworkRequest.builder()
updateGlobalNetworkRequest - A Consumer that will call methods on UpdateGlobalNetworkRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLinkResponse updateLink(UpdateLinkRequest updateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
updateLinkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLinkResponse updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateLinkRequest.Builder avoiding the need to
create one manually via UpdateLinkRequest.builder()
updateLinkRequest - A Consumer that will call methods on UpdateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSiteResponse updateSite(UpdateSiteRequest updateSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
updateSiteRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSiteResponse updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateSiteRequest.Builder avoiding the need to
create one manually via UpdateSiteRequest.builder()
updateSiteRequest - A Consumer that will call methods on UpdateSiteRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2021. All rights reserved.