Class: Aws::NetworkManager::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::NetworkManager::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-networkmanager/client.rb
Overview
An API client for NetworkManager. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::NetworkManager::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#accept_attachment(params = {}) ⇒ Types::AcceptAttachmentResponse
Accepts a core network attachment request.
-
#associate_connect_peer(params = {}) ⇒ Types::AssociateConnectPeerResponse
Associates a core network Connect peer with a device and optionally, with a link.
-
#associate_customer_gateway(params = {}) ⇒ Types::AssociateCustomerGatewayResponse
Associates a customer gateway with a device and optionally, with a link.
-
#associate_link(params = {}) ⇒ Types::AssociateLinkResponse
Associates a link to a device.
-
#associate_transit_gateway_connect_peer(params = {}) ⇒ Types::AssociateTransitGatewayConnectPeerResponse
Associates a transit gateway Connect peer with a device, and optionally, with a link.
-
#create_connect_attachment(params = {}) ⇒ Types::CreateConnectAttachmentResponse
Creates a core network Connect attachment from a specified core network attachment.
-
#create_connect_peer(params = {}) ⇒ Types::CreateConnectPeerResponse
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
-
#create_connection(params = {}) ⇒ Types::CreateConnectionResponse
Creates a connection between two devices.
-
#create_core_network(params = {}) ⇒ Types::CreateCoreNetworkResponse
Creates a core network as part of your global network, and optionally, with a core network policy.
-
#create_device(params = {}) ⇒ Types::CreateDeviceResponse
Creates a new device in a global network.
-
#create_global_network(params = {}) ⇒ Types::CreateGlobalNetworkResponse
Creates a new, empty global network.
-
#create_link(params = {}) ⇒ Types::CreateLinkResponse
Creates a new link for a specified site.
-
#create_site(params = {}) ⇒ Types::CreateSiteResponse
Creates a new site in a global network.
-
#create_site_to_site_vpn_attachment(params = {}) ⇒ Types::CreateSiteToSiteVpnAttachmentResponse
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
-
#create_transit_gateway_peering(params = {}) ⇒ Types::CreateTransitGatewayPeeringResponse
Creates a transit gateway peering connection.
-
#create_transit_gateway_route_table_attachment(params = {}) ⇒ Types::CreateTransitGatewayRouteTableAttachmentResponse
Creates a transit gateway route table attachment.
-
#create_vpc_attachment(params = {}) ⇒ Types::CreateVpcAttachmentResponse
Creates a VPC attachment on an edge location of a core network.
-
#delete_attachment(params = {}) ⇒ Types::DeleteAttachmentResponse
Deletes an attachment.
-
#delete_connect_peer(params = {}) ⇒ Types::DeleteConnectPeerResponse
Deletes a Connect peer.
-
#delete_connection(params = {}) ⇒ Types::DeleteConnectionResponse
Deletes the specified connection in your global network.
-
#delete_core_network(params = {}) ⇒ Types::DeleteCoreNetworkResponse
Deletes a core network along with all core network policies.
-
#delete_core_network_policy_version(params = {}) ⇒ Types::DeleteCoreNetworkPolicyVersionResponse
Deletes a policy version from a core network.
-
#delete_device(params = {}) ⇒ Types::DeleteDeviceResponse
Deletes an existing device.
-
#delete_global_network(params = {}) ⇒ Types::DeleteGlobalNetworkResponse
Deletes an existing global network.
-
#delete_link(params = {}) ⇒ Types::DeleteLinkResponse
Deletes an existing link.
-
#delete_peering(params = {}) ⇒ Types::DeletePeeringResponse
Deletes an existing peering connection.
-
#delete_resource_policy(params = {}) ⇒ Struct
Deletes a resource policy for the specified resource.
-
#delete_site(params = {}) ⇒ Types::DeleteSiteResponse
Deletes an existing site.
-
#deregister_transit_gateway(params = {}) ⇒ Types::DeregisterTransitGatewayResponse
Deregisters a transit gateway from your global network.
-
#describe_global_networks(params = {}) ⇒ Types::DescribeGlobalNetworksResponse
Describes one or more global networks.
-
#disassociate_connect_peer(params = {}) ⇒ Types::DisassociateConnectPeerResponse
Disassociates a core network Connect peer from a device and a link.
-
#disassociate_customer_gateway(params = {}) ⇒ Types::DisassociateCustomerGatewayResponse
Disassociates a customer gateway from a device and a link.
-
#disassociate_link(params = {}) ⇒ Types::DisassociateLinkResponse
Disassociates an existing device from a link.
-
#disassociate_transit_gateway_connect_peer(params = {}) ⇒ Types::DisassociateTransitGatewayConnectPeerResponse
Disassociates a transit gateway Connect peer from a device and link.
-
#execute_core_network_change_set(params = {}) ⇒ Struct
Executes a change set on your core network.
-
#get_connect_attachment(params = {}) ⇒ Types::GetConnectAttachmentResponse
Returns information about a core network Connect attachment.
-
#get_connect_peer(params = {}) ⇒ Types::GetConnectPeerResponse
Returns information about a core network Connect peer.
-
#get_connect_peer_associations(params = {}) ⇒ Types::GetConnectPeerAssociationsResponse
Returns information about a core network Connect peer associations.
-
#get_connections(params = {}) ⇒ Types::GetConnectionsResponse
Gets information about one or more of your connections in a global network.
-
#get_core_network(params = {}) ⇒ Types::GetCoreNetworkResponse
Returns information about the LIVE policy for a core network.
-
#get_core_network_change_events(params = {}) ⇒ Types::GetCoreNetworkChangeEventsResponse
Returns information about a core network change event.
-
#get_core_network_change_set(params = {}) ⇒ Types::GetCoreNetworkChangeSetResponse
Returns a change set between the LIVE core network policy and a submitted policy.
-
#get_core_network_policy(params = {}) ⇒ Types::GetCoreNetworkPolicyResponse
Returns details about a core network policy.
-
#get_customer_gateway_associations(params = {}) ⇒ Types::GetCustomerGatewayAssociationsResponse
Gets the association information for customer gateways that are associated with devices and links in your global network.
-
#get_devices(params = {}) ⇒ Types::GetDevicesResponse
Gets information about one or more of your devices in a global network.
-
#get_link_associations(params = {}) ⇒ Types::GetLinkAssociationsResponse
Gets the link associations for a device or a link.
-
#get_links(params = {}) ⇒ Types::GetLinksResponse
Gets information about one or more links in a specified global network.
-
#get_network_resource_counts(params = {}) ⇒ Types::GetNetworkResourceCountsResponse
Gets the count of network resources, by resource type, for the specified global network.
-
#get_network_resource_relationships(params = {}) ⇒ Types::GetNetworkResourceRelationshipsResponse
Gets the network resource relationships for the specified global network.
-
#get_network_resources(params = {}) ⇒ Types::GetNetworkResourcesResponse
Describes the network resources for the specified global network.
-
#get_network_routes(params = {}) ⇒ Types::GetNetworkRoutesResponse
Gets the network routes of the specified global network.
-
#get_network_telemetry(params = {}) ⇒ Types::GetNetworkTelemetryResponse
Gets the network telemetry of the specified global network.
-
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Returns information about a resource policy.
-
#get_route_analysis(params = {}) ⇒ Types::GetRouteAnalysisResponse
Gets information about the specified route analysis.
-
#get_site_to_site_vpn_attachment(params = {}) ⇒ Types::GetSiteToSiteVpnAttachmentResponse
Returns information about a site-to-site VPN attachment.
-
#get_sites(params = {}) ⇒ Types::GetSitesResponse
Gets information about one or more of your sites in a global network.
-
#get_transit_gateway_connect_peer_associations(params = {}) ⇒ Types::GetTransitGatewayConnectPeerAssociationsResponse
Gets information about one or more of your transit gateway Connect peer associations in a global network.
-
#get_transit_gateway_peering(params = {}) ⇒ Types::GetTransitGatewayPeeringResponse
Returns information about a transit gateway peer.
-
#get_transit_gateway_registrations(params = {}) ⇒ Types::GetTransitGatewayRegistrationsResponse
Gets information about the transit gateway registrations in a specified global network.
-
#get_transit_gateway_route_table_attachment(params = {}) ⇒ Types::GetTransitGatewayRouteTableAttachmentResponse
Returns information about a transit gateway route table attachment.
-
#get_vpc_attachment(params = {}) ⇒ Types::GetVpcAttachmentResponse
Returns information about a VPC attachment.
-
#list_attachments(params = {}) ⇒ Types::ListAttachmentsResponse
Returns a list of core network attachments.
-
#list_connect_peers(params = {}) ⇒ Types::ListConnectPeersResponse
Returns a list of core network Connect peers.
-
#list_core_network_policy_versions(params = {}) ⇒ Types::ListCoreNetworkPolicyVersionsResponse
Returns a list of core network policy versions.
-
#list_core_networks(params = {}) ⇒ Types::ListCoreNetworksResponse
Returns a list of owned and shared core networks.
-
#list_organization_service_access_status(params = {}) ⇒ Types::ListOrganizationServiceAccessStatusResponse
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
-
#list_peerings(params = {}) ⇒ Types::ListPeeringsResponse
Lists the peerings for a core network.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for a specified resource.
-
#put_core_network_policy(params = {}) ⇒ Types::PutCoreNetworkPolicyResponse
Creates a new, immutable version of a core network policy.
-
#put_resource_policy(params = {}) ⇒ Struct
Creates or updates a resource policy.
-
#register_transit_gateway(params = {}) ⇒ Types::RegisterTransitGatewayResponse
Registers a transit gateway in your global network.
-
#reject_attachment(params = {}) ⇒ Types::RejectAttachmentResponse
Rejects a core network attachment request.
-
#restore_core_network_policy_version(params = {}) ⇒ Types::RestoreCoreNetworkPolicyVersionResponse
Restores a previous policy version as a new, immutable version of a core network policy.
-
#start_organization_service_access_update(params = {}) ⇒ Types::StartOrganizationServiceAccessUpdateResponse
Enables the Network Manager service for an Amazon Web Services Organization.
-
#start_route_analysis(params = {}) ⇒ Types::StartRouteAnalysisResponse
Starts analyzing the routing path between the specified source and destination.
-
#tag_resource(params = {}) ⇒ Struct
Tags a specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a specified resource.
-
#update_connection(params = {}) ⇒ Types::UpdateConnectionResponse
Updates the information for an existing connection.
-
#update_core_network(params = {}) ⇒ Types::UpdateCoreNetworkResponse
Updates the description of a core network.
-
#update_device(params = {}) ⇒ Types::UpdateDeviceResponse
Updates the details for an existing device.
-
#update_global_network(params = {}) ⇒ Types::UpdateGlobalNetworkResponse
Updates an existing global network.
-
#update_link(params = {}) ⇒ Types::UpdateLinkResponse
Updates the details for an existing link.
-
#update_network_resource_metadata(params = {}) ⇒ Types::UpdateNetworkResourceMetadataResponse
Updates the resource metadata for the specified global network.
-
#update_site(params = {}) ⇒ Types::UpdateSiteResponse
Updates the information for an existing site.
-
#update_vpc_attachment(params = {}) ⇒ Types::UpdateVpcAttachmentResponse
Updates a VPC attachment.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5492 5493 5494 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5492 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5495 5496 5497 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5495 def errors_module Errors end |
Instance Method Details
#accept_attachment(params = {}) ⇒ Types::AcceptAttachmentResponse
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.
506 507 508 509 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 506 def (params = {}, = {}) req = build_request(:accept_attachment, params) req.send_request() end |
#associate_connect_peer(params = {}) ⇒ Types::AssociateConnectPeerResponse
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.
555 556 557 558 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 555 def associate_connect_peer(params = {}, = {}) req = build_request(:associate_connect_peer, params) req.send_request() end |
#associate_customer_gateway(params = {}) ⇒ Types::AssociateCustomerGatewayResponse
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][1
-
EC2 API and filter by
‘transit-gateway-id`.
You cannot associate a customer gateway with more than one device and link.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html
617 618 619 620 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 617 def associate_customer_gateway(params = {}, = {}) req = build_request(:associate_customer_gateway, params) req.send_request() end |
#associate_link(params = {}) ⇒ Types::AssociateLinkResponse
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.
658 659 660 661 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 658 def associate_link(params = {}, = {}) req = build_request(:associate_link, params) req.send_request() end |
#associate_transit_gateway_connect_peer(params = {}) ⇒ Types::AssociateTransitGatewayConnectPeerResponse
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.
711 712 713 714 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 711 def associate_transit_gateway_connect_peer(params = {}, = {}) req = build_request(:associate_transit_gateway_connect_peer, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5465 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::NetworkManager') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-networkmanager' context[:gem_version] = '1.54.0' Seahorse::Client::Request.new(handlers, context) end |
#create_connect_attachment(params = {}) ⇒ Types::CreateConnectAttachmentResponse
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.
807 808 809 810 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 807 def (params = {}, = {}) req = build_request(:create_connect_attachment, params) req.send_request() end |
#create_connect_peer(params = {}) ⇒ Types::CreateConnectPeerResponse
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).
903 904 905 906 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 903 def create_connect_peer(params = {}, = {}) req = build_request(:create_connect_peer, params) req.send_request() end |
#create_connection(params = {}) ⇒ Types::CreateConnectionResponse
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.
977 978 979 980 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 977 def create_connection(params = {}, = {}) req = build_request(:create_connection, params) req.send_request() end |
#create_core_network(params = {}) ⇒ Types::CreateCoreNetworkResponse
Creates a core network as part of your global network, and optionally, with a core network policy.
1057 1058 1059 1060 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1057 def create_core_network(params = {}, = {}) req = build_request(:create_core_network, params) req.send_request() end |
#create_device(params = {}) ⇒ Types::CreateDeviceResponse
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.
1162 1163 1164 1165 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1162 def create_device(params = {}, = {}) req = build_request(:create_device, params) req.send_request() end |
#create_global_network(params = {}) ⇒ Types::CreateGlobalNetworkResponse
Creates a new, empty global network.
1208 1209 1210 1211 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1208 def create_global_network(params = {}, = {}) req = build_request(:create_global_network, params) req.send_request() end |
#create_link(params = {}) ⇒ Types::CreateLinkResponse
Creates a new link for a specified site.
1289 1290 1291 1292 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1289 def create_link(params = {}, = {}) req = build_request(:create_link, params) req.send_request() end |
#create_site(params = {}) ⇒ Types::CreateSiteResponse
Creates a new site in a global network.
1359 1360 1361 1362 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1359 def create_site(params = {}, = {}) req = build_request(:create_site, params) req.send_request() end |
#create_site_to_site_vpn_attachment(params = {}) ⇒ Types::CreateSiteToSiteVpnAttachmentResponse
Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
1440 1441 1442 1443 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1440 def (params = {}, = {}) req = build_request(:create_site_to_site_vpn_attachment, params) req.send_request() end |
#create_transit_gateway_peering(params = {}) ⇒ Types::CreateTransitGatewayPeeringResponse
Creates a transit gateway peering connection.
1507 1508 1509 1510 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1507 def create_transit_gateway_peering(params = {}, = {}) req = build_request(:create_transit_gateway_peering, params) req.send_request() end |
#create_transit_gateway_route_table_attachment(params = {}) ⇒ Types::CreateTransitGatewayRouteTableAttachmentResponse
Creates a transit gateway route table attachment.
1589 1590 1591 1592 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1589 def (params = {}, = {}) req = build_request(:create_transit_gateway_route_table_attachment, params) req.send_request() end |
#create_vpc_attachment(params = {}) ⇒ Types::CreateVpcAttachmentResponse
Creates a VPC attachment on an edge location of a core network.
1682 1683 1684 1685 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1682 def (params = {}, = {}) req = build_request(:create_vpc_attachment, params) req.send_request() end |
#delete_attachment(params = {}) ⇒ Types::DeleteAttachmentResponse
Deletes an attachment. Supports all attachment types.
1740 1741 1742 1743 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1740 def (params = {}, = {}) req = build_request(:delete_attachment, params) req.send_request() end |
#delete_connect_peer(params = {}) ⇒ Types::DeleteConnectPeerResponse
Deletes a Connect peer.
1792 1793 1794 1795 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1792 def delete_connect_peer(params = {}, = {}) req = build_request(:delete_connect_peer, params) req.send_request() end |
#delete_connection(params = {}) ⇒ Types::DeleteConnectionResponse
Deletes the specified connection in your global network.
1836 1837 1838 1839 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1836 def delete_connection(params = {}, = {}) req = build_request(:delete_connection, params) req.send_request() end |
#delete_core_network(params = {}) ⇒ Types::DeleteCoreNetworkResponse
Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
1892 1893 1894 1895 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1892 def delete_core_network(params = {}, = {}) req = build_request(:delete_core_network, params) req.send_request() end |
#delete_core_network_policy_version(params = {}) ⇒ Types::DeleteCoreNetworkPolicyVersionResponse
Deletes a policy version from a core network. You can’t delete the current LIVE policy.
1935 1936 1937 1938 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1935 def delete_core_network_policy_version(params = {}, = {}) req = build_request(:delete_core_network_policy_version, params) req.send_request() end |
#delete_device(params = {}) ⇒ Types::DeleteDeviceResponse
Deletes an existing device. You must first disassociate the device from any links and customer gateways.
1986 1987 1988 1989 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 1986 def delete_device(params = {}, = {}) req = build_request(:delete_device, params) req.send_request() end |
#delete_global_network(params = {}) ⇒ Types::DeleteGlobalNetworkResponse
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.
2023 2024 2025 2026 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2023 def delete_global_network(params = {}, = {}) req = build_request(:delete_global_network, params) req.send_request() end |
#delete_link(params = {}) ⇒ Types::DeleteLinkResponse
Deletes an existing link. You must first disassociate the link from any devices and customer gateways.
2069 2070 2071 2072 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2069 def delete_link(params = {}, = {}) req = build_request(:delete_link, params) req.send_request() end |
#delete_peering(params = {}) ⇒ Types::DeletePeeringResponse
Deletes an existing peering connection.
2114 2115 2116 2117 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2114 def delete_peering(params = {}, = {}) req = build_request(:delete_peering, params) req.send_request() end |
#delete_resource_policy(params = {}) ⇒ Struct
Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.
2137 2138 2139 2140 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2137 def delete_resource_policy(params = {}, = {}) req = build_request(:delete_resource_policy, params) req.send_request() end |
#delete_site(params = {}) ⇒ Types::DeleteSiteResponse
Deletes an existing site. The site cannot be associated with any device or link.
2181 2182 2183 2184 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2181 def delete_site(params = {}, = {}) req = build_request(:delete_site, params) req.send_request() end |
#deregister_transit_gateway(params = {}) ⇒ Types::DeregisterTransitGatewayResponse
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.
2218 2219 2220 2221 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2218 def deregister_transit_gateway(params = {}, = {}) req = build_request(:deregister_transit_gateway, params) req.send_request() end |
#describe_global_networks(params = {}) ⇒ Types::DescribeGlobalNetworksResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2270 2271 2272 2273 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2270 def describe_global_networks(params = {}, = {}) req = build_request(:describe_global_networks, params) req.send_request() end |
#disassociate_connect_peer(params = {}) ⇒ Types::DisassociateConnectPeerResponse
Disassociates a core network Connect peer from a device and a link.
2306 2307 2308 2309 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2306 def disassociate_connect_peer(params = {}, = {}) req = build_request(:disassociate_connect_peer, params) req.send_request() end |
#disassociate_customer_gateway(params = {}) ⇒ Types::DisassociateCustomerGatewayResponse
Disassociates a customer gateway from a device and a link.
2342 2343 2344 2345 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2342 def disassociate_customer_gateway(params = {}, = {}) req = build_request(:disassociate_customer_gateway, params) req.send_request() end |
#disassociate_link(params = {}) ⇒ Types::DisassociateLinkResponse
Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
2382 2383 2384 2385 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2382 def disassociate_link(params = {}, = {}) req = build_request(:disassociate_link, params) req.send_request() end |
#disassociate_transit_gateway_connect_peer(params = {}) ⇒ Types::DisassociateTransitGatewayConnectPeerResponse
Disassociates a transit gateway Connect peer from a device and link.
2418 2419 2420 2421 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2418 def disassociate_transit_gateway_connect_peer(params = {}, = {}) req = build_request(:disassociate_transit_gateway_connect_peer, params) req.send_request() end |
#execute_core_network_change_set(params = {}) ⇒ Struct
Executes a change set on your core network. Deploys changes globally based on the policy submitted..
2445 2446 2447 2448 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2445 def execute_core_network_change_set(params = {}, = {}) req = build_request(:execute_core_network_change_set, params) req.send_request() end |
#get_connect_attachment(params = {}) ⇒ Types::GetConnectAttachmentResponse
Returns information about a core network Connect attachment.
2505 2506 2507 2508 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2505 def (params = {}, = {}) req = build_request(:get_connect_attachment, params) req.send_request() end |
#get_connect_peer(params = {}) ⇒ Types::GetConnectPeerResponse
Returns information about a core network Connect peer.
2557 2558 2559 2560 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2557 def get_connect_peer(params = {}, = {}) req = build_request(:get_connect_peer, params) req.send_request() end |
#get_connect_peer_associations(params = {}) ⇒ Types::GetConnectPeerAssociationsResponse
Returns information about a core network Connect peer associations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2606 2607 2608 2609 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2606 def get_connect_peer_associations(params = {}, = {}) req = build_request(:get_connect_peer_associations, params) req.send_request() end |
#get_connections(params = {}) ⇒ Types::GetConnectionsResponse
Gets information about one or more of your connections in a global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2668 2669 2670 2671 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2668 def get_connections(params = {}, = {}) req = build_request(:get_connections, params) req.send_request() end |
#get_core_network(params = {}) ⇒ Types::GetCoreNetworkResponse
Returns information about the LIVE policy for a core network.
2723 2724 2725 2726 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2723 def get_core_network(params = {}, = {}) req = build_request(:get_core_network, params) req.send_request() end |
#get_core_network_change_events(params = {}) ⇒ Types::GetCoreNetworkChangeEventsResponse
Returns information about a core network change event.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2777 2778 2779 2780 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2777 def get_core_network_change_events(params = {}, = {}) req = build_request(:get_core_network_change_events, params) req.send_request() end |
#get_core_network_change_set(params = {}) ⇒ Types::GetCoreNetworkChangeSetResponse
Returns a change set between the LIVE core network policy and a submitted policy.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2872 2873 2874 2875 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2872 def get_core_network_change_set(params = {}, = {}) req = build_request(:get_core_network_change_set, params) req.send_request() end |
#get_core_network_policy(params = {}) ⇒ Types::GetCoreNetworkPolicyResponse
Returns details about a core network policy. You can get details about your current live policy or any previous policy version.
2919 2920 2921 2922 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2919 def get_core_network_policy(params = {}, = {}) req = build_request(:get_core_network_policy, params) req.send_request() end |
#get_customer_gateway_associations(params = {}) ⇒ Types::GetCustomerGatewayAssociationsResponse
Gets the association information for customer gateways that are associated with devices and links in your global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2970 2971 2972 2973 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 2970 def get_customer_gateway_associations(params = {}, = {}) req = build_request(:get_customer_gateway_associations, params) req.send_request() end |
#get_devices(params = {}) ⇒ Types::GetDevicesResponse
Gets information about one or more of your devices in a global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3038 3039 3040 3041 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3038 def get_devices(params = {}, = {}) req = build_request(:get_devices, params) req.send_request() end |
#get_link_associations(params = {}) ⇒ Types::GetLinkAssociationsResponse
Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3091 3092 3093 3094 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3091 def get_link_associations(params = {}, = {}) req = build_request(:get_link_associations, params) req.send_request() end |
#get_links(params = {}) ⇒ Types::GetLinksResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3166 3167 3168 3169 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3166 def get_links(params = {}, = {}) req = build_request(:get_links, params) req.send_request() end |
#get_network_resource_counts(params = {}) ⇒ Types::GetNetworkResourceCountsResponse
Gets the count of network resources, by resource type, for the specified global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3253 3254 3255 3256 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3253 def get_network_resource_counts(params = {}, = {}) req = build_request(:get_network_resource_counts, params) req.send_request() end |
#get_network_resource_relationships(params = {}) ⇒ Types::GetNetworkResourceRelationshipsResponse
Gets the network resource relationships for the specified global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3360 3361 3362 3363 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3360 def get_network_resource_relationships(params = {}, = {}) req = build_request(:get_network_resource_relationships, params) req.send_request() end |
#get_network_resources(params = {}) ⇒ Types::GetNetworkResourcesResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3482 3483 3484 3485 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3482 def get_network_resources(params = {}, = {}) req = build_request(:get_network_resources, params) req.send_request() end |
#get_network_routes(params = {}) ⇒ Types::GetNetworkRoutesResponse
Gets the network routes of the specified global network.
3585 3586 3587 3588 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3585 def get_network_routes(params = {}, = {}) req = build_request(:get_network_routes, params) req.send_request() end |
#get_network_telemetry(params = {}) ⇒ Types::GetNetworkTelemetryResponse
Gets the network telemetry of the specified global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3666 3667 3668 3669 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3666 def get_network_telemetry(params = {}, = {}) req = build_request(:get_network_telemetry, params) req.send_request() end |
#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse
Returns information about a resource policy.
3694 3695 3696 3697 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3694 def get_resource_policy(params = {}, = {}) req = build_request(:get_resource_policy, params) req.send_request() end |
#get_route_analysis(params = {}) ⇒ Types::GetRouteAnalysisResponse
Gets information about the specified route analysis.
3764 3765 3766 3767 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3764 def get_route_analysis(params = {}, = {}) req = build_request(:get_route_analysis, params) req.send_request() end |
#get_site_to_site_vpn_attachment(params = {}) ⇒ Types::GetSiteToSiteVpnAttachmentResponse
Returns information about a site-to-site VPN attachment.
3823 3824 3825 3826 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3823 def (params = {}, = {}) req = build_request(:get_site_to_site_vpn_attachment, params) req.send_request() end |
#get_sites(params = {}) ⇒ Types::GetSitesResponse
Gets information about one or more of your sites in a global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3879 3880 3881 3882 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3879 def get_sites(params = {}, = {}) req = build_request(:get_sites, params) req.send_request() end |
#get_transit_gateway_connect_peer_associations(params = {}) ⇒ Types::GetTransitGatewayConnectPeerAssociationsResponse
Gets information about one or more of your transit gateway Connect peer associations in a global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3929 3930 3931 3932 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3929 def get_transit_gateway_connect_peer_associations(params = {}, = {}) req = build_request(:get_transit_gateway_connect_peer_associations, params) req.send_request() end |
#get_transit_gateway_peering(params = {}) ⇒ Types::GetTransitGatewayPeeringResponse
Returns information about a transit gateway peer.
3976 3977 3978 3979 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 3976 def get_transit_gateway_peering(params = {}, = {}) req = build_request(:get_transit_gateway_peering, params) req.send_request() end |
#get_transit_gateway_registrations(params = {}) ⇒ Types::GetTransitGatewayRegistrationsResponse
Gets information about the transit gateway registrations in a specified global network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4026 4027 4028 4029 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4026 def get_transit_gateway_registrations(params = {}, = {}) req = build_request(:get_transit_gateway_registrations, params) req.send_request() end |
#get_transit_gateway_route_table_attachment(params = {}) ⇒ Types::GetTransitGatewayRouteTableAttachmentResponse
Returns information about a transit gateway route table attachment.
4086 4087 4088 4089 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4086 def (params = {}, = {}) req = build_request(:get_transit_gateway_route_table_attachment, params) req.send_request() end |
#get_vpc_attachment(params = {}) ⇒ Types::GetVpcAttachmentResponse
Returns information about a VPC attachment.
4148 4149 4150 4151 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4148 def (params = {}, = {}) req = build_request(:get_vpc_attachment, params) req.send_request() end |
#list_attachments(params = {}) ⇒ Types::ListAttachmentsResponse
Returns a list of core network attachments.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4231 4232 4233 4234 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4231 def (params = {}, = {}) req = build_request(:list_attachments, params) req.send_request() end |
#list_connect_peers(params = {}) ⇒ Types::ListConnectPeersResponse
Returns a list of core network Connect peers.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4285 4286 4287 4288 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4285 def list_connect_peers(params = {}, = {}) req = build_request(:list_connect_peers, params) req.send_request() end |
#list_core_network_policy_versions(params = {}) ⇒ Types::ListCoreNetworkPolicyVersionsResponse
Returns a list of core network policy versions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4331 4332 4333 4334 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4331 def list_core_network_policy_versions(params = {}, = {}) req = build_request(:list_core_network_policy_versions, params) req.send_request() end |
#list_core_networks(params = {}) ⇒ Types::ListCoreNetworksResponse
Returns a list of owned and shared core networks.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4376 4377 4378 4379 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4376 def list_core_networks(params = {}, = {}) req = build_request(:list_core_networks, params) req.send_request() end |
#list_organization_service_access_status(params = {}) ⇒ Types::ListOrganizationServiceAccessStatusResponse
Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.
4416 4417 4418 4419 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4416 def list_organization_service_access_status(params = {}, = {}) req = build_request(:list_organization_service_access_status, params) req.send_request() end |
#list_peerings(params = {}) ⇒ Types::ListPeeringsResponse
Lists the peerings for a core network.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4486 4487 4488 4489 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4486 def list_peerings(params = {}, = {}) req = build_request(:list_peerings, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for a specified resource.
4516 4517 4518 4519 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4516 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_core_network_policy(params = {}) ⇒ Types::PutCoreNetworkPolicyResponse
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.
4579 4580 4581 4582 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4579 def put_core_network_policy(params = {}, = {}) req = build_request(:put_core_network_policy, params) req.send_request() end |
#put_resource_policy(params = {}) ⇒ Struct
Creates or updates a resource policy.
4609 4610 4611 4612 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4609 def put_resource_policy(params = {}, = {}) req = build_request(:put_resource_policy, params) req.send_request() end |
#register_transit_gateway(params = {}) ⇒ Types::RegisterTransitGatewayResponse
Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see [Region Availability] in the *Amazon Web Services Transit Gateways for Global Networks User Guide*. The transit gateway can be in any of the supported Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global network. You cannot register a transit gateway in more than one global network.
[1]: docs.aws.amazon.com/network-manager/latest/tgwnm/what-are-global-networks.html#nm-available-regions
4655 4656 4657 4658 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4655 def register_transit_gateway(params = {}, = {}) req = build_request(:register_transit_gateway, params) req.send_request() end |
#reject_attachment(params = {}) ⇒ Types::RejectAttachmentResponse
Rejects a core network attachment request.
4713 4714 4715 4716 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4713 def (params = {}, = {}) req = build_request(:reject_attachment, params) req.send_request() end |
#restore_core_network_policy_version(params = {}) ⇒ Types::RestoreCoreNetworkPolicyVersionResponse
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.
4757 4758 4759 4760 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4757 def restore_core_network_policy_version(params = {}, = {}) req = build_request(:restore_core_network_policy_version, params) req.send_request() end |
#start_organization_service_access_update(params = {}) ⇒ Types::StartOrganizationServiceAccessUpdateResponse
Enables the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.
4793 4794 4795 4796 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4793 def start_organization_service_access_update(params = {}, = {}) req = build_request(:start_organization_service_access_update, params) req.send_request() end |
#start_route_analysis(params = {}) ⇒ Types::StartRouteAnalysisResponse
Starts analyzing the routing path between the specified source and destination. For more information, see [Route Analyzer].
4887 4888 4889 4890 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4887 def start_route_analysis(params = {}, = {}) req = build_request(:start_route_analysis, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a specified resource.
4918 4919 4920 4921 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4918 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a specified resource.
4944 4945 4946 4947 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 4944 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_connection(params = {}) ⇒ Types::UpdateConnectionResponse
Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.
5003 5004 5005 5006 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5003 def update_connection(params = {}, = {}) req = build_request(:update_connection, params) req.send_request() end |
#update_core_network(params = {}) ⇒ Types::UpdateCoreNetworkResponse
Updates the description of a core network.
5062 5063 5064 5065 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5062 def update_core_network(params = {}, = {}) req = build_request(:update_core_network, params) req.send_request() end |
#update_device(params = {}) ⇒ Types::UpdateDeviceResponse
Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.
5161 5162 5163 5164 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5161 def update_device(params = {}, = {}) req = build_request(:update_device, params) req.send_request() end |
#update_global_network(params = {}) ⇒ Types::UpdateGlobalNetworkResponse
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
5203 5204 5205 5206 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5203 def update_global_network(params = {}, = {}) req = build_request(:update_global_network, params) req.send_request() end |
#update_link(params = {}) ⇒ Types::UpdateLinkResponse
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
5274 5275 5276 5277 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5274 def update_link(params = {}, = {}) req = build_request(:update_link, params) req.send_request() end |
#update_network_resource_metadata(params = {}) ⇒ Types::UpdateNetworkResourceMetadataResponse
Updates the resource metadata for the specified global network.
5315 5316 5317 5318 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5315 def (params = {}, = {}) req = build_request(:update_network_resource_metadata, params) req.send_request() end |
#update_site(params = {}) ⇒ Types::UpdateSiteResponse
Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.
5379 5380 5381 5382 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5379 def update_site(params = {}, = {}) req = build_request(:update_site, params) req.send_request() end |
#update_vpc_attachment(params = {}) ⇒ Types::UpdateVpcAttachmentResponse
Updates a VPC attachment.
5456 5457 5458 5459 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5456 def (params = {}, = {}) req = build_request(:update_vpc_attachment, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5485 5486 5487 |
# File 'lib/aws-sdk-networkmanager/client.rb', line 5485 def waiter_names [] end |