Interface NetworkManagerAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Amazon 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
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 NetworkManagerAsyncClientcreate()Create aNetworkManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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 DescribeGlobalNetworksPublisherdescribeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) This is a variant ofdescribeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)operation.default DescribeGlobalNetworksPublisherdescribeGlobalNetworksPaginator(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 GetConnectionsPublishergetConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) This is a variant ofgetConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)operation.default GetConnectionsPublishergetConnectionsPaginator(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 GetCoreNetworkChangeSetPublishergetCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) This is a variant ofgetCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)operation.default GetCoreNetworkChangeSetPublishergetCoreNetworkChangeSetPaginator(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 GetDevicesPublishergetDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest) This is a variant ofgetDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)operation.default GetDevicesPublishergetDevicesPaginator(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 GetLinkAssociationsPublishergetLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) This is a variant ofgetLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)operation.default GetLinkAssociationsPublishergetLinkAssociationsPaginator(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 GetLinksPublishergetLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest) This is a variant ofgetLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)operation.default GetLinksPublishergetLinksPaginator(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 GetNetworkResourcesPublishergetNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) This is a variant ofgetNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)operation.default GetNetworkResourcesPublishergetNetworkResourcesPaginator(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 GetNetworkTelemetryPublishergetNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) This is a variant ofgetNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)operation.default GetNetworkTelemetryPublishergetNetworkTelemetryPaginator(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 GetSitesPublishergetSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest) This is a variant ofgetSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)operation.default GetSitesPublishergetSitesPaginator(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 ListAttachmentsPublisherlistAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) This is a variant oflistAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)operation.default ListAttachmentsPublisherlistAttachmentsPaginator(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 ListConnectPeersPublisherlistConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) This is a variant oflistConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)operation.default ListConnectPeersPublisherlistConnectPeersPaginator(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 ListCoreNetworksPublisherlistCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) This is a variant oflistCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)operation.default ListCoreNetworksPublisherlistCoreNetworksPaginator(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 ListPeeringsPublisherlistPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) This is a variant oflistPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest)operation.default ListPeeringsPublisherlistPeeringsPaginator(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
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaAcceptAttachmentRequest.builder()- Parameters:
acceptAttachmentRequest- AConsumerthat will call methods onAcceptAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaAssociateConnectPeerRequest.builder()- Parameters:
associateConnectPeerRequest- AConsumerthat will call methods onAssociateConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaAssociateCustomerGatewayRequest.builder()- Parameters:
associateCustomerGatewayRequest- AConsumerthat will call methods onAssociateCustomerGatewayRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaAssociateLinkRequest.builder()- Parameters:
associateLinkRequest- AConsumerthat will call methods onAssociateLinkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaAssociateTransitGatewayConnectPeerRequest.builder()- Parameters:
associateTransitGatewayConnectPeerRequest- AConsumerthat will call methods onAssociateTransitGatewayConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateConnectAttachmentRequest.builder()- Parameters:
createConnectAttachmentRequest- AConsumerthat will call methods onCreateConnectAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateConnectPeerRequest.builder()- Parameters:
createConnectPeerRequest- AConsumerthat will call methods onCreateConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateConnectionRequest.builder()- Parameters:
createConnectionRequest- AConsumerthat will call methods onCreateConnectionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaCreateCoreNetworkRequest.builder()- Parameters:
createCoreNetworkRequest- AConsumerthat will call methods onCreateCoreNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateDeviceRequest.builder()- Parameters:
createDeviceRequest- AConsumerthat will call methods onCreateDeviceRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateGlobalNetworkRequest.builder()- Parameters:
createGlobalNetworkRequest- AConsumerthat will call methods onCreateGlobalNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateLinkRequest.builder()- Parameters:
createLinkRequest- AConsumerthat will call methods onCreateLinkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateSiteRequest.builder()- Parameters:
createSiteRequest- AConsumerthat will call methods onCreateSiteRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateSiteToSiteVpnAttachmentRequest.builder()- Parameters:
createSiteToSiteVpnAttachmentRequest- AConsumerthat will call methods onCreateSiteToSiteVpnAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateTransitGatewayPeeringRequest.builder()- Parameters:
createTransitGatewayPeeringRequest- AConsumerthat will call methods onCreateTransitGatewayPeeringRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateTransitGatewayRouteTableAttachmentRequest.builder()- Parameters:
createTransitGatewayRouteTableAttachmentRequest- AConsumerthat will call methods onCreateTransitGatewayRouteTableAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaCreateVpcAttachmentRequest.builder()- Parameters:
createVpcAttachmentRequest- AConsumerthat will call methods onCreateVpcAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteAttachmentRequest.builder()- Parameters:
deleteAttachmentRequest- AConsumerthat will call methods onDeleteAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteConnectPeerRequest.builder()- Parameters:
deleteConnectPeerRequest- AConsumerthat will call methods onDeleteConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteConnectionRequest.builder()- Parameters:
deleteConnectionRequest- AConsumerthat will call methods onDeleteConnectionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteCoreNetworkRequest.builder()- Parameters:
deleteCoreNetworkRequest- AConsumerthat will call methods onDeleteCoreNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteCoreNetworkPolicyVersionRequest.builder()- Parameters:
deleteCoreNetworkPolicyVersionRequest- AConsumerthat will call methods onDeleteCoreNetworkPolicyVersionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteDeviceRequest.builder()- Parameters:
deleteDeviceRequest- AConsumerthat will call methods onDeleteDeviceRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteGlobalNetworkRequest.builder()- Parameters:
deleteGlobalNetworkRequest- AConsumerthat will call methods onDeleteGlobalNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteLinkRequest.builder()- Parameters:
deleteLinkRequest- AConsumerthat will call methods onDeleteLinkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeletePeeringRequest.builder()- Parameters:
deletePeeringRequest- AConsumerthat will call methods onDeletePeeringRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeleteSiteRequest.builder()- Parameters:
deleteSiteRequest- AConsumerthat will call methods onDeleteSiteRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDeregisterTransitGatewayRequest.builder()- Parameters:
deregisterTransitGatewayRequest- AConsumerthat will call methods onDeregisterTransitGatewayRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDescribeGlobalNetworksRequest.builder()- Parameters:
describeGlobalNetworksRequest- AConsumerthat will call methods onDescribeGlobalNetworksRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksPublisher publisher = client.describeGlobalNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaDescribeGlobalNetworksRequest.builder()- Parameters:
describeGlobalNetworksRequest- AConsumerthat will call methods onDescribeGlobalNetworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDisassociateConnectPeerRequest.builder()- Parameters:
disassociateConnectPeerRequest- AConsumerthat will call methods onDisassociateConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDisassociateCustomerGatewayRequest.builder()- Parameters:
disassociateCustomerGatewayRequest- AConsumerthat will call methods onDisassociateCustomerGatewayRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDisassociateLinkRequest.builder()- Parameters:
disassociateLinkRequest- AConsumerthat will call methods onDisassociateLinkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaDisassociateTransitGatewayConnectPeerRequest.builder()- Parameters:
disassociateTransitGatewayConnectPeerRequest- AConsumerthat will call methods onDisassociateTransitGatewayConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaExecuteCoreNetworkChangeSetRequest.builder()- Parameters:
executeCoreNetworkChangeSetRequest- AConsumerthat will call methods onExecuteCoreNetworkChangeSetRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetConnectAttachmentRequest.builder()- Parameters:
getConnectAttachmentRequest- AConsumerthat will call methods onGetConnectAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetConnectPeerRequest.builder()- Parameters:
getConnectPeerRequest- AConsumerthat will call methods onGetConnectPeerRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()- Parameters:
getConnectPeerAssociationsRequest- AConsumerthat will call methods onGetConnectPeerAssociationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsPublisher publisher = client.getConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetConnectPeerAssociationsRequest.builder()- Parameters:
getConnectPeerAssociationsRequest- AConsumerthat will call methods onGetConnectPeerAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetConnectionsRequest.builder()- Parameters:
getConnectionsRequest- AConsumerthat will call methods onGetConnectionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetConnectionsPublisher publisher = client.getConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetConnectionsRequest.builder()- Parameters:
getConnectionsRequest- AConsumerthat will call methods onGetConnectionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetCoreNetworkRequest.builder()- Parameters:
getCoreNetworkRequest- AConsumerthat will call methods onGetCoreNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()- Parameters:
getCoreNetworkChangeEventsRequest- AConsumerthat will call methods onGetCoreNetworkChangeEventsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsPublisher publisher = client.getCoreNetworkChangeEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetCoreNetworkChangeEventsRequest.builder()- Parameters:
getCoreNetworkChangeEventsRequest- AConsumerthat will call methods onGetCoreNetworkChangeEventsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()- Parameters:
getCoreNetworkChangeSetRequest- AConsumerthat will call methods onGetCoreNetworkChangeSetRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetPublisher publisher = client.getCoreNetworkChangeSetPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetCoreNetworkChangeSetRequest.builder()- Parameters:
getCoreNetworkChangeSetRequest- AConsumerthat will call methods onGetCoreNetworkChangeSetRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetCoreNetworkPolicyRequest.builder()- Parameters:
getCoreNetworkPolicyRequest- AConsumerthat will call methods onGetCoreNetworkPolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetCustomerGatewayAssociationsRequest.builder()- Parameters:
getCustomerGatewayAssociationsRequest- AConsumerthat will call methods onGetCustomerGatewayAssociationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsPublisher publisher = client.getCustomerGatewayAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetCustomerGatewayAssociationsRequest.builder()- Parameters:
getCustomerGatewayAssociationsRequest- AConsumerthat will call methods onGetCustomerGatewayAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetDevicesRequest.builder()- Parameters:
getDevicesRequest- AConsumerthat will call methods onGetDevicesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetDevicesPublisher publisher = client.getDevicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetDevicesRequest.builder()- Parameters:
getDevicesRequest- AConsumerthat will call methods onGetDevicesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetLinkAssociationsRequest.builder()- Parameters:
getLinkAssociationsRequest- AConsumerthat will call methods onGetLinkAssociationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsPublisher publisher = client.getLinkAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetLinkAssociationsRequest.builder()- Parameters:
getLinkAssociationsRequest- AConsumerthat will call methods onGetLinkAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetLinksRequest.builder()- Parameters:
getLinksRequest- AConsumerthat will call methods onGetLinksRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetLinksPublisher publisher = client.getLinksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetLinksRequest.builder()- Parameters:
getLinksRequest- AConsumerthat will call methods onGetLinksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()- Parameters:
getNetworkResourceCountsRequest- AConsumerthat will call methods onGetNetworkResourceCountsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsPublisher publisher = client.getNetworkResourceCountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetNetworkResourceCountsRequest.builder()- Parameters:
getNetworkResourceCountsRequest- AConsumerthat will call methods onGetNetworkResourceCountsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()- Parameters:
getNetworkResourceRelationshipsRequest- AConsumerthat will call methods onGetNetworkResourceRelationshipsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsPublisher publisher = client.getNetworkResourceRelationshipsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetNetworkResourceRelationshipsRequest.builder()- Parameters:
getNetworkResourceRelationshipsRequest- AConsumerthat will call methods onGetNetworkResourceRelationshipsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetNetworkResourcesRequest.builder()- Parameters:
getNetworkResourcesRequest- AConsumerthat will call methods onGetNetworkResourcesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesPublisher publisher = client.getNetworkResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetNetworkResourcesRequest.builder()- Parameters:
getNetworkResourcesRequest- AConsumerthat will call methods onGetNetworkResourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetNetworkRoutesRequest.builder()- Parameters:
getNetworkRoutesRequest- AConsumerthat will call methods onGetNetworkRoutesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()- Parameters:
getNetworkTelemetryRequest- AConsumerthat will call methods onGetNetworkTelemetryRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryPublisher publisher = client.getNetworkTelemetryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetNetworkTelemetryRequest.builder()- Parameters:
getNetworkTelemetryRequest- AConsumerthat will call methods onGetNetworkTelemetryRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetRouteAnalysisRequest.builder()- Parameters:
getRouteAnalysisRequest- AConsumerthat will call methods onGetRouteAnalysisRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetSiteToSiteVpnAttachmentRequest.builder()- Parameters:
getSiteToSiteVpnAttachmentRequest- AConsumerthat will call methods onGetSiteToSiteVpnAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetSitesRequest.builder()- Parameters:
getSitesRequest- AConsumerthat will call methods onGetSitesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetSitesPublisher publisher = client.getSitesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetSitesRequest.builder()- Parameters:
getSitesRequest- AConsumerthat will call methods onGetSitesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetTransitGatewayConnectPeerAssociationsRequest.builder()- Parameters:
getTransitGatewayConnectPeerAssociationsRequest- AConsumerthat will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsPublisher publisher = client.getTransitGatewayConnectPeerAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetTransitGatewayConnectPeerAssociationsRequest.builder()- Parameters:
getTransitGatewayConnectPeerAssociationsRequest- AConsumerthat will call methods onGetTransitGatewayConnectPeerAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetTransitGatewayPeeringRequest.builder()- Parameters:
getTransitGatewayPeeringRequest- AConsumerthat will call methods onGetTransitGatewayPeeringRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetTransitGatewayRegistrationsRequest.builder()- Parameters:
getTransitGatewayRegistrationsRequest- AConsumerthat will call methods onGetTransitGatewayRegistrationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsPublisher publisher = client.getTransitGatewayRegistrationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaGetTransitGatewayRegistrationsRequest.builder()- Parameters:
getTransitGatewayRegistrationsRequest- AConsumerthat will call methods onGetTransitGatewayRegistrationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetTransitGatewayRouteTableAttachmentRequest.builder()- Parameters:
getTransitGatewayRouteTableAttachmentRequest- AConsumerthat will call methods onGetTransitGatewayRouteTableAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaGetVpcAttachmentRequest.builder()- Parameters:
getVpcAttachmentRequest- AConsumerthat will call methods onGetVpcAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaListAttachmentsRequest.builder()- Parameters:
listAttachmentsRequest- AConsumerthat will call methods onListAttachmentsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsPublisher publisher = client.listAttachmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListAttachmentsRequest.builder()- Parameters:
listAttachmentsRequest- AConsumerthat will call methods onListAttachmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaListConnectPeersRequest.builder()- Parameters:
listConnectPeersRequest- AConsumerthat will call methods onListConnectPeersRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersPublisher publisher = client.listConnectPeersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListConnectPeersRequest.builder()- Parameters:
listConnectPeersRequest- AConsumerthat will call methods onListConnectPeersRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()- Parameters:
listCoreNetworkPolicyVersionsRequest- AConsumerthat will call methods onListCoreNetworkPolicyVersionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsPublisher publisher = client.listCoreNetworkPolicyVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListCoreNetworkPolicyVersionsRequest.builder()- Parameters:
listCoreNetworkPolicyVersionsRequest- AConsumerthat will call methods onListCoreNetworkPolicyVersionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaListCoreNetworksRequest.builder()- Parameters:
listCoreNetworksRequest- AConsumerthat will call methods onListCoreNetworksRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksPublisher publisher = client.listCoreNetworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListCoreNetworksRequest.builder()- Parameters:
listCoreNetworksRequest- AConsumerthat will call methods onListCoreNetworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related 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.Builderavoiding the need to create one manually viaListOrganizationServiceAccessStatusRequest.builder()- Parameters:
listOrganizationServiceAccessStatusRequest- AConsumerthat will call methods onListOrganizationServiceAccessStatusRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaListPeeringsRequest.builder()- Parameters:
listPeeringsRequest- AConsumerthat will call methods onListPeeringsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.networkmanager.paginators.ListPeeringsPublisher publisher = client.listPeeringsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.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.Builderavoiding the need to create one manually viaListPeeringsRequest.builder()- Parameters:
listPeeringsRequest- AConsumerthat will call methods onListPeeringsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.Builderavoiding the need to create one manually viaPutCoreNetworkPolicyRequest.builder()- Parameters:
putCoreNetworkPolicyRequest- AConsumerthat will call methods onPutCoreNetworkPolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaRegisterTransitGatewayRequest.builder()- Parameters:
registerTransitGatewayRequest- AConsumerthat will call methods onRegisterTransitGatewayRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaRejectAttachmentRequest.builder()- Parameters:
rejectAttachmentRequest- AConsumerthat will call methods onRejectAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaRestoreCoreNetworkPolicyVersionRequest.builder()- Parameters:
restoreCoreNetworkPolicyVersionRequest- AConsumerthat will call methods onRestoreCoreNetworkPolicyVersionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaStartOrganizationServiceAccessUpdateRequest.builder()- Parameters:
startOrganizationServiceAccessUpdateRequest- AConsumerthat will call methods onStartOrganizationServiceAccessUpdateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaStartRouteAnalysisRequest.builder()- Parameters:
startRouteAnalysisRequest- AConsumerthat will call methods onStartRouteAnalysisRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateConnectionRequest.builder()- Parameters:
updateConnectionRequest- AConsumerthat will call methods onUpdateConnectionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateCoreNetworkRequest.builder()- Parameters:
updateCoreNetworkRequest- AConsumerthat will call methods onUpdateCoreNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateDeviceRequest.builder()- Parameters:
updateDeviceRequest- AConsumerthat will call methods onUpdateDeviceRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateGlobalNetworkRequest.builder()- Parameters:
updateGlobalNetworkRequest- AConsumerthat will call methods onUpdateGlobalNetworkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateLinkRequest.builder()- Parameters:
updateLinkRequest- AConsumerthat will call methods onUpdateLinkRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateNetworkResourceMetadataRequest.builder()- Parameters:
updateNetworkResourceMetadataRequest- AConsumerthat will call methods onUpdateNetworkResourceMetadataRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateSiteRequest.builder()- Parameters:
updateSiteRequest- AConsumerthat will call methods onUpdateSiteRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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.Builderavoiding the need to create one manually viaUpdateVpcAttachmentRequest.builder()- Parameters:
updateVpcAttachmentRequest- AConsumerthat will call methods onUpdateVpcAttachmentRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aNetworkManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aNetworkManagerAsyncClient.
-