Interface NetworkManagerAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionacceptAttachment
(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest) Accepts a core network attachment request.acceptAttachment
(AcceptAttachmentRequest acceptAttachmentRequest) Accepts a core network attachment request.associateConnectPeer
(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest) Associates a core network Connect peer with a device and optionally, with a link.associateConnectPeer
(AssociateConnectPeerRequest associateConnectPeerRequest) Associates a core network Connect peer with a device and optionally, with a link.associateCustomerGateway
(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) Associates a customer gateway with a device and optionally, with a link.associateCustomerGateway
(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) Associates a customer gateway with a device and optionally, with a link.default CompletableFuture
<AssociateLinkResponse> associateLink
(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) Associates a link to a device.default CompletableFuture
<AssociateLinkResponse> associateLink
(AssociateLinkRequest associateLinkRequest) Associates a link to a device.associateTransitGatewayConnectPeer
(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest) Associates a transit gateway Connect peer with a device, and optionally, with a link.associateTransitGatewayConnectPeer
(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest) Associates a transit gateway Connect peer with a device, and optionally, with a link.builder()
Create a builder that can be used to configure and create aNetworkManagerAsyncClient
.static NetworkManagerAsyncClient
create()
Create aNetworkManagerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createConnectAttachment
(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.createConnectAttachment
(CreateConnectAttachmentRequest createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.createConnection
(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) Creates a connection between two devices.createConnection
(CreateConnectionRequest createConnectionRequest) Creates a connection between two devices.createConnectPeer
(Consumer<CreateConnectPeerRequest.Builder> createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.createConnectPeer
(CreateConnectPeerRequest createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.createCoreNetwork
(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.createCoreNetwork
(CreateCoreNetworkRequest createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.default CompletableFuture
<CreateDeviceResponse> createDevice
(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) Creates a new device in a global network.default CompletableFuture
<CreateDeviceResponse> createDevice
(CreateDeviceRequest createDeviceRequest) Creates a new device in a global network.createGlobalNetwork
(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) Creates a new, empty global network.createGlobalNetwork
(CreateGlobalNetworkRequest createGlobalNetworkRequest) Creates a new, empty global network.default CompletableFuture
<CreateLinkResponse> createLink
(Consumer<CreateLinkRequest.Builder> createLinkRequest) Creates a new link for a specified site.default CompletableFuture
<CreateLinkResponse> createLink
(CreateLinkRequest createLinkRequest) Creates a new link for a specified site.default CompletableFuture
<CreateSiteResponse> createSite
(Consumer<CreateSiteRequest.Builder> createSiteRequest) Creates a new site in a global network.default CompletableFuture
<CreateSiteResponse> createSite
(CreateSiteRequest createSiteRequest) Creates a new site in a global network.createSiteToSiteVpnAttachment
(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest) Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.createSiteToSiteVpnAttachment
(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest) Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.createTransitGatewayPeering
(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest) Creates a transit gateway peering connection.createTransitGatewayPeering
(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest) Creates a transit gateway peering connection.createTransitGatewayRouteTableAttachment
(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest) Creates a transit gateway route table attachment.createTransitGatewayRouteTableAttachment
(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest) Creates a transit gateway route table attachment.createVpcAttachment
(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.createVpcAttachment
(CreateVpcAttachmentRequest createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.deleteAttachment
(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) Deletes an attachment.deleteAttachment
(DeleteAttachmentRequest deleteAttachmentRequest) Deletes an attachment.deleteConnection
(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) Deletes the specified connection in your global network.deleteConnection
(DeleteConnectionRequest deleteConnectionRequest) Deletes the specified connection in your global network.deleteConnectPeer
(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest) Deletes a Connect peer.deleteConnectPeer
(DeleteConnectPeerRequest deleteConnectPeerRequest) Deletes a Connect peer.deleteCoreNetwork
(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest) Deletes a core network along with all core network policies.deleteCoreNetwork
(DeleteCoreNetworkRequest deleteCoreNetworkRequest) Deletes a core network along with all core network policies.deleteCoreNetworkPolicyVersion
(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest) Deletes a policy version from a core network.deleteCoreNetworkPolicyVersion
(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest) Deletes a policy version from a core network.default CompletableFuture
<DeleteDeviceResponse> deleteDevice
(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) Deletes an existing device.default CompletableFuture
<DeleteDeviceResponse> deleteDevice
(DeleteDeviceRequest deleteDeviceRequest) Deletes an existing device.deleteGlobalNetwork
(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) Deletes an existing global network.deleteGlobalNetwork
(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) Deletes an existing global network.default CompletableFuture
<DeleteLinkResponse> deleteLink
(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) Deletes an existing link.default CompletableFuture
<DeleteLinkResponse> deleteLink
(DeleteLinkRequest deleteLinkRequest) Deletes an existing link.default CompletableFuture
<DeletePeeringResponse> deletePeering
(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest) Deletes an existing peering connection.default CompletableFuture
<DeletePeeringResponse> deletePeering
(DeletePeeringRequest deletePeeringRequest) Deletes an existing peering connection.deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes a resource policy for the specified resource.deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes a resource policy for the specified resource.default CompletableFuture
<DeleteSiteResponse> deleteSite
(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) Deletes an existing site.default CompletableFuture
<DeleteSiteResponse> deleteSite
(DeleteSiteRequest deleteSiteRequest) Deletes an existing site.deregisterTransitGateway
(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) Deregisters a transit gateway from your global network.deregisterTransitGateway
(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) Deregisters a transit gateway from your global network.describeGlobalNetworks
(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) Describes one or more global networks.describeGlobalNetworks
(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) Describes one or more global networks.default DescribeGlobalNetworksPublisher
describeGlobalNetworksPaginator
(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.default DescribeGlobalNetworksPublisher
describeGlobalNetworksPaginator
(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.disassociateConnectPeer
(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.disassociateConnectPeer
(DisassociateConnectPeerRequest disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.disassociateCustomerGateway
(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest) Disassociates a customer gateway from a device and a link.disassociateCustomerGateway
(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest) Disassociates a customer gateway from a device and a link.disassociateLink
(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) Disassociates an existing device from a link.disassociateLink
(DisassociateLinkRequest disassociateLinkRequest) Disassociates an existing device from a link.disassociateTransitGatewayConnectPeer
(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest) Disassociates a transit gateway Connect peer from a device and link.disassociateTransitGatewayConnectPeer
(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest) Disassociates a transit gateway Connect peer from a device and link.executeCoreNetworkChangeSet
(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest) Executes a change set on your core network.executeCoreNetworkChangeSet
(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest) Executes a change set on your core network.getConnectAttachment
(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest) Returns information about a core network Connect attachment.getConnectAttachment
(GetConnectAttachmentRequest getConnectAttachmentRequest) Returns information about a core network Connect attachment.default CompletableFuture
<GetConnectionsResponse> getConnections
(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) Gets information about one or more of your connections in a global network.default CompletableFuture
<GetConnectionsResponse> getConnections
(GetConnectionsRequest getConnectionsRequest) Gets information about one or more of your connections in a global network.default GetConnectionsPublisher
getConnectionsPaginator
(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.default GetConnectionsPublisher
getConnectionsPaginator
(GetConnectionsRequest getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.default CompletableFuture
<GetConnectPeerResponse> getConnectPeer
(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest) Returns information about a core network Connect peer.default CompletableFuture
<GetConnectPeerResponse> getConnectPeer
(GetConnectPeerRequest getConnectPeerRequest) Returns information about a core network Connect peer.getConnectPeerAssociations
(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) Returns information about a core network Connect peer associations.getConnectPeerAssociations
(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) Returns information about a core network Connect peer associations.getConnectPeerAssociationsPaginator
(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) This is a variant ofgetConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation.getConnectPeerAssociationsPaginator
(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) This is a variant ofgetConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation.default CompletableFuture
<GetCoreNetworkResponse> getCoreNetwork
(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest) Returns information about the LIVE policy for a core network.default CompletableFuture
<GetCoreNetworkResponse> getCoreNetwork
(GetCoreNetworkRequest getCoreNetworkRequest) Returns information about the LIVE policy for a core network.getCoreNetworkChangeEvents
(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) Returns information about a core network change event.getCoreNetworkChangeEvents
(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) Returns information about a core network change event.getCoreNetworkChangeEventsPaginator
(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) This is a variant ofgetCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation.getCoreNetworkChangeEventsPaginator
(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) This is a variant ofgetCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation.getCoreNetworkChangeSet
(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.getCoreNetworkChangeSet
(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.default GetCoreNetworkChangeSetPublisher
getCoreNetworkChangeSetPaginator
(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.default GetCoreNetworkChangeSetPublisher
getCoreNetworkChangeSetPaginator
(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.getCoreNetworkPolicy
(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest) Returns details about a core network policy.getCoreNetworkPolicy
(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest) Returns details about a core network policy.getCustomerGatewayAssociations
(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) Gets the association information for customer gateways that are associated with devices and links in your global network.getCustomerGatewayAssociations
(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) Gets the association information for customer gateways that are associated with devices and links in your global network.getCustomerGatewayAssociationsPaginator
(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) This is a variant ofgetCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.getCustomerGatewayAssociationsPaginator
(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) This is a variant ofgetCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.default CompletableFuture
<GetDevicesResponse> getDevices
(Consumer<GetDevicesRequest.Builder> getDevicesRequest) Gets information about one or more of your devices in a global network.default CompletableFuture
<GetDevicesResponse> getDevices
(GetDevicesRequest getDevicesRequest) Gets information about one or more of your devices in a global network.default GetDevicesPublisher
getDevicesPaginator
(Consumer<GetDevicesRequest.Builder> getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation.default GetDevicesPublisher
getDevicesPaginator
(GetDevicesRequest getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation.getLinkAssociations
(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) Gets the link associations for a device or a link.getLinkAssociations
(GetLinkAssociationsRequest getLinkAssociationsRequest) Gets the link associations for a device or a link.default GetLinkAssociationsPublisher
getLinkAssociationsPaginator
(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.default GetLinkAssociationsPublisher
getLinkAssociationsPaginator
(GetLinkAssociationsRequest getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.default CompletableFuture
<GetLinksResponse> getLinks
(Consumer<GetLinksRequest.Builder> getLinksRequest) Gets information about one or more links in a specified global network.default CompletableFuture
<GetLinksResponse> getLinks
(GetLinksRequest getLinksRequest) Gets information about one or more links in a specified global network.default GetLinksPublisher
getLinksPaginator
(Consumer<GetLinksRequest.Builder> getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation.default GetLinksPublisher
getLinksPaginator
(GetLinksRequest getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation.getNetworkResourceCounts
(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.getNetworkResourceCounts
(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.getNetworkResourceCountsPaginator
(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) This is a variant ofgetNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.getNetworkResourceCountsPaginator
(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) This is a variant ofgetNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.getNetworkResourceRelationships
(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) Gets the network resource relationships for the specified global network.getNetworkResourceRelationships
(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) Gets the network resource relationships for the specified global network.getNetworkResourceRelationshipsPaginator
(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) This is a variant ofgetNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation.getNetworkResourceRelationshipsPaginator
(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) This is a variant ofgetNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation.getNetworkResources
(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) Describes the network resources for the specified global network.getNetworkResources
(GetNetworkResourcesRequest getNetworkResourcesRequest) Describes the network resources for the specified global network.default GetNetworkResourcesPublisher
getNetworkResourcesPaginator
(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.default GetNetworkResourcesPublisher
getNetworkResourcesPaginator
(GetNetworkResourcesRequest getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.getNetworkRoutes
(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest) Gets the network routes of the specified global network.getNetworkRoutes
(GetNetworkRoutesRequest getNetworkRoutesRequest) Gets the network routes of the specified global network.getNetworkTelemetry
(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.getNetworkTelemetry
(GetNetworkTelemetryRequest getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.default GetNetworkTelemetryPublisher
getNetworkTelemetryPaginator
(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.default GetNetworkTelemetryPublisher
getNetworkTelemetryPaginator
(GetNetworkTelemetryRequest getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.getResourcePolicy
(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Returns information about a resource policy.getResourcePolicy
(GetResourcePolicyRequest getResourcePolicyRequest) Returns information about a resource policy.getRouteAnalysis
(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest) Gets information about the specified route analysis.getRouteAnalysis
(GetRouteAnalysisRequest getRouteAnalysisRequest) Gets information about the specified route analysis.default CompletableFuture
<GetSitesResponse> getSites
(Consumer<GetSitesRequest.Builder> getSitesRequest) Gets information about one or more of your sites in a global network.default CompletableFuture
<GetSitesResponse> getSites
(GetSitesRequest getSitesRequest) Gets information about one or more of your sites in a global network.default GetSitesPublisher
getSitesPaginator
(Consumer<GetSitesRequest.Builder> getSitesRequest) This is a variant ofgetSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation.default GetSitesPublisher
getSitesPaginator
(GetSitesRequest getSitesRequest) This is a variant ofgetSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation.getSiteToSiteVpnAttachment
(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest) Returns information about a site-to-site VPN attachment.getSiteToSiteVpnAttachment
(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest) Returns information about a site-to-site VPN attachment.getTransitGatewayConnectPeerAssociations
(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) Gets information about one or more of your transit gateway Connect peer associations in a global network.getTransitGatewayConnectPeerAssociations
(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) Gets information about one or more of your transit gateway Connect peer associations in a global network.getTransitGatewayConnectPeerAssociationsPaginator
(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) getTransitGatewayConnectPeerAssociationsPaginator
(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) getTransitGatewayPeering
(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.getTransitGatewayPeering
(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.getTransitGatewayRegistrations
(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) Gets information about the transit gateway registrations in a specified global network.getTransitGatewayRegistrations
(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) Gets information about the transit gateway registrations in a specified global network.getTransitGatewayRegistrationsPaginator
(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) This is a variant ofgetTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.getTransitGatewayRegistrationsPaginator
(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) This is a variant ofgetTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.getTransitGatewayRouteTableAttachment
(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest) Returns information about a transit gateway route table attachment.getTransitGatewayRouteTableAttachment
(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest) Returns information about a transit gateway route table attachment.getVpcAttachment
(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest) Returns information about a VPC attachment.getVpcAttachment
(GetVpcAttachmentRequest getVpcAttachmentRequest) Returns information about a VPC attachment.default CompletableFuture
<ListAttachmentsResponse> listAttachments
(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) Returns a list of core network attachments.default CompletableFuture
<ListAttachmentsResponse> listAttachments
(ListAttachmentsRequest listAttachmentsRequest) Returns a list of core network attachments.default ListAttachmentsPublisher
listAttachmentsPaginator
(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.default ListAttachmentsPublisher
listAttachmentsPaginator
(ListAttachmentsRequest listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.listConnectPeers
(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) Returns a list of core network Connect peers.listConnectPeers
(ListConnectPeersRequest listConnectPeersRequest) Returns a list of core network Connect peers.default ListConnectPeersPublisher
listConnectPeersPaginator
(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) This is a variant oflistConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.default ListConnectPeersPublisher
listConnectPeersPaginator
(ListConnectPeersRequest listConnectPeersRequest) This is a variant oflistConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.listCoreNetworkPolicyVersions
(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) Returns a list of core network policy versions.listCoreNetworkPolicyVersions
(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) Returns a list of core network policy versions.listCoreNetworkPolicyVersionsPaginator
(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) This is a variant oflistCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation.listCoreNetworkPolicyVersionsPaginator
(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) This is a variant oflistCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation.listCoreNetworks
(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) Returns a list of owned and shared core networks.listCoreNetworks
(ListCoreNetworksRequest listCoreNetworksRequest) Returns a list of owned and shared core networks.default ListCoreNetworksPublisher
listCoreNetworksPaginator
(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) This is a variant oflistCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.default ListCoreNetworksPublisher
listCoreNetworksPaginator
(ListCoreNetworksRequest listCoreNetworksRequest) This is a variant oflistCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.listOrganizationServiceAccessStatus
(Consumer<ListOrganizationServiceAccessStatusRequest.Builder> listOrganizationServiceAccessStatusRequest) Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.listOrganizationServiceAccessStatus
(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest) Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.default CompletableFuture
<ListPeeringsResponse> listPeerings
(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) Lists the peerings for a core network.default CompletableFuture
<ListPeeringsResponse> listPeerings
(ListPeeringsRequest listPeeringsRequest) Lists the peerings for a core network.default ListPeeringsPublisher
listPeeringsPaginator
(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation.default ListPeeringsPublisher
listPeeringsPaginator
(ListPeeringsRequest listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a specified resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a specified resource.putCoreNetworkPolicy
(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy.putCoreNetworkPolicy
(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy.putResourcePolicy
(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or updates a resource policy.putResourcePolicy
(PutResourcePolicyRequest putResourcePolicyRequest) Creates or updates a resource policy.registerTransitGateway
(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) Registers a transit gateway in your global network.registerTransitGateway
(RegisterTransitGatewayRequest registerTransitGatewayRequest) Registers a transit gateway in your global network.rejectAttachment
(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest) Rejects a core network attachment request.rejectAttachment
(RejectAttachmentRequest rejectAttachmentRequest) Rejects a core network attachment request.restoreCoreNetworkPolicyVersion
(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest) Restores a previous policy version as a new, immutable version of a core network policy.restoreCoreNetworkPolicyVersion
(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest) Restores a previous policy version as a new, immutable version of a core network policy.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartOrganizationServiceAccessUpdate
(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest) Enables the Network Manager service for an Amazon Web Services Organization.startOrganizationServiceAccessUpdate
(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest) Enables the Network Manager service for an Amazon Web Services Organization.startRouteAnalysis
(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination.startRouteAnalysis
(StartRouteAnalysisRequest startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Tags a specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a specified resource.updateConnection
(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) Updates the information for an existing connection.updateConnection
(UpdateConnectionRequest updateConnectionRequest) Updates the information for an existing connection.updateCoreNetwork
(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest) Updates the description of a core network.updateCoreNetwork
(UpdateCoreNetworkRequest updateCoreNetworkRequest) Updates the description of a core network.default CompletableFuture
<UpdateDeviceResponse> updateDevice
(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) Updates the details for an existing device.default CompletableFuture
<UpdateDeviceResponse> updateDevice
(UpdateDeviceRequest updateDeviceRequest) Updates the details for an existing device.updateGlobalNetwork
(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) Updates an existing global network.updateGlobalNetwork
(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) Updates an existing global network.default CompletableFuture
<UpdateLinkResponse> updateLink
(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) Updates the details for an existing link.default CompletableFuture
<UpdateLinkResponse> updateLink
(UpdateLinkRequest updateLinkRequest) Updates the details for an existing link.updateNetworkResourceMetadata
(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest) Updates the resource metadata for the specified global network.updateNetworkResourceMetadata
(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest) Updates the resource metadata for the specified global network.default CompletableFuture
<UpdateSiteResponse> updateSite
(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) Updates the information for an existing site.default CompletableFuture
<UpdateSiteResponse> updateSite
(UpdateSiteRequest updateSiteRequest) Updates the information for an existing site.updateVpcAttachment
(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest) Updates a VPC attachment.updateVpcAttachment
(UpdateVpcAttachmentRequest updateVpcAttachmentRequest) Updates a VPC attachment.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptAttachment
default CompletableFuture<AcceptAttachmentResponse> acceptAttachment(AcceptAttachmentRequest acceptAttachmentRequest) Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
- Parameters:
acceptAttachmentRequest
-- Returns:
- A Java Future containing the result of the AcceptAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
acceptAttachment
default CompletableFuture<AcceptAttachmentResponse> acceptAttachment(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest) Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
This is a convenience which creates an instance of the
AcceptAttachmentRequest.Builder
avoiding the need to create one manually viaAcceptAttachmentRequest.builder()
- Parameters:
acceptAttachmentRequest
- AConsumer
that will call methods onAcceptAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AcceptAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateConnectPeer
default CompletableFuture<AssociateConnectPeerResponse> associateConnectPeer(AssociateConnectPeerRequest associateConnectPeerRequest) Associates a core network 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 core network Connect peers that have been created on a core network Connect attachment on a core network.
- Parameters:
associateConnectPeerRequest
-- Returns:
- A Java Future containing the result of the AssociateConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateConnectPeer
default CompletableFuture<AssociateConnectPeerResponse> associateConnectPeer(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest) Associates a core network 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 core network Connect peers that have been created on a core network Connect attachment on a core network.
This is a convenience which creates an instance of the
AssociateConnectPeerRequest.Builder
avoiding the need to create one manually viaAssociateConnectPeerRequest.builder()
- Parameters:
associateConnectPeerRequest
- AConsumer
that will call methods onAssociateConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateCustomerGateway
default CompletableFuture<AssociateCustomerGatewayResponse> associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) 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 or core network registered in your global network. When you register a transit gateway or core network, 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.
- Parameters:
associateCustomerGatewayRequest
-- Returns:
- A Java Future containing the result of the AssociateCustomerGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateCustomerGateway
default CompletableFuture<AssociateCustomerGatewayResponse> associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) 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 or core network registered in your global network. When you register a transit gateway or core network, 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 viaAssociateCustomerGatewayRequest.builder()
- Parameters:
associateCustomerGatewayRequest
- AConsumer
that will call methods onAssociateCustomerGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateCustomerGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateLink
default CompletableFuture<AssociateLinkResponse> associateLink(AssociateLinkRequest associateLinkRequest) 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.
- Parameters:
associateLinkRequest
-- Returns:
- A Java Future containing the result of the AssociateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateLink
default CompletableFuture<AssociateLinkResponse> associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) 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 viaAssociateLinkRequest.builder()
- Parameters:
associateLinkRequest
- AConsumer
that will call methods onAssociateLinkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateTransitGatewayConnectPeer
default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest) 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.
- Parameters:
associateTransitGatewayConnectPeerRequest
-- Returns:
- A Java Future containing the result of the AssociateTransitGatewayConnectPeer operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
associateTransitGatewayConnectPeer
default CompletableFuture<AssociateTransitGatewayConnectPeerResponse> associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest) 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 viaAssociateTransitGatewayConnectPeerRequest.builder()
- Parameters:
associateTransitGatewayConnectPeerRequest
- AConsumer
that will call methods onAssociateTransitGatewayConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateTransitGatewayConnectPeer operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createConnectAttachment
default CompletableFuture<CreateConnectAttachmentResponse> createConnectAttachment(CreateConnectAttachmentRequest createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
- Parameters:
createConnectAttachmentRequest
-- Returns:
- A Java Future containing the result of the CreateConnectAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createConnectAttachment
default CompletableFuture<CreateConnectAttachmentResponse> createConnectAttachment(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest) Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
This is a convenience which creates an instance of the
CreateConnectAttachmentRequest.Builder
avoiding the need to create one manually viaCreateConnectAttachmentRequest.builder()
- Parameters:
createConnectAttachmentRequest
- AConsumer
that will call methods onCreateConnectAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateConnectAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createConnectPeer
default CompletableFuture<CreateConnectPeerResponse> createConnectPeer(CreateConnectPeerRequest createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
- Parameters:
createConnectPeerRequest
-- Returns:
- A Java Future containing the result of the CreateConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createConnectPeer
default CompletableFuture<CreateConnectPeerResponse> createConnectPeer(Consumer<CreateConnectPeerRequest.Builder> createConnectPeerRequest) Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
This is a convenience which creates an instance of the
CreateConnectPeerRequest.Builder
avoiding the need to create one manually viaCreateConnectPeerRequest.builder()
- Parameters:
createConnectPeerRequest
- AConsumer
that will call methods onCreateConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createConnection
default CompletableFuture<CreateConnectionResponse> createConnection(CreateConnectionRequest createConnectionRequest) 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.
- Parameters:
createConnectionRequest
-- Returns:
- A Java Future containing the result of the CreateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createConnection
default CompletableFuture<CreateConnectionResponse> createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) 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 viaCreateConnectionRequest.builder()
- Parameters:
createConnectionRequest
- AConsumer
that will call methods onCreateConnectionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createCoreNetwork
default CompletableFuture<CreateCoreNetworkResponse> createCoreNetwork(CreateCoreNetworkRequest createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.
- Parameters:
createCoreNetworkRequest
-- Returns:
- A Java Future containing the result of the CreateCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- CoreNetworkPolicyException Describes a core network policy exception.
- 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.
- See Also:
-
createCoreNetwork
default CompletableFuture<CreateCoreNetworkResponse> createCoreNetwork(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest) Creates a core network as part of your global network, and optionally, with a core network policy.
This is a convenience which creates an instance of the
CreateCoreNetworkRequest.Builder
avoiding the need to create one manually viaCreateCoreNetworkRequest.builder()
- Parameters:
createCoreNetworkRequest
- AConsumer
that will call methods onCreateCoreNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- CoreNetworkPolicyException Describes a core network policy exception.
- 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.
- See Also:
-
createDevice
default CompletableFuture<CreateDeviceResponse> createDevice(CreateDeviceRequest createDeviceRequest) 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.
- Parameters:
createDeviceRequest
-- Returns:
- A Java Future containing the result of the CreateDevice operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createDevice
default CompletableFuture<CreateDeviceResponse> createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) 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 viaCreateDeviceRequest.builder()
- Parameters:
createDeviceRequest
- AConsumer
that will call methods onCreateDeviceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateDevice operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createGlobalNetwork
default CompletableFuture<CreateGlobalNetworkResponse> createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest) Creates a new, empty global network.
- Parameters:
createGlobalNetworkRequest
-- Returns:
- A Java Future containing the result of the CreateGlobalNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createGlobalNetwork
default CompletableFuture<CreateGlobalNetworkResponse> createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) 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 viaCreateGlobalNetworkRequest.builder()
- Parameters:
createGlobalNetworkRequest
- AConsumer
that will call methods onCreateGlobalNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateGlobalNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createLink
Creates a new link for a specified site.
- Parameters:
createLinkRequest
-- Returns:
- A Java Future containing the result of the CreateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createLink
default CompletableFuture<CreateLinkResponse> createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest) 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 viaCreateLinkRequest.builder()
- Parameters:
createLinkRequest
- AConsumer
that will call methods onCreateLinkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createSite
Creates a new site in a global network.
- Parameters:
createSiteRequest
-- Returns:
- A Java Future containing the result of the CreateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createSite
default CompletableFuture<CreateSiteResponse> createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest) 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 viaCreateSiteRequest.builder()
- Parameters:
createSiteRequest
- AConsumer
that will call methods onCreateSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createSiteToSiteVpnAttachment
default CompletableFuture<CreateSiteToSiteVpnAttachmentResponse> createSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest) Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
- Parameters:
createSiteToSiteVpnAttachmentRequest
-- Returns:
- A Java Future containing the result of the CreateSiteToSiteVpnAttachment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createSiteToSiteVpnAttachment
default CompletableFuture<CreateSiteToSiteVpnAttachmentResponse> createSiteToSiteVpnAttachment(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest) Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
This is a convenience which creates an instance of the
CreateSiteToSiteVpnAttachmentRequest.Builder
avoiding the need to create one manually viaCreateSiteToSiteVpnAttachmentRequest.builder()
- Parameters:
createSiteToSiteVpnAttachmentRequest
- AConsumer
that will call methods onCreateSiteToSiteVpnAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSiteToSiteVpnAttachment operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createTransitGatewayPeering
default CompletableFuture<CreateTransitGatewayPeeringResponse> createTransitGatewayPeering(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest) Creates a transit gateway peering connection.
- Parameters:
createTransitGatewayPeeringRequest
-- Returns:
- A Java Future containing the result of the CreateTransitGatewayPeering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createTransitGatewayPeering
default CompletableFuture<CreateTransitGatewayPeeringResponse> createTransitGatewayPeering(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest) Creates a transit gateway peering connection.
This is a convenience which creates an instance of the
CreateTransitGatewayPeeringRequest.Builder
avoiding the need to create one manually viaCreateTransitGatewayPeeringRequest.builder()
- Parameters:
createTransitGatewayPeeringRequest
- AConsumer
that will call methods onCreateTransitGatewayPeeringRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateTransitGatewayPeering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createTransitGatewayRouteTableAttachment
default CompletableFuture<CreateTransitGatewayRouteTableAttachmentResponse> createTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest) Creates a transit gateway route table attachment.
- Parameters:
createTransitGatewayRouteTableAttachmentRequest
-- Returns:
- A Java Future containing the result of the CreateTransitGatewayRouteTableAttachment operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createTransitGatewayRouteTableAttachment
default CompletableFuture<CreateTransitGatewayRouteTableAttachmentResponse> createTransitGatewayRouteTableAttachment(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest) Creates a transit gateway route table attachment.
This is a convenience which creates an instance of the
CreateTransitGatewayRouteTableAttachmentRequest.Builder
avoiding the need to create one manually viaCreateTransitGatewayRouteTableAttachmentRequest.builder()
- Parameters:
createTransitGatewayRouteTableAttachmentRequest
- AConsumer
that will call methods onCreateTransitGatewayRouteTableAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateTransitGatewayRouteTableAttachment operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createVpcAttachment
default CompletableFuture<CreateVpcAttachmentResponse> createVpcAttachment(CreateVpcAttachmentRequest createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.
- Parameters:
createVpcAttachmentRequest
-- Returns:
- A Java Future containing the result of the CreateVpcAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
createVpcAttachment
default CompletableFuture<CreateVpcAttachmentResponse> createVpcAttachment(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest) Creates a VPC attachment on an edge location of a core network.
This is a convenience which creates an instance of the
CreateVpcAttachmentRequest.Builder
avoiding the need to create one manually viaCreateVpcAttachmentRequest.builder()
- Parameters:
createVpcAttachmentRequest
- AConsumer
that will call methods onCreateVpcAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateVpcAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteAttachment
default CompletableFuture<DeleteAttachmentResponse> deleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest) Deletes an attachment. Supports all attachment types.
- Parameters:
deleteAttachmentRequest
-- Returns:
- A Java Future containing the result of the DeleteAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteAttachment
default CompletableFuture<DeleteAttachmentResponse> deleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) Deletes an attachment. Supports all attachment types.
This is a convenience which creates an instance of the
DeleteAttachmentRequest.Builder
avoiding the need to create one manually viaDeleteAttachmentRequest.builder()
- Parameters:
deleteAttachmentRequest
- AConsumer
that will call methods onDeleteAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteConnectPeer
default CompletableFuture<DeleteConnectPeerResponse> deleteConnectPeer(DeleteConnectPeerRequest deleteConnectPeerRequest) Deletes a Connect peer.
- Parameters:
deleteConnectPeerRequest
-- Returns:
- A Java Future containing the result of the DeleteConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteConnectPeer
default CompletableFuture<DeleteConnectPeerResponse> deleteConnectPeer(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest) Deletes a Connect peer.
This is a convenience which creates an instance of the
DeleteConnectPeerRequest.Builder
avoiding the need to create one manually viaDeleteConnectPeerRequest.builder()
- Parameters:
deleteConnectPeerRequest
- AConsumer
that will call methods onDeleteConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteConnection
default CompletableFuture<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest deleteConnectionRequest) Deletes the specified connection in your global network.
- Parameters:
deleteConnectionRequest
-- Returns:
- A Java Future containing the result of the DeleteConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteConnection
default CompletableFuture<DeleteConnectionResponse> deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) 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 viaDeleteConnectionRequest.builder()
- Parameters:
deleteConnectionRequest
- AConsumer
that will call methods onDeleteConnectionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteCoreNetwork
default CompletableFuture<DeleteCoreNetworkResponse> deleteCoreNetwork(DeleteCoreNetworkRequest deleteCoreNetworkRequest) Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
- Parameters:
deleteCoreNetworkRequest
-- Returns:
- A Java Future containing the result of the DeleteCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteCoreNetwork
default CompletableFuture<DeleteCoreNetworkResponse> deleteCoreNetwork(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest) Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
This is a convenience which creates an instance of the
DeleteCoreNetworkRequest.Builder
avoiding the need to create one manually viaDeleteCoreNetworkRequest.builder()
- Parameters:
deleteCoreNetworkRequest
- AConsumer
that will call methods onDeleteCoreNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteCoreNetworkPolicyVersion
default CompletableFuture<DeleteCoreNetworkPolicyVersionResponse> deleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest) Deletes a policy version from a core network. You can't delete the current LIVE policy.
- Parameters:
deleteCoreNetworkPolicyVersionRequest
-- Returns:
- A Java Future containing the result of the DeleteCoreNetworkPolicyVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
deleteCoreNetworkPolicyVersion
default CompletableFuture<DeleteCoreNetworkPolicyVersionResponse> deleteCoreNetworkPolicyVersion(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest) Deletes a policy version from a core network. You can't delete the current LIVE policy.
This is a convenience which creates an instance of the
DeleteCoreNetworkPolicyVersionRequest.Builder
avoiding the need to create one manually viaDeleteCoreNetworkPolicyVersionRequest.builder()
- Parameters:
deleteCoreNetworkPolicyVersionRequest
- AConsumer
that will call methods onDeleteCoreNetworkPolicyVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCoreNetworkPolicyVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
deleteDevice
default CompletableFuture<DeleteDeviceResponse> deleteDevice(DeleteDeviceRequest deleteDeviceRequest) Deletes an existing device. You must first disassociate the device from any links and customer gateways.
- Parameters:
deleteDeviceRequest
-- Returns:
- A Java Future containing the result of the DeleteDevice operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteDevice
default CompletableFuture<DeleteDeviceResponse> deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) 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 viaDeleteDeviceRequest.builder()
- Parameters:
deleteDeviceRequest
- AConsumer
that will call methods onDeleteDeviceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteDevice operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteGlobalNetwork
default CompletableFuture<DeleteGlobalNetworkResponse> deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
- Parameters:
deleteGlobalNetworkRequest
-- Returns:
- A Java Future containing the result of the DeleteGlobalNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteGlobalNetwork
default CompletableFuture<DeleteGlobalNetworkResponse> deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
This is a convenience which creates an instance of the
DeleteGlobalNetworkRequest.Builder
avoiding the need to create one manually viaDeleteGlobalNetworkRequest.builder()
- Parameters:
deleteGlobalNetworkRequest
- AConsumer
that will call methods onDeleteGlobalNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteGlobalNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteLink
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
- Parameters:
deleteLinkRequest
-- Returns:
- A Java Future containing the result of the DeleteLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteLink
default CompletableFuture<DeleteLinkResponse> deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) 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 viaDeleteLinkRequest.builder()
- Parameters:
deleteLinkRequest
- AConsumer
that will call methods onDeleteLinkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deletePeering
default CompletableFuture<DeletePeeringResponse> deletePeering(DeletePeeringRequest deletePeeringRequest) Deletes an existing peering connection.
- Parameters:
deletePeeringRequest
-- Returns:
- A Java Future containing the result of the DeletePeering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deletePeering
default CompletableFuture<DeletePeeringResponse> deletePeering(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest) Deletes an existing peering connection.
This is a convenience which creates an instance of the
DeletePeeringRequest.Builder
avoiding the need to create one manually viaDeletePeeringRequest.builder()
- Parameters:
deletePeeringRequest
- AConsumer
that will call methods onDeletePeeringRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeletePeering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
- Parameters:
deleteResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- 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.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builder
avoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- 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.
- See Also:
-
deleteSite
Deletes an existing site. The site cannot be associated with any device or link.
- Parameters:
deleteSiteRequest
-- Returns:
- A Java Future containing the result of the DeleteSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deleteSite
default CompletableFuture<DeleteSiteResponse> deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) 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 viaDeleteSiteRequest.builder()
- Parameters:
deleteSiteRequest
- AConsumer
that will call methods onDeleteSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deregisterTransitGateway
default CompletableFuture<DeregisterTransitGatewayResponse> deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) 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.
- Parameters:
deregisterTransitGatewayRequest
-- Returns:
- A Java Future containing the result of the DeregisterTransitGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
deregisterTransitGateway
default CompletableFuture<DeregisterTransitGatewayResponse> deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) 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 viaDeregisterTransitGatewayRequest.builder()
- Parameters:
deregisterTransitGatewayRequest
- AConsumer
that will call methods onDeregisterTransitGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeregisterTransitGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
describeGlobalNetworks
default CompletableFuture<DescribeGlobalNetworksResponse> describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) 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.- Parameters:
describeGlobalNetworksRequest
-- Returns:
- A Java Future containing the result of the DescribeGlobalNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
describeGlobalNetworks
default CompletableFuture<DescribeGlobalNetworksResponse> describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) 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 viaDescribeGlobalNetworksRequest.builder()
- Parameters:
describeGlobalNetworksRequest
- AConsumer
that will call methods onDescribeGlobalNetworksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeGlobalNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
describeGlobalNetworksPaginator
default DescribeGlobalNetworksPublisher describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.- Parameters:
describeGlobalNetworksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
describeGlobalNetworksPaginator
default DescribeGlobalNetworksPublisher describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaDescribeGlobalNetworksRequest.builder()
- Parameters:
describeGlobalNetworksRequest
- AConsumer
that will call methods onDescribeGlobalNetworksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateConnectPeer
default CompletableFuture<DisassociateConnectPeerResponse> disassociateConnectPeer(DisassociateConnectPeerRequest disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.
- Parameters:
disassociateConnectPeerRequest
-- Returns:
- A Java Future containing the result of the DisassociateConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateConnectPeer
default CompletableFuture<DisassociateConnectPeerResponse> disassociateConnectPeer(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest) Disassociates a core network Connect peer from a device and a link.
This is a convenience which creates an instance of the
DisassociateConnectPeerRequest.Builder
avoiding the need to create one manually viaDisassociateConnectPeerRequest.builder()
- Parameters:
disassociateConnectPeerRequest
- AConsumer
that will call methods onDisassociateConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateCustomerGateway
default CompletableFuture<DisassociateCustomerGatewayResponse> disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest) Disassociates a customer gateway from a device and a link.
- Parameters:
disassociateCustomerGatewayRequest
-- Returns:
- A Java Future containing the result of the DisassociateCustomerGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateCustomerGateway
default CompletableFuture<DisassociateCustomerGatewayResponse> disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest) 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 viaDisassociateCustomerGatewayRequest.builder()
- Parameters:
disassociateCustomerGatewayRequest
- AConsumer
that will call methods onDisassociateCustomerGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateCustomerGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateLink
default CompletableFuture<DisassociateLinkResponse> disassociateLink(DisassociateLinkRequest disassociateLinkRequest) Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
- Parameters:
disassociateLinkRequest
-- Returns:
- A Java Future containing the result of the DisassociateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateLink
default CompletableFuture<DisassociateLinkResponse> disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) 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 viaDisassociateLinkRequest.builder()
- Parameters:
disassociateLinkRequest
- AConsumer
that will call methods onDisassociateLinkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateTransitGatewayConnectPeer
default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest) Disassociates a transit gateway Connect peer from a device and link.
- Parameters:
disassociateTransitGatewayConnectPeerRequest
-- Returns:
- A Java Future containing the result of the DisassociateTransitGatewayConnectPeer operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
disassociateTransitGatewayConnectPeer
default CompletableFuture<DisassociateTransitGatewayConnectPeerResponse> disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest) 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 viaDisassociateTransitGatewayConnectPeerRequest.builder()
- Parameters:
disassociateTransitGatewayConnectPeerRequest
- AConsumer
that will call methods onDisassociateTransitGatewayConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateTransitGatewayConnectPeer operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
executeCoreNetworkChangeSet
default CompletableFuture<ExecuteCoreNetworkChangeSetResponse> executeCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest) Executes a change set on your core network. Deploys changes globally based on the policy submitted..
- Parameters:
executeCoreNetworkChangeSetRequest
-- Returns:
- A Java Future containing the result of the ExecuteCoreNetworkChangeSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
executeCoreNetworkChangeSet
default CompletableFuture<ExecuteCoreNetworkChangeSetResponse> executeCoreNetworkChangeSet(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest) Executes a change set on your core network. Deploys changes globally based on the policy submitted..
This is a convenience which creates an instance of the
ExecuteCoreNetworkChangeSetRequest.Builder
avoiding the need to create one manually viaExecuteCoreNetworkChangeSetRequest.builder()
- Parameters:
executeCoreNetworkChangeSetRequest
- AConsumer
that will call methods onExecuteCoreNetworkChangeSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ExecuteCoreNetworkChangeSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
getConnectAttachment
default CompletableFuture<GetConnectAttachmentResponse> getConnectAttachment(GetConnectAttachmentRequest getConnectAttachmentRequest) Returns information about a core network Connect attachment.
- Parameters:
getConnectAttachmentRequest
-- Returns:
- A Java Future containing the result of the GetConnectAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectAttachment
default CompletableFuture<GetConnectAttachmentResponse> getConnectAttachment(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest) Returns information about a core network Connect attachment.
This is a convenience which creates an instance of the
GetConnectAttachmentRequest.Builder
avoiding the need to create one manually viaGetConnectAttachmentRequest.builder()
- Parameters:
getConnectAttachmentRequest
- AConsumer
that will call methods onGetConnectAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectPeer
default CompletableFuture<GetConnectPeerResponse> getConnectPeer(GetConnectPeerRequest getConnectPeerRequest) Returns information about a core network Connect peer.
- Parameters:
getConnectPeerRequest
-- Returns:
- A Java Future containing the result of the GetConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectPeer
default CompletableFuture<GetConnectPeerResponse> getConnectPeer(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest) Returns information about a core network Connect peer.
This is a convenience which creates an instance of the
GetConnectPeerRequest.Builder
avoiding the need to create one manually viaGetConnectPeerRequest.builder()
- Parameters:
getConnectPeerRequest
- AConsumer
that will call methods onGetConnectPeerRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectPeer operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectPeerAssociations
default CompletableFuture<GetConnectPeerAssociationsResponse> getConnectPeerAssociations(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) Returns information about a core network Connect peer associations.
- Parameters:
getConnectPeerAssociationsRequest
-- Returns:
- A Java Future containing the result of the GetConnectPeerAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectPeerAssociations
default CompletableFuture<GetConnectPeerAssociationsResponse> getConnectPeerAssociations(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) Returns information about a core network Connect peer associations.
This is a convenience which creates an instance of the
GetConnectPeerAssociationsRequest.Builder
avoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()
- Parameters:
getConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetConnectPeerAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnectPeerAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectPeerAssociationsPaginator
default GetConnectPeerAssociationsPublisher getConnectPeerAssociationsPaginator(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) This is a variant of
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation.- Parameters:
getConnectPeerAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectPeerAssociationsPaginator
default GetConnectPeerAssociationsPublisher getConnectPeerAssociationsPaginator(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) This is a variant of
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation.
This is a convenience which creates an instance of the
GetConnectPeerAssociationsRequest.Builder
avoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()
- Parameters:
getConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetConnectPeerAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnections
default CompletableFuture<GetConnectionsResponse> getConnections(GetConnectionsRequest getConnectionsRequest) Gets information about one or more of your connections in a global network.
- Parameters:
getConnectionsRequest
-- Returns:
- A Java Future containing the result of the GetConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnections
default CompletableFuture<GetConnectionsResponse> getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) 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 viaGetConnectionsRequest.builder()
- Parameters:
getConnectionsRequest
- AConsumer
that will call methods onGetConnectionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectionsPaginator
default GetConnectionsPublisher getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest) This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.- Parameters:
getConnectionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getConnectionsPaginator
default GetConnectionsPublisher getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetConnectionsRequest.builder()
- Parameters:
getConnectionsRequest
- AConsumer
that will call methods onGetConnectionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetwork
default CompletableFuture<GetCoreNetworkResponse> getCoreNetwork(GetCoreNetworkRequest getCoreNetworkRequest) Returns information about the LIVE policy for a core network.
- Parameters:
getCoreNetworkRequest
-- Returns:
- A Java Future containing the result of the GetCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetwork
default CompletableFuture<GetCoreNetworkResponse> getCoreNetwork(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest) Returns information about the LIVE policy for a core network.
This is a convenience which creates an instance of the
GetCoreNetworkRequest.Builder
avoiding the need to create one manually viaGetCoreNetworkRequest.builder()
- Parameters:
getCoreNetworkRequest
- AConsumer
that will call methods onGetCoreNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeEvents
default CompletableFuture<GetCoreNetworkChangeEventsResponse> getCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) Returns information about a core network change event.
- Parameters:
getCoreNetworkChangeEventsRequest
-- Returns:
- A Java Future containing the result of the GetCoreNetworkChangeEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeEvents
default CompletableFuture<GetCoreNetworkChangeEventsResponse> getCoreNetworkChangeEvents(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) Returns information about a core network change event.
This is a convenience which creates an instance of the
GetCoreNetworkChangeEventsRequest.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()
- Parameters:
getCoreNetworkChangeEventsRequest
- AConsumer
that will call methods onGetCoreNetworkChangeEventsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCoreNetworkChangeEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeEventsPaginator
default GetCoreNetworkChangeEventsPublisher getCoreNetworkChangeEventsPaginator(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) This is a variant of
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation.- Parameters:
getCoreNetworkChangeEventsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeEventsPaginator
default GetCoreNetworkChangeEventsPublisher getCoreNetworkChangeEventsPaginator(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) This is a variant of
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation.
This is a convenience which creates an instance of the
GetCoreNetworkChangeEventsRequest.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()
- Parameters:
getCoreNetworkChangeEventsRequest
- AConsumer
that will call methods onGetCoreNetworkChangeEventsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeSet
default CompletableFuture<GetCoreNetworkChangeSetResponse> getCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.
- Parameters:
getCoreNetworkChangeSetRequest
-- Returns:
- A Java Future containing the result of the GetCoreNetworkChangeSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeSet
default CompletableFuture<GetCoreNetworkChangeSetResponse> getCoreNetworkChangeSet(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) Returns a change set between the LIVE core network policy and a submitted policy.
This is a convenience which creates an instance of the
GetCoreNetworkChangeSetRequest.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()
- Parameters:
getCoreNetworkChangeSetRequest
- AConsumer
that will call methods onGetCoreNetworkChangeSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCoreNetworkChangeSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeSetPaginator
default GetCoreNetworkChangeSetPublisher getCoreNetworkChangeSetPaginator(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) This is a variant of
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.- Parameters:
getCoreNetworkChangeSetRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkChangeSetPaginator
default GetCoreNetworkChangeSetPublisher getCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) This is a variant of
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.
This is a convenience which creates an instance of the
GetCoreNetworkChangeSetRequest.Builder
avoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()
- Parameters:
getCoreNetworkChangeSetRequest
- AConsumer
that will call methods onGetCoreNetworkChangeSetRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkPolicy
default CompletableFuture<GetCoreNetworkPolicyResponse> getCoreNetworkPolicy(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest) Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
- Parameters:
getCoreNetworkPolicyRequest
-- Returns:
- A Java Future containing the result of the GetCoreNetworkPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCoreNetworkPolicy
default CompletableFuture<GetCoreNetworkPolicyResponse> getCoreNetworkPolicy(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest) Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
This is a convenience which creates an instance of the
GetCoreNetworkPolicyRequest.Builder
avoiding the need to create one manually viaGetCoreNetworkPolicyRequest.builder()
- Parameters:
getCoreNetworkPolicyRequest
- AConsumer
that will call methods onGetCoreNetworkPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCoreNetworkPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCustomerGatewayAssociations
default CompletableFuture<GetCustomerGatewayAssociationsResponse> getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) Gets the association information for customer gateways that are associated with devices and links in your global network.
- Parameters:
getCustomerGatewayAssociationsRequest
-- Returns:
- A Java Future containing the result of the GetCustomerGatewayAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCustomerGatewayAssociations
default CompletableFuture<GetCustomerGatewayAssociationsResponse> getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) 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 viaGetCustomerGatewayAssociationsRequest.builder()
- Parameters:
getCustomerGatewayAssociationsRequest
- AConsumer
that will call methods onGetCustomerGatewayAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCustomerGatewayAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCustomerGatewayAssociationsPaginator
default GetCustomerGatewayAssociationsPublisher getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.- Parameters:
getCustomerGatewayAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getCustomerGatewayAssociationsPaginator
default GetCustomerGatewayAssociationsPublisher getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetCustomerGatewayAssociationsRequest.builder()
- Parameters:
getCustomerGatewayAssociationsRequest
- AConsumer
that will call methods onGetCustomerGatewayAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getDevices
Gets information about one or more of your devices in a global network.
- Parameters:
getDevicesRequest
-- Returns:
- A Java Future containing the result of the GetDevices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getDevices
default CompletableFuture<GetDevicesResponse> getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest) 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 viaGetDevicesRequest.builder()
- Parameters:
getDevicesRequest
- AConsumer
that will call methods onGetDevicesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetDevices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getDevicesPaginator
This is a variant of
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation.- Parameters:
getDevicesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getDevicesPaginator
default GetDevicesPublisher getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest) This is a variant of
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetDevicesRequest.builder()
- Parameters:
getDevicesRequest
- AConsumer
that will call methods onGetDevicesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinkAssociations
default CompletableFuture<GetLinkAssociationsResponse> getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest) Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
- Parameters:
getLinkAssociationsRequest
-- Returns:
- A Java Future containing the result of the GetLinkAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinkAssociations
default CompletableFuture<GetLinkAssociationsResponse> getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) 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 viaGetLinkAssociationsRequest.builder()
- Parameters:
getLinkAssociationsRequest
- AConsumer
that will call methods onGetLinkAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetLinkAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinkAssociationsPaginator
default GetLinkAssociationsPublisher getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest) This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.- Parameters:
getLinkAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinkAssociationsPaginator
default GetLinkAssociationsPublisher getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetLinkAssociationsRequest.builder()
- Parameters:
getLinkAssociationsRequest
- AConsumer
that will call methods onGetLinkAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinks
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.
- Parameters:
getLinksRequest
-- Returns:
- A Java Future containing the result of the GetLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinks
default CompletableFuture<GetLinksResponse> getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest) 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 viaGetLinksRequest.builder()
- Parameters:
getLinksRequest
- AConsumer
that will call methods onGetLinksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinksPaginator
This is a variant of
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation.- Parameters:
getLinksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getLinksPaginator
This is a variant of
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetLinksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetLinksRequest.builder()
- Parameters:
getLinksRequest
- AConsumer
that will call methods onGetLinksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResourceCounts
default CompletableFuture<GetNetworkResourceCountsResponse> getNetworkResourceCounts(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.
- Parameters:
getNetworkResourceCountsRequest
-- Returns:
- A Java Future containing the result of the GetNetworkResourceCounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
getNetworkResourceCounts
default CompletableFuture<GetNetworkResourceCountsResponse> getNetworkResourceCounts(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) Gets the count of network resources, by resource type, for the specified global network.
This is a convenience which creates an instance of the
GetNetworkResourceCountsRequest.Builder
avoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()
- Parameters:
getNetworkResourceCountsRequest
- AConsumer
that will call methods onGetNetworkResourceCountsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetNetworkResourceCounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
getNetworkResourceCountsPaginator
default GetNetworkResourceCountsPublisher getNetworkResourceCountsPaginator(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) This is a variant of
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.- Parameters:
getNetworkResourceCountsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
getNetworkResourceCountsPaginator
default GetNetworkResourceCountsPublisher getNetworkResourceCountsPaginator(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) This is a variant of
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.
This is a convenience which creates an instance of the
GetNetworkResourceCountsRequest.Builder
avoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()
- Parameters:
getNetworkResourceCountsRequest
- AConsumer
that will call methods onGetNetworkResourceCountsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
getNetworkResourceRelationships
default CompletableFuture<GetNetworkResourceRelationshipsResponse> getNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) Gets the network resource relationships for the specified global network.
- Parameters:
getNetworkResourceRelationshipsRequest
-- Returns:
- A Java Future containing the result of the GetNetworkResourceRelationships operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResourceRelationships
default CompletableFuture<GetNetworkResourceRelationshipsResponse> getNetworkResourceRelationships(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) Gets the network resource relationships for the specified global network.
This is a convenience which creates an instance of the
GetNetworkResourceRelationshipsRequest.Builder
avoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()
- Parameters:
getNetworkResourceRelationshipsRequest
- AConsumer
that will call methods onGetNetworkResourceRelationshipsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetNetworkResourceRelationships operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResourceRelationshipsPaginator
default GetNetworkResourceRelationshipsPublisher getNetworkResourceRelationshipsPaginator(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) This is a variant of
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation.- Parameters:
getNetworkResourceRelationshipsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResourceRelationshipsPaginator
default GetNetworkResourceRelationshipsPublisher getNetworkResourceRelationshipsPaginator(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) This is a variant of
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation.
This is a convenience which creates an instance of the
GetNetworkResourceRelationshipsRequest.Builder
avoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()
- Parameters:
getNetworkResourceRelationshipsRequest
- AConsumer
that will call methods onGetNetworkResourceRelationshipsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResources
default CompletableFuture<GetNetworkResourcesResponse> getNetworkResources(GetNetworkResourcesRequest getNetworkResourcesRequest) Describes the network resources for the specified global network.
The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.
- Parameters:
getNetworkResourcesRequest
-- Returns:
- A Java Future containing the result of the GetNetworkResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResources
default CompletableFuture<GetNetworkResourcesResponse> getNetworkResources(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) Describes the network resources for the specified global network.
The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.
This is a convenience which creates an instance of the
GetNetworkResourcesRequest.Builder
avoiding the need to create one manually viaGetNetworkResourcesRequest.builder()
- Parameters:
getNetworkResourcesRequest
- AConsumer
that will call methods onGetNetworkResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetNetworkResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResourcesPaginator
default GetNetworkResourcesPublisher getNetworkResourcesPaginator(GetNetworkResourcesRequest getNetworkResourcesRequest) This is a variant of
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.- Parameters:
getNetworkResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkResourcesPaginator
default GetNetworkResourcesPublisher getNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) This is a variant of
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.
This is a convenience which creates an instance of the
GetNetworkResourcesRequest.Builder
avoiding the need to create one manually viaGetNetworkResourcesRequest.builder()
- Parameters:
getNetworkResourcesRequest
- AConsumer
that will call methods onGetNetworkResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkRoutes
default CompletableFuture<GetNetworkRoutesResponse> getNetworkRoutes(GetNetworkRoutesRequest getNetworkRoutesRequest) Gets the network routes of the specified global network.
- Parameters:
getNetworkRoutesRequest
-- Returns:
- A Java Future containing the result of the GetNetworkRoutes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkRoutes
default CompletableFuture<GetNetworkRoutesResponse> getNetworkRoutes(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest) Gets the network routes of the specified global network.
This is a convenience which creates an instance of the
GetNetworkRoutesRequest.Builder
avoiding the need to create one manually viaGetNetworkRoutesRequest.builder()
- Parameters:
getNetworkRoutesRequest
- AConsumer
that will call methods onGetNetworkRoutesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetNetworkRoutes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkTelemetry
default CompletableFuture<GetNetworkTelemetryResponse> getNetworkTelemetry(GetNetworkTelemetryRequest getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.
- Parameters:
getNetworkTelemetryRequest
-- Returns:
- A Java Future containing the result of the GetNetworkTelemetry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkTelemetry
default CompletableFuture<GetNetworkTelemetryResponse> getNetworkTelemetry(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) Gets the network telemetry of the specified global network.
This is a convenience which creates an instance of the
GetNetworkTelemetryRequest.Builder
avoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()
- Parameters:
getNetworkTelemetryRequest
- AConsumer
that will call methods onGetNetworkTelemetryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetNetworkTelemetry operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkTelemetryPaginator
default GetNetworkTelemetryPublisher getNetworkTelemetryPaginator(GetNetworkTelemetryRequest getNetworkTelemetryRequest) This is a variant of
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.- Parameters:
getNetworkTelemetryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getNetworkTelemetryPaginator
default GetNetworkTelemetryPublisher getNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) This is a variant of
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.
This is a convenience which creates an instance of the
GetNetworkTelemetryRequest.Builder
avoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()
- Parameters:
getNetworkTelemetryRequest
- AConsumer
that will call methods onGetNetworkTelemetryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Returns information about a resource policy.
- Parameters:
getResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Returns information about a resource policy.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builder
avoiding the need to create one manually viaGetResourcePolicyRequest.builder()
- Parameters:
getResourcePolicyRequest
- AConsumer
that will call methods onGetResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
getRouteAnalysis
default CompletableFuture<GetRouteAnalysisResponse> getRouteAnalysis(GetRouteAnalysisRequest getRouteAnalysisRequest) Gets information about the specified route analysis.
- Parameters:
getRouteAnalysisRequest
-- Returns:
- A Java Future containing the result of the GetRouteAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getRouteAnalysis
default CompletableFuture<GetRouteAnalysisResponse> getRouteAnalysis(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest) Gets information about the specified route analysis.
This is a convenience which creates an instance of the
GetRouteAnalysisRequest.Builder
avoiding the need to create one manually viaGetRouteAnalysisRequest.builder()
- Parameters:
getRouteAnalysisRequest
- AConsumer
that will call methods onGetRouteAnalysisRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRouteAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getSiteToSiteVpnAttachment
default CompletableFuture<GetSiteToSiteVpnAttachmentResponse> getSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest) Returns information about a site-to-site VPN attachment.
- Parameters:
getSiteToSiteVpnAttachmentRequest
-- Returns:
- A Java Future containing the result of the GetSiteToSiteVpnAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getSiteToSiteVpnAttachment
default CompletableFuture<GetSiteToSiteVpnAttachmentResponse> getSiteToSiteVpnAttachment(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest) Returns information about a site-to-site VPN attachment.
This is a convenience which creates an instance of the
GetSiteToSiteVpnAttachmentRequest.Builder
avoiding the need to create one manually viaGetSiteToSiteVpnAttachmentRequest.builder()
- Parameters:
getSiteToSiteVpnAttachmentRequest
- AConsumer
that will call methods onGetSiteToSiteVpnAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSiteToSiteVpnAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getSites
Gets information about one or more of your sites in a global network.
- Parameters:
getSitesRequest
-- Returns:
- A Java Future containing the result of the GetSites operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getSites
default CompletableFuture<GetSitesResponse> getSites(Consumer<GetSitesRequest.Builder> getSitesRequest) 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 viaGetSitesRequest.builder()
- Parameters:
getSitesRequest
- AConsumer
that will call methods onGetSitesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSites operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getSitesPaginator
This is a variant of
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetSitesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation.- Parameters:
getSitesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getSitesPaginator
This is a variant of
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetSitesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetSitesRequest.builder()
- Parameters:
getSitesRequest
- AConsumer
that will call methods onGetSitesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayConnectPeerAssociations
default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) Gets information about one or more of your transit gateway Connect peer associations in a global network.
- Parameters:
getTransitGatewayConnectPeerAssociationsRequest
-- Returns:
- A Java Future containing the result of the GetTransitGatewayConnectPeerAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayConnectPeerAssociations
default CompletableFuture<GetTransitGatewayConnectPeerAssociationsResponse> getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) 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 viaGetTransitGatewayConnectPeerAssociationsRequest.builder()
- Parameters:
getTransitGatewayConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTransitGatewayConnectPeerAssociations operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayConnectPeerAssociationsPaginator
default GetTransitGatewayConnectPeerAssociationsPublisher getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.- Parameters:
getTransitGatewayConnectPeerAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayConnectPeerAssociationsPaginator
default GetTransitGatewayConnectPeerAssociationsPublisher getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetTransitGatewayConnectPeerAssociationsRequest.builder()
- Parameters:
getTransitGatewayConnectPeerAssociationsRequest
- AConsumer
that will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayPeering
default CompletableFuture<GetTransitGatewayPeeringResponse> getTransitGatewayPeering(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.
- Parameters:
getTransitGatewayPeeringRequest
-- Returns:
- A Java Future containing the result of the GetTransitGatewayPeering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayPeering
default CompletableFuture<GetTransitGatewayPeeringResponse> getTransitGatewayPeering(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest) Returns information about a transit gateway peer.
This is a convenience which creates an instance of the
GetTransitGatewayPeeringRequest.Builder
avoiding the need to create one manually viaGetTransitGatewayPeeringRequest.builder()
- Parameters:
getTransitGatewayPeeringRequest
- AConsumer
that will call methods onGetTransitGatewayPeeringRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTransitGatewayPeering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayRegistrations
default CompletableFuture<GetTransitGatewayRegistrationsResponse> getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) Gets information about the transit gateway registrations in a specified global network.
- Parameters:
getTransitGatewayRegistrationsRequest
-- Returns:
- A Java Future containing the result of the GetTransitGatewayRegistrations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayRegistrations
default CompletableFuture<GetTransitGatewayRegistrationsResponse> getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) 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 viaGetTransitGatewayRegistrationsRequest.builder()
- Parameters:
getTransitGatewayRegistrationsRequest
- AConsumer
that will call methods onGetTransitGatewayRegistrationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTransitGatewayRegistrations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayRegistrationsPaginator
default GetTransitGatewayRegistrationsPublisher getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.- Parameters:
getTransitGatewayRegistrationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayRegistrationsPaginator
default GetTransitGatewayRegistrationsPublisher getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaGetTransitGatewayRegistrationsRequest.builder()
- Parameters:
getTransitGatewayRegistrationsRequest
- AConsumer
that will call methods onGetTransitGatewayRegistrationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayRouteTableAttachment
default CompletableFuture<GetTransitGatewayRouteTableAttachmentResponse> getTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest) Returns information about a transit gateway route table attachment.
- Parameters:
getTransitGatewayRouteTableAttachmentRequest
-- Returns:
- A Java Future containing the result of the GetTransitGatewayRouteTableAttachment operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getTransitGatewayRouteTableAttachment
default CompletableFuture<GetTransitGatewayRouteTableAttachmentResponse> getTransitGatewayRouteTableAttachment(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest) Returns information about a transit gateway route table attachment.
This is a convenience which creates an instance of the
GetTransitGatewayRouteTableAttachmentRequest.Builder
avoiding the need to create one manually viaGetTransitGatewayRouteTableAttachmentRequest.builder()
- Parameters:
getTransitGatewayRouteTableAttachmentRequest
- AConsumer
that will call methods onGetTransitGatewayRouteTableAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTransitGatewayRouteTableAttachment operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getVpcAttachment
default CompletableFuture<GetVpcAttachmentResponse> getVpcAttachment(GetVpcAttachmentRequest getVpcAttachmentRequest) Returns information about a VPC attachment.
- Parameters:
getVpcAttachmentRequest
-- Returns:
- A Java Future containing the result of the GetVpcAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
getVpcAttachment
default CompletableFuture<GetVpcAttachmentResponse> getVpcAttachment(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest) Returns information about a VPC attachment.
This is a convenience which creates an instance of the
GetVpcAttachmentRequest.Builder
avoiding the need to create one manually viaGetVpcAttachmentRequest.builder()
- Parameters:
getVpcAttachmentRequest
- AConsumer
that will call methods onGetVpcAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetVpcAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listAttachments
default CompletableFuture<ListAttachmentsResponse> listAttachments(ListAttachmentsRequest listAttachmentsRequest) Returns a list of core network attachments.
- Parameters:
listAttachmentsRequest
-- Returns:
- A Java Future containing the result of the ListAttachments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listAttachments
default CompletableFuture<ListAttachmentsResponse> listAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) Returns a list of core network attachments.
This is a convenience which creates an instance of the
ListAttachmentsRequest.Builder
avoiding the need to create one manually viaListAttachmentsRequest.builder()
- Parameters:
listAttachmentsRequest
- AConsumer
that will call methods onListAttachmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAttachments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listAttachmentsPaginator
default ListAttachmentsPublisher listAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest) This is a variant of
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.- Parameters:
listAttachmentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listAttachmentsPaginator
default ListAttachmentsPublisher listAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant of
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.
This is a convenience which creates an instance of the
ListAttachmentsRequest.Builder
avoiding the need to create one manually viaListAttachmentsRequest.builder()
- Parameters:
listAttachmentsRequest
- AConsumer
that will call methods onListAttachmentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listConnectPeers
default CompletableFuture<ListConnectPeersResponse> listConnectPeers(ListConnectPeersRequest listConnectPeersRequest) Returns a list of core network Connect peers.
- Parameters:
listConnectPeersRequest
-- Returns:
- A Java Future containing the result of the ListConnectPeers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listConnectPeers
default CompletableFuture<ListConnectPeersResponse> listConnectPeers(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) Returns a list of core network Connect peers.
This is a convenience which creates an instance of the
ListConnectPeersRequest.Builder
avoiding the need to create one manually viaListConnectPeersRequest.builder()
- Parameters:
listConnectPeersRequest
- AConsumer
that will call methods onListConnectPeersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListConnectPeers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listConnectPeersPaginator
default ListConnectPeersPublisher listConnectPeersPaginator(ListConnectPeersRequest listConnectPeersRequest) This is a variant of
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.- Parameters:
listConnectPeersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listConnectPeersPaginator
default ListConnectPeersPublisher listConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) This is a variant of
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.
This is a convenience which creates an instance of the
ListConnectPeersRequest.Builder
avoiding the need to create one manually viaListConnectPeersRequest.builder()
- Parameters:
listConnectPeersRequest
- AConsumer
that will call methods onListConnectPeersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listCoreNetworkPolicyVersions
default CompletableFuture<ListCoreNetworkPolicyVersionsResponse> listCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) Returns a list of core network policy versions.
- Parameters:
listCoreNetworkPolicyVersionsRequest
-- Returns:
- A Java Future containing the result of the ListCoreNetworkPolicyVersions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listCoreNetworkPolicyVersions
default CompletableFuture<ListCoreNetworkPolicyVersionsResponse> listCoreNetworkPolicyVersions(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) Returns a list of core network policy versions.
This is a convenience which creates an instance of the
ListCoreNetworkPolicyVersionsRequest.Builder
avoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()
- Parameters:
listCoreNetworkPolicyVersionsRequest
- AConsumer
that will call methods onListCoreNetworkPolicyVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCoreNetworkPolicyVersions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listCoreNetworkPolicyVersionsPaginator
default ListCoreNetworkPolicyVersionsPublisher listCoreNetworkPolicyVersionsPaginator(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) This is a variant of
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation.- Parameters:
listCoreNetworkPolicyVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listCoreNetworkPolicyVersionsPaginator
default ListCoreNetworkPolicyVersionsPublisher listCoreNetworkPolicyVersionsPaginator(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) This is a variant of
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListCoreNetworkPolicyVersionsRequest.Builder
avoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()
- Parameters:
listCoreNetworkPolicyVersionsRequest
- AConsumer
that will call methods onListCoreNetworkPolicyVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listCoreNetworks
default CompletableFuture<ListCoreNetworksResponse> listCoreNetworks(ListCoreNetworksRequest listCoreNetworksRequest) Returns a list of owned and shared core networks.
- Parameters:
listCoreNetworksRequest
-- Returns:
- A Java Future containing the result of the ListCoreNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listCoreNetworks
default CompletableFuture<ListCoreNetworksResponse> listCoreNetworks(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) Returns a list of owned and shared core networks.
This is a convenience which creates an instance of the
ListCoreNetworksRequest.Builder
avoiding the need to create one manually viaListCoreNetworksRequest.builder()
- Parameters:
listCoreNetworksRequest
- AConsumer
that will call methods onListCoreNetworksRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCoreNetworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listCoreNetworksPaginator
default ListCoreNetworksPublisher listCoreNetworksPaginator(ListCoreNetworksRequest listCoreNetworksRequest) This is a variant of
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.- Parameters:
listCoreNetworksRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listCoreNetworksPaginator
default ListCoreNetworksPublisher listCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) This is a variant of
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.
This is a convenience which creates an instance of the
ListCoreNetworksRequest.Builder
avoiding the need to create one manually viaListCoreNetworksRequest.builder()
- Parameters:
listCoreNetworksRequest
- AConsumer
that will call methods onListCoreNetworksRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listOrganizationServiceAccessStatus
default CompletableFuture<ListOrganizationServiceAccessStatusResponse> listOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest) Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
- Parameters:
listOrganizationServiceAccessStatusRequest
-- Returns:
- A Java Future containing the result of the ListOrganizationServiceAccessStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
listOrganizationServiceAccessStatus
default CompletableFuture<ListOrganizationServiceAccessStatusResponse> listOrganizationServiceAccessStatus(Consumer<ListOrganizationServiceAccessStatusRequest.Builder> listOrganizationServiceAccessStatusRequest) Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
This is a convenience which creates an instance of the
ListOrganizationServiceAccessStatusRequest.Builder
avoiding the need to create one manually viaListOrganizationServiceAccessStatusRequest.builder()
- Parameters:
listOrganizationServiceAccessStatusRequest
- AConsumer
that will call methods onListOrganizationServiceAccessStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListOrganizationServiceAccessStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
listPeerings
default CompletableFuture<ListPeeringsResponse> listPeerings(ListPeeringsRequest listPeeringsRequest) Lists the peerings for a core network.
- Parameters:
listPeeringsRequest
-- Returns:
- A Java Future containing the result of the ListPeerings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listPeerings
default CompletableFuture<ListPeeringsResponse> listPeerings(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) Lists the peerings for a core network.
This is a convenience which creates an instance of the
ListPeeringsRequest.Builder
avoiding the need to create one manually viaListPeeringsRequest.builder()
- Parameters:
listPeeringsRequest
- AConsumer
that will call methods onListPeeringsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPeerings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listPeeringsPaginator
This is a variant of
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation.- Parameters:
listPeeringsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listPeeringsPaginator
default ListPeeringsPublisher listPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) This is a variant of
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)
operation.
This is a convenience which creates an instance of the
ListPeeringsRequest.Builder
avoiding the need to create one manually viaListPeeringsRequest.builder()
- Parameters:
listPeeringsRequest
- AConsumer
that will call methods onListPeeringsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ValidationException The input fails to satisfy the constraints.
- AccessDeniedException You do not have sufficient access to perform this action.
- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a specified resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
putCoreNetworkPolicy
default CompletableFuture<PutCoreNetworkPolicyResponse> putCoreNetworkPolicy(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
- Parameters:
putCoreNetworkPolicyRequest
-- Returns:
- A Java Future containing the result of the PutCoreNetworkPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- CoreNetworkPolicyException Describes a core network policy exception.
- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
putCoreNetworkPolicy
default CompletableFuture<PutCoreNetworkPolicyResponse> putCoreNetworkPolicy(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest) Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
This is a convenience which creates an instance of the
PutCoreNetworkPolicyRequest.Builder
avoiding the need to create one manually viaPutCoreNetworkPolicyRequest.builder()
- Parameters:
putCoreNetworkPolicyRequest
- AConsumer
that will call methods onPutCoreNetworkPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutCoreNetworkPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- CoreNetworkPolicyException Describes a core network policy exception.
- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Creates or updates a resource policy.
- Parameters:
putResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
putResourcePolicy
default CompletableFuture<PutResourcePolicyResponse> putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Creates or updates a resource policy.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builder
avoiding the need to create one manually viaPutResourcePolicyRequest.builder()
- Parameters:
putResourcePolicyRequest
- AConsumer
that will call methods onPutResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
registerTransitGateway
default CompletableFuture<RegisterTransitGatewayResponse> registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest) Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.
- Parameters:
registerTransitGatewayRequest
-- Returns:
- A Java Future containing the result of the RegisterTransitGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
registerTransitGateway
default CompletableFuture<RegisterTransitGatewayResponse> registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see Region Availability in the Amazon Web Services Transit Gateways for Global Networks User Guide. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services 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 viaRegisterTransitGatewayRequest.builder()
- Parameters:
registerTransitGatewayRequest
- AConsumer
that will call methods onRegisterTransitGatewayRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RegisterTransitGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
rejectAttachment
default CompletableFuture<RejectAttachmentResponse> rejectAttachment(RejectAttachmentRequest rejectAttachmentRequest) Rejects a core network attachment request.
- Parameters:
rejectAttachmentRequest
-- Returns:
- A Java Future containing the result of the RejectAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
rejectAttachment
default CompletableFuture<RejectAttachmentResponse> rejectAttachment(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest) Rejects a core network attachment request.
This is a convenience which creates an instance of the
RejectAttachmentRequest.Builder
avoiding the need to create one manually viaRejectAttachmentRequest.builder()
- Parameters:
rejectAttachmentRequest
- AConsumer
that will call methods onRejectAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RejectAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
restoreCoreNetworkPolicyVersion
default CompletableFuture<RestoreCoreNetworkPolicyVersionResponse> restoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest) Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.
- Parameters:
restoreCoreNetworkPolicyVersionRequest
-- Returns:
- A Java Future containing the result of the RestoreCoreNetworkPolicyVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
restoreCoreNetworkPolicyVersion
default CompletableFuture<RestoreCoreNetworkPolicyVersionResponse> restoreCoreNetworkPolicyVersion(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest) Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.
This is a convenience which creates an instance of the
RestoreCoreNetworkPolicyVersionRequest.Builder
avoiding the need to create one manually viaRestoreCoreNetworkPolicyVersionRequest.builder()
- Parameters:
restoreCoreNetworkPolicyVersionRequest
- AConsumer
that will call methods onRestoreCoreNetworkPolicyVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RestoreCoreNetworkPolicyVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- ConflictException There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can 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.
- See Also:
-
startOrganizationServiceAccessUpdate
default CompletableFuture<StartOrganizationServiceAccessUpdateResponse> startOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest) Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
- Parameters:
startOrganizationServiceAccessUpdateRequest
-- Returns:
- A Java Future containing the result of the StartOrganizationServiceAccessUpdate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
startOrganizationServiceAccessUpdate
default CompletableFuture<StartOrganizationServiceAccessUpdateResponse> startOrganizationServiceAccessUpdate(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest) Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
This is a convenience which creates an instance of the
StartOrganizationServiceAccessUpdateRequest.Builder
avoiding the need to create one manually viaStartOrganizationServiceAccessUpdateRequest.builder()
- Parameters:
startOrganizationServiceAccessUpdateRequest
- AConsumer
that will call methods onStartOrganizationServiceAccessUpdateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartOrganizationServiceAccessUpdate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
startRouteAnalysis
default CompletableFuture<StartRouteAnalysisResponse> startRouteAnalysis(StartRouteAnalysisRequest startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
- Parameters:
startRouteAnalysisRequest
-- Returns:
- A Java Future containing the result of the StartRouteAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
startRouteAnalysis
default CompletableFuture<StartRouteAnalysisResponse> startRouteAnalysis(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest) Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
This is a convenience which creates an instance of the
StartRouteAnalysisRequest.Builder
avoiding the need to create one manually viaStartRouteAnalysisRequest.builder()
- Parameters:
startRouteAnalysisRequest
- AConsumer
that will call methods onStartRouteAnalysisRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartRouteAnalysis operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
tagResource
Tags a specified resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateConnection
default CompletableFuture<UpdateConnectionResponse> updateConnection(UpdateConnectionRequest updateConnectionRequest) Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateConnectionRequest
-- Returns:
- A Java Future containing the result of the UpdateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateConnection
default CompletableFuture<UpdateConnectionResponse> updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) 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 viaUpdateConnectionRequest.builder()
- Parameters:
updateConnectionRequest
- AConsumer
that will call methods onUpdateConnectionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateCoreNetwork
default CompletableFuture<UpdateCoreNetworkResponse> updateCoreNetwork(UpdateCoreNetworkRequest updateCoreNetworkRequest) Updates the description of a core network.
- Parameters:
updateCoreNetworkRequest
-- Returns:
- A Java Future containing the result of the UpdateCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateCoreNetwork
default CompletableFuture<UpdateCoreNetworkResponse> updateCoreNetwork(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest) Updates the description of a core network.
This is a convenience which creates an instance of the
UpdateCoreNetworkRequest.Builder
avoiding the need to create one manually viaUpdateCoreNetworkRequest.builder()
- Parameters:
updateCoreNetworkRequest
- AConsumer
that will call methods onUpdateCoreNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateCoreNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateDevice
default CompletableFuture<UpdateDeviceResponse> updateDevice(UpdateDeviceRequest updateDeviceRequest) Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateDeviceRequest
-- Returns:
- A Java Future containing the result of the UpdateDevice operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateDevice
default CompletableFuture<UpdateDeviceResponse> updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) 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 viaUpdateDeviceRequest.builder()
- Parameters:
updateDeviceRequest
- AConsumer
that will call methods onUpdateDeviceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateDevice operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateGlobalNetwork
default CompletableFuture<UpdateGlobalNetworkResponse> updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) Updates an existing global network. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateGlobalNetworkRequest
-- Returns:
- A Java Future containing the result of the UpdateGlobalNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateGlobalNetwork
default CompletableFuture<UpdateGlobalNetworkResponse> updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) 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 viaUpdateGlobalNetworkRequest.builder()
- Parameters:
updateGlobalNetworkRequest
- AConsumer
that will call methods onUpdateGlobalNetworkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateGlobalNetwork operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateLink
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateLinkRequest
-- Returns:
- A Java Future containing the result of the UpdateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateLink
default CompletableFuture<UpdateLinkResponse> updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) 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 viaUpdateLinkRequest.builder()
- Parameters:
updateLinkRequest
- AConsumer
that will call methods onUpdateLinkRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateNetworkResourceMetadata
default CompletableFuture<UpdateNetworkResourceMetadataResponse> updateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest) Updates the resource metadata for the specified global network.
- Parameters:
updateNetworkResourceMetadataRequest
-- Returns:
- A Java Future containing the result of the UpdateNetworkResourceMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateNetworkResourceMetadata
default CompletableFuture<UpdateNetworkResourceMetadataResponse> updateNetworkResourceMetadata(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest) Updates the resource metadata for the specified global network.
This is a convenience which creates an instance of the
UpdateNetworkResourceMetadataRequest.Builder
avoiding the need to create one manually viaUpdateNetworkResourceMetadataRequest.builder()
- Parameters:
updateNetworkResourceMetadataRequest
- AConsumer
that will call methods onUpdateNetworkResourceMetadataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateNetworkResourceMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateSite
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
- Parameters:
updateSiteRequest
-- Returns:
- A Java Future containing the result of the UpdateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateSite
default CompletableFuture<UpdateSiteResponse> updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) 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 viaUpdateSiteRequest.builder()
- Parameters:
updateSiteRequest
- AConsumer
that will call methods onUpdateSiteRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSite operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateVpcAttachment
default CompletableFuture<UpdateVpcAttachmentResponse> updateVpcAttachment(UpdateVpcAttachmentRequest updateVpcAttachmentRequest) Updates a VPC attachment.
- Parameters:
updateVpcAttachmentRequest
-- Returns:
- A Java Future containing the result of the UpdateVpcAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateVpcAttachment
default CompletableFuture<UpdateVpcAttachmentResponse> updateVpcAttachment(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest) Updates a VPC attachment.
This is a convenience which creates an instance of the
UpdateVpcAttachmentRequest.Builder
avoiding the need to create one manually viaUpdateVpcAttachmentRequest.builder()
- Parameters:
updateVpcAttachmentRequest
- AConsumer
that will call methods onUpdateVpcAttachmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateVpcAttachment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aNetworkManagerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aNetworkManagerAsyncClient
.
-