@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface NetworkManagerClient extends SdkClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AcceptAttachmentResponse |
acceptAttachment(AcceptAttachmentRequest acceptAttachmentRequest)
Accepts a core network attachment request.
|
default AcceptAttachmentResponse |
acceptAttachment(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest)
Accepts a core network attachment request.
|
default AssociateConnectPeerResponse |
associateConnectPeer(AssociateConnectPeerRequest associateConnectPeerRequest)
Associates a core network Connect peer with a device and optionally, with a link.
|
default AssociateConnectPeerResponse |
associateConnectPeer(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest)
Associates a core network Connect peer with a device and optionally, with a link.
|
default AssociateCustomerGatewayResponse |
associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link.
|
default AssociateCustomerGatewayResponse |
associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest)
Associates a customer gateway with a device and optionally, with a link.
|
default AssociateLinkResponse |
associateLink(AssociateLinkRequest associateLinkRequest)
Associates a link to a device.
|
default AssociateLinkResponse |
associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest)
Associates a link to a device.
|
default AssociateTransitGatewayConnectPeerResponse |
associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link.
|
default AssociateTransitGatewayConnectPeerResponse |
associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest)
Associates a transit gateway Connect peer with a device, and optionally, with a link.
|
static NetworkManagerClientBuilder |
builder()
Create a builder that can be used to configure and create a
NetworkManagerClient. |
static NetworkManagerClient |
create()
Create a
NetworkManagerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateConnectAttachmentResponse |
createConnectAttachment(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest)
Creates a core network Connect attachment from a specified core network attachment.
|
default CreateConnectAttachmentResponse |
createConnectAttachment(CreateConnectAttachmentRequest createConnectAttachmentRequest)
Creates a core network Connect attachment from a specified core network attachment.
|
default CreateConnectionResponse |
createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest)
Creates a connection between two devices.
|
default CreateConnectionResponse |
createConnection(CreateConnectionRequest createConnectionRequest)
Creates a connection between two devices.
|
default 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.
|
default CreateConnectPeerResponse |
createConnectPeer(CreateConnectPeerRequest createConnectPeerRequest)
Creates a core network Connect peer for a specified core network connect attachment between a core network and an
appliance.
|
default CreateCoreNetworkResponse |
createCoreNetwork(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest)
Creates a core network as part of your global network, and optionally, with a core network policy.
|
default CreateCoreNetworkResponse |
createCoreNetwork(CreateCoreNetworkRequest createCoreNetworkRequest)
Creates a core network as part of your global network, and optionally, with a core network policy.
|
default CreateDeviceResponse |
createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest)
Creates a new device in a global network.
|
default CreateDeviceResponse |
createDevice(CreateDeviceRequest createDeviceRequest)
Creates a new device in a global network.
|
default CreateGlobalNetworkResponse |
createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest)
Creates a new, empty global network.
|
default CreateGlobalNetworkResponse |
createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest)
Creates a new, empty global network.
|
default CreateLinkResponse |
createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest)
Creates a new link for a specified site.
|
default CreateLinkResponse |
createLink(CreateLinkRequest createLinkRequest)
Creates a new link for a specified site.
|
default CreateSiteResponse |
createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest)
Creates a new site in a global network.
|
default CreateSiteResponse |
createSite(CreateSiteRequest createSiteRequest)
Creates a new site in a global network.
|
default CreateSiteToSiteVpnAttachmentResponse |
createSiteToSiteVpnAttachment(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest)
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
|
default CreateSiteToSiteVpnAttachmentResponse |
createSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest)
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
|
default CreateTransitGatewayPeeringResponse |
createTransitGatewayPeering(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest)
Creates a transit gateway peering connection.
|
default CreateTransitGatewayPeeringResponse |
createTransitGatewayPeering(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest)
Creates a transit gateway peering connection.
|
default CreateTransitGatewayRouteTableAttachmentResponse |
createTransitGatewayRouteTableAttachment(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest)
Creates a transit gateway route table attachment.
|
default CreateTransitGatewayRouteTableAttachmentResponse |
createTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest)
Creates a transit gateway route table attachment.
|
default CreateVpcAttachmentResponse |
createVpcAttachment(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest)
Creates a VPC attachment on an edge location of a core network.
|
default CreateVpcAttachmentResponse |
createVpcAttachment(CreateVpcAttachmentRequest createVpcAttachmentRequest)
Creates a VPC attachment on an edge location of a core network.
|
default DeleteAttachmentResponse |
deleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest)
Deletes an attachment.
|
default DeleteAttachmentResponse |
deleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest)
Deletes an attachment.
|
default DeleteConnectionResponse |
deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)
Deletes the specified connection in your global network.
|
default DeleteConnectionResponse |
deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Deletes the specified connection in your global network.
|
default DeleteConnectPeerResponse |
deleteConnectPeer(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest)
Deletes a Connect peer.
|
default DeleteConnectPeerResponse |
deleteConnectPeer(DeleteConnectPeerRequest deleteConnectPeerRequest)
Deletes a Connect peer.
|
default DeleteCoreNetworkResponse |
deleteCoreNetwork(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest)
Deletes a core network along with all core network policies.
|
default DeleteCoreNetworkResponse |
deleteCoreNetwork(DeleteCoreNetworkRequest deleteCoreNetworkRequest)
Deletes a core network along with all core network policies.
|
default DeleteCoreNetworkPolicyVersionResponse |
deleteCoreNetworkPolicyVersion(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest)
Deletes a policy version from a core network.
|
default DeleteCoreNetworkPolicyVersionResponse |
deleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest)
Deletes a policy version from a core network.
|
default DeleteDeviceResponse |
deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest)
Deletes an existing device.
|
default DeleteDeviceResponse |
deleteDevice(DeleteDeviceRequest deleteDeviceRequest)
Deletes an existing device.
|
default DeleteGlobalNetworkResponse |
deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest)
Deletes an existing global network.
|
default DeleteGlobalNetworkResponse |
deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest)
Deletes an existing global network.
|
default DeleteLinkResponse |
deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest)
Deletes an existing link.
|
default DeleteLinkResponse |
deleteLink(DeleteLinkRequest deleteLinkRequest)
Deletes an existing link.
|
default DeletePeeringResponse |
deletePeering(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest)
Deletes an existing peering connection.
|
default DeletePeeringResponse |
deletePeering(DeletePeeringRequest deletePeeringRequest)
Deletes an existing peering connection.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes a resource policy for the specified resource.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource policy for the specified resource.
|
default DeleteSiteResponse |
deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)
Deletes an existing site.
|
default DeleteSiteResponse |
deleteSite(DeleteSiteRequest deleteSiteRequest)
Deletes an existing site.
|
default DeregisterTransitGatewayResponse |
deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network.
|
default DeregisterTransitGatewayResponse |
deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest)
Deregisters a transit gateway from your global network.
|
default DescribeGlobalNetworksResponse |
describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksResponse |
describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksIterable |
describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DescribeGlobalNetworksIterable |
describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest)
Describes one or more global networks.
|
default DisassociateConnectPeerResponse |
disassociateConnectPeer(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest)
Disassociates a core network Connect peer from a device and a link.
|
default DisassociateConnectPeerResponse |
disassociateConnectPeer(DisassociateConnectPeerRequest disassociateConnectPeerRequest)
Disassociates a core network Connect peer from a device and a link.
|
default DisassociateCustomerGatewayResponse |
disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
|
default DisassociateCustomerGatewayResponse |
disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest)
Disassociates a customer gateway from a device and a link.
|
default DisassociateLinkResponse |
disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest)
Disassociates an existing device from a link.
|
default DisassociateLinkResponse |
disassociateLink(DisassociateLinkRequest disassociateLinkRequest)
Disassociates an existing device from a link.
|
default DisassociateTransitGatewayConnectPeerResponse |
disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
|
default DisassociateTransitGatewayConnectPeerResponse |
disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest)
Disassociates a transit gateway Connect peer from a device and link.
|
default ExecuteCoreNetworkChangeSetResponse |
executeCoreNetworkChangeSet(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest)
Executes a change set on your core network.
|
default ExecuteCoreNetworkChangeSetResponse |
executeCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest)
Executes a change set on your core network.
|
default GetConnectAttachmentResponse |
getConnectAttachment(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest)
Returns information about a core network Connect attachment.
|
default GetConnectAttachmentResponse |
getConnectAttachment(GetConnectAttachmentRequest getConnectAttachmentRequest)
Returns information about a core network Connect attachment.
|
default GetConnectionsResponse |
getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsResponse |
getConnections(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsIterable |
getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectionsIterable |
getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest)
Gets information about one or more of your connections in a global network.
|
default GetConnectPeerResponse |
getConnectPeer(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest)
Returns information about a core network Connect peer.
|
default GetConnectPeerResponse |
getConnectPeer(GetConnectPeerRequest getConnectPeerRequest)
Returns information about a core network Connect peer.
|
default GetConnectPeerAssociationsResponse |
getConnectPeerAssociations(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest)
Returns information about a core network Connect peer associations.
|
default GetConnectPeerAssociationsResponse |
getConnectPeerAssociations(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest)
Returns information about a core network Connect peer associations.
|
default GetConnectPeerAssociationsIterable |
getConnectPeerAssociationsPaginator(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest)
Returns information about a core network Connect peer associations.
|
default GetConnectPeerAssociationsIterable |
getConnectPeerAssociationsPaginator(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest)
Returns information about a core network Connect peer associations.
|
default GetCoreNetworkResponse |
getCoreNetwork(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest)
Returns information about the LIVE policy for a core network.
|
default GetCoreNetworkResponse |
getCoreNetwork(GetCoreNetworkRequest getCoreNetworkRequest)
Returns information about the LIVE policy for a core network.
|
default GetCoreNetworkChangeEventsResponse |
getCoreNetworkChangeEvents(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest)
Returns information about a core network change event.
|
default GetCoreNetworkChangeEventsResponse |
getCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest)
Returns information about a core network change event.
|
default GetCoreNetworkChangeEventsIterable |
getCoreNetworkChangeEventsPaginator(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest)
Returns information about a core network change event.
|
default GetCoreNetworkChangeEventsIterable |
getCoreNetworkChangeEventsPaginator(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest)
Returns information about a core network change event.
|
default GetCoreNetworkChangeSetResponse |
getCoreNetworkChangeSet(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest)
Returns a change set between the LIVE core network policy and a submitted policy.
|
default GetCoreNetworkChangeSetResponse |
getCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest)
Returns a change set between the LIVE core network policy and a submitted policy.
|
default GetCoreNetworkChangeSetIterable |
getCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest)
Returns a change set between the LIVE core network policy and a submitted policy.
|
default GetCoreNetworkChangeSetIterable |
getCoreNetworkChangeSetPaginator(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest)
Returns a change set between the LIVE core network policy and a submitted policy.
|
default GetCoreNetworkPolicyResponse |
getCoreNetworkPolicy(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest)
Returns details about a core network policy.
|
default GetCoreNetworkPolicyResponse |
getCoreNetworkPolicy(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest)
Returns details about a core network policy.
|
default GetCustomerGatewayAssociationsResponse |
getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsResponse |
getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsIterable |
getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetCustomerGatewayAssociationsIterable |
getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest)
Gets the association information for customer gateways that are associated with devices and links in your global
network.
|
default GetDevicesResponse |
getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesResponse |
getDevices(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesIterable |
getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetDevicesIterable |
getDevicesPaginator(GetDevicesRequest getDevicesRequest)
Gets information about one or more of your devices in a global network.
|
default GetLinkAssociationsResponse |
getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsResponse |
getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsIterable |
getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinkAssociationsIterable |
getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest)
Gets the link associations for a device or a link.
|
default GetLinksResponse |
getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksResponse |
getLinks(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksIterable |
getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetLinksIterable |
getLinksPaginator(GetLinksRequest getLinksRequest)
Gets information about one or more links in a specified global network.
|
default GetNetworkResourceCountsResponse |
getNetworkResourceCounts(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest)
Gets the count of network resources, by resource type, for the specified global network.
|
default GetNetworkResourceCountsResponse |
getNetworkResourceCounts(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest)
Gets the count of network resources, by resource type, for the specified global network.
|
default GetNetworkResourceCountsIterable |
getNetworkResourceCountsPaginator(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest)
Gets the count of network resources, by resource type, for the specified global network.
|
default GetNetworkResourceCountsIterable |
getNetworkResourceCountsPaginator(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest)
Gets the count of network resources, by resource type, for the specified global network.
|
default GetNetworkResourceRelationshipsResponse |
getNetworkResourceRelationships(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest)
Gets the network resource relationships for the specified global network.
|
default GetNetworkResourceRelationshipsResponse |
getNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest)
Gets the network resource relationships for the specified global network.
|
default GetNetworkResourceRelationshipsIterable |
getNetworkResourceRelationshipsPaginator(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest)
Gets the network resource relationships for the specified global network.
|
default GetNetworkResourceRelationshipsIterable |
getNetworkResourceRelationshipsPaginator(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest)
Gets the network resource relationships for the specified global network.
|
default GetNetworkResourcesResponse |
getNetworkResources(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest)
Describes the network resources for the specified global network.
|
default GetNetworkResourcesResponse |
getNetworkResources(GetNetworkResourcesRequest getNetworkResourcesRequest)
Describes the network resources for the specified global network.
|
default GetNetworkResourcesIterable |
getNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest)
Describes the network resources for the specified global network.
|
default GetNetworkResourcesIterable |
getNetworkResourcesPaginator(GetNetworkResourcesRequest getNetworkResourcesRequest)
Describes the network resources for the specified global network.
|
default GetNetworkRoutesResponse |
getNetworkRoutes(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest)
Gets the network routes of the specified global network.
|
default GetNetworkRoutesResponse |
getNetworkRoutes(GetNetworkRoutesRequest getNetworkRoutesRequest)
Gets the network routes of the specified global network.
|
default GetNetworkTelemetryResponse |
getNetworkTelemetry(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest)
Gets the network telemetry of the specified global network.
|
default GetNetworkTelemetryResponse |
getNetworkTelemetry(GetNetworkTelemetryRequest getNetworkTelemetryRequest)
Gets the network telemetry of the specified global network.
|
default GetNetworkTelemetryIterable |
getNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest)
Gets the network telemetry of the specified global network.
|
default GetNetworkTelemetryIterable |
getNetworkTelemetryPaginator(GetNetworkTelemetryRequest getNetworkTelemetryRequest)
Gets the network telemetry of the specified global network.
|
default GetResourcePolicyResponse |
getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)
Returns information about a resource policy.
|
default GetResourcePolicyResponse |
getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Returns information about a resource policy.
|
default GetRouteAnalysisResponse |
getRouteAnalysis(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest)
Gets information about the specified route analysis.
|
default GetRouteAnalysisResponse |
getRouteAnalysis(GetRouteAnalysisRequest getRouteAnalysisRequest)
Gets information about the specified route analysis.
|
default GetSitesResponse |
getSites(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesResponse |
getSites(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesIterable |
getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSitesIterable |
getSitesPaginator(GetSitesRequest getSitesRequest)
Gets information about one or more of your sites in a global network.
|
default GetSiteToSiteVpnAttachmentResponse |
getSiteToSiteVpnAttachment(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest)
Returns information about a site-to-site VPN attachment.
|
default GetSiteToSiteVpnAttachmentResponse |
getSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest)
Returns information about a site-to-site VPN attachment.
|
default GetTransitGatewayConnectPeerAssociationsResponse |
getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsResponse |
getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsIterable |
getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayConnectPeerAssociationsIterable |
getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest)
Gets information about one or more of your transit gateway Connect peer associations in a global network.
|
default GetTransitGatewayPeeringResponse |
getTransitGatewayPeering(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest)
Returns information about a transit gateway peer.
|
default GetTransitGatewayPeeringResponse |
getTransitGatewayPeering(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest)
Returns information about a transit gateway peer.
|
default GetTransitGatewayRegistrationsResponse |
getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsResponse |
getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsIterable |
getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRegistrationsIterable |
getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest)
Gets information about the transit gateway registrations in a specified global network.
|
default GetTransitGatewayRouteTableAttachmentResponse |
getTransitGatewayRouteTableAttachment(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest)
Returns information about a transit gateway route table attachment.
|
default GetTransitGatewayRouteTableAttachmentResponse |
getTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest)
Returns information about a transit gateway route table attachment.
|
default GetVpcAttachmentResponse |
getVpcAttachment(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest)
Returns information about a VPC attachment.
|
default GetVpcAttachmentResponse |
getVpcAttachment(GetVpcAttachmentRequest getVpcAttachmentRequest)
Returns information about a VPC attachment.
|
default ListAttachmentsResponse |
listAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest)
Returns a list of core network attachments.
|
default ListAttachmentsResponse |
listAttachments(ListAttachmentsRequest listAttachmentsRequest)
Returns a list of core network attachments.
|
default ListAttachmentsIterable |
listAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest)
Returns a list of core network attachments.
|
default ListAttachmentsIterable |
listAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest)
Returns a list of core network attachments.
|
default ListConnectPeersResponse |
listConnectPeers(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest)
Returns a list of core network Connect peers.
|
default ListConnectPeersResponse |
listConnectPeers(ListConnectPeersRequest listConnectPeersRequest)
Returns a list of core network Connect peers.
|
default ListConnectPeersIterable |
listConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest)
Returns a list of core network Connect peers.
|
default ListConnectPeersIterable |
listConnectPeersPaginator(ListConnectPeersRequest listConnectPeersRequest)
Returns a list of core network Connect peers.
|
default ListCoreNetworkPolicyVersionsResponse |
listCoreNetworkPolicyVersions(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest)
Returns a list of core network policy versions.
|
default ListCoreNetworkPolicyVersionsResponse |
listCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest)
Returns a list of core network policy versions.
|
default ListCoreNetworkPolicyVersionsIterable |
listCoreNetworkPolicyVersionsPaginator(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest)
Returns a list of core network policy versions.
|
default ListCoreNetworkPolicyVersionsIterable |
listCoreNetworkPolicyVersionsPaginator(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest)
Returns a list of core network policy versions.
|
default ListCoreNetworksResponse |
listCoreNetworks(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest)
Returns a list of owned and shared core networks.
|
default ListCoreNetworksResponse |
listCoreNetworks(ListCoreNetworksRequest listCoreNetworksRequest)
Returns a list of owned and shared core networks.
|
default ListCoreNetworksIterable |
listCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest)
Returns a list of owned and shared core networks.
|
default ListCoreNetworksIterable |
listCoreNetworksPaginator(ListCoreNetworksRequest listCoreNetworksRequest)
Returns a list of owned and shared core networks.
|
default 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.
|
default ListOrganizationServiceAccessStatusResponse |
listOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest)
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services
Organization.
|
default ListPeeringsResponse |
listPeerings(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest)
Lists the peerings for a core network.
|
default ListPeeringsResponse |
listPeerings(ListPeeringsRequest listPeeringsRequest)
Lists the peerings for a core network.
|
default ListPeeringsIterable |
listPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest)
Lists the peerings for a core network.
|
default ListPeeringsIterable |
listPeeringsPaginator(ListPeeringsRequest listPeeringsRequest)
Lists the peerings for a core network.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for a specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for a specified resource.
|
default PutCoreNetworkPolicyResponse |
putCoreNetworkPolicy(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest)
Creates a new, immutable version of a core network policy.
|
default PutCoreNetworkPolicyResponse |
putCoreNetworkPolicy(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest)
Creates a new, immutable version of a core network policy.
|
default PutResourcePolicyResponse |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Creates or updates a resource policy.
|
default PutResourcePolicyResponse |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Creates or updates a resource policy.
|
default RegisterTransitGatewayResponse |
registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest)
Registers a transit gateway in your global network.
|
default RegisterTransitGatewayResponse |
registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest)
Registers a transit gateway in your global network.
|
default RejectAttachmentResponse |
rejectAttachment(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest)
Rejects a core network attachment request.
|
default RejectAttachmentResponse |
rejectAttachment(RejectAttachmentRequest rejectAttachmentRequest)
Rejects a core network attachment request.
|
default RestoreCoreNetworkPolicyVersionResponse |
restoreCoreNetworkPolicyVersion(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest)
Restores a previous policy version as a new, immutable version of a core network policy.
|
default RestoreCoreNetworkPolicyVersionResponse |
restoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest)
Restores a previous policy version as a new, immutable version of a core network policy.
|
static ServiceMetadata |
serviceMetadata() |
default StartOrganizationServiceAccessUpdateResponse |
startOrganizationServiceAccessUpdate(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest)
Enables for the Network Manager service for an Amazon Web Services Organization.
|
default StartOrganizationServiceAccessUpdateResponse |
startOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest)
Enables for the Network Manager service for an Amazon Web Services Organization.
|
default StartRouteAnalysisResponse |
startRouteAnalysis(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest)
Starts analyzing the routing path between the specified source and destination.
|
default StartRouteAnalysisResponse |
startRouteAnalysis(StartRouteAnalysisRequest startRouteAnalysisRequest)
Starts analyzing the routing path between the specified source and destination.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Tags a specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Tags a specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a specified resource.
|
default UpdateConnectionResponse |
updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest)
Updates the information for an existing connection.
|
default UpdateConnectionResponse |
updateConnection(UpdateConnectionRequest updateConnectionRequest)
Updates the information for an existing connection.
|
default UpdateCoreNetworkResponse |
updateCoreNetwork(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest)
Updates the description of a core network.
|
default UpdateCoreNetworkResponse |
updateCoreNetwork(UpdateCoreNetworkRequest updateCoreNetworkRequest)
Updates the description of a core network.
|
default UpdateDeviceResponse |
updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest)
Updates the details for an existing device.
|
default UpdateDeviceResponse |
updateDevice(UpdateDeviceRequest updateDeviceRequest)
Updates the details for an existing device.
|
default UpdateGlobalNetworkResponse |
updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest)
Updates an existing global network.
|
default UpdateGlobalNetworkResponse |
updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest)
Updates an existing global network.
|
default UpdateLinkResponse |
updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest)
Updates the details for an existing link.
|
default UpdateLinkResponse |
updateLink(UpdateLinkRequest updateLinkRequest)
Updates the details for an existing link.
|
default UpdateNetworkResourceMetadataResponse |
updateNetworkResourceMetadata(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest)
Updates the resource metadata for the specified global network.
|
default UpdateNetworkResourceMetadataResponse |
updateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest)
Updates the resource metadata for the specified global network.
|
default UpdateSiteResponse |
updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)
Updates the information for an existing site.
|
default UpdateSiteResponse |
updateSite(UpdateSiteRequest updateSiteRequest)
Updates the information for an existing site.
|
default UpdateVpcAttachmentResponse |
updateVpcAttachment(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest)
Updates a VPC attachment.
|
default UpdateVpcAttachmentResponse |
updateVpcAttachment(UpdateVpcAttachmentRequest updateVpcAttachmentRequest)
Updates a VPC attachment.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static NetworkManagerClient create()
NetworkManagerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static NetworkManagerClientBuilder builder()
NetworkManagerClient.default AcceptAttachmentResponse acceptAttachment(AcceptAttachmentRequest acceptAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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.
acceptAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AcceptAttachmentResponse acceptAttachment(Consumer<AcceptAttachmentRequest.Builder> acceptAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
This is a convenience which creates an instance of the AcceptAttachmentRequest.Builder avoiding the need
to create one manually via AcceptAttachmentRequest.builder()
acceptAttachmentRequest - A Consumer that will call methods on AcceptAttachmentRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateConnectPeerResponse associateConnectPeer(AssociateConnectPeerRequest associateConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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.
associateConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateConnectPeerResponse associateConnectPeer(Consumer<AssociateConnectPeerRequest.Builder> associateConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a core network Connect peer with a device and optionally, with a link.
If you specify a link, it must be associated with the specified device. You can only associate core network Connect peers that have been created on a core network Connect attachment on a core network.
This is a convenience which creates an instance of the AssociateConnectPeerRequest.Builder avoiding the
need to create one manually via AssociateConnectPeerRequest.builder()
associateConnectPeerRequest - A Consumer that will call methods on AssociateConnectPeerRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateCustomerGatewayResponse associateCustomerGateway(AssociateCustomerGatewayRequest associateCustomerGatewayRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway 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.
associateCustomerGatewayRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateCustomerGatewayResponse associateCustomerGateway(Consumer<AssociateCustomerGatewayRequest.Builder> associateCustomerGatewayRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway or core
network registered in your global network. When you register a transit gateway or core network, customer gateways
that are connected to the transit gateway are automatically included in the global network. To list customer
gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.
You cannot associate a customer gateway with more than one device and link.
This is a convenience which creates an instance of the AssociateCustomerGatewayRequest.Builder avoiding
the need to create one manually via AssociateCustomerGatewayRequest.builder()
associateCustomerGatewayRequest - A Consumer that will call methods on AssociateCustomerGatewayRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateLinkResponse associateLink(AssociateLinkRequest associateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
associateLinkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateLinkResponse associateLink(Consumer<AssociateLinkRequest.Builder> associateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
This is a convenience which creates an instance of the AssociateLinkRequest.Builder avoiding the need to
create one manually via AssociateLinkRequest.builder()
associateLinkRequest - A Consumer that will call methods on AssociateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateTransitGatewayConnectPeerResponse associateTransitGatewayConnectPeer(AssociateTransitGatewayConnectPeerRequest associateTransitGatewayConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
associateTransitGatewayConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AssociateTransitGatewayConnectPeerResponse associateTransitGatewayConnectPeer(Consumer<AssociateTransitGatewayConnectPeerRequest.Builder> associateTransitGatewayConnectPeerRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
This is a convenience which creates an instance of the AssociateTransitGatewayConnectPeerRequest.Builder
avoiding the need to create one manually via AssociateTransitGatewayConnectPeerRequest.builder()
associateTransitGatewayConnectPeerRequest - A Consumer that will call methods on AssociateTransitGatewayConnectPeerRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectAttachmentResponse createConnectAttachment(CreateConnectAttachmentRequest createConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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.
createConnectAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectAttachmentResponse createConnectAttachment(Consumer<CreateConnectAttachmentRequest.Builder> createConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
This is a convenience which creates an instance of the CreateConnectAttachmentRequest.Builder avoiding
the need to create one manually via CreateConnectAttachmentRequest.builder()
createConnectAttachmentRequest - A Consumer that will call methods on CreateConnectAttachmentRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectPeerResponse createConnectPeer(CreateConnectPeerRequest createConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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).
createConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectPeerResponse createConnectPeer(Consumer<CreateConnectPeerRequest.Builder> createConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
This is a convenience which creates an instance of the CreateConnectPeerRequest.Builder avoiding the need
to create one manually via CreateConnectPeerRequest.builder()
createConnectPeerRequest - A Consumer that will call methods on CreateConnectPeerRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectionResponse createConnection(CreateConnectionRequest createConnectionRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
createConnectionRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateConnectionResponse createConnection(Consumer<CreateConnectionRequest.Builder> createConnectionRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
This is a convenience which creates an instance of the CreateConnectionRequest.Builder avoiding the need
to create one manually via CreateConnectionRequest.builder()
createConnectionRequest - A Consumer that will call methods on CreateConnectionRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCoreNetworkResponse createCoreNetwork(CreateCoreNetworkRequest createCoreNetworkRequest) throws CoreNetworkPolicyException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a core network as part of your global network, and optionally, with a core network policy.
createCoreNetworkRequest - 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.AwsServiceExceptiondefault CreateCoreNetworkResponse createCoreNetwork(Consumer<CreateCoreNetworkRequest.Builder> createCoreNetworkRequest) throws CoreNetworkPolicyException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a core network as part of your global network, and optionally, with a core network policy.
This is a convenience which creates an instance of the CreateCoreNetworkRequest.Builder avoiding the need
to create one manually via CreateCoreNetworkRequest.builder()
createCoreNetworkRequest - A Consumer that will call methods on CreateCoreNetworkRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateDeviceResponse createDevice(CreateDeviceRequest createDeviceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
createDeviceRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeviceResponse createDevice(Consumer<CreateDeviceRequest.Builder> createDeviceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
This is a convenience which creates an instance of the CreateDeviceRequest.Builder avoiding the need to
create one manually via CreateDeviceRequest.builder()
createDeviceRequest - A Consumer that will call methods on CreateDeviceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGlobalNetworkResponse createGlobalNetwork(CreateGlobalNetworkRequest createGlobalNetworkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new, empty global network.
createGlobalNetworkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateGlobalNetworkResponse createGlobalNetwork(Consumer<CreateGlobalNetworkRequest.Builder> createGlobalNetworkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new, empty global network.
This is a convenience which creates an instance of the CreateGlobalNetworkRequest.Builder avoiding the
need to create one manually via CreateGlobalNetworkRequest.builder()
createGlobalNetworkRequest - A Consumer that will call methods on CreateGlobalNetworkRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLinkResponse createLink(CreateLinkRequest createLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new link for a specified site.
createLinkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateLinkResponse createLink(Consumer<CreateLinkRequest.Builder> createLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new link for a specified site.
This is a convenience which creates an instance of the CreateLinkRequest.Builder avoiding the need to
create one manually via CreateLinkRequest.builder()
createLinkRequest - A Consumer that will call methods on CreateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSiteResponse createSite(CreateSiteRequest createSiteRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new site in a global network.
createSiteRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSiteResponse createSite(Consumer<CreateSiteRequest.Builder> createSiteRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new site in a global network.
This is a convenience which creates an instance of the CreateSiteRequest.Builder avoiding the need to
create one manually via CreateSiteRequest.builder()
createSiteRequest - A Consumer that will call methods on CreateSiteRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSiteToSiteVpnAttachmentResponse createSiteToSiteVpnAttachment(CreateSiteToSiteVpnAttachmentRequest createSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
createSiteToSiteVpnAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSiteToSiteVpnAttachmentResponse createSiteToSiteVpnAttachment(Consumer<CreateSiteToSiteVpnAttachmentRequest.Builder> createSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
This is a convenience which creates an instance of the CreateSiteToSiteVpnAttachmentRequest.Builder
avoiding the need to create one manually via CreateSiteToSiteVpnAttachmentRequest.builder()
createSiteToSiteVpnAttachmentRequest - A Consumer that will call methods on CreateSiteToSiteVpnAttachmentRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTransitGatewayPeeringResponse createTransitGatewayPeering(CreateTransitGatewayPeeringRequest createTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a transit gateway peering connection.
createTransitGatewayPeeringRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTransitGatewayPeeringResponse createTransitGatewayPeering(Consumer<CreateTransitGatewayPeeringRequest.Builder> createTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a transit gateway peering connection.
This is a convenience which creates an instance of the CreateTransitGatewayPeeringRequest.Builder
avoiding the need to create one manually via CreateTransitGatewayPeeringRequest.builder()
createTransitGatewayPeeringRequest - A Consumer that will call methods on CreateTransitGatewayPeeringRequest.Builder to create
a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTransitGatewayRouteTableAttachmentResponse createTransitGatewayRouteTableAttachment(CreateTransitGatewayRouteTableAttachmentRequest createTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a transit gateway route table attachment.
createTransitGatewayRouteTableAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTransitGatewayRouteTableAttachmentResponse createTransitGatewayRouteTableAttachment(Consumer<CreateTransitGatewayRouteTableAttachmentRequest.Builder> createTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a transit gateway route table attachment.
This is a convenience which creates an instance of the
CreateTransitGatewayRouteTableAttachmentRequest.Builder avoiding the need to create one manually via
CreateTransitGatewayRouteTableAttachmentRequest.builder()
createTransitGatewayRouteTableAttachmentRequest - A Consumer that will call methods on
CreateTransitGatewayRouteTableAttachmentRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateVpcAttachmentResponse createVpcAttachment(CreateVpcAttachmentRequest createVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a VPC attachment on an edge location of a core network.
createVpcAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateVpcAttachmentResponse createVpcAttachment(Consumer<CreateVpcAttachmentRequest.Builder> createVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a VPC attachment on an edge location of a core network.
This is a convenience which creates an instance of the CreateVpcAttachmentRequest.Builder avoiding the
need to create one manually via CreateVpcAttachmentRequest.builder()
createVpcAttachmentRequest - A Consumer that will call methods on CreateVpcAttachmentRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAttachmentResponse deleteAttachment(DeleteAttachmentRequest deleteAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an attachment. Supports all attachment types.
deleteAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAttachmentResponse deleteAttachment(Consumer<DeleteAttachmentRequest.Builder> deleteAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an attachment. Supports all attachment types.
This is a convenience which creates an instance of the DeleteAttachmentRequest.Builder avoiding the need
to create one manually via DeleteAttachmentRequest.builder()
deleteAttachmentRequest - A Consumer that will call methods on DeleteAttachmentRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectPeerResponse deleteConnectPeer(DeleteConnectPeerRequest deleteConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a Connect peer.
deleteConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectPeerResponse deleteConnectPeer(Consumer<DeleteConnectPeerRequest.Builder> deleteConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a Connect peer.
This is a convenience which creates an instance of the DeleteConnectPeerRequest.Builder avoiding the need
to create one manually via DeleteConnectPeerRequest.builder()
deleteConnectPeerRequest - A Consumer that will call methods on DeleteConnectPeerRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectionResponse deleteConnection(DeleteConnectionRequest deleteConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes the specified connection in your global network.
deleteConnectionRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteConnectionResponse deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes the specified connection in your global network.
This is a convenience which creates an instance of the DeleteConnectionRequest.Builder avoiding the need
to create one manually via DeleteConnectionRequest.builder()
deleteConnectionRequest - A Consumer that will call methods on DeleteConnectionRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCoreNetworkResponse deleteCoreNetwork(DeleteCoreNetworkRequest deleteCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
deleteCoreNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCoreNetworkResponse deleteCoreNetwork(Consumer<DeleteCoreNetworkRequest.Builder> deleteCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
This is a convenience which creates an instance of the DeleteCoreNetworkRequest.Builder avoiding the need
to create one manually via DeleteCoreNetworkRequest.builder()
deleteCoreNetworkRequest - A Consumer that will call methods on DeleteCoreNetworkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCoreNetworkPolicyVersionResponse deleteCoreNetworkPolicyVersion(DeleteCoreNetworkPolicyVersionRequest deleteCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a policy version from a core network. You can't delete the current LIVE policy.
deleteCoreNetworkPolicyVersionRequest - ValidationException - The input 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.AwsServiceExceptiondefault DeleteCoreNetworkPolicyVersionResponse deleteCoreNetworkPolicyVersion(Consumer<DeleteCoreNetworkPolicyVersionRequest.Builder> deleteCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a policy version from a core network. You can't delete the current LIVE policy.
This is a convenience which creates an instance of the DeleteCoreNetworkPolicyVersionRequest.Builder
avoiding the need to create one manually via DeleteCoreNetworkPolicyVersionRequest.builder()
deleteCoreNetworkPolicyVersionRequest - A Consumer that will call methods on DeleteCoreNetworkPolicyVersionRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.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.AwsServiceExceptiondefault DeleteDeviceResponse deleteDevice(DeleteDeviceRequest deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
deleteDeviceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDeviceResponse deleteDevice(Consumer<DeleteDeviceRequest.Builder> deleteDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
This is a convenience which creates an instance of the DeleteDeviceRequest.Builder avoiding the need to
create one manually via DeleteDeviceRequest.builder()
deleteDeviceRequest - A Consumer that will call methods on DeleteDeviceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGlobalNetworkResponse deleteGlobalNetwork(DeleteGlobalNetworkRequest deleteGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
deleteGlobalNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteGlobalNetworkResponse deleteGlobalNetwork(Consumer<DeleteGlobalNetworkRequest.Builder> deleteGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
This is a convenience which creates an instance of the DeleteGlobalNetworkRequest.Builder avoiding the
need to create one manually via DeleteGlobalNetworkRequest.builder()
deleteGlobalNetworkRequest - A Consumer that will call methods on DeleteGlobalNetworkRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLinkResponse deleteLink(DeleteLinkRequest deleteLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
deleteLinkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteLinkResponse deleteLink(Consumer<DeleteLinkRequest.Builder> deleteLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
This is a convenience which creates an instance of the DeleteLinkRequest.Builder avoiding the need to
create one manually via DeleteLinkRequest.builder()
deleteLinkRequest - A Consumer that will call methods on DeleteLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePeeringResponse deletePeering(DeletePeeringRequest deletePeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing peering connection.
deletePeeringRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePeeringResponse deletePeering(Consumer<DeletePeeringRequest.Builder> deletePeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing peering connection.
This is a convenience which creates an instance of the DeletePeeringRequest.Builder avoiding the need to
create one manually via DeletePeeringRequest.builder()
deletePeeringRequest - A Consumer that will call methods on DeletePeeringRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
deleteResourcePolicyRequest - 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.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws ValidationException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteSiteResponse deleteSite(DeleteSiteRequest deleteSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing site. The site cannot be associated with any device or link.
deleteSiteRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSiteResponse deleteSite(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deletes an existing site. The site cannot be associated with any device or link.
This is a convenience which creates an instance of the DeleteSiteRequest.Builder avoiding the need to
create one manually via DeleteSiteRequest.builder()
deleteSiteRequest - A Consumer that will call methods on DeleteSiteRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeregisterTransitGatewayResponse deregisterTransitGateway(DeregisterTransitGatewayRequest deregisterTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.
deregisterTransitGatewayRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeregisterTransitGatewayResponse deregisterTransitGateway(Consumer<DeregisterTransitGatewayRequest.Builder> deregisterTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.
This is a convenience which creates an instance of the DeregisterTransitGatewayRequest.Builder avoiding
the need to create one manually via DeregisterTransitGatewayRequest.builder()
deregisterTransitGatewayRequest - A Consumer that will call methods on DeregisterTransitGatewayRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksResponse describeGlobalNetworks(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
describeGlobalNetworksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksResponse describeGlobalNetworks(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the
need to create one manually via DescribeGlobalNetworksRequest.builder()
describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksIterable describeGlobalNetworksPaginator(DescribeGlobalNetworksRequest describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client
.describeGlobalNetworksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.
describeGlobalNetworksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeGlobalNetworksIterable describeGlobalNetworksPaginator(Consumer<DescribeGlobalNetworksRequest.Builder> describeGlobalNetworksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes one or more global networks. By default, all global networks are described. To describe the objects in
your global network, you must use the appropriate Get* action. For example, to list the transit
gateways in your global network, use GetTransitGatewayRegistrations.
This is a variant of
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client
.describeGlobalNetworksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.DescribeGlobalNetworksIterable responses = client.describeGlobalNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeGlobalNetworks(software.amazon.awssdk.services.networkmanager.model.DescribeGlobalNetworksRequest)
operation.
This is a convenience which creates an instance of the DescribeGlobalNetworksRequest.Builder avoiding the
need to create one manually via DescribeGlobalNetworksRequest.builder()
describeGlobalNetworksRequest - A Consumer that will call methods on DescribeGlobalNetworksRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateConnectPeerResponse disassociateConnectPeer(DisassociateConnectPeerRequest disassociateConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a core network Connect peer from a device and a link.
disassociateConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateConnectPeerResponse disassociateConnectPeer(Consumer<DisassociateConnectPeerRequest.Builder> disassociateConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a core network Connect peer from a device and a link.
This is a convenience which creates an instance of the DisassociateConnectPeerRequest.Builder avoiding
the need to create one manually via DisassociateConnectPeerRequest.builder()
disassociateConnectPeerRequest - A Consumer that will call methods on DisassociateConnectPeerRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateCustomerGatewayResponse disassociateCustomerGateway(DisassociateCustomerGatewayRequest disassociateCustomerGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a customer gateway from a device and a link.
disassociateCustomerGatewayRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateCustomerGatewayResponse disassociateCustomerGateway(Consumer<DisassociateCustomerGatewayRequest.Builder> disassociateCustomerGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a customer gateway from a device and a link.
This is a convenience which creates an instance of the DisassociateCustomerGatewayRequest.Builder
avoiding the need to create one manually via DisassociateCustomerGatewayRequest.builder()
disassociateCustomerGatewayRequest - A Consumer that will call methods on DisassociateCustomerGatewayRequest.Builder to create
a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateLinkResponse disassociateLink(DisassociateLinkRequest disassociateLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
disassociateLinkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateLinkResponse disassociateLink(Consumer<DisassociateLinkRequest.Builder> disassociateLinkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
This is a convenience which creates an instance of the DisassociateLinkRequest.Builder avoiding the need
to create one manually via DisassociateLinkRequest.builder()
disassociateLinkRequest - A Consumer that will call methods on DisassociateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateTransitGatewayConnectPeerResponse disassociateTransitGatewayConnectPeer(DisassociateTransitGatewayConnectPeerRequest disassociateTransitGatewayConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a transit gateway Connect peer from a device and link.
disassociateTransitGatewayConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateTransitGatewayConnectPeerResponse disassociateTransitGatewayConnectPeer(Consumer<DisassociateTransitGatewayConnectPeerRequest.Builder> disassociateTransitGatewayConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Disassociates a transit gateway Connect peer from a device and link.
This is a convenience which creates an instance of the
DisassociateTransitGatewayConnectPeerRequest.Builder avoiding the need to create one manually via
DisassociateTransitGatewayConnectPeerRequest.builder()
disassociateTransitGatewayConnectPeerRequest - A Consumer that will call methods on DisassociateTransitGatewayConnectPeerRequest.Builder
to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteCoreNetworkChangeSetResponse executeCoreNetworkChangeSet(ExecuteCoreNetworkChangeSetRequest executeCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
Executes a change set on your core network. Deploys changes globally based on the policy submitted..
executeCoreNetworkChangeSetRequest - ValidationException - The input 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.AwsServiceExceptiondefault ExecuteCoreNetworkChangeSetResponse executeCoreNetworkChangeSet(Consumer<ExecuteCoreNetworkChangeSetRequest.Builder> executeCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
Executes a change set on your core network. Deploys changes globally based on the policy submitted..
This is a convenience which creates an instance of the ExecuteCoreNetworkChangeSetRequest.Builder
avoiding the need to create one manually via ExecuteCoreNetworkChangeSetRequest.builder()
executeCoreNetworkChangeSetRequest - A Consumer that will call methods on ExecuteCoreNetworkChangeSetRequest.Builder to create
a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.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.AwsServiceExceptiondefault GetConnectAttachmentResponse getConnectAttachment(GetConnectAttachmentRequest getConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect attachment.
getConnectAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectAttachmentResponse getConnectAttachment(Consumer<GetConnectAttachmentRequest.Builder> getConnectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect attachment.
This is a convenience which creates an instance of the GetConnectAttachmentRequest.Builder avoiding the
need to create one manually via GetConnectAttachmentRequest.builder()
getConnectAttachmentRequest - A Consumer that will call methods on GetConnectAttachmentRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectPeerResponse getConnectPeer(GetConnectPeerRequest getConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect peer.
getConnectPeerRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectPeerResponse getConnectPeer(Consumer<GetConnectPeerRequest.Builder> getConnectPeerRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect peer.
This is a convenience which creates an instance of the GetConnectPeerRequest.Builder avoiding the need to
create one manually via GetConnectPeerRequest.builder()
getConnectPeerRequest - A Consumer that will call methods on GetConnectPeerRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectPeerAssociationsResponse getConnectPeerAssociations(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect peer associations.
getConnectPeerAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectPeerAssociationsResponse getConnectPeerAssociations(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect peer associations.
This is a convenience which creates an instance of the GetConnectPeerAssociationsRequest.Builder avoiding
the need to create one manually via GetConnectPeerAssociationsRequest.builder()
getConnectPeerAssociationsRequest - A Consumer that will call methods on GetConnectPeerAssociationsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectPeerAssociationsIterable getConnectPeerAssociationsPaginator(GetConnectPeerAssociationsRequest getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect peer associations.
This is a variant of
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client
.getConnectPeerAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation.
getConnectPeerAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectPeerAssociationsIterable getConnectPeerAssociationsPaginator(Consumer<GetConnectPeerAssociationsRequest.Builder> getConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network Connect peer associations.
This is a variant of
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client
.getConnectPeerAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetConnectPeerAssociationsIterable responses = client.getConnectPeerAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetConnectPeerAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetConnectPeerAssociationsRequest.Builder avoiding
the need to create one manually via GetConnectPeerAssociationsRequest.builder()
getConnectPeerAssociationsRequest - A Consumer that will call methods on GetConnectPeerAssociationsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsResponse getConnections(GetConnectionsRequest getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
getConnectionsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsResponse getConnections(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to
create one manually via GetConnectionsRequest.builder()
getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsIterable getConnectionsPaginator(GetConnectionsRequest getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client
.getConnectionsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.
getConnectionsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetConnectionsIterable getConnectionsPaginator(Consumer<GetConnectionsRequest.Builder> getConnectionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your connections in a global network.
This is a variant of
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client
.getConnectionsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetConnectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetConnectionsIterable responses = client.getConnectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getConnections(software.amazon.awssdk.services.networkmanager.model.GetConnectionsRequest)
operation.
This is a convenience which creates an instance of the GetConnectionsRequest.Builder avoiding the need to
create one manually via GetConnectionsRequest.builder()
getConnectionsRequest - A Consumer that will call methods on GetConnectionsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkResponse getCoreNetwork(GetCoreNetworkRequest getCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about the LIVE policy for a core network.
getCoreNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkResponse getCoreNetwork(Consumer<GetCoreNetworkRequest.Builder> getCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about the LIVE policy for a core network.
This is a convenience which creates an instance of the GetCoreNetworkRequest.Builder avoiding the need to
create one manually via GetCoreNetworkRequest.builder()
getCoreNetworkRequest - A Consumer that will call methods on GetCoreNetworkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeEventsResponse getCoreNetworkChangeEvents(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network change event.
getCoreNetworkChangeEventsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeEventsResponse getCoreNetworkChangeEvents(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network change event.
This is a convenience which creates an instance of the GetCoreNetworkChangeEventsRequest.Builder avoiding
the need to create one manually via GetCoreNetworkChangeEventsRequest.builder()
getCoreNetworkChangeEventsRequest - A Consumer that will call methods on GetCoreNetworkChangeEventsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeEventsIterable getCoreNetworkChangeEventsPaginator(GetCoreNetworkChangeEventsRequest getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network change event.
This is a variant of
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client
.getCoreNetworkChangeEventsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation.
getCoreNetworkChangeEventsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeEventsIterable getCoreNetworkChangeEventsPaginator(Consumer<GetCoreNetworkChangeEventsRequest.Builder> getCoreNetworkChangeEventsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a core network change event.
This is a variant of
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client
.getCoreNetworkChangeEventsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeEventsIterable responses = client.getCoreNetworkChangeEventsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeEvents(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeEventsRequest)
operation.
This is a convenience which creates an instance of the GetCoreNetworkChangeEventsRequest.Builder avoiding
the need to create one manually via GetCoreNetworkChangeEventsRequest.builder()
getCoreNetworkChangeEventsRequest - A Consumer that will call methods on GetCoreNetworkChangeEventsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeSetResponse getCoreNetworkChangeSet(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a change set between the LIVE core network policy and a submitted policy.
getCoreNetworkChangeSetRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeSetResponse getCoreNetworkChangeSet(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a change set between the LIVE core network policy and a submitted policy.
This is a convenience which creates an instance of the GetCoreNetworkChangeSetRequest.Builder avoiding
the need to create one manually via GetCoreNetworkChangeSetRequest.builder()
getCoreNetworkChangeSetRequest - A Consumer that will call methods on GetCoreNetworkChangeSetRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeSetIterable getCoreNetworkChangeSetPaginator(GetCoreNetworkChangeSetRequest getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a change set between the LIVE core network policy and a submitted policy.
This is a variant of
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client
.getCoreNetworkChangeSetPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.
getCoreNetworkChangeSetRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkChangeSetIterable getCoreNetworkChangeSetPaginator(Consumer<GetCoreNetworkChangeSetRequest.Builder> getCoreNetworkChangeSetRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a change set between the LIVE core network policy and a submitted policy.
This is a variant of
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client
.getCoreNetworkChangeSetPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCoreNetworkChangeSetIterable responses = client.getCoreNetworkChangeSetPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCoreNetworkChangeSet(software.amazon.awssdk.services.networkmanager.model.GetCoreNetworkChangeSetRequest)
operation.
This is a convenience which creates an instance of the GetCoreNetworkChangeSetRequest.Builder avoiding
the need to create one manually via GetCoreNetworkChangeSetRequest.builder()
getCoreNetworkChangeSetRequest - A Consumer that will call methods on GetCoreNetworkChangeSetRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkPolicyResponse getCoreNetworkPolicy(GetCoreNetworkPolicyRequest getCoreNetworkPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
getCoreNetworkPolicyRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCoreNetworkPolicyResponse getCoreNetworkPolicy(Consumer<GetCoreNetworkPolicyRequest.Builder> getCoreNetworkPolicyRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
This is a convenience which creates an instance of the GetCoreNetworkPolicyRequest.Builder avoiding the
need to create one manually via GetCoreNetworkPolicyRequest.builder()
getCoreNetworkPolicyRequest - A Consumer that will call methods on GetCoreNetworkPolicyRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsResponse getCustomerGatewayAssociations(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
getCustomerGatewayAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsResponse getCustomerGatewayAssociations(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder
avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()
getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsIterable getCustomerGatewayAssociationsPaginator(GetCustomerGatewayAssociationsRequest getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client
.getCustomerGatewayAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.
getCustomerGatewayAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomerGatewayAssociationsIterable getCustomerGatewayAssociationsPaginator(Consumer<GetCustomerGatewayAssociationsRequest.Builder> getCustomerGatewayAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the association information for customer gateways that are associated with devices and links in your global network.
This is a variant of
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client
.getCustomerGatewayAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetCustomerGatewayAssociationsIterable responses = client.getCustomerGatewayAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getCustomerGatewayAssociations(software.amazon.awssdk.services.networkmanager.model.GetCustomerGatewayAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetCustomerGatewayAssociationsRequest.Builder
avoiding the need to create one manually via GetCustomerGatewayAssociationsRequest.builder()
getCustomerGatewayAssociationsRequest - A Consumer that will call methods on GetCustomerGatewayAssociationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesResponse getDevices(GetDevicesRequest getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
getDevicesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesResponse getDevices(Consumer<GetDevicesRequest.Builder> getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to
create one manually via GetDevicesRequest.builder()
getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesIterable getDevicesPaginator(GetDevicesRequest getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.
getDevicesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDevicesIterable getDevicesPaginator(Consumer<GetDevicesRequest.Builder> getDevicesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your devices in a global network.
This is a variant of getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetDevicesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetDevicesIterable responses = client.getDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getDevices(software.amazon.awssdk.services.networkmanager.model.GetDevicesRequest) operation.
This is a convenience which creates an instance of the GetDevicesRequest.Builder avoiding the need to
create one manually via GetDevicesRequest.builder()
getDevicesRequest - A Consumer that will call methods on GetDevicesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsResponse getLinkAssociations(GetLinkAssociationsRequest getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
getLinkAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsResponse getLinkAssociations(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the
need to create one manually via GetLinkAssociationsRequest.builder()
getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsIterable getLinkAssociationsPaginator(GetLinkAssociationsRequest getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client
.getLinkAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.
getLinkAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinkAssociationsIterable getLinkAssociationsPaginator(Consumer<GetLinkAssociationsRequest.Builder> getLinkAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
This is a variant of
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client
.getLinkAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinkAssociationsIterable responses = client.getLinkAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinkAssociations(software.amazon.awssdk.services.networkmanager.model.GetLinkAssociationsRequest)
operation.
This is a convenience which creates an instance of the GetLinkAssociationsRequest.Builder avoiding the
need to create one manually via GetLinkAssociationsRequest.builder()
getLinkAssociationsRequest - A Consumer that will call methods on GetLinkAssociationsRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksResponse getLinks(GetLinksRequest getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
getLinksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksResponse getLinks(Consumer<GetLinksRequest.Builder> getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to
create one manually via GetLinksRequest.builder()
getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksIterable getLinksPaginator(GetLinksRequest getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.
getLinksRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetLinksIterable getLinksPaginator(Consumer<GetLinksRequest.Builder> getLinksRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more links in a specified global network.
If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.
This is a variant of getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetLinksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetLinksIterable responses = client.getLinksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getLinks(software.amazon.awssdk.services.networkmanager.model.GetLinksRequest) operation.
This is a convenience which creates an instance of the GetLinksRequest.Builder avoiding the need to
create one manually via GetLinksRequest.builder()
getLinksRequest - A Consumer that will call methods on GetLinksRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourceCountsResponse getNetworkResourceCounts(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the count of network resources, by resource type, for the specified global network.
getNetworkResourceCountsRequest - 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.AwsServiceExceptiondefault GetNetworkResourceCountsResponse getNetworkResourceCounts(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the count of network resources, by resource type, for the specified global network.
This is a convenience which creates an instance of the GetNetworkResourceCountsRequest.Builder avoiding
the need to create one manually via GetNetworkResourceCountsRequest.builder()
getNetworkResourceCountsRequest - A Consumer that will call methods on GetNetworkResourceCountsRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetNetworkResourceCountsIterable getNetworkResourceCountsPaginator(GetNetworkResourceCountsRequest getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the count of network resources, by resource type, for the specified global network.
This is a variant of
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client
.getNetworkResourceCountsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.
getNetworkResourceCountsRequest - 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.AwsServiceExceptiondefault GetNetworkResourceCountsIterable getNetworkResourceCountsPaginator(Consumer<GetNetworkResourceCountsRequest.Builder> getNetworkResourceCountsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the count of network resources, by resource type, for the specified global network.
This is a variant of
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client
.getNetworkResourceCountsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceCountsIterable responses = client.getNetworkResourceCountsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceCounts(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceCountsRequest)
operation.
This is a convenience which creates an instance of the GetNetworkResourceCountsRequest.Builder avoiding
the need to create one manually via GetNetworkResourceCountsRequest.builder()
getNetworkResourceCountsRequest - A Consumer that will call methods on GetNetworkResourceCountsRequest.Builder to create a
request.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.AwsServiceExceptiondefault GetNetworkResourceRelationshipsResponse getNetworkResourceRelationships(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network resource relationships for the specified global network.
getNetworkResourceRelationshipsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourceRelationshipsResponse getNetworkResourceRelationships(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network resource relationships for the specified global network.
This is a convenience which creates an instance of the GetNetworkResourceRelationshipsRequest.Builder
avoiding the need to create one manually via GetNetworkResourceRelationshipsRequest.builder()
getNetworkResourceRelationshipsRequest - A Consumer that will call methods on GetNetworkResourceRelationshipsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourceRelationshipsIterable getNetworkResourceRelationshipsPaginator(GetNetworkResourceRelationshipsRequest getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network resource relationships for the specified global network.
This is a variant of
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client
.getNetworkResourceRelationshipsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation.
getNetworkResourceRelationshipsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourceRelationshipsIterable getNetworkResourceRelationshipsPaginator(Consumer<GetNetworkResourceRelationshipsRequest.Builder> getNetworkResourceRelationshipsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network resource relationships for the specified global network.
This is a variant of
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client
.getNetworkResourceRelationshipsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourceRelationshipsIterable responses = client.getNetworkResourceRelationshipsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResourceRelationships(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourceRelationshipsRequest)
operation.
This is a convenience which creates an instance of the GetNetworkResourceRelationshipsRequest.Builder
avoiding the need to create one manually via GetNetworkResourceRelationshipsRequest.builder()
getNetworkResourceRelationshipsRequest - A Consumer that will call methods on GetNetworkResourceRelationshipsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourcesResponse getNetworkResources(GetNetworkResourcesRequest getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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.
getNetworkResourcesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourcesResponse getNetworkResources(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Describes the network resources for the specified global network.
The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.
This is a convenience which creates an instance of the GetNetworkResourcesRequest.Builder avoiding the
need to create one manually via GetNetworkResourcesRequest.builder()
getNetworkResourcesRequest - A Consumer that will call methods on GetNetworkResourcesRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourcesIterable getNetworkResourcesPaginator(GetNetworkResourcesRequest getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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 variant of
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client
.getNetworkResourcesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.
getNetworkResourcesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResourcesIterable getNetworkResourcesPaginator(Consumer<GetNetworkResourcesRequest.Builder> getNetworkResourcesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
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 variant of
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client
.getNetworkResourcesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkResourcesIterable responses = client.getNetworkResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkResources(software.amazon.awssdk.services.networkmanager.model.GetNetworkResourcesRequest)
operation.
This is a convenience which creates an instance of the GetNetworkResourcesRequest.Builder avoiding the
need to create one manually via GetNetworkResourcesRequest.builder()
getNetworkResourcesRequest - A Consumer that will call methods on GetNetworkResourcesRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkRoutesResponse getNetworkRoutes(GetNetworkRoutesRequest getNetworkRoutesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network routes of the specified global network.
getNetworkRoutesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkRoutesResponse getNetworkRoutes(Consumer<GetNetworkRoutesRequest.Builder> getNetworkRoutesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network routes of the specified global network.
This is a convenience which creates an instance of the GetNetworkRoutesRequest.Builder avoiding the need
to create one manually via GetNetworkRoutesRequest.builder()
getNetworkRoutesRequest - A Consumer that will call methods on GetNetworkRoutesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkTelemetryResponse getNetworkTelemetry(GetNetworkTelemetryRequest getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network telemetry of the specified global network.
getNetworkTelemetryRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkTelemetryResponse getNetworkTelemetry(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network telemetry of the specified global network.
This is a convenience which creates an instance of the GetNetworkTelemetryRequest.Builder avoiding the
need to create one manually via GetNetworkTelemetryRequest.builder()
getNetworkTelemetryRequest - A Consumer that will call methods on GetNetworkTelemetryRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkTelemetryIterable getNetworkTelemetryPaginator(GetNetworkTelemetryRequest getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network telemetry of the specified global network.
This is a variant of
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client
.getNetworkTelemetryPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.
getNetworkTelemetryRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkTelemetryIterable getNetworkTelemetryPaginator(Consumer<GetNetworkTelemetryRequest.Builder> getNetworkTelemetryRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets the network telemetry of the specified global network.
This is a variant of
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client
.getNetworkTelemetryPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetNetworkTelemetryIterable responses = client.getNetworkTelemetryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getNetworkTelemetry(software.amazon.awssdk.services.networkmanager.model.GetNetworkTelemetryRequest)
operation.
This is a convenience which creates an instance of the GetNetworkTelemetryRequest.Builder avoiding the
need to create one manually via GetNetworkTelemetryRequest.builder()
getNetworkTelemetryRequest - A Consumer that will call methods on GetNetworkTelemetryRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a resource policy.
getResourcePolicyRequest - 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.AwsServiceExceptiondefault GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a resource policy.
This is a convenience which creates an instance of the GetResourcePolicyRequest.Builder avoiding the need
to create one manually via GetResourcePolicyRequest.builder()
getResourcePolicyRequest - A Consumer that will call methods on GetResourcePolicyRequest.Builder to create a request.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.AwsServiceExceptiondefault GetRouteAnalysisResponse getRouteAnalysis(GetRouteAnalysisRequest getRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the specified route analysis.
getRouteAnalysisRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRouteAnalysisResponse getRouteAnalysis(Consumer<GetRouteAnalysisRequest.Builder> getRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the specified route analysis.
This is a convenience which creates an instance of the GetRouteAnalysisRequest.Builder avoiding the need
to create one manually via GetRouteAnalysisRequest.builder()
getRouteAnalysisRequest - A Consumer that will call methods on GetRouteAnalysisRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSiteToSiteVpnAttachmentResponse getSiteToSiteVpnAttachment(GetSiteToSiteVpnAttachmentRequest getSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a site-to-site VPN attachment.
getSiteToSiteVpnAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSiteToSiteVpnAttachmentResponse getSiteToSiteVpnAttachment(Consumer<GetSiteToSiteVpnAttachmentRequest.Builder> getSiteToSiteVpnAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a site-to-site VPN attachment.
This is a convenience which creates an instance of the GetSiteToSiteVpnAttachmentRequest.Builder avoiding
the need to create one manually via GetSiteToSiteVpnAttachmentRequest.builder()
getSiteToSiteVpnAttachmentRequest - A Consumer that will call methods on GetSiteToSiteVpnAttachmentRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesResponse getSites(GetSitesRequest getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
getSitesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesResponse getSites(Consumer<GetSitesRequest.Builder> getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to
create one manually via GetSitesRequest.builder()
getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesIterable getSitesPaginator(GetSitesRequest getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.
getSitesRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSitesIterable getSitesPaginator(Consumer<GetSitesRequest.Builder> getSitesRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your sites in a global network.
This is a variant of getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetSitesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetSitesIterable responses = client.getSitesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getSites(software.amazon.awssdk.services.networkmanager.model.GetSitesRequest) operation.
This is a convenience which creates an instance of the GetSitesRequest.Builder avoiding the need to
create one manually via GetSitesRequest.builder()
getSitesRequest - A Consumer that will call methods on GetSitesRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsResponse getTransitGatewayConnectPeerAssociations(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
getTransitGatewayConnectPeerAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsResponse getTransitGatewayConnectPeerAssociations(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a convenience which creates an instance of the
GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via
GetTransitGatewayConnectPeerAssociationsRequest.builder()
getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on
GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsIterable getTransitGatewayConnectPeerAssociationsPaginator(GetTransitGatewayConnectPeerAssociationsRequest getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client
.getTransitGatewayConnectPeerAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.
getTransitGatewayConnectPeerAssociationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayConnectPeerAssociationsIterable getTransitGatewayConnectPeerAssociationsPaginator(Consumer<GetTransitGatewayConnectPeerAssociationsRequest.Builder> getTransitGatewayConnectPeerAssociationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about one or more of your transit gateway Connect peer associations in a global network.
This is a variant of
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client
.getTransitGatewayConnectPeerAssociationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayConnectPeerAssociationsIterable responses = client.getTransitGatewayConnectPeerAssociationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayConnectPeerAssociations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayConnectPeerAssociationsRequest)
operation.
This is a convenience which creates an instance of the
GetTransitGatewayConnectPeerAssociationsRequest.Builder avoiding the need to create one manually via
GetTransitGatewayConnectPeerAssociationsRequest.builder()
getTransitGatewayConnectPeerAssociationsRequest - A Consumer that will call methods on
GetTransitGatewayConnectPeerAssociationsRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayPeeringResponse getTransitGatewayPeering(GetTransitGatewayPeeringRequest getTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a transit gateway peer.
getTransitGatewayPeeringRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayPeeringResponse getTransitGatewayPeering(Consumer<GetTransitGatewayPeeringRequest.Builder> getTransitGatewayPeeringRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a transit gateway peer.
This is a convenience which creates an instance of the GetTransitGatewayPeeringRequest.Builder avoiding
the need to create one manually via GetTransitGatewayPeeringRequest.builder()
getTransitGatewayPeeringRequest - A Consumer that will call methods on GetTransitGatewayPeeringRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsResponse getTransitGatewayRegistrations(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
getTransitGatewayRegistrationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsResponse getTransitGatewayRegistrations(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder
avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()
getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsIterable getTransitGatewayRegistrationsPaginator(GetTransitGatewayRegistrationsRequest getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client
.getTransitGatewayRegistrationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.
getTransitGatewayRegistrationsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRegistrationsIterable getTransitGatewayRegistrationsPaginator(Consumer<GetTransitGatewayRegistrationsRequest.Builder> getTransitGatewayRegistrationsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Gets information about the transit gateway registrations in a specified global network.
This is a variant of
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client
.getTransitGatewayRegistrationsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.GetTransitGatewayRegistrationsIterable responses = client.getTransitGatewayRegistrationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getTransitGatewayRegistrations(software.amazon.awssdk.services.networkmanager.model.GetTransitGatewayRegistrationsRequest)
operation.
This is a convenience which creates an instance of the GetTransitGatewayRegistrationsRequest.Builder
avoiding the need to create one manually via GetTransitGatewayRegistrationsRequest.builder()
getTransitGatewayRegistrationsRequest - A Consumer that will call methods on GetTransitGatewayRegistrationsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRouteTableAttachmentResponse getTransitGatewayRouteTableAttachment(GetTransitGatewayRouteTableAttachmentRequest getTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a transit gateway route table attachment.
getTransitGatewayRouteTableAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTransitGatewayRouteTableAttachmentResponse getTransitGatewayRouteTableAttachment(Consumer<GetTransitGatewayRouteTableAttachmentRequest.Builder> getTransitGatewayRouteTableAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a transit gateway route table attachment.
This is a convenience which creates an instance of the
GetTransitGatewayRouteTableAttachmentRequest.Builder avoiding the need to create one manually via
GetTransitGatewayRouteTableAttachmentRequest.builder()
getTransitGatewayRouteTableAttachmentRequest - A Consumer that will call methods on GetTransitGatewayRouteTableAttachmentRequest.Builder
to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetVpcAttachmentResponse getVpcAttachment(GetVpcAttachmentRequest getVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a VPC attachment.
getVpcAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetVpcAttachmentResponse getVpcAttachment(Consumer<GetVpcAttachmentRequest.Builder> getVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns information about a VPC attachment.
This is a convenience which creates an instance of the GetVpcAttachmentRequest.Builder avoiding the need
to create one manually via GetVpcAttachmentRequest.builder()
getVpcAttachmentRequest - A Consumer that will call methods on GetVpcAttachmentRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAttachmentsResponse listAttachments(ListAttachmentsRequest listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network attachments.
listAttachmentsRequest - 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.AwsServiceExceptiondefault ListAttachmentsResponse listAttachments(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network attachments.
This is a convenience which creates an instance of the ListAttachmentsRequest.Builder avoiding the need
to create one manually via ListAttachmentsRequest.builder()
listAttachmentsRequest - A Consumer that will call methods on ListAttachmentsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListAttachmentsIterable listAttachmentsPaginator(ListAttachmentsRequest listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network attachments.
This is a variant of
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client
.listAttachmentsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.
listAttachmentsRequest - 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.AwsServiceExceptiondefault ListAttachmentsIterable listAttachmentsPaginator(Consumer<ListAttachmentsRequest.Builder> listAttachmentsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network attachments.
This is a variant of
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client
.listAttachmentsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListAttachmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListAttachmentsIterable responses = client.listAttachmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachments(software.amazon.awssdk.services.networkmanager.model.ListAttachmentsRequest)
operation.
This is a convenience which creates an instance of the ListAttachmentsRequest.Builder avoiding the need
to create one manually via ListAttachmentsRequest.builder()
listAttachmentsRequest - A Consumer that will call methods on ListAttachmentsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListConnectPeersResponse listConnectPeers(ListConnectPeersRequest listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network Connect peers.
listConnectPeersRequest - 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.AwsServiceExceptiondefault ListConnectPeersResponse listConnectPeers(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network Connect peers.
This is a convenience which creates an instance of the ListConnectPeersRequest.Builder avoiding the need
to create one manually via ListConnectPeersRequest.builder()
listConnectPeersRequest - A Consumer that will call methods on ListConnectPeersRequest.Builder to create a request.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.AwsServiceExceptiondefault ListConnectPeersIterable listConnectPeersPaginator(ListConnectPeersRequest listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network Connect peers.
This is a variant of
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client
.listConnectPeersPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.
listConnectPeersRequest - 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.AwsServiceExceptiondefault ListConnectPeersIterable listConnectPeersPaginator(Consumer<ListConnectPeersRequest.Builder> listConnectPeersRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network Connect peers.
This is a variant of
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client
.listConnectPeersPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListConnectPeersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListConnectPeersIterable responses = client.listConnectPeersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectPeers(software.amazon.awssdk.services.networkmanager.model.ListConnectPeersRequest)
operation.
This is a convenience which creates an instance of the ListConnectPeersRequest.Builder avoiding the need
to create one manually via ListConnectPeersRequest.builder()
listConnectPeersRequest - A Consumer that will call methods on ListConnectPeersRequest.Builder to create a request.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.AwsServiceExceptiondefault ListCoreNetworkPolicyVersionsResponse listCoreNetworkPolicyVersions(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network policy versions.
listCoreNetworkPolicyVersionsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoreNetworkPolicyVersionsResponse listCoreNetworkPolicyVersions(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network policy versions.
This is a convenience which creates an instance of the ListCoreNetworkPolicyVersionsRequest.Builder
avoiding the need to create one manually via ListCoreNetworkPolicyVersionsRequest.builder()
listCoreNetworkPolicyVersionsRequest - A Consumer that will call methods on ListCoreNetworkPolicyVersionsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoreNetworkPolicyVersionsIterable listCoreNetworkPolicyVersionsPaginator(ListCoreNetworkPolicyVersionsRequest listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network policy versions.
This is a variant of
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client
.listCoreNetworkPolicyVersionsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation.
listCoreNetworkPolicyVersionsRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoreNetworkPolicyVersionsIterable listCoreNetworkPolicyVersionsPaginator(Consumer<ListCoreNetworkPolicyVersionsRequest.Builder> listCoreNetworkPolicyVersionsRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of core network policy versions.
This is a variant of
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client
.listCoreNetworkPolicyVersionsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworkPolicyVersionsIterable responses = client.listCoreNetworkPolicyVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworkPolicyVersions(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworkPolicyVersionsRequest)
operation.
This is a convenience which creates an instance of the ListCoreNetworkPolicyVersionsRequest.Builder
avoiding the need to create one manually via ListCoreNetworkPolicyVersionsRequest.builder()
listCoreNetworkPolicyVersionsRequest - A Consumer that will call methods on ListCoreNetworkPolicyVersionsRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCoreNetworksResponse listCoreNetworks(ListCoreNetworksRequest listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of owned and shared core networks.
listCoreNetworksRequest - 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.AwsServiceExceptiondefault ListCoreNetworksResponse listCoreNetworks(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of owned and shared core networks.
This is a convenience which creates an instance of the ListCoreNetworksRequest.Builder avoiding the need
to create one manually via ListCoreNetworksRequest.builder()
listCoreNetworksRequest - A Consumer that will call methods on ListCoreNetworksRequest.Builder to create a request.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.AwsServiceExceptiondefault ListCoreNetworksIterable listCoreNetworksPaginator(ListCoreNetworksRequest listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of owned and shared core networks.
This is a variant of
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client
.listCoreNetworksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.
listCoreNetworksRequest - 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.AwsServiceExceptiondefault ListCoreNetworksIterable listCoreNetworksPaginator(Consumer<ListCoreNetworksRequest.Builder> listCoreNetworksRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Returns a list of owned and shared core networks.
This is a variant of
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client
.listCoreNetworksPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListCoreNetworksIterable responses = client.listCoreNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoreNetworks(software.amazon.awssdk.services.networkmanager.model.ListCoreNetworksRequest)
operation.
This is a convenience which creates an instance of the ListCoreNetworksRequest.Builder avoiding the need
to create one manually via ListCoreNetworksRequest.builder()
listCoreNetworksRequest - A Consumer that will call methods on ListCoreNetworksRequest.Builder to create a request.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.AwsServiceExceptiondefault ListOrganizationServiceAccessStatusResponse listOrganizationServiceAccessStatus(ListOrganizationServiceAccessStatusRequest listOrganizationServiceAccessStatusRequest) throws AwsServiceException, SdkClientException, NetworkManagerException
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
listOrganizationServiceAccessStatusRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationServiceAccessStatusResponse listOrganizationServiceAccessStatus(Consumer<ListOrganizationServiceAccessStatusRequest.Builder> listOrganizationServiceAccessStatusRequest) throws AwsServiceException, SdkClientException, NetworkManagerException
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
This is a convenience which creates an instance of the ListOrganizationServiceAccessStatusRequest.Builder
avoiding the need to create one manually via ListOrganizationServiceAccessStatusRequest.builder()
listOrganizationServiceAccessStatusRequest - A Consumer that will call methods on ListOrganizationServiceAccessStatusRequest.Builder to
create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPeeringsResponse listPeerings(ListPeeringsRequest listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the peerings for a core network.
listPeeringsRequest - 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.AwsServiceExceptiondefault ListPeeringsResponse listPeerings(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the peerings for a core network.
This is a convenience which creates an instance of the ListPeeringsRequest.Builder avoiding the need to
create one manually via ListPeeringsRequest.builder()
listPeeringsRequest - A Consumer that will call methods on ListPeeringsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListPeeringsIterable listPeeringsPaginator(ListPeeringsRequest listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the peerings for a core network.
This is a variant of
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client
.listPeeringsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation.
listPeeringsRequest - 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.AwsServiceExceptiondefault ListPeeringsIterable listPeeringsPaginator(Consumer<ListPeeringsRequest.Builder> listPeeringsRequest) throws ValidationException, AccessDeniedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the peerings for a core network.
This is a variant of
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client
.listPeeringsPaginator(request);
for (software.amazon.awssdk.services.networkmanager.model.ListPeeringsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.networkmanager.paginators.ListPeeringsIterable responses = client.listPeeringsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPeerings(software.amazon.awssdk.services.networkmanager.model.ListPeeringsRequest) operation.
This is a convenience which creates an instance of the ListPeeringsRequest.Builder avoiding the need to
create one manually via ListPeeringsRequest.builder()
listPeeringsRequest - A Consumer that will call methods on ListPeeringsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the tags for a specified resource.
listTagsForResourceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Lists the tags for a specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutCoreNetworkPolicyResponse putCoreNetworkPolicy(PutCoreNetworkPolicyRequest putCoreNetworkPolicyRequest) throws CoreNetworkPolicyException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
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.
putCoreNetworkPolicyRequest - 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.AwsServiceExceptiondefault PutCoreNetworkPolicyResponse putCoreNetworkPolicy(Consumer<PutCoreNetworkPolicyRequest.Builder> putCoreNetworkPolicyRequest) throws CoreNetworkPolicyException, ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.
This is a convenience which creates an instance of the PutCoreNetworkPolicyRequest.Builder avoiding the
need to create one manually via PutCoreNetworkPolicyRequest.builder()
putCoreNetworkPolicyRequest - A Consumer that will call methods on PutCoreNetworkPolicyRequest.Builder to create a
request.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.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates or updates a resource policy.
putResourcePolicyRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Creates or updates a resource policy.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest - A Consumer that will call methods on PutResourcePolicyRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterTransitGatewayResponse registerTransitGateway(RegisterTransitGatewayRequest registerTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Registers a transit gateway in your global network. The transit gateway can be in any Amazon Web Services Region, 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.
registerTransitGatewayRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RegisterTransitGatewayResponse registerTransitGateway(Consumer<RegisterTransitGatewayRequest.Builder> registerTransitGatewayRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Registers a transit gateway in your global network. The transit gateway can be in any Amazon Web Services Region, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.
This is a convenience which creates an instance of the RegisterTransitGatewayRequest.Builder avoiding the
need to create one manually via RegisterTransitGatewayRequest.builder()
registerTransitGatewayRequest - A Consumer that will call methods on RegisterTransitGatewayRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RejectAttachmentResponse rejectAttachment(RejectAttachmentRequest rejectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Rejects a core network attachment request.
rejectAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RejectAttachmentResponse rejectAttachment(Consumer<RejectAttachmentRequest.Builder> rejectAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Rejects a core network attachment request.
This is a convenience which creates an instance of the RejectAttachmentRequest.Builder avoiding the need
to create one manually via RejectAttachmentRequest.builder()
rejectAttachmentRequest - A Consumer that will call methods on RejectAttachmentRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RestoreCoreNetworkPolicyVersionResponse restoreCoreNetworkPolicyVersion(RestoreCoreNetworkPolicyVersionRequest restoreCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
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.
restoreCoreNetworkPolicyVersionRequest - ValidationException - The input 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.AwsServiceExceptiondefault RestoreCoreNetworkPolicyVersionResponse restoreCoreNetworkPolicyVersion(Consumer<RestoreCoreNetworkPolicyVersionRequest.Builder> restoreCoreNetworkPolicyVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, NetworkManagerException
Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.
This is a convenience which creates an instance of the RestoreCoreNetworkPolicyVersionRequest.Builder
avoiding the need to create one manually via RestoreCoreNetworkPolicyVersionRequest.builder()
restoreCoreNetworkPolicyVersionRequest - A Consumer that will call methods on RestoreCoreNetworkPolicyVersionRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.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.AwsServiceExceptiondefault StartOrganizationServiceAccessUpdateResponse startOrganizationServiceAccessUpdate(StartOrganizationServiceAccessUpdateRequest startOrganizationServiceAccessUpdateRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Enables for the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
startOrganizationServiceAccessUpdateRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartOrganizationServiceAccessUpdateResponse startOrganizationServiceAccessUpdate(Consumer<StartOrganizationServiceAccessUpdateRequest.Builder> startOrganizationServiceAccessUpdateRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Enables for the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
This is a convenience which creates an instance of the
StartOrganizationServiceAccessUpdateRequest.Builder avoiding the need to create one manually via
StartOrganizationServiceAccessUpdateRequest.builder()
startOrganizationServiceAccessUpdateRequest - A Consumer that will call methods on StartOrganizationServiceAccessUpdateRequest.Builder
to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartRouteAnalysisResponse startRouteAnalysis(StartRouteAnalysisRequest startRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
startRouteAnalysisRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartRouteAnalysisResponse startRouteAnalysis(Consumer<StartRouteAnalysisRequest.Builder> startRouteAnalysisRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.
This is a convenience which creates an instance of the StartRouteAnalysisRequest.Builder avoiding the
need to create one manually via StartRouteAnalysisRequest.builder()
startRouteAnalysisRequest - A Consumer that will call methods on StartRouteAnalysisRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Tags a specified resource.
tagResourceRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Tags a specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Removes tags from a specified resource.
untagResourceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Removes tags from a specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConnectionResponse updateConnection(UpdateConnectionRequest updateConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
updateConnectionRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateConnectionResponse updateConnection(Consumer<UpdateConnectionRequest.Builder> updateConnectionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateConnectionRequest.Builder avoiding the need
to create one manually via UpdateConnectionRequest.builder()
updateConnectionRequest - A Consumer that will call methods on UpdateConnectionRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCoreNetworkResponse updateCoreNetwork(UpdateCoreNetworkRequest updateCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the description of a core network.
updateCoreNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateCoreNetworkResponse updateCoreNetwork(Consumer<UpdateCoreNetworkRequest.Builder> updateCoreNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the description of a core network.
This is a convenience which creates an instance of the UpdateCoreNetworkRequest.Builder avoiding the need
to create one manually via UpdateCoreNetworkRequest.builder()
updateCoreNetworkRequest - A Consumer that will call methods on UpdateCoreNetworkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeviceResponse updateDevice(UpdateDeviceRequest updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
updateDeviceRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeviceResponse updateDevice(Consumer<UpdateDeviceRequest.Builder> updateDeviceRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateDeviceRequest.Builder avoiding the need to
create one manually via UpdateDeviceRequest.builder()
updateDeviceRequest - A Consumer that will call methods on UpdateDeviceRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGlobalNetworkResponse updateGlobalNetwork(UpdateGlobalNetworkRequest updateGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
updateGlobalNetworkRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateGlobalNetworkResponse updateGlobalNetwork(Consumer<UpdateGlobalNetworkRequest.Builder> updateGlobalNetworkRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateGlobalNetworkRequest.Builder avoiding the
need to create one manually via UpdateGlobalNetworkRequest.builder()
updateGlobalNetworkRequest - A Consumer that will call methods on UpdateGlobalNetworkRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLinkResponse updateLink(UpdateLinkRequest updateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
updateLinkRequest - ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateLinkResponse updateLink(Consumer<UpdateLinkRequest.Builder> updateLinkRequest) throws ValidationException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateLinkRequest.Builder avoiding the need to
create one manually via UpdateLinkRequest.builder()
updateLinkRequest - A Consumer that will call methods on UpdateLinkRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.ServiceQuotaExceededException - A service limit was exceeded.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateNetworkResourceMetadataResponse updateNetworkResourceMetadata(UpdateNetworkResourceMetadataRequest updateNetworkResourceMetadataRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the resource metadata for the specified global network.
updateNetworkResourceMetadataRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateNetworkResourceMetadataResponse updateNetworkResourceMetadata(Consumer<UpdateNetworkResourceMetadataRequest.Builder> updateNetworkResourceMetadataRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the resource metadata for the specified global network.
This is a convenience which creates an instance of the UpdateNetworkResourceMetadataRequest.Builder
avoiding the need to create one manually via UpdateNetworkResourceMetadataRequest.builder()
updateNetworkResourceMetadataRequest - A Consumer that will call methods on UpdateNetworkResourceMetadataRequest.Builder to
create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSiteResponse updateSite(UpdateSiteRequest updateSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
updateSiteRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSiteResponse updateSite(Consumer<UpdateSiteRequest.Builder> updateSiteRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
This is a convenience which creates an instance of the UpdateSiteRequest.Builder avoiding the need to
create one manually via UpdateSiteRequest.builder()
updateSiteRequest - A Consumer that will call methods on UpdateSiteRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateVpcAttachmentResponse updateVpcAttachment(UpdateVpcAttachmentRequest updateVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates a VPC attachment.
updateVpcAttachmentRequest - ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateVpcAttachmentResponse updateVpcAttachment(Consumer<UpdateVpcAttachmentRequest.Builder> updateVpcAttachmentRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, ConflictException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, NetworkManagerException
Updates a VPC attachment.
This is a convenience which creates an instance of the UpdateVpcAttachmentRequest.Builder avoiding the
need to create one manually via UpdateVpcAttachmentRequest.builder()
updateVpcAttachmentRequest - A Consumer that will call methods on UpdateVpcAttachmentRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints.AccessDeniedException - You do not have sufficient access to perform this action.ResourceNotFoundException - The specified resource could not be found.ConflictException - There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent
state.ThrottlingException - The request was denied due to request throttling.InternalServerException - The request has failed due to an internal error.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.NetworkManagerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.