Class: Aws::NetworkManager::Client

Inherits:
Seahorse::Client::Base
  • Object
show all
Includes:
ClientStubs
Defined in:
lib/aws-sdk-networkmanager/client.rb,
sig/client.rbs

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.

See #initialize for a full list of supported configuration options.

Defined Under Namespace

Modules: _AcceptAttachmentResponseSuccess, _AssociateConnectPeerResponseSuccess, _AssociateContextStoreResponseSuccess, _AssociateCustomerGatewayResponseSuccess, _AssociateLinkResponseSuccess, _AssociateNetworkScopePrincipalResponseSuccess, _AssociateTransitGatewayConnectPeerResponseSuccess, _CreateConnectAttachmentResponseSuccess, _CreateConnectPeerResponseSuccess, _CreateConnectionResponseSuccess, _CreateContextStoreResponseSuccess, _CreateCoreNetworkPrefixListAssociationResponseSuccess, _CreateCoreNetworkResponseSuccess, _CreateDeviceResponseSuccess, _CreateDirectConnectGatewayAttachmentResponseSuccess, _CreateGlobalNetworkResponseSuccess, _CreateLinkResponseSuccess, _CreateNetworkScopeResponseSuccess, _CreateSiteResponseSuccess, _CreateSiteToSiteVpnAttachmentResponseSuccess, _CreateSseConnectAttachmentResponseSuccess, _CreateSseConnectResponseSuccess, _CreateSseConnectTransitGatewayAttachmentResponseSuccess, _CreateTransitGatewayPeeringResponseSuccess, _CreateTransitGatewayRouteTableAttachmentResponseSuccess, _CreateVpcAttachmentResponseSuccess, _DeleteAttachmentResponseSuccess, _DeleteConnectPeerResponseSuccess, _DeleteConnectionResponseSuccess, _DeleteContextStoreResponseSuccess, _DeleteCoreNetworkPolicyVersionResponseSuccess, _DeleteCoreNetworkPrefixListAssociationResponseSuccess, _DeleteCoreNetworkResponseSuccess, _DeleteDeviceResponseSuccess, _DeleteGlobalNetworkResponseSuccess, _DeleteLinkResponseSuccess, _DeleteNetworkScopeResponseSuccess, _DeletePeeringResponseSuccess, _DeleteResourcePolicyResponseSuccess, _DeleteSiteResponseSuccess, _DeleteSseConnectResponseSuccess, _DeleteSseConnectTransitGatewayAttachmentResponseSuccess, _DeregisterTransitGatewayResponseSuccess, _DescribeGlobalNetworksResponseSuccess, _DisassociateConnectPeerResponseSuccess, _DisassociateContextStoreResponseSuccess, _DisassociateCustomerGatewayResponseSuccess, _DisassociateLinkResponseSuccess, _DisassociateNetworkScopePrincipalResponseSuccess, _DisassociateTransitGatewayConnectPeerResponseSuccess, _ExecuteCoreNetworkChangeSetResponseSuccess, _GetConnectAttachmentResponseSuccess, _GetConnectPeerAssociationsResponseSuccess, _GetConnectPeerResponseSuccess, _GetConnectionsResponseSuccess, _GetContextStoreAssociationResponseSuccess, _GetContextStoreResponseSuccess, _GetContextVersionResponseSuccess, _GetCoreNetworkChangeEventsResponseSuccess, _GetCoreNetworkChangeSetResponseSuccess, _GetCoreNetworkPolicyResponseSuccess, _GetCoreNetworkResponseSuccess, _GetCustomerGatewayAssociationsResponseSuccess, _GetDevicesResponseSuccess, _GetDirectConnectGatewayAttachmentResponseSuccess, _GetLinkAssociationsResponseSuccess, _GetLinksResponseSuccess, _GetNetworkResourceCountsResponseSuccess, _GetNetworkResourceRelationshipsResponseSuccess, _GetNetworkResourcesResponseSuccess, _GetNetworkRoutesResponseSuccess, _GetNetworkScopeResponseSuccess, _GetNetworkTelemetryResponseSuccess, _GetResourcePolicyResponseSuccess, _GetRouteAnalysisResponseSuccess, _GetSiteToSiteVpnAttachmentResponseSuccess, _GetSitesResponseSuccess, _GetSseConnectAttachmentResponseSuccess, _GetSseConnectResponseSuccess, _GetSseConnectRoutesResponseSuccess, _GetSseConnectTransitGatewayAttachmentResponseSuccess, _GetTransitGatewayConnectPeerAssociationsResponseSuccess, _GetTransitGatewayPeeringResponseSuccess, _GetTransitGatewayRegistrationsResponseSuccess, _GetTransitGatewayRouteTableAttachmentResponseSuccess, _GetVpcAttachmentResponseSuccess, _ListAttachmentNatConfigurationsResponseSuccess, _ListAttachmentRoutingPolicyAssociationsResponseSuccess, _ListAttachmentsResponseSuccess, _ListConnectPeersResponseSuccess, _ListContextChangesResponseSuccess, _ListContextStoreAssociationsResponseSuccess, _ListContextStoresResponseSuccess, _ListContextsResponseSuccess, _ListCoreNetworkDryRunRoutesResponseSuccess, _ListCoreNetworkPolicyVersionsResponseSuccess, _ListCoreNetworkPrefixListAssociationsResponseSuccess, _ListCoreNetworkRoutingInformationResponseSuccess, _ListCoreNetworksResponseSuccess, _ListNetworkScopePrincipalsResponseSuccess, _ListNetworkScopesResponseSuccess, _ListOrganizationServiceAccessStatusResponseSuccess, _ListPeeringsResponseSuccess, _ListSSERegionsResponseSuccess, _ListSseConnectTransitGatewayAttachmentsResponseSuccess, _ListSseConnectsResponseSuccess, _ListTagsForResourceResponseSuccess, _PutAttachmentRoutingPolicyLabelResponseSuccess, _PutCoreNetworkPolicyResponseSuccess, _PutResourcePolicyResponseSuccess, _RegisterTransitGatewayResponseSuccess, _RejectAttachmentResponseSuccess, _RemoveAttachmentRoutingPolicyLabelResponseSuccess, _RestoreCoreNetworkPolicyVersionResponseSuccess, _StartCoreNetworkPolicyDryRunResponseSuccess, _StartOrganizationServiceAccessUpdateResponseSuccess, _StartRouteAnalysisResponseSuccess, _TagResourceResponseSuccess, _UntagResourceResponseSuccess, _UpdateAttachmentNatConfigurationResponseSuccess, _UpdateConnectionResponseSuccess, _UpdateContextStoreResponseSuccess, _UpdateCoreNetworkResponseSuccess, _UpdateDeviceResponseSuccess, _UpdateDirectConnectGatewayAttachmentResponseSuccess, _UpdateGlobalNetworkResponseSuccess, _UpdateLinkResponseSuccess, _UpdateNetworkResourceMetadataResponseSuccess, _UpdateNetworkScopeResponseSuccess, _UpdateSiteResponseSuccess, _UpdateSseConnectResponseSuccess, _UpdateVpcAttachmentResponseSuccess

Class Attribute Summary collapse

API Operations collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Client

Returns a new instance of Client.

Parameters:

  • options (Hash)

Options Hash (options):

  • :plugins (Array<Seahorse::Client::Plugin>) — default: []] —

    A list of plugins to apply to the client. Each plugin is either a class name or an instance of a plugin class.

  • :credentials (required, Aws::CredentialProvider) —

    Your AWS credentials used for authentication. This can be any class that includes and implements Aws::CredentialProvider, or instance of any one of the following classes:

    • Aws::Credentials - Used for configuring static, non-refreshing credentials.

    • Aws::SharedCredentials - Used for loading static credentials from a shared file, such as ~/.aws/config.

    • Aws::AssumeRoleCredentials - Used when you need to assume a role.

    • Aws::AssumeRoleWebIdentityCredentials - Used when you need to assume a role after providing credentials via the web.

    • Aws::SSOCredentials - Used for loading credentials from AWS SSO using an access token generated from aws login.

    • Aws::ProcessCredentials - Used for loading credentials from a process that outputs to stdout.

    • Aws::InstanceProfileCredentials - Used for loading credentials from an EC2 IMDS on an EC2 instance.

    • Aws::ECSCredentials - Used for loading credentials from instances running in ECS.

    • Aws::CognitoIdentityCredentials - Used for loading credentials from the Cognito Identity service.

    When :credentials are not configured directly, the following locations will be searched for credentials:

    • Aws.config[:credentials]

    • The :access_key_id, :secret_access_key, :session_token, and :account_id options.

    • ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'], ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID'].

    • ~/.aws/credentials

    • ~/.aws/config

    • EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive. Construct and pass an instance of Aws::InstanceProfileCredentials or Aws::ECSCredentials to enable retries and extended timeouts. Instance profile credential fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] to true.

  • :region (required, String) —

    The AWS region to connect to. The configured :region is used to determine the service :endpoint. When not passed, a default :region is searched for in the following locations:

    • Aws.config[:region]
    • ENV['AWS_REGION']
    • ENV['AMAZON_REGION']
    • ENV['AWS_DEFAULT_REGION']
    • ~/.aws/credentials
    • ~/.aws/config
  • :access_key_id (String)
  • :account_id (String)
  • :active_endpoint_cache (Boolean) — default: false —

    When set to true, a thread polling for endpoints will be running in the background every 60 secs (default). Defaults to false.

  • :adaptive_retry_wait_to_fill (Boolean) — default: true —

    Used only in adaptive retry mode. When true, the request will sleep until there is sufficent client side capacity to retry the request. When false, the request will raise a RetryCapacityNotAvailableError and will not retry instead of sleeping.

  • :auth_scheme_preference (Array<String>) —

    A list of preferred authentication schemes to use when making a request. Supported values are: sigv4, sigv4a, httpBearerAuth, and noAuth. When set using ENV['AWS_AUTH_SCHEME_PREFERENCE'] or in shared config as auth_scheme_preference, the value should be a comma-separated list.

  • :client_side_monitoring (Boolean) — default: false —

    When true, client-side metrics will be collected for all API requests from this client.

  • :client_side_monitoring_client_id (String) — default: "" —

    Allows you to provide an identifier for this client which will be attached to all generated client side metrics. Defaults to an empty string.

  • :client_side_monitoring_host (String) — default: "127.0.0.1" —

    Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_port (Integer) — default: 31000 —

    Required for publishing client metrics. The port that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) — default: Aws::ClientSideMonitoring::Publisher —

    Allows you to provide a custom client-side monitoring publisher class. By default, will use the Client Side Monitoring Agent Publisher.

  • :convert_params (Boolean) — default: true —

    When true, an attempt is made to coerce request parameters into the required types.

  • :correct_clock_skew (Boolean) — default: true —

    Used only in standard and adaptive retry modes. Specifies whether to apply a clock skew correction and retry requests with skewed client clocks. Takes effect only when disable_clock_skew_correction is not set.

  • :defaults_mode (String) — default: "legacy" —

    See DefaultsModeConfiguration for a list of the accepted modes and the configuration defaults that are included.

  • :disable_clock_skew_correction (Boolean) —

    Used only in standard and adaptive retry modes. When true, the SDK does not apply a clock skew correction, does not update its stored skew from responses, and does not retry clock skew errors. Clock skew correction is enabled by default.

  • :disable_host_prefix_injection (Boolean) — default: false —

    When true, the SDK will not prepend the modeled host prefix to the endpoint.

  • :disable_request_compression (Boolean) — default: false —

    When set to 'true' the request body will not be compressed for supported operations.

  • :endpoint (String, URI::HTTPS, URI::HTTP) —

    Normally you should not configure the :endpoint option directly. This is normally constructed from the :region option. Configuring :endpoint is normally reserved for connecting to test or custom endpoints. The endpoint should be a URI formatted like:

    'http://example.com'
    'https://example.com'
    'http://example.com:123'
  • :endpoint_cache_max_entries (Integer) — default: 1000 —

    Used for the maximum size limit of the LRU cache storing endpoints data for endpoint discovery enabled operations. Defaults to 1000.

  • :endpoint_cache_max_threads (Integer) — default: 10 —

    Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.

  • :endpoint_cache_poll_interval (Integer) — default: 60 —

    When :endpoint_discovery and :active_endpoint_cache is enabled, Use this option to config the time interval in seconds for making requests fetching endpoints information. Defaults to 60 sec.

  • :endpoint_discovery (Boolean) — default: false —

    When set to true, endpoint discovery will be enabled for operations when available.

  • :ignore_configured_endpoint_urls (Boolean) —

    Setting to true disables use of endpoint URLs provided via environment variables and the shared configuration file.

  • :log_formatter (Aws::Log::Formatter) — default: Aws::Log::Formatter.default —

    The log formatter.

  • :log_level (Symbol) — default: :info —

    The log level to send messages to the :logger at.

  • :logger (Logger) —

    The Logger instance to send log messages to. If this option is not set, logging will be disabled.

  • :max_attempts (Integer) — default: 3 —

    An integer representing the maximum number attempts that will be made for a single request, including the initial attempt. For example, setting this value to 5 will result in a request being retried up to 4 times. Used in standard and adaptive retry modes. Defaults to 3, except for DynamoDB and DynamoDB Streams, which default to 4.

  • :profile (String) — default: "default" —

    Used when loading credentials from the shared credentials file at HOME/.aws/credentials. When not specified, 'default' is used.

  • :request_checksum_calculation (String) — default: "when_supported" —

    Determines when a checksum will be calculated for request payloads. Values are:

    • when_supported - (default) When set, a checksum will be calculated for all request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true and/or a requestAlgorithmMember is modeled.
    • when_required - When set, a checksum will only be calculated for request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true or where a requestAlgorithmMember is modeled and supplied.
  • :request_min_compression_size_bytes (Integer) — default: 10240 —

    The minimum size in bytes that triggers compression for request bodies. The value must be non-negative integer value between 0 and 10485780 bytes inclusive.

  • :response_checksum_validation (String) — default: "when_supported" —

    Determines when checksum validation will be performed on response payloads. Values are:

    • when_supported - (default) When set, checksum validation is performed on all response payloads of operations modeled with the httpChecksum trait where responseAlgorithms is modeled, except when no modeled checksum algorithms are supported.
    • when_required - When set, checksum validation is not performed on response payloads of operations unless the checksum algorithm is supported and the requestValidationModeMember member is set to ENABLED.
  • :retry_backoff (Proc) —

    A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. This option is only used in the legacy retry mode.

  • :retry_base_delay (Float) — default: 0.3 —

    The base delay in seconds used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_jitter (Symbol) — default: :none —

    A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number. This option is only used in the legacy retry mode.

    @see https://www.awsarchitectureblog.com/2015/03/backoff.html

  • :retry_limit (Integer) — default: 3 —

    The maximum number of times to retry failed requests. Only ~ 500 level server errors and certain ~ 400 level client errors are retried. Generally, these are throttling errors, data checksum errors, networking errors, timeout errors, auth errors, endpoint discovery, and errors from expired credentials. This option is only used in the legacy retry mode.

  • :retry_max_delay (Integer) — default: 0 —

    The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_mode (String) — default: "standard" —

    Specifies which retry algorithm to use. Values are:

    • legacy - The pre-existing retry behavior.

    • standard - A standardized set of retry rules across the AWS SDKs. This includes support for retry quotas, which limit the number of unsuccessful retries a client can make. This is the default value if no retry mode is provided.

    • adaptive - A retry mode that includes all the functionality of standard mode along with automatic client side throttling.

  • :sdk_ua_app_id (String) —

    A unique and opaque application ID that is appended to the User-Agent header as app/sdk_ua_app_id. It should have a maximum length of 50. This variable is sourced from environment variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.

  • :secret_access_key (String)
  • :session_token (String)
  • :sigv4a_signing_region_set (Array) —

    A list of regions that should be signed with SigV4a signing. When not passed, a default :sigv4a_signing_region_set is searched for in the following locations:

    • Aws.config[:sigv4a_signing_region_set]
    • ENV['AWS_SIGV4A_SIGNING_REGION_SET']
    • ~/.aws/config
  • :stub_responses (Boolean) — default: false —

    Causes the client to return stubbed responses. By default fake responses are generated and returned. You can specify the response data to return or errors to raise by calling ClientStubs#stub_responses. See ClientStubs for more information.

    ** Please note ** When response stubbing is enabled, no HTTP requests are made, and retries are disabled.

  • :telemetry_provider (Aws::Telemetry::TelemetryProviderBase) — default: Aws::Telemetry::NoOpTelemetryProvider —

    Allows you to provide a telemetry provider, which is used to emit telemetry data. By default, uses NoOpTelemetryProvider which will not record or emit any telemetry data. The SDK supports the following telemetry providers:

    • OpenTelemetry (OTel) - To use the OTel provider, install and require the opentelemetry-sdk gem and then, pass in an instance of a Aws::Telemetry::OTelProvider for telemetry provider.
  • :token_provider (Aws::TokenProvider) —

    Your Bearer token used for authentication. This can be any class that includes and implements Aws::TokenProvider, or instance of any one of the following classes:

    • Aws::StaticTokenProvider - Used for configuring static, non-refreshing tokens.

    • Aws::SSOTokenProvider - Used for loading tokens from AWS SSO using an access token generated from aws login.

    When :token_provider is not configured directly, the Aws::TokenProviderChain will be used to search for tokens configured for your profile in shared configuration files.

  • :use_dualstack_endpoint (Boolean) —

    When set to true, dualstack enabled endpoints (with .aws TLD) will be used if available.

  • :use_fips_endpoint (Boolean) —

    When set to true, fips compatible endpoints will be used if available. When a fips region is used, the region is normalized and this config is set to true.

  • :validate_params (Boolean) — default: true —

    When true, request parameters are validated before sending the request.

  • :endpoint_provider (Aws::NetworkManager::EndpointProvider) —

    The endpoint provider used to resolve endpoints. Any object that responds to #resolve_endpoint(parameters) where parameters is a Struct similar to Aws::NetworkManager::EndpointParameters.

  • :http_continue_timeout (Float) — default: 1 —

    The number of seconds to wait for a 100-continue response before sending the request body. This option has no effect unless the request has "Expect" header set to "100-continue". Defaults to nil which disables this behaviour. This value can safely be set per request on the session.

  • :http_idle_timeout (Float) — default: 5 —

    The number of seconds a connection is allowed to sit idle before it is considered stale. Stale connections are closed and removed from the pool before making a request.

  • :http_open_timeout (Float) — default: 15 —

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_proxy (URI::HTTP, String) —

    A proxy to send requests through. Formatted like 'http://proxy.com:123'.

  • :http_read_timeout (Float) — default: 60 —

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_wire_trace (Boolean) — default: false —

    When true, HTTP debug output will be sent to the :logger.

  • :on_chunk_received (Proc) —

    When a Proc object is provided, it will be used as callback when each chunk of the response body is received. It provides three arguments: the chunk, the number of bytes received, and the total number of bytes in the response (or nil if the server did not send a content-length).

  • :on_chunk_sent (Proc) —

    When a Proc object is provided, it will be used as callback when each chunk of the request body is sent. It provides three arguments: the chunk, the number of bytes read from the body, and the total number of bytes in the body.

  • :raise_response_errors (Boolean) — default: true —

    When true, response errors are raised.

  • :ssl_ca_bundle (String) —

    Full path to the SSL certificate authority bundle file that should be used when verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_directory (String) —

    Full path of the directory that contains the unbundled SSL certificate authority files for verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_store (String) —

    Sets the X509::Store to verify peer certificate.

  • :ssl_cert (OpenSSL::X509::Certificate) —

    Sets a client certificate when creating http connections.

  • :ssl_key (OpenSSL::PKey) —

    Sets a client key when creating http connections.

  • :ssl_timeout (Float) —

    Sets the SSL timeout in seconds

  • :ssl_verify_peer (Boolean) — default: true —

    When true, SSL peer certificates are verified when establishing a connection.



479
480
481
# File 'lib/aws-sdk-networkmanager/client.rb', line 479

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.



9166
9167
9168
# File 'lib/aws-sdk-networkmanager/client.rb', line 9166

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.



9169
9170
9171
# File 'lib/aws-sdk-networkmanager/client.rb', line 9169

def errors_module
  Errors
end

.new(credentials:, region:, access_key_id:, account_id:, active_endpoint_cache:, adaptive_retry_wait_to_fill:, auth_scheme_preference:, client_side_monitoring:, client_side_monitoring_client_id:, client_side_monitoring_host:, client_side_monitoring_port:, client_side_monitoring_publisher:, convert_params:, correct_clock_skew:, defaults_mode:, disable_clock_skew_correction:, disable_host_prefix_injection:, disable_request_compression:, endpoint:, endpoint_cache_max_entries:, endpoint_cache_max_threads:, endpoint_cache_poll_interval:, endpoint_discovery:, ignore_configured_endpoint_urls:, log_formatter:, log_level:, logger:, max_attempts:, profile:, request_checksum_calculation:, request_min_compression_size_bytes:, response_checksum_validation:, retry_backoff:, retry_base_delay:, retry_jitter:, retry_limit:, retry_max_delay:, retry_mode:, sdk_ua_app_id:, secret_access_key:, session_token:, sigv4a_signing_region_set:, stub_responses:, telemetry_provider:, token_provider:, use_dualstack_endpoint:, use_fips_endpoint:, validate_params:, endpoint_provider:, http_proxy:, http_open_timeout:, http_read_timeout:, http_idle_timeout:, http_continue_timeout:, ssl_timeout:, http_wire_trace:, ssl_verify_peer:, ssl_ca_bundle:, ssl_ca_directory:, ssl_ca_store:, on_chunk_received:, on_chunk_sent:, raise_response_errors:) ⇒ instance .new(arg0) ⇒ instance

Overloads:

  • .new(credentials:, region:, access_key_id:, account_id:, active_endpoint_cache:, adaptive_retry_wait_to_fill:, auth_scheme_preference:, client_side_monitoring:, client_side_monitoring_client_id:, client_side_monitoring_host:, client_side_monitoring_port:, client_side_monitoring_publisher:, convert_params:, correct_clock_skew:, defaults_mode:, disable_clock_skew_correction:, disable_host_prefix_injection:, disable_request_compression:, endpoint:, endpoint_cache_max_entries:, endpoint_cache_max_threads:, endpoint_cache_poll_interval:, endpoint_discovery:, ignore_configured_endpoint_urls:, log_formatter:, log_level:, logger:, max_attempts:, profile:, request_checksum_calculation:, request_min_compression_size_bytes:, response_checksum_validation:, retry_backoff:, retry_base_delay:, retry_jitter:, retry_limit:, retry_max_delay:, retry_mode:, sdk_ua_app_id:, secret_access_key:, session_token:, sigv4a_signing_region_set:, stub_responses:, telemetry_provider:, token_provider:, use_dualstack_endpoint:, use_fips_endpoint:, validate_params:, endpoint_provider:, http_proxy:, http_open_timeout:, http_read_timeout:, http_idle_timeout:, http_continue_timeout:, ssl_timeout:, http_wire_trace:, ssl_verify_peer:, ssl_ca_bundle:, ssl_ca_directory:, ssl_ca_store:, on_chunk_received:, on_chunk_sent:, raise_response_errors:) ⇒ instance

    Parameters:

    • credentials: (Object)
    • region: (String)
    • access_key_id: (String)
    • account_id: (String)
    • active_endpoint_cache: (Boolean)
    • adaptive_retry_wait_to_fill: (Boolean)
    • auth_scheme_preference: (Array[String])
    • client_side_monitoring: (Boolean)
    • client_side_monitoring_client_id: (String)
    • client_side_monitoring_host: (String)
    • client_side_monitoring_port: (Integer)
    • client_side_monitoring_publisher: (Object)
    • convert_params: (Boolean)
    • correct_clock_skew: (Boolean)
    • defaults_mode: (String)
    • disable_clock_skew_correction: (Boolean)
    • disable_host_prefix_injection: (Boolean)
    • disable_request_compression: (Boolean)
    • endpoint: (String)
    • endpoint_cache_max_entries: (Integer)
    • endpoint_cache_max_threads: (Integer)
    • endpoint_cache_poll_interval: (Integer)
    • endpoint_discovery: (Boolean)
    • ignore_configured_endpoint_urls: (Boolean)
    • log_formatter: (Object)
    • log_level: (Symbol)
    • logger: (Object)
    • max_attempts: (Integer)
    • profile: (String)
    • request_checksum_calculation: (String)
    • request_min_compression_size_bytes: (Integer)
    • response_checksum_validation: (String)
    • retry_backoff: (Proc)
    • retry_base_delay: (Float)
    • retry_jitter: (:none, :equal, :full, ^(Integer) -) —

      Integer]

    • retry_limit: (Integer)
    • retry_max_delay: (Integer)
    • retry_mode: ("legacy", "standard", "adaptive")
    • sdk_ua_app_id: (String)
    • secret_access_key: (String)
    • session_token: (String)
    • sigv4a_signing_region_set: (Array[String])
    • stub_responses: (Object)
    • telemetry_provider: (Aws::Telemetry::TelemetryProviderBase)
    • token_provider: (Object)
    • use_dualstack_endpoint: (Boolean)
    • use_fips_endpoint: (Boolean)
    • validate_params: (Boolean)
    • endpoint_provider: (Object)
    • http_proxy: (String)
    • http_open_timeout: (Float, Integer)
    • http_read_timeout: (Float, Integer)
    • http_idle_timeout: (Float, Integer)
    • http_continue_timeout: (Float, Integer)
    • ssl_timeout: (Float, Integer, nil)
    • http_wire_trace: (Boolean)
    • ssl_verify_peer: (Boolean)
    • ssl_ca_bundle: (String)
    • ssl_ca_directory: (String)
    • ssl_ca_store: (String)
    • on_chunk_received: (Proc)
    • on_chunk_sent: (Proc)
    • raise_response_errors: (Boolean)

    Returns:

    • (instance)
  • .new(arg0) ⇒ instance

    Parameters:

    • arg0 (Hash[Symbol, untyped])

    Returns:

    • (instance)


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'sig/client.rbs', line 14

def self.new: (
    ?credentials: untyped,
    ?region: String,
    ?access_key_id: String,
    ?account_id: String,
    ?active_endpoint_cache: bool,
    ?adaptive_retry_wait_to_fill: bool,
    ?auth_scheme_preference: Array[String],
    ?client_side_monitoring: bool,
    ?client_side_monitoring_client_id: String,
    ?client_side_monitoring_host: String,
    ?client_side_monitoring_port: Integer,
    ?client_side_monitoring_publisher: untyped,
    ?convert_params: bool,
    ?correct_clock_skew: bool,
    ?defaults_mode: String,
    ?disable_clock_skew_correction: bool,
    ?disable_host_prefix_injection: bool,
    ?disable_request_compression: bool,
    ?endpoint: String,
    ?endpoint_cache_max_entries: Integer,
    ?endpoint_cache_max_threads: Integer,
    ?endpoint_cache_poll_interval: Integer,
    ?endpoint_discovery: bool,
    ?ignore_configured_endpoint_urls: bool,
    ?log_formatter: untyped,
    ?log_level: Symbol,
    ?logger: untyped,
    ?max_attempts: Integer,
    ?profile: String,
    ?request_checksum_calculation: String,
    ?request_min_compression_size_bytes: Integer,
    ?response_checksum_validation: String,
    ?retry_backoff: Proc,
    ?retry_base_delay: Float,
    ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
    ?retry_limit: Integer,
    ?retry_max_delay: Integer,
    ?retry_mode: ("legacy" | "standard" | "adaptive"),
    ?sdk_ua_app_id: String,
    ?secret_access_key: String,
    ?session_token: String,
    ?sigv4a_signing_region_set: Array[String],
    ?stub_responses: untyped,
    ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
    ?token_provider: untyped,
    ?use_dualstack_endpoint: bool,
    ?use_fips_endpoint: bool,
    ?validate_params: bool,
    ?endpoint_provider: untyped,
    ?http_proxy: String,
    ?http_open_timeout: (Float | Integer),
    ?http_read_timeout: (Float | Integer),
    ?http_idle_timeout: (Float | Integer),
    ?http_continue_timeout: (Float | Integer),
    ?ssl_timeout: (Float | Integer | nil),
    ?http_wire_trace: bool,
    ?ssl_verify_peer: bool,
    ?ssl_ca_bundle: String,
    ?ssl_ca_directory: String,
    ?ssl_ca_store: String,
    ?on_chunk_received: Proc,
    ?on_chunk_sent: Proc,
    ?raise_response_errors: bool
  ) -> instance
| (?Hash[Symbol, untyped]) -> instance

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.

Examples:

Request syntax with placeholder values


resp = client.accept_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.attachment.core_network_id #=> String
resp.attachment.core_network_arn #=> String
resp.attachment.attachment_id #=> String
resp.attachment. #=> String
resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.attachment.edge_location #=> String
resp.attachment.edge_locations #=> Array
resp.attachment.edge_locations[0] #=> String
resp.attachment.resource_arn #=> String
resp.attachment.attachment_policy_rule_number #=> Integer
resp.attachment.segment_name #=> String
resp.attachment.network_function_group_name #=> String
resp.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.attachment.nat_system_route_support #=> Boolean
resp.attachment.tags #=> Array
resp.attachment.tags[0].key #=> String
resp.attachment.tags[0].value #=> String
resp.attachment.proposed_segment_change.tags #=> Array
resp.attachment.proposed_segment_change.tags[0].key #=> String
resp.attachment.proposed_segment_change.tags[0].value #=> String
resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.attachment.proposed_segment_change.segment_name #=> String
resp.attachment.proposed_network_function_group_change.tags #=> Array
resp.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.attachment.created_at #=> Time
resp.attachment.updated_at #=> Time
resp.attachment.last_modification_errors #=> Array
resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.attachment.last_modification_errors[0].message #=> String
resp.attachment.last_modification_errors[0].resource_arn #=> String
resp.attachment.last_modification_errors[0].request_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

Returns:

See Also:



87
88
89
90
# File 'sig/client.rbs', line 87

def accept_attachment: (
    attachment_id: ::String
  ) -> _AcceptAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptAttachmentResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.associate_connect_peer({
  global_network_id: "GlobalNetworkId", # required
  connect_peer_id: "ConnectPeerId", # required
  device_id: "DeviceId", # required
  link_id: "LinkId",
})

Response structure


resp.connect_peer_association.connect_peer_id #=> String
resp.connect_peer_association.global_network_id #=> String
resp.connect_peer_association.device_id #=> String
resp.connect_peer_association.link_id #=> String
resp.connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of your global network.

  • :connect_peer_id (required, String) —

    The ID of the Connect peer.

  • :device_id (required, String) —

    The ID of the device.

  • :link_id (String) —

    The ID of the link.

Returns:

See Also:



97
98
99
100
101
102
103
# File 'sig/client.rbs', line 97

def associate_connect_peer: (
    global_network_id: ::String,
    connect_peer_id: ::String,
    device_id: ::String,
    ?link_id: ::String
  ) -> _AssociateConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateConnectPeerResponseSuccess

#associate_context_store(params = {}) ⇒ Types::AssociateContextStoreResponse

Associates a transit gateway with a context store. The transit gateway must be registered with the global network of the context store, and can't be associated with more than one context store. The context store must be in the AVAILABLE state.

The association is in the ASSOCIATING state when it's created, and changes to ASSOCIATED when it's complete.

Examples:

Request syntax with placeholder values


resp = client.associate_context_store({
  context_store_id: "ContextStoreId", # required
  transit_gateway_arn: "TransitGatewayArn",
})

Response structure


resp.context_store_association.context_store_id #=> String
resp.context_store_association.transit_gateway_arn #=> String
resp.context_store_association.created_at #=> Time
resp.context_store_association.state #=> String, one of "ASSOCIATING", "ASSOCIATED", "DISASSOCIATING", "FAILED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :transit_gateway_arn (String) —

    The Amazon Resource Name (ARN) of the transit gateway to associate with the context store.

Returns:

See Also:



110
111
112
113
114
# File 'sig/client.rbs', line 110

def associate_context_store: (
    context_store_id: ::String,
    ?transit_gateway_arn: ::String
  ) -> _AssociateContextStoreResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateContextStoreResponseSuccess

#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 EC2 API and filter by transit-gateway-id.

You cannot associate a customer gateway with more than one device and link.

Examples:

Request syntax with placeholder values


resp = client.associate_customer_gateway({
  customer_gateway_arn: "CustomerGatewayArn", # required
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId", # required
  link_id: "LinkId",
})

Response structure


resp.customer_gateway_association.customer_gateway_arn #=> String
resp.customer_gateway_association.global_network_id #=> String
resp.customer_gateway_association.device_id #=> String
resp.customer_gateway_association.link_id #=> String
resp.customer_gateway_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :customer_gateway_arn (required, String) —

    The Amazon Resource Name (ARN) of the customer gateway.

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (required, String) —

    The ID of the device.

  • :link_id (String) —

    The ID of the link.

Returns:

See Also:



121
122
123
124
125
126
127
# File 'sig/client.rbs', line 121

def associate_customer_gateway: (
    customer_gateway_arn: ::String,
    global_network_id: ::String,
    device_id: ::String,
    ?link_id: ::String
  ) -> _AssociateCustomerGatewayResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateCustomerGatewayResponseSuccess

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.

Examples:

Request syntax with placeholder values


resp = client.associate_link({
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId", # required
  link_id: "LinkId", # required
})

Response structure


resp.link_association.global_network_id #=> String
resp.link_association.device_id #=> String
resp.link_association.link_id #=> String
resp.link_association.link_association_state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (required, String) —

    The ID of the device.

  • :link_id (required, String) —

    The ID of the link.

Returns:

See Also:



134
135
136
137
138
139
# File 'sig/client.rbs', line 134

def associate_link: (
    global_network_id: ::String,
    device_id: ::String,
    link_id: ::String
  ) -> _AssociateLinkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateLinkResponseSuccess

#associate_network_scope_principal(params = {}) ⇒ Types::AssociateNetworkScopePrincipalResponse

Associates an AWS account with a network scope as a principal. The network scope must be in the AVAILABLE state, and the account can't already be a principal of the network scope in any state. To associate a principal again, disassociate it and wait until ListNetworkScopePrincipals no longer returns it. The principal is returned in a transitional state. To track it, call ListNetworkScopePrincipals. An association becomes ASSOCIATED or FAILED. A disassociated principal is removed and is no longer returned.

Examples:

Example: Example – Associating an account with a network scope


resp = client.associate_network_scope_principal({
  network_scope_id: "network-scope-0123456789abcdef0", 
  principal: "444455556666", 
})

resp.to_h outputs the following:
{
  network_scope_id: "network-scope-0123456789abcdef0", 
  principal: "444455556666", 
  principal_regions: [
    "us-east-1", 
    "us-west-2", 
  ], 
  state: "ASSOCIATING", 
}

Request syntax with placeholder values


resp = client.associate_network_scope_principal({
  network_scope_id: "NetworkScopeId", # required
  principal: "Principal", # required
})

Response structure


resp.network_scope_id #=> String
resp.principal #=> String
resp.principal_regions #=> Array
resp.principal_regions[0] #=> String
resp.state #=> String, one of "ASSOCIATING", "ASSOCIATED", "FAILED", "DISASSOCIATING", "DISASSOCIATED", "INACTIVE"
resp.state_reason.code #=> String, one of "ORGANIZATION_ACCESS_LOST", "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NOT_IN_OWNER_ORGANIZATION", "ORGANIZATIONAL_UNIT_DELETED", "NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE", "REGION_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED"
resp.state_reason.message #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :network_scope_id (required, String) —

    The ID of the network scope to associate the principal with.

  • :principal (required, String) —

    The 12-digit ID of the AWS account to associate with the network scope.

Returns:

See Also:



150
151
152
153
154
# File 'sig/client.rbs', line 150

def associate_network_scope_principal: (
    network_scope_id: ::String,
    principal: ::String
  ) -> _AssociateNetworkScopePrincipalResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateNetworkScopePrincipalResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.associate_transit_gateway_connect_peer({
  global_network_id: "GlobalNetworkId", # required
  transit_gateway_connect_peer_arn: "TransitGatewayConnectPeerArn", # required
  device_id: "DeviceId", # required
  link_id: "LinkId",
})

Response structure


resp.transit_gateway_connect_peer_association.transit_gateway_connect_peer_arn #=> String
resp.transit_gateway_connect_peer_association.global_network_id #=> String
resp.transit_gateway_connect_peer_association.device_id #=> String
resp.transit_gateway_connect_peer_association.link_id #=> String
resp.transit_gateway_connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :transit_gateway_connect_peer_arn (required, String) —

    The Amazon Resource Name (ARN) of the Connect peer.

  • :device_id (required, String) —

    The ID of the device.

  • :link_id (String) —

    The ID of the link.

Returns:

See Also:



161
162
163
164
165
166
167
# File 'sig/client.rbs', line 161

def associate_transit_gateway_connect_peer: (
    global_network_id: ::String,
    transit_gateway_connect_peer_arn: ::String,
    device_id: ::String,
    ?link_id: ::String
  ) -> _AssociateTransitGatewayConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateTransitGatewayConnectPeerResponseSuccess

#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.

Parameters:

  • params ({}) (defaults to: {})


9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
# File 'lib/aws-sdk-networkmanager/client.rb', line 9139

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.100.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.

Examples:

Request syntax with placeholder values


resp = client.create_connect_attachment({
  core_network_id: "CoreNetworkId", # required
  edge_location: "ExternalRegionCode", # required
  transport_attachment_id: "AttachmentId", # required
  routing_policy_label: "ConstrainedString",
  nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
  nat_gateway_rules: [
    {
      rule_number: 1, # required
      match_source_cidr: "IPAddress", # required
      nat_cidr: "IPAddress", # required
    },
  ],
  options: { # required
    protocol: "GRE", # accepts GRE, NO_ENCAP
  },
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.connect_attachment.attachment.core_network_id #=> String
resp.connect_attachment.attachment.core_network_arn #=> String
resp.connect_attachment.attachment.attachment_id #=> String
resp.connect_attachment.attachment. #=> String
resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.connect_attachment.attachment.edge_location #=> String
resp.connect_attachment.attachment.edge_locations #=> Array
resp.connect_attachment.attachment.edge_locations[0] #=> String
resp.connect_attachment.attachment.resource_arn #=> String
resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.connect_attachment.attachment.segment_name #=> String
resp.connect_attachment.attachment.network_function_group_name #=> String
resp.connect_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.connect_attachment.attachment.nat_system_route_support #=> Boolean
resp.connect_attachment.attachment.tags #=> Array
resp.connect_attachment.attachment.tags[0].key #=> String
resp.connect_attachment.attachment.tags[0].value #=> String
resp.connect_attachment.attachment.proposed_segment_change.tags #=> Array
resp.connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.connect_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.connect_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.connect_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.connect_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.connect_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.connect_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.connect_attachment.attachment.created_at #=> Time
resp.connect_attachment.attachment.updated_at #=> Time
resp.connect_attachment.attachment.last_modification_errors #=> Array
resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.connect_attachment.attachment.last_modification_errors[0].message #=> String
resp.connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.connect_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.connect_attachment.transport_attachment_id #=> String
resp.connect_attachment.options.protocol #=> String, one of "GRE", "NO_ENCAP"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network where you want to create the attachment.

  • :edge_location (required, String) —

    The Region where the edge is located.

  • :transport_attachment_id (required, String) —

    The ID of the attachment between the two connections.

  • :routing_policy_label (String) —

    The routing policy label to apply to the Connect attachment for traffic routing decisions.

  • :nat_gateway_support (String) —

    Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.

  • :nat_gateway_rules (Array<Types::NatRuleRequest>) —

    The NAT rules for the Connect attachment, up to 50 rules.

  • :options (required, Types::ConnectAttachmentOptions) —

    Options for creating an attachment.

  • :tags (Array<Types::Tag>) —

    The list of key-value tags associated with the request.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# File 'sig/client.rbs', line 174

def create_connect_attachment: (
    core_network_id: ::String,
    edge_location: ::String,
    transport_attachment_id: ::String,
    ?routing_policy_label: ::String,
    ?nat_gateway_support: ("ENABLE" | "DISABLE"),
    ?nat_gateway_rules: Array[
      {
        rule_number: ::Integer,
        match_source_cidr: ::String,
        nat_cidr: ::String
      }
    ],
    options: {
      protocol: ("GRE" | "NO_ENCAP")?
    },
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateConnectAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectAttachmentResponseSuccess

#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).

Examples:

Request syntax with placeholder values


resp = client.create_connect_peer({
  connect_attachment_id: "AttachmentId", # required
  core_network_address: "IPAddress",
  peer_address: "IPAddress", # required
  bgp_options: {
    peer_asn: 1,
  },
  inside_cidr_blocks: ["ConstrainedString"],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
  subnet_arn: "SubnetArn",
})

Response structure


resp.connect_peer.core_network_id #=> String
resp.connect_peer.connect_attachment_id #=> String
resp.connect_peer.connect_peer_id #=> String
resp.connect_peer.edge_location #=> String
resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.connect_peer.created_at #=> Time
resp.connect_peer.configuration.core_network_address #=> String
resp.connect_peer.configuration.peer_address #=> String
resp.connect_peer.configuration.inside_cidr_blocks #=> Array
resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
resp.connect_peer.configuration.protocol #=> String, one of "GRE", "NO_ENCAP"
resp.connect_peer.configuration.bgp_configurations #=> Array
resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
resp.connect_peer.tags #=> Array
resp.connect_peer.tags[0].key #=> String
resp.connect_peer.tags[0].value #=> String
resp.connect_peer.subnet_arn #=> String
resp.connect_peer.last_modification_errors #=> Array
resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK", "CREATION_FAILED", "DELETION_FAILED"
resp.connect_peer.last_modification_errors[0].message #=> String
resp.connect_peer.last_modification_errors[0].resource_arn #=> String
resp.connect_peer.last_modification_errors[0].request_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :connect_attachment_id (required, String) —

    The ID of the connection attachment.

  • :core_network_address (String) —

    A Connect peer core network address. This only applies only when the protocol is GRE.

  • :peer_address (required, String) —

    The Connect peer address.

  • :bgp_options (Types::BgpOptions) —

    The Connect peer BGP options. This only applies only when the protocol is GRE.

  • :inside_cidr_blocks (Array<String>) —

    The inside IP addresses used for BGP peering.

  • :tags (Array<Types::Tag>) —

    The tags associated with the peer request.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :subnet_arn (String) —

    The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.

Returns:

See Also:



205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'sig/client.rbs', line 205

def create_connect_peer: (
    connect_attachment_id: ::String,
    ?core_network_address: ::String,
    peer_address: ::String,
    ?bgp_options: {
      peer_asn: ::Integer?
    },
    ?inside_cidr_blocks: Array[::String],
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String,
    ?subnet_arn: ::String
  ) -> _CreateConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectPeerResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.create_connection({
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId", # required
  connected_device_id: "DeviceId", # required
  link_id: "LinkId",
  connected_link_id: "LinkId",
  description: "ConstrainedString",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
})

Response structure


resp.connection.connection_id #=> String
resp.connection.connection_arn #=> String
resp.connection.global_network_id #=> String
resp.connection.device_id #=> String
resp.connection.connected_device_id #=> String
resp.connection.link_id #=> String
resp.connection.connected_link_id #=> String
resp.connection.description #=> String
resp.connection.created_at #=> Time
resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.connection.tags #=> Array
resp.connection.tags[0].key #=> String
resp.connection.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (required, String) —

    The ID of the first device in the connection.

  • :connected_device_id (required, String) —

    The ID of the second device in the connection.

  • :link_id (String) —

    The ID of the link for the first device.

  • :connected_link_id (String) —

    The ID of the link for the second device.

  • :description (String) —

    A description of the connection.

    Length Constraints: Maximum length of 256 characters.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the resource during creation.

Returns:

See Also:



229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'sig/client.rbs', line 229

def create_connection: (
    global_network_id: ::String,
    device_id: ::String,
    connected_device_id: ::String,
    ?link_id: ::String,
    ?connected_link_id: ::String,
    ?description: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ]
  ) -> _CreateConnectionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConnectionResponseSuccess

#create_context_store(params = {}) ⇒ Types::CreateContextStoreResponse

Creates a context store in a global network. A context store maintains context entries, such as security groups, subnets, and attachments, for the resources connected to the transit gateways that you associate with it.

The context store is in the PENDING state when it's created, and changes to AVAILABLE when it's ready to use.

Examples:

Request syntax with placeholder values


resp = client.create_context_store({
  global_network_id: "GlobalNetworkId", # required
  description: "ConstrainedString",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.context_store.global_network_id #=> String
resp.context_store.context_store_id #=> String
resp.context_store.context_store_arn #=> String
resp.context_store.description #=> String
resp.context_store.created_at #=> Time
resp.context_store.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED"
resp.context_store.tags #=> Array
resp.context_store.tags[0].key #=> String
resp.context_store.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network to create the context store in.

  • :description (String) —

    A description of the context store.

    Constraints: Maximum length of 256 characters. Only printable ASCII characters are allowed.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the context store during creation.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



250
251
252
253
254
255
256
257
258
259
260
261
# File 'sig/client.rbs', line 250

def create_context_store: (
    global_network_id: ::String,
    ?description: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateContextStoreResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContextStoreResponseSuccess

#create_core_network(params = {}) ⇒ Types::CreateCoreNetworkResponse

Creates a core network as part of your global network, and optionally, with a core network policy.

Examples:

Request syntax with placeholder values


resp = client.create_core_network({
  global_network_id: "GlobalNetworkId", # required
  description: "ConstrainedString",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  policy_document: "CoreNetworkPolicyDocument",
  client_token: "ClientToken",
})

Response structure


resp.core_network.global_network_id #=> String
resp.core_network.core_network_id #=> String
resp.core_network.core_network_arn #=> String
resp.core_network.description #=> String
resp.core_network.created_at #=> Time
resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
resp.core_network.segments #=> Array
resp.core_network.segments[0].name #=> String
resp.core_network.segments[0].edge_locations #=> Array
resp.core_network.segments[0].edge_locations[0] #=> String
resp.core_network.segments[0].shared_segments #=> Array
resp.core_network.segments[0].shared_segments[0] #=> String
resp.core_network.network_function_groups #=> Array
resp.core_network.network_function_groups[0].name #=> String
resp.core_network.network_function_groups[0].edge_locations #=> Array
resp.core_network.network_function_groups[0].edge_locations[0] #=> String
resp.core_network.network_function_groups[0].segments.send_via #=> Array
resp.core_network.network_function_groups[0].segments.send_via[0] #=> String
resp.core_network.network_function_groups[0].segments.send_to #=> Array
resp.core_network.network_function_groups[0].segments.send_to[0] #=> String
resp.core_network.edges #=> Array
resp.core_network.edges[0].edge_location #=> String
resp.core_network.edges[0].asn #=> Integer
resp.core_network.edges[0].inside_cidr_blocks #=> Array
resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
resp.core_network.tags #=> Array
resp.core_network.tags[0].key #=> String
resp.core_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network that a core network will be a part of.

  • :description (String) —

    The description of a core network.

  • :tags (Array<Types::Tag>) —

    Key-value tags associated with a core network request.

  • :policy_document (String) —

    The policy document for creating a core network.

  • :client_token (String) —

    The client token associated with a core network request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



268
269
270
271
272
273
274
275
276
277
278
279
280
# File 'sig/client.rbs', line 268

def create_core_network: (
    global_network_id: ::String,
    ?description: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?policy_document: ::String,
    ?client_token: ::String
  ) -> _CreateCoreNetworkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCoreNetworkResponseSuccess

#create_core_network_prefix_list_association(params = {}) ⇒ Types::CreateCoreNetworkPrefixListAssociationResponse

Creates an association between a core network and a prefix list for routing control.

Examples:

Request syntax with placeholder values


resp = client.create_core_network_prefix_list_association({
  core_network_id: "CoreNetworkId", # required
  prefix_list_arn: "PrefixListArn", # required
  prefix_list_alias: "ConstrainedString", # required
  client_token: "ClientToken",
})

Response structure


resp.core_network_id #=> String
resp.prefix_list_arn #=> String
resp.prefix_list_alias #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network to associate with the prefix list.

  • :prefix_list_arn (required, String) —

    The ARN of the prefix list to associate with the core network.

  • :prefix_list_alias (required, String) —

    An optional alias for the prefix list association.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



289
290
291
292
293
294
295
# File 'sig/client.rbs', line 289

def create_core_network_prefix_list_association: (
    core_network_id: ::String,
    prefix_list_arn: ::String,
    prefix_list_alias: ::String,
    ?client_token: ::String
  ) -> _CreateCoreNetworkPrefixListAssociationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCoreNetworkPrefixListAssociationResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.create_device({
  global_network_id: "GlobalNetworkId", # required
  aws_location: {
    zone: "ConstrainedString",
    subnet_arn: "SubnetArn",
  },
  description: "ConstrainedString",
  type: "ConstrainedString",
  vendor: "ConstrainedString",
  model: "ConstrainedString",
  serial_number: "ConstrainedString",
  location: {
    address: "ConstrainedString",
    latitude: "ConstrainedString",
    longitude: "ConstrainedString",
  },
  site_id: "SiteId",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
})

Response structure


resp.device.device_id #=> String
resp.device.device_arn #=> String
resp.device.global_network_id #=> String
resp.device.aws_location.zone #=> String
resp.device.aws_location.subnet_arn #=> String
resp.device.description #=> String
resp.device.type #=> String
resp.device.vendor #=> String
resp.device.model #=> String
resp.device.serial_number #=> String
resp.device.location.address #=> String
resp.device.location.latitude #=> String
resp.device.location.longitude #=> String
resp.device.site_id #=> String
resp.device.created_at #=> Time
resp.device.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.device.tags #=> Array
resp.device.tags[0].key #=> String
resp.device.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :aws_location (Types::AWSLocation) —

    The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

  • :description (String) —

    A description of the device.

    Constraints: Maximum length of 256 characters.

  • :type (String) —

    The type of the device.

  • :vendor (String) —

    The vendor of the device.

    Constraints: Maximum length of 128 characters.

  • :model (String) —

    The model of the device.

    Constraints: Maximum length of 128 characters.

  • :serial_number (String) —

    The serial number of the device.

    Constraints: Maximum length of 128 characters.

  • :location (Types::Location) —

    The location of the device.

  • :site_id (String) —

    The ID of the site.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the resource during creation.

Returns:

See Also:



302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
# File 'sig/client.rbs', line 302

def create_device: (
    global_network_id: ::String,
    ?aws_location: {
      zone: ::String?,
      subnet_arn: ::String?
    },
    ?description: ::String,
    ?type: ::String,
    ?vendor: ::String,
    ?model: ::String,
    ?serial_number: ::String,
    ?location: {
      address: ::String?,
      latitude: ::String?,
      longitude: ::String?
    },
    ?site_id: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ]
  ) -> _CreateDeviceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeviceResponseSuccess

#create_direct_connect_gateway_attachment(params = {}) ⇒ Types::CreateDirectConnectGatewayAttachmentResponse

Creates an Amazon Web Services Direct Connect gateway attachment

Examples:

Request syntax with placeholder values


resp = client.create_direct_connect_gateway_attachment({
  core_network_id: "CoreNetworkId", # required
  direct_connect_gateway_arn: "DirectConnectGatewayArn", # required
  routing_policy_label: "ConstrainedString",
  edge_locations: ["ExternalRegionCode"], # required
  nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
  nat_system_route_support: false,
  nat_gateway_rules: [
    {
      rule_number: 1, # required
      match_source_cidr: "IPAddress", # required
      nat_cidr: "IPAddress", # required
    },
  ],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.direct_connect_gateway_attachment.attachment.core_network_id #=> String
resp.direct_connect_gateway_attachment.attachment.core_network_arn #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_id #=> String
resp.direct_connect_gateway_attachment.attachment. #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.direct_connect_gateway_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.direct_connect_gateway_attachment.attachment.edge_location #=> String
resp.direct_connect_gateway_attachment.attachment.edge_locations #=> Array
resp.direct_connect_gateway_attachment.attachment.edge_locations[0] #=> String
resp.direct_connect_gateway_attachment.attachment.resource_arn #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
resp.direct_connect_gateway_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.direct_connect_gateway_attachment.attachment.nat_system_route_support #=> Boolean
resp.direct_connect_gateway_attachment.attachment.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.direct_connect_gateway_attachment.direct_connect_gateway_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the Cloud WAN core network that the Direct Connect gateway attachment should be attached to.

  • :direct_connect_gateway_arn (required, String) —

    The ARN of the Direct Connect gateway attachment.

  • :routing_policy_label (String) —

    The routing policy label to apply to the Direct Connect Gateway attachment for traffic routing decisions.

  • :edge_locations (required, Array<String>) —

    One or more core network edge locations that the Direct Connect gateway attachment is associated with.

  • :nat_gateway_support (String) —

    Specifies whether to enable NAT gateway support on the Direct Connect gateway attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.

  • :nat_system_route_support (Boolean) —

    Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of SYSTEM. NAT is applied to traffic whether or not this option is enabled. The default is true.

  • :nat_gateway_rules (Array<Types::NatRuleRequest>) —

    The NAT rules for the Direct Connect gateway attachment, up to 50 rules.

  • :tags (Array<Types::Tag>) —

    The key value tags to apply to the Direct Connect gateway attachment during creation.

  • :client_token (String) —

    client token

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
# File 'sig/client.rbs', line 333

def create_direct_connect_gateway_attachment: (
    core_network_id: ::String,
    direct_connect_gateway_arn: ::String,
    ?routing_policy_label: ::String,
    edge_locations: Array[::String],
    ?nat_gateway_support: ("ENABLE" | "DISABLE"),
    ?nat_system_route_support: bool,
    ?nat_gateway_rules: Array[
      {
        rule_number: ::Integer,
        match_source_cidr: ::String,
        nat_cidr: ::String
      }
    ],
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDirectConnectGatewayAttachmentResponseSuccess

#create_global_network(params = {}) ⇒ Types::CreateGlobalNetworkResponse

Creates a new, empty global network.

Examples:

Request syntax with placeholder values


resp = client.create_global_network({
  description: "ConstrainedString",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
})

Response structure


resp.global_network.global_network_id #=> String
resp.global_network.global_network_arn #=> String
resp.global_network.description #=> String
resp.global_network.created_at #=> Time
resp.global_network.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.global_network.tags #=> Array
resp.global_network.tags[0].key #=> String
resp.global_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :description (String) —

    A description of the global network.

    Constraints: Maximum length of 256 characters.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the resource during creation.

Returns:

See Also:



362
363
364
365
366
367
368
369
370
371
# File 'sig/client.rbs', line 362

def create_global_network: (
    ?description: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ]
  ) -> _CreateGlobalNetworkResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGlobalNetworkResponseSuccess

Creates a new link for a specified site.

Examples:

Request syntax with placeholder values


resp = client.create_link({
  global_network_id: "GlobalNetworkId", # required
  description: "ConstrainedString",
  type: "ConstrainedString",
  bandwidth: { # required
    upload_speed: 1,
    download_speed: 1,
  },
  provider: "ConstrainedString",
  site_id: "SiteId", # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
})

Response structure


resp.link.link_id #=> String
resp.link.link_arn #=> String
resp.link.global_network_id #=> String
resp.link.site_id #=> String
resp.link.description #=> String
resp.link.type #=> String
resp.link.bandwidth.upload_speed #=> Integer
resp.link.bandwidth.download_speed #=> Integer
resp.link.provider #=> String
resp.link.created_at #=> Time
resp.link.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.link.tags #=> Array
resp.link.tags[0].key #=> String
resp.link.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :description (String) —

    A description of the link.

    Constraints: Maximum length of 256 characters.

  • :type (String) —

    The type of the link.

    Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

  • :bandwidth (required, Types::Bandwidth) —

    The upload speed and download speed in Mbps.

  • :provider (String) —

    The provider of the link.

    Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^

  • :site_id (required, String) —

    The ID of the site.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the resource during creation.

Returns:

See Also:



378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
# File 'sig/client.rbs', line 378

def create_link: (
    global_network_id: ::String,
    ?description: ::String,
    ?type: ::String,
    bandwidth: {
      upload_speed: ::Integer?,
      download_speed: ::Integer?
    },
    ?provider: ::String,
    site_id: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ]
  ) -> _CreateLinkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLinkResponseSuccess

#create_network_scope(params = {}) ⇒ Types::CreateNetworkScopeResponse

Creates a network scope for AWS Ops Agent for networking. A network scope defines the AWS accounts and Regions that AWS Ops Agent for networking analyzes.

The network scope starts in the PENDING state and moves to AVAILABLE when it's ready, or to FAILED if a prerequisite is missing. To associate accounts with it, call AssociateNetworkScopePrincipal.

Examples:

Example: Example – Creating a network scope


resp = client.create_network_scope({
  access_mode: "ACCOUNTS", 
  client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", 
  name: "production-network", 
  network_scope_regions: [
    "us-east-1", 
    "us-west-2", 
  ], 
})

resp.to_h outputs the following:
{
  network_scope: {
    access_mode: "ACCOUNTS", 
    created_at: Time.parse("2026-12-02T17:00:00Z"), 
    name: "production-network", 
    network_scope_arn: "arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0", 
    network_scope_id: "network-scope-0123456789abcdef0", 
    network_scope_regions: [
      "us-east-1", 
      "us-west-2", 
    ], 
    state: "PENDING", 
  }, 
}

Request syntax with placeholder values


resp = client.create_network_scope({
  name: "ResourceName", # required
  access_mode: "ACCOUNTS", # required, accepts ACCOUNTS, ORGANIZATIONS
  network_scope_regions: ["ExternalRegionCode"], # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.network_scope.network_scope_id #=> String
resp.network_scope.network_scope_arn #=> String
resp.network_scope.name #=> String
resp.network_scope.access_mode #=> String, one of "ACCOUNTS", "ORGANIZATIONS"
resp.network_scope.network_scope_regions #=> Array
resp.network_scope.network_scope_regions[0] #=> String
resp.network_scope.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "FAILED"
resp.network_scope.state_reason.code #=> String, one of "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "PRINCIPALS_NOT_FULLY_COVERED"
resp.network_scope.state_reason.message #=> String
resp.network_scope.created_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :name (required, String) —

    The name of the network scope. The name can be up to 128 characters long and can contain letters, numbers, and spaces, as well as the following characters: . _ : / + = @ -

  • :access_mode (required, String) —

    How the network scope admits principals. Each principal must be the ID of an AWS account that has the AWS Network Manager service-linked role. With ACCOUNTS, the account can be any AWS account. With ORGANIZATIONS, the account that owns the network scope must be the management account or a delegated administrator for AWS Network Manager in its organization, and each principal must be an active member account of that organization. A delegated administrator can't add the management account. You choose the access mode when you create the network scope, and you can't change it.

  • :network_scope_regions (required, Array<String>) —

    The AWS Regions that the network scope covers. Each Region must be one where AWS Ops Agent for networking is available and can appear only once.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the resource during creation.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry within 8 hours with the same client token and the same parameters, the operation returns the network scope that the first request created. If that network scope no longer exists, the operation returns ConflictException, and you need a new client token. If you reuse a client token with different parameters, the operation returns ValidationException. If you don't specify a client token, the AWS SDK generates one.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



402
403
404
405
406
407
408
409
410
411
412
413
414
# File 'sig/client.rbs', line 402

def create_network_scope: (
    name: ::String,
    access_mode: ("ACCOUNTS" | "ORGANIZATIONS"),
    network_scope_regions: Array[::String],
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateNetworkScopeResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNetworkScopeResponseSuccess

#create_site(params = {}) ⇒ Types::CreateSiteResponse

Creates a new site in a global network.

Examples:

Request syntax with placeholder values


resp = client.create_site({
  global_network_id: "GlobalNetworkId", # required
  description: "ConstrainedString",
  location: {
    address: "ConstrainedString",
    latitude: "ConstrainedString",
    longitude: "ConstrainedString",
  },
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
})

Response structure


resp.site.site_id #=> String
resp.site.site_arn #=> String
resp.site.global_network_id #=> String
resp.site.description #=> String
resp.site.location.address #=> String
resp.site.location.latitude #=> String
resp.site.location.longitude #=> String
resp.site.created_at #=> Time
resp.site.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.site.tags #=> Array
resp.site.tags[0].key #=> String
resp.site.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :description (String) —

    A description of your site.

    Constraints: Maximum length of 256 characters.

  • :location (Types::Location) —

    The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

    • Address: The physical address of the site.

    • Latitude: The latitude of the site.

    • Longitude: The longitude of the site.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the resource during creation.

Returns:

See Also:



421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
# File 'sig/client.rbs', line 421

def create_site: (
    global_network_id: ::String,
    ?description: ::String,
    ?location: {
      address: ::String?,
      latitude: ::String?,
      longitude: ::String?
    },
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ]
  ) -> _CreateSiteResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSiteResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.create_site_to_site_vpn_attachment({
  core_network_id: "CoreNetworkId", # required
  vpn_connection_arn: "VpnConnectionArn", # required
  routing_policy_label: "ConstrainedString",
  nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
  nat_system_route_support: false,
  nat_gateway_rules: [
    {
      rule_number: 1, # required
      match_source_cidr: "IPAddress", # required
      nat_cidr: "IPAddress", # required
    },
  ],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.site_to_site_vpn_attachment.attachment.core_network_id #=> String
resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
resp.site_to_site_vpn_attachment.attachment. #=> String
resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
resp.site_to_site_vpn_attachment.attachment.edge_locations #=> Array
resp.site_to_site_vpn_attachment.attachment.edge_locations[0] #=> String
resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
resp.site_to_site_vpn_attachment.attachment.network_function_group_name #=> String
resp.site_to_site_vpn_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.site_to_site_vpn_attachment.attachment.nat_system_route_support #=> Boolean
resp.site_to_site_vpn_attachment.attachment.tags #=> Array
resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags #=> Array
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
resp.site_to_site_vpn_attachment.attachment.last_modification_errors #=> Array
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].message #=> String
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.site_to_site_vpn_attachment.vpn_connection_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network where you're creating a site-to-site VPN attachment.

  • :vpn_connection_arn (required, String) —

    The ARN identifying the VPN attachment.

  • :routing_policy_label (String) —

    The routing policy label to apply to the Site-to-Site VPN attachment for traffic routing decisions.

  • :nat_gateway_support (String) —

    Specifies whether to enable NAT gateway support on the Site-to-Site VPN attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.

  • :nat_system_route_support (Boolean) —

    Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of SYSTEM. NAT is applied to traffic whether or not this option is enabled. The default is true for VPN connections that use BGP and false for VPN connections that use static routing. If the VPN connection uses static routing, you must specify false or omit this parameter.

  • :nat_gateway_rules (Array<Types::NatRuleRequest>) —

    The NAT rules for the Site-to-Site VPN attachment, up to 50 rules.

  • :tags (Array<Types::Tag>) —

    The tags associated with the request.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
# File 'sig/client.rbs', line 443

def create_site_to_site_vpn_attachment: (
    core_network_id: ::String,
    vpn_connection_arn: ::String,
    ?routing_policy_label: ::String,
    ?nat_gateway_support: ("ENABLE" | "DISABLE"),
    ?nat_system_route_support: bool,
    ?nat_gateway_rules: Array[
      {
        rule_number: ::Integer,
        match_source_cidr: ::String,
        nat_cidr: ::String
      }
    ],
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateSiteToSiteVpnAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSiteToSiteVpnAttachmentResponseSuccess

#create_sse_connect(params = {}) ⇒ Types::CreateSseConnectResponse

Creates an Amazon VPC SSE connect (SSE connect). An SSE connect sends traffic from your Amazon Web Services Transit Gateway or Amazon Web Services Cloud WAN network through a third-party Security Service Edge (SSE) provider for inspection, policy enforcement, and internet egress.

You can create one SSE connect for each SSE provider in your account. The SSE provider must be available in each Amazon Web Services Region that you specify. To find these Regions, use ListSSERegions.

Examples:

Example: To create an SSE connect


# The following example creates an SSE connect to an SSE provider in aa-example-1 and aa-example-2.

resp = client.create_sse_connect({
  description: "Branch internet egress", 
  sse_license_model: "BRING_YOUR_OWN_LICENSE", 
  sse_regions: [
    "aa-example-1", 
    "aa-example-2", 
  ], 
  sse_vendor: "PALO_ALTO", 
  tags: [
    {
      key: "Name", 
      value: "branch-egress", 
    }, 
  ], 
})

resp.to_h outputs the following:
{
  sse_connect: {
    description: "Branch internet egress", 
    partner_link_status: "PENDING", 
    sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_regions: [
      {
        region_name: "aa-example-1", 
      }, 
      {
        region_name: "aa-example-2", 
      }, 
    ], 
    sse_vendor: "PALO_ALTO", 
    state: "CREATING", 
    tags: [
      {
        key: "Name", 
        value: "branch-egress", 
      }, 
    ], 
  }, 
}

Request syntax with placeholder values


resp = client.create_sse_connect({
  description: "ConstrainedString",
  sse_regions: ["ExternalRegionCode"], # required
  sse_vendor: "SseVendor", # required
  sse_license_model: "BRING_YOUR_OWN_LICENSE", # accepts BRING_YOUR_OWN_LICENSE, AWS_MARKETPLACE
  dry_run: false,
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.sse_connect.sse_connect_id #=> String
resp.sse_connect.sse_connect_arn #=> String
resp.sse_connect.description #=> String
resp.sse_connect.sse_regions #=> Array
resp.sse_connect.sse_regions[0].region_name #=> String
resp.sse_connect.sse_regions[0].peer_health_status #=> String, one of "HEALTHY", "UNHEALTHY"
resp.sse_connect.attachment_regions #=> Array
resp.sse_connect.attachment_regions[0].region_name #=> String
resp.sse_connect.sse_vendor #=> String
resp.sse_connect.state #=> String, one of "CREATING", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED"
resp.sse_connect.partner_link_status #=> String, one of "PENDING", "LINKED", "NOT_LINKED"
resp.sse_connect.created_at #=> Time
resp.sse_connect.updated_at #=> Time
resp.sse_connect.tags #=> Array
resp.sse_connect.tags[0].key #=> String
resp.sse_connect.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :description (String) —

    A description of the SSE connect.

  • :sse_regions (required, Array<String>) —

    The Regions where the SSE connect peers with the SSE provider. You must specify at least two Regions, and the SSE provider must be available in each Region.

  • :sse_vendor (required, String) —

    The SSE provider to connect to. You can't change the SSE provider after you create the SSE connect.

  • :sse_license_model (String) —

    How you subscribe to the SSE provider. Valid values:

    • BRING_YOUR_OWN_LICENSE – You have an agreement directly with the SSE provider. This is the default.

    • AWS_MARKETPLACE – You subscribed to the SSE provider through Amazon Web Services Marketplace.

  • :dry_run (Boolean) —

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the SSE connect.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
# File 'sig/client.rbs', line 471

def create_sse_connect: (
    ?description: ::String,
    sse_regions: Array[::String],
    sse_vendor: ::String,
    ?sse_license_model: ("BRING_YOUR_OWN_LICENSE" | "AWS_MARKETPLACE"),
    ?dry_run: bool,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateSseConnectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSseConnectResponseSuccess

#create_sse_connect_attachment(params = {}) ⇒ Types::CreateSseConnectAttachmentResponse

Creates an attachment between an SSE connect and a Cloud WAN core network. A core network uses a single attachment to an SSE connect for all Regions, so you don't specify an edge location. The SSE connect must be in the AVAILABLE state.

The attachment propagates default routes (0.0.0.0/0 and ::/0) toward your core network. To send traffic to the SSE provider, place the attachment in a network function group and use a send-to segment action in your core network policy.

Examples:

Example: To attach a core network to an SSE connect


# The following example creates an attachment between an SSE connect and a Cloud WAN core network.

resp = client.create_sse_connect_attachment({
  core_network_id: "core-network-1234567890abcdef0", 
  sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect_attachment: {
    attachment: {
      attachment_id: "attachment-1234567890abcdef0", 
      core_network_id: "core-network-1234567890abcdef0", 
      owner_account_id: "111122223333", 
      state: "CREATING", 
    }, 
    sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
  }, 
}

Request syntax with placeholder values


resp = client.create_sse_connect_attachment({
  core_network_id: "CoreNetworkId", # required
  sse_connect_arn: "SseConnectArn", # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.sse_connect_attachment.attachment.core_network_id #=> String
resp.sse_connect_attachment.attachment.core_network_arn #=> String
resp.sse_connect_attachment.attachment.attachment_id #=> String
resp.sse_connect_attachment.attachment. #=> String
resp.sse_connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.sse_connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.sse_connect_attachment.attachment.edge_location #=> String
resp.sse_connect_attachment.attachment.edge_locations #=> Array
resp.sse_connect_attachment.attachment.edge_locations[0] #=> String
resp.sse_connect_attachment.attachment.resource_arn #=> String
resp.sse_connect_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.sse_connect_attachment.attachment.segment_name #=> String
resp.sse_connect_attachment.attachment.network_function_group_name #=> String
resp.sse_connect_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.sse_connect_attachment.attachment.nat_system_route_support #=> Boolean
resp.sse_connect_attachment.attachment.tags #=> Array
resp.sse_connect_attachment.attachment.tags[0].key #=> String
resp.sse_connect_attachment.attachment.tags[0].value #=> String
resp.sse_connect_attachment.attachment.proposed_segment_change.tags #=> Array
resp.sse_connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.sse_connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.sse_connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.sse_connect_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.sse_connect_attachment.attachment.created_at #=> Time
resp.sse_connect_attachment.attachment.updated_at #=> Time
resp.sse_connect_attachment.attachment.last_modification_errors #=> Array
resp.sse_connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.sse_connect_attachment.attachment.last_modification_errors[0].message #=> String
resp.sse_connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.sse_connect_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.sse_connect_attachment.sse_connect_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network to attach to the SSE connect.

  • :sse_connect_arn (required, String) —

    The ARN of the SSE connect.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the attachment.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



492
493
494
495
496
497
498
499
500
501
502
503
# File 'sig/client.rbs', line 492

def create_sse_connect_attachment: (
    core_network_id: ::String,
    sse_connect_arn: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateSseConnectAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSseConnectAttachmentResponseSuccess

#create_sse_connect_transit_gateway_attachment(params = {}) ⇒ Types::CreateSseConnectTransitGatewayAttachmentResponse

Creates an attachment between an SSE connect and a transit gateway. The attachment is in the Region of the transit gateway, which doesn't need to be one of the Regions of the SSE connect. The SSE connect must be in the AVAILABLE state.

If another account owns the transit gateway, the attachment is in the PENDING_ATTACHMENT_ACCEPTANCE state until the transit gateway owner accepts it. You can't change the transit gateway of an attachment.

Examples:

Example: To attach a transit gateway to an SSE connect


# The following example creates an attachment between an SSE connect and a transit gateway in aa-example-1.

resp = client.create_sse_connect_transit_gateway_attachment({
  sse_connect_id: "sse-connect-1234567890abcdef0", 
  transit_gateway_arn: "arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect_transit_gateway_attachment: {
    owner_account_id: "111122223333", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_connect_transit_gateway_attachment_arn: "arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0", 
    sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
    state: "CREATING", 
    transit_gateway_arn: "arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0", 
  }, 
}

Request syntax with placeholder values


resp = client.create_sse_connect_transit_gateway_attachment({
  sse_connect_id: "SseConnectId", # required
  transit_gateway_arn: "TransitGatewayArn", # required
  dry_run: false,
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.sse_connect_transit_gateway_attachment.sse_connect_transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachment.sse_connect_transit_gateway_attachment_arn #=> String
resp.sse_connect_transit_gateway_attachment.sse_connect_id #=> String
resp.sse_connect_transit_gateway_attachment. #=> String
resp.sse_connect_transit_gateway_attachment.transit_gateway_arn #=> String
resp.sse_connect_transit_gateway_attachment.transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachment.state #=> String, one of "CREATING", "PENDING_ATTACHMENT_ACCEPTANCE", "AVAILABLE", "UPDATING", "FAILED", "REJECTED", "DELETING", "DELETED"
resp.sse_connect_transit_gateway_attachment.state_reason.code #=> String, one of "TRANSIT_GATEWAY_OWNER_REJECTED"
resp.sse_connect_transit_gateway_attachment.state_reason.message #=> String
resp.sse_connect_transit_gateway_attachment.created_at #=> Time
resp.sse_connect_transit_gateway_attachment.updated_at #=> Time
resp.sse_connect_transit_gateway_attachment.tags #=> Array
resp.sse_connect_transit_gateway_attachment.tags[0].key #=> String
resp.sse_connect_transit_gateway_attachment.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_id (required, String) —

    The ID of the SSE connect.

  • :transit_gateway_arn (required, String) —

    The ARN of the transit gateway to attach.

  • :dry_run (Boolean) —

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

  • :tags (Array<Types::Tag>) —

    The tags to apply to the attachment.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, the operation returns the result of the original request instead of creating another resource.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



510
511
512
513
514
515
516
517
518
519
520
521
522
# File 'sig/client.rbs', line 510

def create_sse_connect_transit_gateway_attachment: (
    sse_connect_id: ::String,
    transit_gateway_arn: ::String,
    ?dry_run: bool,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateSseConnectTransitGatewayAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSseConnectTransitGatewayAttachmentResponseSuccess

#create_transit_gateway_peering(params = {}) ⇒ Types::CreateTransitGatewayPeeringResponse

Creates a transit gateway peering connection.

Examples:

Request syntax with placeholder values


resp = client.create_transit_gateway_peering({
  core_network_id: "CoreNetworkId", # required
  transit_gateway_arn: "TransitGatewayArn", # required
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.transit_gateway_peering.peering.core_network_id #=> String
resp.transit_gateway_peering.peering.core_network_arn #=> String
resp.transit_gateway_peering.peering.peering_id #=> String
resp.transit_gateway_peering.peering. #=> String
resp.transit_gateway_peering.peering.peering_type #=> String, one of "TRANSIT_GATEWAY"
resp.transit_gateway_peering.peering.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.transit_gateway_peering.peering.edge_location #=> String
resp.transit_gateway_peering.peering.resource_arn #=> String
resp.transit_gateway_peering.peering.tags #=> Array
resp.transit_gateway_peering.peering.tags[0].key #=> String
resp.transit_gateway_peering.peering.tags[0].value #=> String
resp.transit_gateway_peering.peering.created_at #=> Time
resp.transit_gateway_peering.peering.last_modification_errors #=> Array
resp.transit_gateway_peering.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
resp.transit_gateway_peering.peering.last_modification_errors[0].message #=> String
resp.transit_gateway_peering.peering.last_modification_errors[0].resource_arn #=> String
resp.transit_gateway_peering.peering.last_modification_errors[0].request_id #=> String
resp.transit_gateway_peering.peering.last_modification_errors[0].missing_permissions_context.missing_permission #=> String
resp.transit_gateway_peering.transit_gateway_arn #=> String
resp.transit_gateway_peering.transit_gateway_peering_attachment_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :transit_gateway_arn (required, String) —

    The ARN of the transit gateway for the peering request.

  • :tags (Array<Types::Tag>) —

    The list of key-value tags associated with the request.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



529
530
531
532
533
534
535
536
537
538
539
540
# File 'sig/client.rbs', line 529

def create_transit_gateway_peering: (
    core_network_id: ::String,
    transit_gateway_arn: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateTransitGatewayPeeringResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTransitGatewayPeeringResponseSuccess

#create_transit_gateway_route_table_attachment(params = {}) ⇒ Types::CreateTransitGatewayRouteTableAttachmentResponse

Creates a transit gateway route table attachment.

Examples:

Request syntax with placeholder values


resp = client.create_transit_gateway_route_table_attachment({
  peering_id: "PeeringId", # required
  transit_gateway_route_table_arn: "TransitGatewayRouteTableArn", # required
  routing_policy_label: "ConstrainedString",
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.transit_gateway_route_table_attachment.attachment.core_network_id #=> String
resp.transit_gateway_route_table_attachment.attachment.core_network_arn #=> String
resp.transit_gateway_route_table_attachment.attachment.attachment_id #=> String
resp.transit_gateway_route_table_attachment.attachment. #=> String
resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.transit_gateway_route_table_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.transit_gateway_route_table_attachment.attachment.edge_location #=> String
resp.transit_gateway_route_table_attachment.attachment.edge_locations #=> Array
resp.transit_gateway_route_table_attachment.attachment.edge_locations[0] #=> String
resp.transit_gateway_route_table_attachment.attachment.resource_arn #=> String
resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
resp.transit_gateway_route_table_attachment.attachment.network_function_group_name #=> String
resp.transit_gateway_route_table_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.transit_gateway_route_table_attachment.attachment.nat_system_route_support #=> Boolean
resp.transit_gateway_route_table_attachment.attachment.tags #=> Array
resp.transit_gateway_route_table_attachment.attachment.tags[0].key #=> String
resp.transit_gateway_route_table_attachment.attachment.tags[0].value #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags #=> Array
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors #=> Array
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].message #=> String
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.transit_gateway_route_table_attachment.peering_id #=> String
resp.transit_gateway_route_table_attachment.transit_gateway_route_table_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :peering_id (required, String) —

    The ID of the peer for the

  • :transit_gateway_route_table_arn (required, String) —

    The ARN of the transit gateway route table for the attachment request. For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456".

  • :routing_policy_label (String) —

    The routing policy label to apply to the Transit Gateway route table attachment for traffic routing decisions.

  • :tags (Array<Types::Tag>) —

    The list of key-value tags associated with the request.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



547
548
549
550
551
552
553
554
555
556
557
558
559
# File 'sig/client.rbs', line 547

def create_transit_gateway_route_table_attachment: (
    peering_id: ::String,
    transit_gateway_route_table_arn: ::String,
    ?routing_policy_label: ::String,
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateTransitGatewayRouteTableAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTransitGatewayRouteTableAttachmentResponseSuccess

#create_vpc_attachment(params = {}) ⇒ Types::CreateVpcAttachmentResponse

Creates a VPC attachment on an edge location of a core network.

Examples:

Request syntax with placeholder values


resp = client.create_vpc_attachment({
  core_network_id: "CoreNetworkId", # required
  vpc_arn: "VpcArn", # required
  subnet_arns: ["SubnetArn"], # required
  options: {
    ipv_6_support: false,
    appliance_mode_support: false,
    dns_support: false,
    security_group_referencing_support: false,
  },
  routing_policy_label: "ConstrainedString",
  nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
  nat_gateway_rules: [
    {
      rule_number: 1, # required
      match_source_cidr: "IPAddress", # required
      nat_cidr: "IPAddress", # required
    },
  ],
  tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.vpc_attachment.attachment.core_network_id #=> String
resp.vpc_attachment.attachment.core_network_arn #=> String
resp.vpc_attachment.attachment.attachment_id #=> String
resp.vpc_attachment.attachment. #=> String
resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.vpc_attachment.attachment.edge_location #=> String
resp.vpc_attachment.attachment.edge_locations #=> Array
resp.vpc_attachment.attachment.edge_locations[0] #=> String
resp.vpc_attachment.attachment.resource_arn #=> String
resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.segment_name #=> String
resp.vpc_attachment.attachment.network_function_group_name #=> String
resp.vpc_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.vpc_attachment.attachment.nat_system_route_support #=> Boolean
resp.vpc_attachment.attachment.tags #=> Array
resp.vpc_attachment.attachment.tags[0].key #=> String
resp.vpc_attachment.attachment.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.vpc_attachment.attachment.created_at #=> Time
resp.vpc_attachment.attachment.updated_at #=> Time
resp.vpc_attachment.attachment.last_modification_errors #=> Array
resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.vpc_attachment.subnet_arns #=> Array
resp.vpc_attachment.subnet_arns[0] #=> String
resp.vpc_attachment.options.ipv_6_support #=> Boolean
resp.vpc_attachment.options.appliance_mode_support #=> Boolean
resp.vpc_attachment.options.dns_support #=> Boolean
resp.vpc_attachment.options.security_group_referencing_support #=> Boolean

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network for the VPC attachment.

  • :vpc_arn (required, String) —

    The ARN of the VPC.

  • :subnet_arns (required, Array<String>) —

    The subnet ARN of the VPC attachment.

  • :options (Types::VpcOptions) —

    Options for the VPC attachment.

  • :routing_policy_label (String) —

    The routing policy label to apply to the VPC attachment for traffic routing decisions.

  • :nat_gateway_support (String) —

    Specifies whether to enable NAT gateway support on the VPC attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.

  • :nat_gateway_rules (Array<Types::NatRuleRequest>) —

    The NAT rules for the VPC attachment, up to 50 rules.

  • :tags (Array<Types::Tag>) —

    The key-value tags associated with the request.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
# File 'sig/client.rbs', line 566

def create_vpc_attachment: (
    core_network_id: ::String,
    vpc_arn: ::String,
    subnet_arns: Array[::String],
    ?options: {
      ipv_6_support: bool?,
      appliance_mode_support: bool?,
      dns_support: bool?,
      security_group_referencing_support: bool?
    },
    ?routing_policy_label: ::String,
    ?nat_gateway_support: ("ENABLE" | "DISABLE"),
    ?nat_gateway_rules: Array[
      {
        rule_number: ::Integer,
        match_source_cidr: ::String,
        nat_cidr: ::String
      }
    ],
    ?tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ],
    ?client_token: ::String
  ) -> _CreateVpcAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcAttachmentResponseSuccess

#delete_attachment(params = {}) ⇒ Types::DeleteAttachmentResponse

Deletes an attachment. Supports all attachment types.

Examples:

Request syntax with placeholder values


resp = client.delete_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.attachment.core_network_id #=> String
resp.attachment.core_network_arn #=> String
resp.attachment.attachment_id #=> String
resp.attachment. #=> String
resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.attachment.edge_location #=> String
resp.attachment.edge_locations #=> Array
resp.attachment.edge_locations[0] #=> String
resp.attachment.resource_arn #=> String
resp.attachment.attachment_policy_rule_number #=> Integer
resp.attachment.segment_name #=> String
resp.attachment.network_function_group_name #=> String
resp.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.attachment.nat_system_route_support #=> Boolean
resp.attachment.tags #=> Array
resp.attachment.tags[0].key #=> String
resp.attachment.tags[0].value #=> String
resp.attachment.proposed_segment_change.tags #=> Array
resp.attachment.proposed_segment_change.tags[0].key #=> String
resp.attachment.proposed_segment_change.tags[0].value #=> String
resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.attachment.proposed_segment_change.segment_name #=> String
resp.attachment.proposed_network_function_group_change.tags #=> Array
resp.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.attachment.created_at #=> Time
resp.attachment.updated_at #=> Time
resp.attachment.last_modification_errors #=> Array
resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.attachment.last_modification_errors[0].message #=> String
resp.attachment.last_modification_errors[0].resource_arn #=> String
resp.attachment.last_modification_errors[0].request_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment to delete.

Returns:

See Also:



600
601
602
603
# File 'sig/client.rbs', line 600

def delete_attachment: (
    attachment_id: ::String
  ) -> _DeleteAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAttachmentResponseSuccess

#delete_connect_peer(params = {}) ⇒ Types::DeleteConnectPeerResponse

Deletes a Connect peer.

Examples:

Request syntax with placeholder values


resp = client.delete_connect_peer({
  connect_peer_id: "ConnectPeerId", # required
})

Response structure


resp.connect_peer.core_network_id #=> String
resp.connect_peer.connect_attachment_id #=> String
resp.connect_peer.connect_peer_id #=> String
resp.connect_peer.edge_location #=> String
resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.connect_peer.created_at #=> Time
resp.connect_peer.configuration.core_network_address #=> String
resp.connect_peer.configuration.peer_address #=> String
resp.connect_peer.configuration.inside_cidr_blocks #=> Array
resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
resp.connect_peer.configuration.protocol #=> String, one of "GRE", "NO_ENCAP"
resp.connect_peer.configuration.bgp_configurations #=> Array
resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
resp.connect_peer.tags #=> Array
resp.connect_peer.tags[0].key #=> String
resp.connect_peer.tags[0].value #=> String
resp.connect_peer.subnet_arn #=> String
resp.connect_peer.last_modification_errors #=> Array
resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK", "CREATION_FAILED", "DELETION_FAILED"
resp.connect_peer.last_modification_errors[0].message #=> String
resp.connect_peer.last_modification_errors[0].resource_arn #=> String
resp.connect_peer.last_modification_errors[0].request_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :connect_peer_id (required, String) —

    The ID of the deleted Connect peer.

Returns:

See Also:



610
611
612
613
# File 'sig/client.rbs', line 610

def delete_connect_peer: (
    connect_peer_id: ::String
  ) -> _DeleteConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConnectPeerResponseSuccess

#delete_connection(params = {}) ⇒ Types::DeleteConnectionResponse

Deletes the specified connection in your global network.

Examples:

Request syntax with placeholder values


resp = client.delete_connection({
  global_network_id: "GlobalNetworkId", # required
  connection_id: "ConnectionId", # required
})

Response structure


resp.connection.connection_id #=> String
resp.connection.connection_arn #=> String
resp.connection.global_network_id #=> String
resp.connection.device_id #=> String
resp.connection.connected_device_id #=> String
resp.connection.link_id #=> String
resp.connection.connected_link_id #=> String
resp.connection.description #=> String
resp.connection.created_at #=> Time
resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.connection.tags #=> Array
resp.connection.tags[0].key #=> String
resp.connection.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :connection_id (required, String) —

    The ID of the connection.

Returns:

See Also:



620
621
622
623
624
# File 'sig/client.rbs', line 620

def delete_connection: (
    global_network_id: ::String,
    connection_id: ::String
  ) -> _DeleteConnectionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteConnectionResponseSuccess

#delete_context_store(params = {}) ⇒ Types::DeleteContextStoreResponse

Deletes a context store. The context store must be in the AVAILABLE state. You must disassociate all transit gateways from the context store before you can delete it.

Examples:

Request syntax with placeholder values


resp = client.delete_context_store({
  context_store_id: "ContextStoreId", # required
})

Response structure


resp.context_store.global_network_id #=> String
resp.context_store.context_store_id #=> String
resp.context_store.context_store_arn #=> String
resp.context_store.description #=> String
resp.context_store.created_at #=> Time
resp.context_store.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED"
resp.context_store.tags #=> Array
resp.context_store.tags[0].key #=> String
resp.context_store.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store to delete.

Returns:

See Also:



631
632
633
634
# File 'sig/client.rbs', line 631

def delete_context_store: (
    context_store_id: ::String
  ) -> _DeleteContextStoreResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteContextStoreResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.delete_core_network({
  core_network_id: "CoreNetworkId", # required
})

Response structure


resp.core_network.global_network_id #=> String
resp.core_network.core_network_id #=> String
resp.core_network.core_network_arn #=> String
resp.core_network.description #=> String
resp.core_network.created_at #=> Time
resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
resp.core_network.segments #=> Array
resp.core_network.segments[0].name #=> String
resp.core_network.segments[0].edge_locations #=> Array
resp.core_network.segments[0].edge_locations[0] #=> String
resp.core_network.segments[0].shared_segments #=> Array
resp.core_network.segments[0].shared_segments[0] #=> String
resp.core_network.network_function_groups #=> Array
resp.core_network.network_function_groups[0].name #=> String
resp.core_network.network_function_groups[0].edge_locations #=> Array
resp.core_network.network_function_groups[0].edge_locations[0] #=> String
resp.core_network.network_function_groups[0].segments.send_via #=> Array
resp.core_network.network_function_groups[0].segments.send_via[0] #=> String
resp.core_network.network_function_groups[0].segments.send_to #=> Array
resp.core_network.network_function_groups[0].segments.send_to[0] #=> String
resp.core_network.edges #=> Array
resp.core_network.edges[0].edge_location #=> String
resp.core_network.edges[0].asn #=> Integer
resp.core_network.edges[0].inside_cidr_blocks #=> Array
resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
resp.core_network.tags #=> Array
resp.core_network.tags[0].key #=> String
resp.core_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The network ID of the deleted core network.

Returns:

See Also:



641
642
643
644
# File 'sig/client.rbs', line 641

def delete_core_network: (
    core_network_id: ::String
  ) -> _DeleteCoreNetworkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCoreNetworkResponseSuccess

#delete_core_network_policy_version(params = {}) ⇒ Types::DeleteCoreNetworkPolicyVersionResponse

Deletes a policy version from a core network. You can't delete the current LIVE policy.

Examples:

Request syntax with placeholder values


resp = client.delete_core_network_policy_version({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1, # required
})

Response structure


resp.core_network_policy.core_network_id #=> String
resp.core_network_policy.policy_version_id #=> Integer
resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
resp.core_network_policy.description #=> String
resp.core_network_policy.created_at #=> Time
resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
resp.core_network_policy.policy_errors #=> Array
resp.core_network_policy.policy_errors[0].error_code #=> String
resp.core_network_policy.policy_errors[0].message #=> String
resp.core_network_policy.policy_errors[0].path #=> String
resp.core_network_policy.policy_document #=> String
resp.core_network_policy.dry_run_state #=> String, one of "PENDING", "AVAILABLE", "STALE", "FAILED"
resp.core_network_policy.dry_run_updated_at #=> Time
resp.core_network_policy.dry_run_failure_reason #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network for the deleted policy.

  • :policy_version_id (required, Integer) —

    The version ID of the deleted policy.

Returns:

See Also:



651
652
653
654
655
# File 'sig/client.rbs', line 651

def delete_core_network_policy_version: (
    core_network_id: ::String,
    policy_version_id: ::Integer
  ) -> _DeleteCoreNetworkPolicyVersionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCoreNetworkPolicyVersionResponseSuccess

#delete_core_network_prefix_list_association(params = {}) ⇒ Types::DeleteCoreNetworkPrefixListAssociationResponse

Deletes an association between a core network and a prefix list.

Examples:

Request syntax with placeholder values


resp = client.delete_core_network_prefix_list_association({
  core_network_id: "CoreNetworkId", # required
  prefix_list_arn: "PrefixListArn", # required
})

Response structure


resp.core_network_id #=> String
resp.prefix_list_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network from which to delete the prefix list association.

  • :prefix_list_arn (required, String) —

    The ARN of the prefix list to disassociate from the core network.

Returns:

See Also:



663
664
665
666
667
# File 'sig/client.rbs', line 663

def delete_core_network_prefix_list_association: (
    core_network_id: ::String,
    prefix_list_arn: ::String
  ) -> _DeleteCoreNetworkPrefixListAssociationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCoreNetworkPrefixListAssociationResponseSuccess

#delete_device(params = {}) ⇒ Types::DeleteDeviceResponse

Deletes an existing device. You must first disassociate the device from any links and customer gateways.

Examples:

Request syntax with placeholder values


resp = client.delete_device({
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId", # required
})

Response structure


resp.device.device_id #=> String
resp.device.device_arn #=> String
resp.device.global_network_id #=> String
resp.device.aws_location.zone #=> String
resp.device.aws_location.subnet_arn #=> String
resp.device.description #=> String
resp.device.type #=> String
resp.device.vendor #=> String
resp.device.model #=> String
resp.device.serial_number #=> String
resp.device.location.address #=> String
resp.device.location.latitude #=> String
resp.device.location.longitude #=> String
resp.device.site_id #=> String
resp.device.created_at #=> Time
resp.device.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.device.tags #=> Array
resp.device.tags[0].key #=> String
resp.device.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (required, String) —

    The ID of the device.

Returns:

See Also:



674
675
676
677
678
# File 'sig/client.rbs', line 674

def delete_device: (
    global_network_id: ::String,
    device_id: ::String
  ) -> _DeleteDeviceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDeviceResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.delete_global_network({
  global_network_id: "GlobalNetworkId", # required
})

Response structure


resp.global_network.global_network_id #=> String
resp.global_network.global_network_arn #=> String
resp.global_network.description #=> String
resp.global_network.created_at #=> Time
resp.global_network.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.global_network.tags #=> Array
resp.global_network.tags[0].key #=> String
resp.global_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

Returns:

See Also:



685
686
687
688
# File 'sig/client.rbs', line 685

def delete_global_network: (
    global_network_id: ::String
  ) -> _DeleteGlobalNetworkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGlobalNetworkResponseSuccess

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

Examples:

Request syntax with placeholder values


resp = client.delete_link({
  global_network_id: "GlobalNetworkId", # required
  link_id: "LinkId", # required
})

Response structure


resp.link.link_id #=> String
resp.link.link_arn #=> String
resp.link.global_network_id #=> String
resp.link.site_id #=> String
resp.link.description #=> String
resp.link.type #=> String
resp.link.bandwidth.upload_speed #=> Integer
resp.link.bandwidth.download_speed #=> Integer
resp.link.provider #=> String
resp.link.created_at #=> Time
resp.link.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.link.tags #=> Array
resp.link.tags[0].key #=> String
resp.link.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :link_id (required, String) —

    The ID of the link.

Returns:

See Also:



695
696
697
698
699
# File 'sig/client.rbs', line 695

def delete_link: (
    global_network_id: ::String,
    link_id: ::String
  ) -> _DeleteLinkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLinkResponseSuccess

#delete_network_scope(params = {}) ⇒ Types::DeleteNetworkScopeResponse

Deletes a network scope. You can delete a network scope that is in the AVAILABLE, UPDATING, or FAILED state. The response returns the network scope in the DELETING state. GetNetworkScope and ListNetworkScopes return the network scope while it's being deleted and for 2 hours after it's deleted. This operation is idempotent: if the network scope is already DELETING, or it became DELETED less than 2 hours ago, the operation returns it unchanged. After that, the operation returns ResourceNotFoundException.

Examples:

Example: Example – Deleting a network scope


resp = client.delete_network_scope({
  network_scope_id: "network-scope-0123456789abcdef0", 
})

resp.to_h outputs the following:
{
  network_scope: {
    access_mode: "ACCOUNTS", 
    created_at: Time.parse("2026-12-02T17:00:00Z"), 
    name: "production-network", 
    network_scope_arn: "arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0", 
    network_scope_id: "network-scope-0123456789abcdef0", 
    network_scope_regions: [
      "us-east-1", 
      "us-west-2", 
    ], 
    state: "DELETING", 
  }, 
}

Request syntax with placeholder values


resp = client.delete_network_scope({
  network_scope_id: "NetworkScopeId", # required
})

Response structure


resp.network_scope.network_scope_id #=> String
resp.network_scope.network_scope_arn #=> String
resp.network_scope.name #=> String
resp.network_scope.access_mode #=> String, one of "ACCOUNTS", "ORGANIZATIONS"
resp.network_scope.network_scope_regions #=> Array
resp.network_scope.network_scope_regions[0] #=> String
resp.network_scope.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "FAILED"
resp.network_scope.state_reason.code #=> String, one of "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "PRINCIPALS_NOT_FULLY_COVERED"
resp.network_scope.state_reason.message #=> String
resp.network_scope.created_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :network_scope_id (required, String) —

    The ID of the network scope to delete.

Returns:

See Also:



706
707
708
709
# File 'sig/client.rbs', line 706

def delete_network_scope: (
    network_scope_id: ::String
  ) -> _DeleteNetworkScopeResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNetworkScopeResponseSuccess

#delete_peering(params = {}) ⇒ Types::DeletePeeringResponse

Deletes an existing peering connection.

Examples:

Request syntax with placeholder values


resp = client.delete_peering({
  peering_id: "PeeringId", # required
})

Response structure


resp.peering.core_network_id #=> String
resp.peering.core_network_arn #=> String
resp.peering.peering_id #=> String
resp.peering. #=> String
resp.peering.peering_type #=> String, one of "TRANSIT_GATEWAY"
resp.peering.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.peering.edge_location #=> String
resp.peering.resource_arn #=> String
resp.peering.tags #=> Array
resp.peering.tags[0].key #=> String
resp.peering.tags[0].value #=> String
resp.peering.created_at #=> Time
resp.peering.last_modification_errors #=> Array
resp.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
resp.peering.last_modification_errors[0].message #=> String
resp.peering.last_modification_errors[0].resource_arn #=> String
resp.peering.last_modification_errors[0].request_id #=> String
resp.peering.last_modification_errors[0].missing_permissions_context.missing_permission #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :peering_id (required, String) —

    The ID of the peering connection to delete.

Returns:

See Also:



716
717
718
719
# File 'sig/client.rbs', line 716

def delete_peering: (
    peering_id: ::String
  ) -> _DeletePeeringResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePeeringResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.delete_resource_policy({
  resource_arn: "ResourceArn", # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The ARN of the policy to delete.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



725
726
727
728
# File 'sig/client.rbs', line 725

def delete_resource_policy: (
    resource_arn: ::String
  ) -> _DeleteResourcePolicyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess

#delete_site(params = {}) ⇒ Types::DeleteSiteResponse

Deletes an existing site. The site cannot be associated with any device or link.

Examples:

Request syntax with placeholder values


resp = client.delete_site({
  global_network_id: "GlobalNetworkId", # required
  site_id: "SiteId", # required
})

Response structure


resp.site.site_id #=> String
resp.site.site_arn #=> String
resp.site.global_network_id #=> String
resp.site.description #=> String
resp.site.location.address #=> String
resp.site.location.latitude #=> String
resp.site.location.longitude #=> String
resp.site.created_at #=> Time
resp.site.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.site.tags #=> Array
resp.site.tags[0].key #=> String
resp.site.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :site_id (required, String) —

    The ID of the site.

Returns:

See Also:



735
736
737
738
739
# File 'sig/client.rbs', line 735

def delete_site: (
    global_network_id: ::String,
    site_id: ::String
  ) -> _DeleteSiteResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSiteResponseSuccess

#delete_sse_connect(params = {}) ⇒ Types::DeleteSseConnectResponse

Deletes an SSE connect. You must delete all attachments of the SSE connect before you delete it. Deleting an SSE connect doesn't cancel your subscription with the SSE provider.

Examples:

Example: To delete an SSE connect


# The following example deletes an SSE connect that has no attachments.

resp = client.delete_sse_connect({
  sse_connect_id: "sse-connect-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect: {
    partner_link_status: "LINKED", 
    sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_vendor: "PALO_ALTO", 
    state: "DELETING", 
  }, 
}

Request syntax with placeholder values


resp = client.delete_sse_connect({
  sse_connect_id: "SseConnectId", # required
  dry_run: false,
})

Response structure


resp.sse_connect.sse_connect_id #=> String
resp.sse_connect.sse_connect_arn #=> String
resp.sse_connect.description #=> String
resp.sse_connect.sse_regions #=> Array
resp.sse_connect.sse_regions[0].region_name #=> String
resp.sse_connect.sse_regions[0].peer_health_status #=> String, one of "HEALTHY", "UNHEALTHY"
resp.sse_connect.attachment_regions #=> Array
resp.sse_connect.attachment_regions[0].region_name #=> String
resp.sse_connect.sse_vendor #=> String
resp.sse_connect.state #=> String, one of "CREATING", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED"
resp.sse_connect.partner_link_status #=> String, one of "PENDING", "LINKED", "NOT_LINKED"
resp.sse_connect.created_at #=> Time
resp.sse_connect.updated_at #=> Time
resp.sse_connect.tags #=> Array
resp.sse_connect.tags[0].key #=> String
resp.sse_connect.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_id (required, String) —

    The ID of the SSE connect to delete.

  • :dry_run (Boolean) —

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

Returns:

See Also:



746
747
748
749
750
# File 'sig/client.rbs', line 746

def delete_sse_connect: (
    sse_connect_id: ::String,
    ?dry_run: bool
  ) -> _DeleteSseConnectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSseConnectResponseSuccess

#delete_sse_connect_transit_gateway_attachment(params = {}) ⇒ Types::DeleteSseConnectTransitGatewayAttachmentResponse

Deletes an SSE connect transit gateway attachment. Before you delete the attachment, update the transit gateway route tables that direct traffic to it.

Examples:

Example: To delete an SSE connect transit gateway attachment


# The following example deletes an SSE connect transit gateway attachment.

resp = client.delete_sse_connect_transit_gateway_attachment({
  sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect_transit_gateway_attachment: {
    owner_account_id: "111122223333", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_connect_transit_gateway_attachment_arn: "arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0", 
    sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
    state: "DELETING", 
    transit_gateway_arn: "arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0", 
    transit_gateway_attachment_id: "tgw-attach-1234567890abcdef0", 
  }, 
}

Request syntax with placeholder values


resp = client.delete_sse_connect_transit_gateway_attachment({
  sse_connect_transit_gateway_attachment_id: "SseConnectTransitGatewayAttachmentId", # required
  dry_run: false,
})

Response structure


resp.sse_connect_transit_gateway_attachment.sse_connect_transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachment.sse_connect_transit_gateway_attachment_arn #=> String
resp.sse_connect_transit_gateway_attachment.sse_connect_id #=> String
resp.sse_connect_transit_gateway_attachment. #=> String
resp.sse_connect_transit_gateway_attachment.transit_gateway_arn #=> String
resp.sse_connect_transit_gateway_attachment.transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachment.state #=> String, one of "CREATING", "PENDING_ATTACHMENT_ACCEPTANCE", "AVAILABLE", "UPDATING", "FAILED", "REJECTED", "DELETING", "DELETED"
resp.sse_connect_transit_gateway_attachment.state_reason.code #=> String, one of "TRANSIT_GATEWAY_OWNER_REJECTED"
resp.sse_connect_transit_gateway_attachment.state_reason.message #=> String
resp.sse_connect_transit_gateway_attachment.created_at #=> Time
resp.sse_connect_transit_gateway_attachment.updated_at #=> Time
resp.sse_connect_transit_gateway_attachment.tags #=> Array
resp.sse_connect_transit_gateway_attachment.tags[0].key #=> String
resp.sse_connect_transit_gateway_attachment.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_transit_gateway_attachment_id (required, String) —

    The ID of the SSE connect transit gateway attachment to delete.

  • :dry_run (Boolean) —

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

Returns:

See Also:



757
758
759
760
761
# File 'sig/client.rbs', line 757

def delete_sse_connect_transit_gateway_attachment: (
    sse_connect_transit_gateway_attachment_id: ::String,
    ?dry_run: bool
  ) -> _DeleteSseConnectTransitGatewayAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSseConnectTransitGatewayAttachmentResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.deregister_transit_gateway({
  global_network_id: "GlobalNetworkId", # required
  transit_gateway_arn: "TransitGatewayArn", # required
})

Response structure


resp.transit_gateway_registration.global_network_id #=> String
resp.transit_gateway_registration.transit_gateway_arn #=> String
resp.transit_gateway_registration.state.code #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "FAILED"
resp.transit_gateway_registration.state.message #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :transit_gateway_arn (required, String) —

    The Amazon Resource Name (ARN) of the transit gateway.

Returns:

See Also:



768
769
770
771
772
# File 'sig/client.rbs', line 768

def deregister_transit_gateway: (
    global_network_id: ::String,
    transit_gateway_arn: ::String
  ) -> _DeregisterTransitGatewayResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterTransitGatewayResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.describe_global_networks({
  global_network_ids: ["GlobalNetworkId"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.global_networks #=> Array
resp.global_networks[0].global_network_id #=> String
resp.global_networks[0].global_network_arn #=> String
resp.global_networks[0].description #=> String
resp.global_networks[0].created_at #=> Time
resp.global_networks[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.global_networks[0].tags #=> Array
resp.global_networks[0].tags[0].key #=> String
resp.global_networks[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_ids (Array<String>) —

    The IDs of one or more global networks. The maximum is 10.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



780
781
782
783
784
785
# File 'sig/client.rbs', line 780

def describe_global_networks: (
    ?global_network_ids: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _DescribeGlobalNetworksResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGlobalNetworksResponseSuccess

#disassociate_connect_peer(params = {}) ⇒ Types::DisassociateConnectPeerResponse

Disassociates a core network Connect peer from a device and a link.

Examples:

Request syntax with placeholder values


resp = client.disassociate_connect_peer({
  global_network_id: "GlobalNetworkId", # required
  connect_peer_id: "ConnectPeerId", # required
})

Response structure


resp.connect_peer_association.connect_peer_id #=> String
resp.connect_peer_association.global_network_id #=> String
resp.connect_peer_association.device_id #=> String
resp.connect_peer_association.link_id #=> String
resp.connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :connect_peer_id (required, String) —

    The ID of the Connect peer to disassociate from a device.

Returns:

See Also:



792
793
794
795
796
# File 'sig/client.rbs', line 792

def disassociate_connect_peer: (
    global_network_id: ::String,
    connect_peer_id: ::String
  ) -> _DisassociateConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateConnectPeerResponseSuccess

#disassociate_context_store(params = {}) ⇒ Types::DisassociateContextStoreResponse

Disassociates a transit gateway from a context store. The association must be in the ASSOCIATED or FAILED state. The association stays in the DISASSOCIATING state until the disassociation completes.

Examples:

Request syntax with placeholder values


resp = client.disassociate_context_store({
  context_store_id: "ContextStoreId", # required
  transit_gateway_arn: "TransitGatewayArn", # required
})

Response structure


resp.context_store_association.context_store_id #=> String
resp.context_store_association.transit_gateway_arn #=> String
resp.context_store_association.created_at #=> Time
resp.context_store_association.state #=> String, one of "ASSOCIATING", "ASSOCIATED", "DISASSOCIATING", "FAILED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :transit_gateway_arn (required, String) —

    The Amazon Resource Name (ARN) of the transit gateway to disassociate from the context store.

Returns:

See Also:



803
804
805
806
807
# File 'sig/client.rbs', line 803

def disassociate_context_store: (
    context_store_id: ::String,
    transit_gateway_arn: ::String
  ) -> _DisassociateContextStoreResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateContextStoreResponseSuccess

#disassociate_customer_gateway(params = {}) ⇒ Types::DisassociateCustomerGatewayResponse

Disassociates a customer gateway from a device and a link.

Examples:

Request syntax with placeholder values


resp = client.disassociate_customer_gateway({
  global_network_id: "GlobalNetworkId", # required
  customer_gateway_arn: "CustomerGatewayArn", # required
})

Response structure


resp.customer_gateway_association.customer_gateway_arn #=> String
resp.customer_gateway_association.global_network_id #=> String
resp.customer_gateway_association.device_id #=> String
resp.customer_gateway_association.link_id #=> String
resp.customer_gateway_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :customer_gateway_arn (required, String) —

    The Amazon Resource Name (ARN) of the customer gateway.

Returns:

See Also:



814
815
816
817
818
# File 'sig/client.rbs', line 814

def disassociate_customer_gateway: (
    global_network_id: ::String,
    customer_gateway_arn: ::String
  ) -> _DisassociateCustomerGatewayResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateCustomerGatewayResponseSuccess

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

Examples:

Request syntax with placeholder values


resp = client.disassociate_link({
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId", # required
  link_id: "LinkId", # required
})

Response structure


resp.link_association.global_network_id #=> String
resp.link_association.device_id #=> String
resp.link_association.link_id #=> String
resp.link_association.link_association_state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (required, String) —

    The ID of the device.

  • :link_id (required, String) —

    The ID of the link.

Returns:

See Also:



825
826
827
828
829
830
# File 'sig/client.rbs', line 825

def disassociate_link: (
    global_network_id: ::String,
    device_id: ::String,
    link_id: ::String
  ) -> _DisassociateLinkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateLinkResponseSuccess

#disassociate_network_scope_principal(params = {}) ⇒ Types::DisassociateNetworkScopePrincipalResponse

Disassociates a principal from a network scope. The network scope must be in the AVAILABLE state. This operation is idempotent: if the principal is already DISASSOCIATING, the operation returns it unchanged. When the removal is complete, the principal is deleted, and later requests return ResourceNotFoundException. The principal is returned in a transitional state. To track it, call ListNetworkScopePrincipals. An association becomes ASSOCIATED or FAILED. A disassociated principal is removed and is no longer returned.

Examples:

Example: Example – Disassociating an account from a network scope


resp = client.disassociate_network_scope_principal({
  network_scope_id: "network-scope-0123456789abcdef0", 
  principal: "444455556666", 
})

resp.to_h outputs the following:
{
  network_scope_id: "network-scope-0123456789abcdef0", 
  principal: "444455556666", 
  state: "DISASSOCIATING", 
}

Request syntax with placeholder values


resp = client.disassociate_network_scope_principal({
  network_scope_id: "NetworkScopeId", # required
  principal: "Principal", # required
})

Response structure


resp.network_scope_id #=> String
resp.principal #=> String
resp.state #=> String, one of "ASSOCIATING", "ASSOCIATED", "FAILED", "DISASSOCIATING", "DISASSOCIATED", "INACTIVE"
resp.state_reason.code #=> String, one of "ORGANIZATION_ACCESS_LOST", "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NOT_IN_OWNER_ORGANIZATION", "ORGANIZATIONAL_UNIT_DELETED", "NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE", "REGION_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED"
resp.state_reason.message #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :network_scope_id (required, String) —

    The ID of the network scope to disassociate the principal from.

  • :principal (required, String) —

    The principal to disassociate.

Returns:

See Also:



840
841
842
843
844
# File 'sig/client.rbs', line 840

def disassociate_network_scope_principal: (
    network_scope_id: ::String,
    principal: ::String
  ) -> _DisassociateNetworkScopePrincipalResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateNetworkScopePrincipalResponseSuccess

#disassociate_transit_gateway_connect_peer(params = {}) ⇒ Types::DisassociateTransitGatewayConnectPeerResponse

Disassociates a transit gateway Connect peer from a device and link.

Examples:

Request syntax with placeholder values


resp = client.disassociate_transit_gateway_connect_peer({
  global_network_id: "GlobalNetworkId", # required
  transit_gateway_connect_peer_arn: "TransitGatewayConnectPeerArn", # required
})

Response structure


resp.transit_gateway_connect_peer_association.transit_gateway_connect_peer_arn #=> String
resp.transit_gateway_connect_peer_association.global_network_id #=> String
resp.transit_gateway_connect_peer_association.device_id #=> String
resp.transit_gateway_connect_peer_association.link_id #=> String
resp.transit_gateway_connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :transit_gateway_connect_peer_arn (required, String) —

    The Amazon Resource Name (ARN) of the transit gateway Connect peer.

Returns:

See Also:



851
852
853
854
855
# File 'sig/client.rbs', line 851

def disassociate_transit_gateway_connect_peer: (
    global_network_id: ::String,
    transit_gateway_connect_peer_arn: ::String
  ) -> _DisassociateTransitGatewayConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateTransitGatewayConnectPeerResponseSuccess

#execute_core_network_change_set(params = {}) ⇒ Struct

Executes a change set on your core network. Deploys changes globally based on the policy submitted..

Examples:

Request syntax with placeholder values


resp = client.execute_core_network_change_set({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1, # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :policy_version_id (required, Integer) —

    The ID of the policy version.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



861
862
863
864
865
# File 'sig/client.rbs', line 861

def execute_core_network_change_set: (
    core_network_id: ::String,
    policy_version_id: ::Integer
  ) -> _ExecuteCoreNetworkChangeSetResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteCoreNetworkChangeSetResponseSuccess

#get_connect_attachment(params = {}) ⇒ Types::GetConnectAttachmentResponse

Returns information about a core network Connect attachment.

Examples:

Request syntax with placeholder values


resp = client.get_connect_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.connect_attachment.attachment.core_network_id #=> String
resp.connect_attachment.attachment.core_network_arn #=> String
resp.connect_attachment.attachment.attachment_id #=> String
resp.connect_attachment.attachment. #=> String
resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.connect_attachment.attachment.edge_location #=> String
resp.connect_attachment.attachment.edge_locations #=> Array
resp.connect_attachment.attachment.edge_locations[0] #=> String
resp.connect_attachment.attachment.resource_arn #=> String
resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.connect_attachment.attachment.segment_name #=> String
resp.connect_attachment.attachment.network_function_group_name #=> String
resp.connect_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.connect_attachment.attachment.nat_system_route_support #=> Boolean
resp.connect_attachment.attachment.tags #=> Array
resp.connect_attachment.attachment.tags[0].key #=> String
resp.connect_attachment.attachment.tags[0].value #=> String
resp.connect_attachment.attachment.proposed_segment_change.tags #=> Array
resp.connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.connect_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.connect_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.connect_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.connect_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.connect_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.connect_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.connect_attachment.attachment.created_at #=> Time
resp.connect_attachment.attachment.updated_at #=> Time
resp.connect_attachment.attachment.last_modification_errors #=> Array
resp.connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.connect_attachment.attachment.last_modification_errors[0].message #=> String
resp.connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.connect_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.connect_attachment.transport_attachment_id #=> String
resp.connect_attachment.options.protocol #=> String, one of "GRE", "NO_ENCAP"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

Returns:

See Also:



872
873
874
875
# File 'sig/client.rbs', line 872

def get_connect_attachment: (
    attachment_id: ::String
  ) -> _GetConnectAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectAttachmentResponseSuccess

#get_connect_peer(params = {}) ⇒ Types::GetConnectPeerResponse

Returns information about a core network Connect peer.

Examples:

Request syntax with placeholder values


resp = client.get_connect_peer({
  connect_peer_id: "ConnectPeerId", # required
})

Response structure


resp.connect_peer.core_network_id #=> String
resp.connect_peer.connect_attachment_id #=> String
resp.connect_peer.connect_peer_id #=> String
resp.connect_peer.edge_location #=> String
resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.connect_peer.created_at #=> Time
resp.connect_peer.configuration.core_network_address #=> String
resp.connect_peer.configuration.peer_address #=> String
resp.connect_peer.configuration.inside_cidr_blocks #=> Array
resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
resp.connect_peer.configuration.protocol #=> String, one of "GRE", "NO_ENCAP"
resp.connect_peer.configuration.bgp_configurations #=> Array
resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
resp.connect_peer.tags #=> Array
resp.connect_peer.tags[0].key #=> String
resp.connect_peer.tags[0].value #=> String
resp.connect_peer.subnet_arn #=> String
resp.connect_peer.last_modification_errors #=> Array
resp.connect_peer.last_modification_errors[0].code #=> String, one of "EDGE_LOCATION_NO_FREE_IPS", "EDGE_LOCATION_PEER_DUPLICATE", "SUBNET_NOT_FOUND", "IP_OUTSIDE_SUBNET_CIDR_RANGE", "INVALID_INSIDE_CIDR_BLOCK", "NO_ASSOCIATED_CIDR_BLOCK", "CREATION_FAILED", "DELETION_FAILED"
resp.connect_peer.last_modification_errors[0].message #=> String
resp.connect_peer.last_modification_errors[0].resource_arn #=> String
resp.connect_peer.last_modification_errors[0].request_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :connect_peer_id (required, String) —

    The ID of the Connect peer.

Returns:

See Also:



882
883
884
885
# File 'sig/client.rbs', line 882

def get_connect_peer: (
    connect_peer_id: ::String
  ) -> _GetConnectPeerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectPeerResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_connect_peer_associations({
  global_network_id: "GlobalNetworkId", # required
  connect_peer_ids: ["ConnectPeerId"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.connect_peer_associations #=> Array
resp.connect_peer_associations[0].connect_peer_id #=> String
resp.connect_peer_associations[0].global_network_id #=> String
resp.connect_peer_associations[0].device_id #=> String
resp.connect_peer_associations[0].link_id #=> String
resp.connect_peer_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :connect_peer_ids (Array<String>) —

    The IDs of the Connect peers.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



893
894
895
896
897
898
899
# File 'sig/client.rbs', line 893

def get_connect_peer_associations: (
    global_network_id: ::String,
    ?connect_peer_ids: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetConnectPeerAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectPeerAssociationsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_connections({
  global_network_id: "GlobalNetworkId", # required
  connection_ids: ["ConnectionId"],
  device_id: "DeviceId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.connections #=> Array
resp.connections[0].connection_id #=> String
resp.connections[0].connection_arn #=> String
resp.connections[0].global_network_id #=> String
resp.connections[0].device_id #=> String
resp.connections[0].connected_device_id #=> String
resp.connections[0].link_id #=> String
resp.connections[0].connected_link_id #=> String
resp.connections[0].description #=> String
resp.connections[0].created_at #=> Time
resp.connections[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.connections[0].tags #=> Array
resp.connections[0].tags[0].key #=> String
resp.connections[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :connection_ids (Array<String>) —

    One or more connection IDs.

  • :device_id (String) —

    The ID of the device.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



907
908
909
910
911
912
913
914
# File 'sig/client.rbs', line 907

def get_connections: (
    global_network_id: ::String,
    ?connection_ids: Array[::String],
    ?device_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetConnectionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectionsResponseSuccess

#get_context_store(params = {}) ⇒ Types::GetContextStoreResponse

Returns information about a context store.

Examples:

Request syntax with placeholder values


resp = client.get_context_store({
  context_store_id: "ContextStoreId", # required
})

Response structure


resp.context_store.global_network_id #=> String
resp.context_store.context_store_id #=> String
resp.context_store.context_store_arn #=> String
resp.context_store.description #=> String
resp.context_store.created_at #=> Time
resp.context_store.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED"
resp.context_store.tags #=> Array
resp.context_store.tags[0].key #=> String
resp.context_store.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

Returns:

See Also:



921
922
923
924
# File 'sig/client.rbs', line 921

def get_context_store: (
    context_store_id: ::String
  ) -> _GetContextStoreResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContextStoreResponseSuccess

#get_context_store_association(params = {}) ⇒ Types::GetContextStoreAssociationResponse

Returns information about the association between a context store and a transit gateway.

Examples:

Request syntax with placeholder values


resp = client.get_context_store_association({
  context_store_id: "ContextStoreId", # required
  transit_gateway_arn: "TransitGatewayArn", # required
})

Response structure


resp.context_store_association.context_store_id #=> String
resp.context_store_association.transit_gateway_arn #=> String
resp.context_store_association.created_at #=> Time
resp.context_store_association.state #=> String, one of "ASSOCIATING", "ASSOCIATED", "DISASSOCIATING", "FAILED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :transit_gateway_arn (required, String) —

    The Amazon Resource Name (ARN) of the transit gateway.

Returns:

See Also:



931
932
933
934
935
# File 'sig/client.rbs', line 931

def get_context_store_association: (
    context_store_id: ::String,
    transit_gateway_arn: ::String
  ) -> _GetContextStoreAssociationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContextStoreAssociationResponseSuccess

#get_context_version(params = {}) ⇒ Types::GetContextVersionResponse

Returns the current version of the context entries of a context store. The context store must be in the AVAILABLE state.

Examples:

Request syntax with placeholder values


resp = client.get_context_version({
  context_store_id: "ContextStoreId", # required
})

Response structure


resp.version_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

Returns:

See Also:



942
943
944
945
# File 'sig/client.rbs', line 942

def get_context_version: (
    context_store_id: ::String
  ) -> _GetContextVersionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContextVersionResponseSuccess

#get_core_network(params = {}) ⇒ Types::GetCoreNetworkResponse

Returns information about the LIVE policy for a core network.

Examples:

Request syntax with placeholder values


resp = client.get_core_network({
  core_network_id: "CoreNetworkId", # required
})

Response structure


resp.core_network.global_network_id #=> String
resp.core_network.core_network_id #=> String
resp.core_network.core_network_arn #=> String
resp.core_network.description #=> String
resp.core_network.created_at #=> Time
resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
resp.core_network.segments #=> Array
resp.core_network.segments[0].name #=> String
resp.core_network.segments[0].edge_locations #=> Array
resp.core_network.segments[0].edge_locations[0] #=> String
resp.core_network.segments[0].shared_segments #=> Array
resp.core_network.segments[0].shared_segments[0] #=> String
resp.core_network.network_function_groups #=> Array
resp.core_network.network_function_groups[0].name #=> String
resp.core_network.network_function_groups[0].edge_locations #=> Array
resp.core_network.network_function_groups[0].edge_locations[0] #=> String
resp.core_network.network_function_groups[0].segments.send_via #=> Array
resp.core_network.network_function_groups[0].segments.send_via[0] #=> String
resp.core_network.network_function_groups[0].segments.send_to #=> Array
resp.core_network.network_function_groups[0].segments.send_to[0] #=> String
resp.core_network.edges #=> Array
resp.core_network.edges[0].edge_location #=> String
resp.core_network.edges[0].asn #=> Integer
resp.core_network.edges[0].inside_cidr_blocks #=> Array
resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
resp.core_network.tags #=> Array
resp.core_network.tags[0].key #=> String
resp.core_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

Returns:

See Also:



952
953
954
955
# File 'sig/client.rbs', line 952

def get_core_network: (
    core_network_id: ::String
  ) -> _GetCoreNetworkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCoreNetworkResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_core_network_change_events({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1, # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.core_network_change_events #=> Array
resp.core_network_change_events[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "NETWORK_FUNCTION_GROUP", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC", "ROUTING_POLICY", "ROUTING_POLICY_SEGMENT_ASSOCIATION", "ROUTING_POLICY_EDGE_ASSOCIATION", "ROUTING_POLICY_ATTACHMENT_ASSOCIATION", "CORE_NETWORK_CONFIGURATION", "SEGMENTS_CONFIGURATION", "SEGMENT_ACTIONS_CONFIGURATION", "ATTACHMENT_POLICIES_CONFIGURATION"
resp.core_network_change_events[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
resp.core_network_change_events[0].identifier_path #=> String
resp.core_network_change_events[0].event_time #=> Time
resp.core_network_change_events[0].status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETE", "FAILED"
resp.core_network_change_events[0].values.edge_location #=> String
resp.core_network_change_events[0].values.peer_edge_location #=> String
resp.core_network_change_events[0].values.routing_policy_direction #=> String, one of "inbound", "outbound"
resp.core_network_change_events[0].values.segment_name #=> String
resp.core_network_change_events[0].values.network_function_group_name #=> String
resp.core_network_change_events[0].values.attachment_id #=> String
resp.core_network_change_events[0].values.cidr #=> String
resp.core_network_change_events[0].values.routing_policy_association_details #=> Array
resp.core_network_change_events[0].values.routing_policy_association_details[0].routing_policy_names #=> Array
resp.core_network_change_events[0].values.routing_policy_association_details[0].routing_policy_names[0] #=> String
resp.core_network_change_events[0].values.routing_policy_association_details[0].shared_segments #=> Array
resp.core_network_change_events[0].values.routing_policy_association_details[0].shared_segments[0] #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :policy_version_id (required, Integer) —

    The ID of the policy version.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



963
964
965
966
967
968
969
# File 'sig/client.rbs', line 963

def get_core_network_change_events: (
    core_network_id: ::String,
    policy_version_id: ::Integer,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetCoreNetworkChangeEventsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCoreNetworkChangeEventsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_core_network_change_set({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1, # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.core_network_changes #=> Array
resp.core_network_changes[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "NETWORK_FUNCTION_GROUP", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC", "ROUTING_POLICY", "ROUTING_POLICY_SEGMENT_ASSOCIATION", "ROUTING_POLICY_EDGE_ASSOCIATION", "ROUTING_POLICY_ATTACHMENT_ASSOCIATION", "CORE_NETWORK_CONFIGURATION", "SEGMENTS_CONFIGURATION", "SEGMENT_ACTIONS_CONFIGURATION", "ATTACHMENT_POLICIES_CONFIGURATION"
resp.core_network_changes[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
resp.core_network_changes[0].identifier #=> String
resp.core_network_changes[0].previous_values.segment_name #=> String
resp.core_network_changes[0].previous_values.network_function_group_name #=> String
resp.core_network_changes[0].previous_values.edge_locations #=> Array
resp.core_network_changes[0].previous_values.edge_locations[0] #=> String
resp.core_network_changes[0].previous_values.asn #=> Integer
resp.core_network_changes[0].previous_values.cidr #=> String
resp.core_network_changes[0].previous_values.destination_identifier #=> String
resp.core_network_changes[0].previous_values.inside_cidr_blocks #=> Array
resp.core_network_changes[0].previous_values.inside_cidr_blocks[0] #=> String
resp.core_network_changes[0].previous_values.shared_segments #=> Array
resp.core_network_changes[0].previous_values.shared_segments[0] #=> String
resp.core_network_changes[0].previous_values.service_insertion_actions #=> Array
resp.core_network_changes[0].previous_values.service_insertion_actions[0].action #=> String, one of "send-via", "send-to"
resp.core_network_changes[0].previous_values.service_insertion_actions[0].mode #=> String, one of "dual-hop", "single-hop"
resp.core_network_changes[0].previous_values.service_insertion_actions[0].when_sent_to.when_sent_to_segments_list #=> Array
resp.core_network_changes[0].previous_values.service_insertion_actions[0].when_sent_to.when_sent_to_segments_list[0] #=> String
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.network_function_groups #=> Array
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.network_function_groups[0].name #=> String
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.with_edge_overrides #=> Array
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.with_edge_overrides[0].edge_sets #=> Array
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.with_edge_overrides[0].edge_sets[0] #=> Array
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.with_edge_overrides[0].edge_sets[0][0] #=> String
resp.core_network_changes[0].previous_values.service_insertion_actions[0].via.with_edge_overrides[0].use_edge #=> String
resp.core_network_changes[0].previous_values.vpn_ecmp_support #=> Boolean
resp.core_network_changes[0].previous_values.dns_support #=> Boolean
resp.core_network_changes[0].previous_values.security_group_referencing_support #=> Boolean
resp.core_network_changes[0].previous_values.routing_policy_direction #=> String, one of "inbound", "outbound"
resp.core_network_changes[0].previous_values.routing_policy #=> String
resp.core_network_changes[0].previous_values.peer_edge_locations #=> Array
resp.core_network_changes[0].previous_values.peer_edge_locations[0] #=> String
resp.core_network_changes[0].previous_values.attachment_id #=> String
resp.core_network_changes[0].previous_values.routing_policy_association_details #=> Array
resp.core_network_changes[0].previous_values.routing_policy_association_details[0].routing_policy_names #=> Array
resp.core_network_changes[0].previous_values.routing_policy_association_details[0].routing_policy_names[0] #=> String
resp.core_network_changes[0].previous_values.routing_policy_association_details[0].shared_segments #=> Array
resp.core_network_changes[0].previous_values.routing_policy_association_details[0].shared_segments[0] #=> String
resp.core_network_changes[0].previous_values.multipath_resilience.mode #=> String, one of "best-effort", "disabled"
resp.core_network_changes[0].previous_values.multipath_resilience.edge_sets #=> Array
resp.core_network_changes[0].previous_values.multipath_resilience.edge_sets[0] #=> Array
resp.core_network_changes[0].previous_values.multipath_resilience.edge_sets[0][0] #=> String
resp.core_network_changes[0].new_values.segment_name #=> String
resp.core_network_changes[0].new_values.network_function_group_name #=> String
resp.core_network_changes[0].new_values.edge_locations #=> Array
resp.core_network_changes[0].new_values.edge_locations[0] #=> String
resp.core_network_changes[0].new_values.asn #=> Integer
resp.core_network_changes[0].new_values.cidr #=> String
resp.core_network_changes[0].new_values.destination_identifier #=> String
resp.core_network_changes[0].new_values.inside_cidr_blocks #=> Array
resp.core_network_changes[0].new_values.inside_cidr_blocks[0] #=> String
resp.core_network_changes[0].new_values.shared_segments #=> Array
resp.core_network_changes[0].new_values.shared_segments[0] #=> String
resp.core_network_changes[0].new_values.service_insertion_actions #=> Array
resp.core_network_changes[0].new_values.service_insertion_actions[0].action #=> String, one of "send-via", "send-to"
resp.core_network_changes[0].new_values.service_insertion_actions[0].mode #=> String, one of "dual-hop", "single-hop"
resp.core_network_changes[0].new_values.service_insertion_actions[0].when_sent_to.when_sent_to_segments_list #=> Array
resp.core_network_changes[0].new_values.service_insertion_actions[0].when_sent_to.when_sent_to_segments_list[0] #=> String
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.network_function_groups #=> Array
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.network_function_groups[0].name #=> String
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.with_edge_overrides #=> Array
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.with_edge_overrides[0].edge_sets #=> Array
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.with_edge_overrides[0].edge_sets[0] #=> Array
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.with_edge_overrides[0].edge_sets[0][0] #=> String
resp.core_network_changes[0].new_values.service_insertion_actions[0].via.with_edge_overrides[0].use_edge #=> String
resp.core_network_changes[0].new_values.vpn_ecmp_support #=> Boolean
resp.core_network_changes[0].new_values.dns_support #=> Boolean
resp.core_network_changes[0].new_values.security_group_referencing_support #=> Boolean
resp.core_network_changes[0].new_values.routing_policy_direction #=> String, one of "inbound", "outbound"
resp.core_network_changes[0].new_values.routing_policy #=> String
resp.core_network_changes[0].new_values.peer_edge_locations #=> Array
resp.core_network_changes[0].new_values.peer_edge_locations[0] #=> String
resp.core_network_changes[0].new_values.attachment_id #=> String
resp.core_network_changes[0].new_values.routing_policy_association_details #=> Array
resp.core_network_changes[0].new_values.routing_policy_association_details[0].routing_policy_names #=> Array
resp.core_network_changes[0].new_values.routing_policy_association_details[0].routing_policy_names[0] #=> String
resp.core_network_changes[0].new_values.routing_policy_association_details[0].shared_segments #=> Array
resp.core_network_changes[0].new_values.routing_policy_association_details[0].shared_segments[0] #=> String
resp.core_network_changes[0].new_values.multipath_resilience.mode #=> String, one of "best-effort", "disabled"
resp.core_network_changes[0].new_values.multipath_resilience.edge_sets #=> Array
resp.core_network_changes[0].new_values.multipath_resilience.edge_sets[0] #=> Array
resp.core_network_changes[0].new_values.multipath_resilience.edge_sets[0][0] #=> String
resp.core_network_changes[0].identifier_path #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :policy_version_id (required, Integer) —

    The ID of the policy version.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



977
978
979
980
981
982
983
# File 'sig/client.rbs', line 977

def get_core_network_change_set: (
    core_network_id: ::String,
    policy_version_id: ::Integer,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetCoreNetworkChangeSetResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCoreNetworkChangeSetResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_core_network_policy({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1,
  alias: "LIVE", # accepts LIVE, LATEST
})

Response structure


resp.core_network_policy.core_network_id #=> String
resp.core_network_policy.policy_version_id #=> Integer
resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
resp.core_network_policy.description #=> String
resp.core_network_policy.created_at #=> Time
resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
resp.core_network_policy.policy_errors #=> Array
resp.core_network_policy.policy_errors[0].error_code #=> String
resp.core_network_policy.policy_errors[0].message #=> String
resp.core_network_policy.policy_errors[0].path #=> String
resp.core_network_policy.policy_document #=> String
resp.core_network_policy.dry_run_state #=> String, one of "PENDING", "AVAILABLE", "STALE", "FAILED"
resp.core_network_policy.dry_run_updated_at #=> Time
resp.core_network_policy.dry_run_failure_reason #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :policy_version_id (Integer) —

    The ID of a core network policy version.

  • :alias (String) —

    The alias of a core network policy

Returns:

See Also:



990
991
992
993
994
995
# File 'sig/client.rbs', line 990

def get_core_network_policy: (
    core_network_id: ::String,
    ?policy_version_id: ::Integer,
    ?alias: ("LIVE" | "LATEST")
  ) -> _GetCoreNetworkPolicyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCoreNetworkPolicyResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_customer_gateway_associations({
  global_network_id: "GlobalNetworkId", # required
  customer_gateway_arns: ["CustomerGatewayArn"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.customer_gateway_associations #=> Array
resp.customer_gateway_associations[0].customer_gateway_arn #=> String
resp.customer_gateway_associations[0].global_network_id #=> String
resp.customer_gateway_associations[0].device_id #=> String
resp.customer_gateway_associations[0].link_id #=> String
resp.customer_gateway_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :customer_gateway_arns (Array<String>) —

    One or more customer gateway Amazon Resource Names (ARNs). The maximum is 10.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1003
1004
1005
1006
1007
1008
1009
# File 'sig/client.rbs', line 1003

def get_customer_gateway_associations: (
    global_network_id: ::String,
    ?customer_gateway_arns: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetCustomerGatewayAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomerGatewayAssociationsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_devices({
  global_network_id: "GlobalNetworkId", # required
  device_ids: ["DeviceId"],
  site_id: "SiteId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.devices #=> Array
resp.devices[0].device_id #=> String
resp.devices[0].device_arn #=> String
resp.devices[0].global_network_id #=> String
resp.devices[0].aws_location.zone #=> String
resp.devices[0].aws_location.subnet_arn #=> String
resp.devices[0].description #=> String
resp.devices[0].type #=> String
resp.devices[0].vendor #=> String
resp.devices[0].model #=> String
resp.devices[0].serial_number #=> String
resp.devices[0].location.address #=> String
resp.devices[0].location.latitude #=> String
resp.devices[0].location.longitude #=> String
resp.devices[0].site_id #=> String
resp.devices[0].created_at #=> Time
resp.devices[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.devices[0].tags #=> Array
resp.devices[0].tags[0].key #=> String
resp.devices[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_ids (Array<String>) —

    One or more device IDs. The maximum is 10.

  • :site_id (String) —

    The ID of the site.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1017
1018
1019
1020
1021
1022
1023
1024
# File 'sig/client.rbs', line 1017

def get_devices: (
    global_network_id: ::String,
    ?device_ids: Array[::String],
    ?site_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetDevicesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevicesResponseSuccess

#get_direct_connect_gateway_attachment(params = {}) ⇒ Types::GetDirectConnectGatewayAttachmentResponse

Returns information about a specific Amazon Web Services Direct Connect gateway attachment.

Examples:

Request syntax with placeholder values


resp = client.get_direct_connect_gateway_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.direct_connect_gateway_attachment.attachment.core_network_id #=> String
resp.direct_connect_gateway_attachment.attachment.core_network_arn #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_id #=> String
resp.direct_connect_gateway_attachment.attachment. #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.direct_connect_gateway_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.direct_connect_gateway_attachment.attachment.edge_location #=> String
resp.direct_connect_gateway_attachment.attachment.edge_locations #=> Array
resp.direct_connect_gateway_attachment.attachment.edge_locations[0] #=> String
resp.direct_connect_gateway_attachment.attachment.resource_arn #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
resp.direct_connect_gateway_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.direct_connect_gateway_attachment.attachment.nat_system_route_support #=> Boolean
resp.direct_connect_gateway_attachment.attachment.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.direct_connect_gateway_attachment.direct_connect_gateway_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the Direct Connect gateway attachment that you want to see details about.

Returns:

See Also:



1031
1032
1033
1034
# File 'sig/client.rbs', line 1031

def get_direct_connect_gateway_attachment: (
    attachment_id: ::String
  ) -> _GetDirectConnectGatewayAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDirectConnectGatewayAttachmentResponseSuccess

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.

Examples:

Request syntax with placeholder values


resp = client.get_link_associations({
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId",
  link_id: "LinkId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.link_associations #=> Array
resp.link_associations[0].global_network_id #=> String
resp.link_associations[0].device_id #=> String
resp.link_associations[0].link_id #=> String
resp.link_associations[0].link_association_state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (String) —

    The ID of the device.

  • :link_id (String) —

    The ID of the link.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1042
1043
1044
1045
1046
1047
1048
1049
# File 'sig/client.rbs', line 1042

def get_link_associations: (
    global_network_id: ::String,
    ?device_id: ::String,
    ?link_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetLinkAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLinkAssociationsResponseSuccess

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.

Examples:

Request syntax with placeholder values


resp = client.get_links({
  global_network_id: "GlobalNetworkId", # required
  link_ids: ["LinkId"],
  site_id: "SiteId",
  type: "ConstrainedString",
  provider: "ConstrainedString",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.links #=> Array
resp.links[0].link_id #=> String
resp.links[0].link_arn #=> String
resp.links[0].global_network_id #=> String
resp.links[0].site_id #=> String
resp.links[0].description #=> String
resp.links[0].type #=> String
resp.links[0].bandwidth.upload_speed #=> Integer
resp.links[0].bandwidth.download_speed #=> Integer
resp.links[0].provider #=> String
resp.links[0].created_at #=> Time
resp.links[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.links[0].tags #=> Array
resp.links[0].tags[0].key #=> String
resp.links[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :link_ids (Array<String>) —

    One or more link IDs. The maximum is 10.

  • :site_id (String) —

    The ID of the site.

  • :type (String) —

    The link type.

  • :provider (String) —

    The link provider.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
# File 'sig/client.rbs', line 1057

def get_links: (
    global_network_id: ::String,
    ?link_ids: Array[::String],
    ?site_id: ::String,
    ?type: ::String,
    ?provider: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetLinksResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLinksResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_network_resource_counts({
  global_network_id: "GlobalNetworkId", # required
  resource_type: "ConstrainedString",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.network_resource_counts #=> Array
resp.network_resource_counts[0].resource_type #=> String
resp.network_resource_counts[0].count #=> Integer
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :resource_type (String) —

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon

    • dx-gateway

    • dx-vif

    The following are the supported resource types for Network Manager:

    • attachment

    • connect-peer

    • connection

    • core-network

    • device

    • link

    • peering

    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway

    • transit-gateway

    • transit-gateway-attachment

    • transit-gateway-connect-peer

    • transit-gateway-route-table

    • vpn-connection

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1074
1075
1076
1077
1078
1079
1080
# File 'sig/client.rbs', line 1074

def get_network_resource_counts: (
    global_network_id: ::String,
    ?resource_type: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetNetworkResourceCountsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkResourceCountsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_network_resource_relationships({
  global_network_id: "GlobalNetworkId", # required
  core_network_id: "CoreNetworkId",
  registered_gateway_arn: "ResourceArn",
  aws_region: "ExternalRegionCode",
  account_id: "AWSAccountId",
  resource_type: "ConstrainedString",
  resource_arn: "ResourceArn",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.relationships #=> Array
resp.relationships[0].from #=> String
resp.relationships[0].to #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :core_network_id (String) —

    The ID of a core network.

  • :registered_gateway_arn (String) —

    The ARN of the registered gateway.

  • :aws_region (String) —

    The Amazon Web Services Region.

  • :account_id (String) —

    The Amazon Web Services account ID.

  • :resource_type (String) —

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon

    • dx-gateway

    • dx-vif

    The following are the supported resource types for Network Manager:

    • attachment

    • connect-peer

    • connection

    • core-network

    • device

    • link

    • peering

    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway

    • transit-gateway

    • transit-gateway-attachment

    • transit-gateway-connect-peer

    • transit-gateway-route-table

    • vpn-connection

  • :resource_arn (String) —

    The ARN of the gateway.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
# File 'sig/client.rbs', line 1088

def get_network_resource_relationships: (
    global_network_id: ::String,
    ?core_network_id: ::String,
    ?registered_gateway_arn: ::String,
    ?aws_region: ::String,
    ?account_id: ::String,
    ?resource_type: ::String,
    ?resource_arn: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetNetworkResourceRelationshipsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkResourceRelationshipsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_network_resources({
  global_network_id: "GlobalNetworkId", # required
  core_network_id: "CoreNetworkId",
  registered_gateway_arn: "ResourceArn",
  aws_region: "ExternalRegionCode",
  account_id: "AWSAccountId",
  resource_type: "ConstrainedString",
  resource_arn: "ResourceArn",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.network_resources #=> Array
resp.network_resources[0].registered_gateway_arn #=> String
resp.network_resources[0].core_network_id #=> String
resp.network_resources[0].aws_region #=> String
resp.network_resources[0]. #=> String
resp.network_resources[0].resource_type #=> String
resp.network_resources[0].resource_id #=> String
resp.network_resources[0].resource_arn #=> String
resp.network_resources[0].definition #=> String
resp.network_resources[0].definition_timestamp #=> Time
resp.network_resources[0].tags #=> Array
resp.network_resources[0].tags[0].key #=> String
resp.network_resources[0].tags[0].value #=> String
resp.network_resources[0]. #=> Hash
resp.network_resources[0].["ConstrainedString"] #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :core_network_id (String) —

    The ID of a core network.

  • :registered_gateway_arn (String) —

    The ARN of the gateway.

  • :aws_region (String) —

    The Amazon Web Services Region.

  • :account_id (String) —

    The Amazon Web Services account ID.

  • :resource_type (String) —

    The resource type.

    The following are the supported resource types for Direct Connect:

    • dxcon

    • dx-gateway

    • dx-vif

    The following are the supported resource types for Network Manager:

    • attachment

    • connect-peer

    • connection

    • core-network

    • device

    • link

    • peering

    • site

    The following are the supported resource types for Amazon VPC:

    • customer-gateway

    • transit-gateway

    • transit-gateway-attachment

    • transit-gateway-connect-peer

    • transit-gateway-route-table

    • vpn-connection

  • :resource_arn (String) —

    The ARN of the resource.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
# File 'sig/client.rbs', line 1107

def get_network_resources: (
    global_network_id: ::String,
    ?core_network_id: ::String,
    ?registered_gateway_arn: ::String,
    ?aws_region: ::String,
    ?account_id: ::String,
    ?resource_type: ::String,
    ?resource_arn: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetNetworkResourcesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkResourcesResponseSuccess

#get_network_routes(params = {}) ⇒ Types::GetNetworkRoutesResponse

Gets the network routes of the specified global network.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.get_network_routes({
  global_network_id: "GlobalNetworkId", # required
  route_table_identifier: { # required
    transit_gateway_route_table_arn: "TransitGatewayRouteTableArn",
    core_network_segment_edge: {
      core_network_id: "CoreNetworkId",
      segment_name: "ConstrainedString",
      edge_location: "ExternalRegionCode",
    },
    core_network_network_function_group: {
      core_network_id: "CoreNetworkId",
      network_function_group_name: "ConstrainedString",
      edge_location: "ExternalRegionCode",
    },
  },
  exact_cidr_matches: ["ConstrainedString"],
  longest_prefix_matches: ["ConstrainedString"],
  subnet_of_matches: ["ConstrainedString"],
  supernet_of_matches: ["ConstrainedString"],
  prefix_list_ids: ["ConstrainedString"],
  states: ["ACTIVE"], # accepts ACTIVE, BLACKHOLE, PENDING_DEPLOYMENT
  types: ["PROPAGATED"], # accepts PROPAGATED, STATIC, SYSTEM
  destination_filters: {
    "FilterName" => ["FilterValue"],
  },
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.route_table_arn #=> String
resp.core_network_segment_edge.core_network_id #=> String
resp.core_network_segment_edge.segment_name #=> String
resp.core_network_segment_edge.edge_location #=> String
resp.core_network_network_function_group.core_network_id #=> String
resp.core_network_network_function_group.network_function_group_name #=> String
resp.core_network_network_function_group.edge_location #=> String
resp.route_table_type #=> String, one of "TRANSIT_GATEWAY_ROUTE_TABLE", "CORE_NETWORK_SEGMENT", "NETWORK_FUNCTION_GROUP"
resp.route_table_timestamp #=> Time
resp.network_routes #=> Array
resp.network_routes[0].destination_cidr_block #=> String
resp.network_routes[0].destinations #=> Array
resp.network_routes[0].destinations[0].core_network_attachment_id #=> String
resp.network_routes[0].destinations[0].transit_gateway_attachment_id #=> String
resp.network_routes[0].destinations[0].segment_name #=> String
resp.network_routes[0].destinations[0].network_function_group_name #=> String
resp.network_routes[0].destinations[0].edge_location #=> String
resp.network_routes[0].destinations[0].resource_type #=> String
resp.network_routes[0].destinations[0].resource_id #=> String
resp.network_routes[0].prefix_list_id #=> String
resp.network_routes[0].state #=> String, one of "ACTIVE", "BLACKHOLE", "PENDING_DEPLOYMENT"
resp.network_routes[0].type #=> String, one of "PROPAGATED", "STATIC", "SYSTEM"
resp.network_routes[0].is_overlapping_route #=> Boolean
resp.network_routes[0].dry_run_change_state #=> String, one of "ADDED", "REMOVED", "UPDATED", "NO_CHANGES"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :route_table_identifier (required, Types::RouteTableIdentifier) —

    The ID of the route table.

  • :exact_cidr_matches (Array<String>) —

    An exact CIDR block.

  • :longest_prefix_matches (Array<String>) —

    The most specific route that matches the traffic (longest prefix match).

  • :subnet_of_matches (Array<String>) —

    The routes with a subnet that match the specified CIDR filter.

  • :supernet_of_matches (Array<String>) —

    The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.

  • :prefix_list_ids (Array<String>) —

    The IDs of the prefix lists.

  • :states (Array<String>) —

    The route states.

  • :types (Array<String>) —

    The route types.

  • :destination_filters (Hash<String,Array>) —

    Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
# File 'sig/client.rbs', line 1131

def get_network_routes: (
    global_network_id: ::String,
    route_table_identifier: {
      transit_gateway_route_table_arn: ::String?,
      core_network_segment_edge: {
        core_network_id: ::String?,
        segment_name: ::String?,
        edge_location: ::String?
      }?,
      core_network_network_function_group: {
        core_network_id: ::String?,
        network_function_group_name: ::String?,
        edge_location: ::String?
      }?
    },
    ?exact_cidr_matches: Array[::String],
    ?longest_prefix_matches: Array[::String],
    ?subnet_of_matches: Array[::String],
    ?supernet_of_matches: Array[::String],
    ?prefix_list_ids: Array[::String],
    ?states: Array[("ACTIVE" | "BLACKHOLE" | "PENDING_DEPLOYMENT")],
    ?types: Array[("PROPAGATED" | "STATIC" | "SYSTEM")],
    ?destination_filters: Hash[::String, Array[::String]],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetNetworkRoutesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkRoutesResponseSuccess

#get_network_scope(params = {}) ⇒ Types::GetNetworkScopeResponse

Returns information about a network scope.

Examples:

Example: Example – Getting a network scope


resp = client.get_network_scope({
  network_scope_id: "network-scope-0123456789abcdef0", 
})

resp.to_h outputs the following:
{
  network_scope: {
    access_mode: "ACCOUNTS", 
    created_at: Time.parse("2026-12-02T17:00:00Z"), 
    name: "production-network", 
    network_scope_arn: "arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0", 
    network_scope_id: "network-scope-0123456789abcdef0", 
    network_scope_regions: [
      "us-east-1", 
      "us-west-2", 
    ], 
    state: "AVAILABLE", 
  }, 
}

Request syntax with placeholder values


resp = client.get_network_scope({
  network_scope_id: "NetworkScopeId", # required
})

Response structure


resp.network_scope.network_scope_id #=> String
resp.network_scope.network_scope_arn #=> String
resp.network_scope.name #=> String
resp.network_scope.access_mode #=> String, one of "ACCOUNTS", "ORGANIZATIONS"
resp.network_scope.network_scope_regions #=> Array
resp.network_scope.network_scope_regions[0] #=> String
resp.network_scope.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "FAILED"
resp.network_scope.state_reason.code #=> String, one of "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "PRINCIPALS_NOT_FULLY_COVERED"
resp.network_scope.state_reason.message #=> String
resp.network_scope.created_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :network_scope_id (required, String) —

    The ID of the network scope to describe.

Returns:

See Also:



1164
1165
1166
1167
# File 'sig/client.rbs', line 1164

def get_network_scope: (
    network_scope_id: ::String
  ) -> _GetNetworkScopeResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkScopeResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_network_telemetry({
  global_network_id: "GlobalNetworkId", # required
  core_network_id: "CoreNetworkId",
  registered_gateway_arn: "ResourceArn",
  aws_region: "ExternalRegionCode",
  account_id: "AWSAccountId",
  resource_type: "ConstrainedString",
  resource_arn: "ResourceArn",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.network_telemetry #=> Array
resp.network_telemetry[0].registered_gateway_arn #=> String
resp.network_telemetry[0].core_network_id #=> String
resp.network_telemetry[0].aws_region #=> String
resp.network_telemetry[0]. #=> String
resp.network_telemetry[0].resource_type #=> String
resp.network_telemetry[0].resource_id #=> String
resp.network_telemetry[0].resource_arn #=> String
resp.network_telemetry[0].address #=> String
resp.network_telemetry[0].health.type #=> String, one of "BGP", "IPSEC"
resp.network_telemetry[0].health.status #=> String, one of "UP", "DOWN"
resp.network_telemetry[0].health.timestamp #=> Time
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :core_network_id (String) —

    The ID of a core network.

  • :registered_gateway_arn (String) —

    The ARN of the gateway.

  • :aws_region (String) —

    The Amazon Web Services Region.

  • :account_id (String) —

    The Amazon Web Services account ID.

  • :resource_type (String) —

    The resource type. The following are the supported resource types:

    • connect-peer

    • transit-gateway-connect-peer

    • vpn-connection

  • :resource_arn (String) —

    The ARN of the resource.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
# File 'sig/client.rbs', line 1175

def get_network_telemetry: (
    global_network_id: ::String,
    ?core_network_id: ::String,
    ?registered_gateway_arn: ::String,
    ?aws_region: ::String,
    ?account_id: ::String,
    ?resource_type: ::String,
    ?resource_arn: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetNetworkTelemetryResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkTelemetryResponseSuccess

#get_resource_policy(params = {}) ⇒ Types::GetResourcePolicyResponse

Returns information about a resource policy.

Examples:

Request syntax with placeholder values


resp = client.get_resource_policy({
  resource_arn: "ResourceArn", # required
})

Response structure


resp.policy_document #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The ARN of the resource.

Returns:

See Also:



1193
1194
1195
1196
# File 'sig/client.rbs', line 1193

def get_resource_policy: (
    resource_arn: ::String
  ) -> _GetResourcePolicyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess

#get_route_analysis(params = {}) ⇒ Types::GetRouteAnalysisResponse

Gets information about the specified route analysis.

Examples:

Request syntax with placeholder values


resp = client.get_route_analysis({
  global_network_id: "GlobalNetworkId", # required
  route_analysis_id: "ConstrainedString", # required
})

Response structure


resp.route_analysis.global_network_id #=> String
resp.route_analysis. #=> String
resp.route_analysis.route_analysis_id #=> String
resp.route_analysis.start_timestamp #=> Time
resp.route_analysis.status #=> String, one of "RUNNING", "COMPLETED", "FAILED"
resp.route_analysis.source.transit_gateway_attachment_arn #=> String
resp.route_analysis.source.transit_gateway_arn #=> String
resp.route_analysis.source.ip_address #=> String
resp.route_analysis.destination.transit_gateway_attachment_arn #=> String
resp.route_analysis.destination.transit_gateway_arn #=> String
resp.route_analysis.destination.ip_address #=> String
resp.route_analysis.include_return_path #=> Boolean
resp.route_analysis.use_middleboxes #=> Boolean
resp.route_analysis.forward_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
resp.route_analysis.forward_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
resp.route_analysis.forward_path.completion_status.reason_context #=> Hash
resp.route_analysis.forward_path.completion_status.reason_context["ReasonContextKey"] #=> String
resp.route_analysis.forward_path.path #=> Array
resp.route_analysis.forward_path.path[0].sequence #=> Integer
resp.route_analysis.forward_path.path[0].resource.registered_gateway_arn #=> String
resp.route_analysis.forward_path.path[0].resource.resource_arn #=> String
resp.route_analysis.forward_path.path[0].resource.resource_type #=> String
resp.route_analysis.forward_path.path[0].resource.definition #=> String
resp.route_analysis.forward_path.path[0].resource.name_tag #=> String
resp.route_analysis.forward_path.path[0].resource.is_middlebox #=> Boolean
resp.route_analysis.forward_path.path[0].destination_cidr_block #=> String
resp.route_analysis.return_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
resp.route_analysis.return_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
resp.route_analysis.return_path.completion_status.reason_context #=> Hash
resp.route_analysis.return_path.completion_status.reason_context["ReasonContextKey"] #=> String
resp.route_analysis.return_path.path #=> Array
resp.route_analysis.return_path.path[0].sequence #=> Integer
resp.route_analysis.return_path.path[0].resource.registered_gateway_arn #=> String
resp.route_analysis.return_path.path[0].resource.resource_arn #=> String
resp.route_analysis.return_path.path[0].resource.resource_type #=> String
resp.route_analysis.return_path.path[0].resource.definition #=> String
resp.route_analysis.return_path.path[0].resource.name_tag #=> String
resp.route_analysis.return_path.path[0].resource.is_middlebox #=> Boolean
resp.route_analysis.return_path.path[0].destination_cidr_block #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :route_analysis_id (required, String) —

    The ID of the route analysis.

Returns:

See Also:



1203
1204
1205
1206
1207
# File 'sig/client.rbs', line 1203

def get_route_analysis: (
    global_network_id: ::String,
    route_analysis_id: ::String
  ) -> _GetRouteAnalysisResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRouteAnalysisResponseSuccess

#get_site_to_site_vpn_attachment(params = {}) ⇒ Types::GetSiteToSiteVpnAttachmentResponse

Returns information about a site-to-site VPN attachment.

Examples:

Request syntax with placeholder values


resp = client.get_site_to_site_vpn_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.site_to_site_vpn_attachment.attachment.core_network_id #=> String
resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
resp.site_to_site_vpn_attachment.attachment. #=> String
resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
resp.site_to_site_vpn_attachment.attachment.edge_locations #=> Array
resp.site_to_site_vpn_attachment.attachment.edge_locations[0] #=> String
resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
resp.site_to_site_vpn_attachment.attachment.network_function_group_name #=> String
resp.site_to_site_vpn_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.site_to_site_vpn_attachment.attachment.nat_system_route_support #=> Boolean
resp.site_to_site_vpn_attachment.attachment.tags #=> Array
resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags #=> Array
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.site_to_site_vpn_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
resp.site_to_site_vpn_attachment.attachment.last_modification_errors #=> Array
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].message #=> String
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.site_to_site_vpn_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.site_to_site_vpn_attachment.vpn_connection_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

Returns:

See Also:



1214
1215
1216
1217
# File 'sig/client.rbs', line 1214

def get_site_to_site_vpn_attachment: (
    attachment_id: ::String
  ) -> _GetSiteToSiteVpnAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSiteToSiteVpnAttachmentResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_sites({
  global_network_id: "GlobalNetworkId", # required
  site_ids: ["SiteId"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.sites #=> Array
resp.sites[0].site_id #=> String
resp.sites[0].site_arn #=> String
resp.sites[0].global_network_id #=> String
resp.sites[0].description #=> String
resp.sites[0].location.address #=> String
resp.sites[0].location.latitude #=> String
resp.sites[0].location.longitude #=> String
resp.sites[0].created_at #=> Time
resp.sites[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.sites[0].tags #=> Array
resp.sites[0].tags[0].key #=> String
resp.sites[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :site_ids (Array<String>) —

    One or more site IDs. The maximum is 10.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1225
1226
1227
1228
1229
1230
1231
# File 'sig/client.rbs', line 1225

def get_sites: (
    global_network_id: ::String,
    ?site_ids: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetSitesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSitesResponseSuccess

#get_sse_connect(params = {}) ⇒ Types::GetSseConnectResponse

Returns information about an SSE connect, including its state, link status, Regions, and peer health.

Examples:

Example: To get an SSE connect


# The following example returns an SSE connect that is linked to the SSE provider and has an attachment in aa-example-1.

resp = client.get_sse_connect({
  sse_connect_id: "sse-connect-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect: {
    attachment_regions: [
      {
        region_name: "aa-example-1", 
      }, 
    ], 
    description: "Branch internet egress", 
    partner_link_status: "LINKED", 
    sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_regions: [
      {
        peer_health_status: "HEALTHY", 
        region_name: "aa-example-1", 
      }, 
      {
        peer_health_status: "HEALTHY", 
        region_name: "aa-example-2", 
      }, 
    ], 
    sse_vendor: "PALO_ALTO", 
    state: "AVAILABLE", 
  }, 
}

Request syntax with placeholder values


resp = client.get_sse_connect({
  sse_connect_id: "SseConnectId", # required
})

Response structure


resp.sse_connect.sse_connect_id #=> String
resp.sse_connect.sse_connect_arn #=> String
resp.sse_connect.description #=> String
resp.sse_connect.sse_regions #=> Array
resp.sse_connect.sse_regions[0].region_name #=> String
resp.sse_connect.sse_regions[0].peer_health_status #=> String, one of "HEALTHY", "UNHEALTHY"
resp.sse_connect.attachment_regions #=> Array
resp.sse_connect.attachment_regions[0].region_name #=> String
resp.sse_connect.sse_vendor #=> String
resp.sse_connect.state #=> String, one of "CREATING", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED"
resp.sse_connect.partner_link_status #=> String, one of "PENDING", "LINKED", "NOT_LINKED"
resp.sse_connect.created_at #=> Time
resp.sse_connect.updated_at #=> Time
resp.sse_connect.tags #=> Array
resp.sse_connect.tags[0].key #=> String
resp.sse_connect.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_id (required, String) —

    The ID of the SSE connect.

Returns:

See Also:



1238
1239
1240
1241
# File 'sig/client.rbs', line 1238

def get_sse_connect: (
    sse_connect_id: ::String
  ) -> _GetSseConnectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSseConnectResponseSuccess

#get_sse_connect_attachment(params = {}) ⇒ Types::GetSseConnectAttachmentResponse

Returns information about an attachment between an SSE connect and a Cloud WAN core network.

Examples:

Example: To get an SSE connect core network attachment


# The following example returns an attachment between an SSE connect and a Cloud WAN core network.

resp = client.get_sse_connect_attachment({
  attachment_id: "attachment-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect_attachment: {
    attachment: {
      attachment_id: "attachment-1234567890abcdef0", 
      core_network_id: "core-network-1234567890abcdef0", 
      owner_account_id: "111122223333", 
      state: "AVAILABLE", 
    }, 
    sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
  }, 
}

Request syntax with placeholder values


resp = client.get_sse_connect_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.sse_connect_attachment.attachment.core_network_id #=> String
resp.sse_connect_attachment.attachment.core_network_arn #=> String
resp.sse_connect_attachment.attachment.attachment_id #=> String
resp.sse_connect_attachment.attachment. #=> String
resp.sse_connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.sse_connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.sse_connect_attachment.attachment.edge_location #=> String
resp.sse_connect_attachment.attachment.edge_locations #=> Array
resp.sse_connect_attachment.attachment.edge_locations[0] #=> String
resp.sse_connect_attachment.attachment.resource_arn #=> String
resp.sse_connect_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.sse_connect_attachment.attachment.segment_name #=> String
resp.sse_connect_attachment.attachment.network_function_group_name #=> String
resp.sse_connect_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.sse_connect_attachment.attachment.nat_system_route_support #=> Boolean
resp.sse_connect_attachment.attachment.tags #=> Array
resp.sse_connect_attachment.attachment.tags[0].key #=> String
resp.sse_connect_attachment.attachment.tags[0].value #=> String
resp.sse_connect_attachment.attachment.proposed_segment_change.tags #=> Array
resp.sse_connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.sse_connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.sse_connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.sse_connect_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.sse_connect_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.sse_connect_attachment.attachment.created_at #=> Time
resp.sse_connect_attachment.attachment.updated_at #=> Time
resp.sse_connect_attachment.attachment.last_modification_errors #=> Array
resp.sse_connect_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.sse_connect_attachment.attachment.last_modification_errors[0].message #=> String
resp.sse_connect_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.sse_connect_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.sse_connect_attachment.sse_connect_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

Returns:

See Also:



1248
1249
1250
1251
# File 'sig/client.rbs', line 1248

def get_sse_connect_attachment: (
    attachment_id: ::String
  ) -> _GetSseConnectAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSseConnectAttachmentResponseSuccess

#get_sse_connect_routes(params = {}) ⇒ Types::GetSseConnectRoutesResponse

Lists the routes of an SSE connect in a Region. You can filter the routes by destination CIDR block or by route destination. Results are paginated. Use the NextToken parameter to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: To get the routes of an SSE connect


# The following example returns the routes of an SSE connect in aa-example-1. Traffic from the attached network uses the
# default route to reach the SSE provider. Traffic from the SSE provider uses the 10.0.0.0/16 route to reach the attached
# transit gateway.

resp = client.get_sse_connect_routes({
  region_name: "aa-example-1", 
  sse_connect_id: "sse-connect-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  routes: [
    {
      destination_cidr_block: "0.0.0.0/0", 
      destinations: [
        {
          sse_destination: {
            sse_region: "aa-example-1", 
            sse_route_type: "DEFAULT", 
            sse_vendor: "PALO_ALTO", 
          }, 
        }, 
      ], 
      source: "ATTACHED_NETWORK", 
    }, 
    {
      destination_cidr_block: "10.0.0.0/16", 
      destinations: [
        {
          transit_gateway_destination: {
            sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
          }, 
        }, 
      ], 
      source: "SSE", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.get_sse_connect_routes({
  sse_connect_id: "SseConnectId", # required
  region_name: "ExternalRegionCode", # required
  max_results: 1,
  next_token: "NextToken",
  destination_filters: {
    "FilterName" => ["FilterValue"],
  },
  exact_cidr_matches: ["ConstrainedString"],
})

Response structure


resp.routes #=> Array
resp.routes[0].destination_cidr_block #=> String
resp.routes[0].destinations #=> Array
resp.routes[0].destinations[0].sse_destination.sse_region #=> String
resp.routes[0].destinations[0].sse_destination.sse_vendor #=> String
resp.routes[0].destinations[0].sse_destination.sse_route_type #=> String, one of "SNAT", "DEFAULT"
resp.routes[0].destinations[0].transit_gateway_destination.sse_connect_transit_gateway_attachment_id #=> String
resp.routes[0].destinations[0].core_network_destination.sse_connect_core_network_attachment_id #=> String
resp.routes[0].source #=> String, one of "SSE", "ATTACHED_NETWORK"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_id (required, String) —

    The ID of the SSE connect.

  • :region_name (required, String) —

    The Region to return routes for. The Region must be one of the Regions of the SSE connect or a Region where the SSE connect has an attachment.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

  • :destination_filters (Hash<String,Array>) —

    Filters the routes by route destination. A route matches a filter if any of its destinations has one of the filter values. If you specify more than one filter, a route must match all of them. The following filters are supported:

    • sse-connect-transit-gateway-attachment-id – The ID of an SSE connect transit gateway attachment.

    • sse-connect-core-network-attachment-id – The ID of an SSE connect core network attachment.

    • sse-region – The Region of the SSE provider destination.

    • sse-vendor – The SSE provider of the destination.

    • sse-route-type – The type of SSE provider route, DEFAULT or SNAT.

  • :exact_cidr_matches (Array<String>) —

    Returns only the routes whose destination CIDR block exactly matches one of these CIDR blocks.

Returns:

See Also:



1259
1260
1261
1262
1263
1264
1265
1266
1267
# File 'sig/client.rbs', line 1259

def get_sse_connect_routes: (
    sse_connect_id: ::String,
    region_name: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String,
    ?destination_filters: Hash[::String, Array[::String]],
    ?exact_cidr_matches: Array[::String]
  ) -> _GetSseConnectRoutesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSseConnectRoutesResponseSuccess

#get_sse_connect_transit_gateway_attachment(params = {}) ⇒ Types::GetSseConnectTransitGatewayAttachmentResponse

Returns information about an SSE connect transit gateway attachment, including the ID of the underlying transit gateway attachment.

Examples:

Example: To get an SSE connect transit gateway attachment


# The following example returns an SSE connect transit gateway attachment that is waiting for the transit gateway owner to
# accept it.

resp = client.get_sse_connect_transit_gateway_attachment({
  sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect_transit_gateway_attachment: {
    owner_account_id: "111122223333", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_connect_transit_gateway_attachment_arn: "arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0", 
    sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
    state: "PENDING_ATTACHMENT_ACCEPTANCE", 
    transit_gateway_arn: "arn:aws:ec2:aa-example-1:444455556666:transit-gateway/tgw-1234567890abcdef0", 
    transit_gateway_attachment_id: "tgw-attach-1234567890abcdef0", 
  }, 
}

Request syntax with placeholder values


resp = client.get_sse_connect_transit_gateway_attachment({
  sse_connect_transit_gateway_attachment_id: "SseConnectTransitGatewayAttachmentId", # required
})

Response structure


resp.sse_connect_transit_gateway_attachment.sse_connect_transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachment.sse_connect_transit_gateway_attachment_arn #=> String
resp.sse_connect_transit_gateway_attachment.sse_connect_id #=> String
resp.sse_connect_transit_gateway_attachment. #=> String
resp.sse_connect_transit_gateway_attachment.transit_gateway_arn #=> String
resp.sse_connect_transit_gateway_attachment.transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachment.state #=> String, one of "CREATING", "PENDING_ATTACHMENT_ACCEPTANCE", "AVAILABLE", "UPDATING", "FAILED", "REJECTED", "DELETING", "DELETED"
resp.sse_connect_transit_gateway_attachment.state_reason.code #=> String, one of "TRANSIT_GATEWAY_OWNER_REJECTED"
resp.sse_connect_transit_gateway_attachment.state_reason.message #=> String
resp.sse_connect_transit_gateway_attachment.created_at #=> Time
resp.sse_connect_transit_gateway_attachment.updated_at #=> Time
resp.sse_connect_transit_gateway_attachment.tags #=> Array
resp.sse_connect_transit_gateway_attachment.tags[0].key #=> String
resp.sse_connect_transit_gateway_attachment.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_transit_gateway_attachment_id (required, String) —

    The ID of the SSE connect transit gateway attachment.

Returns:

See Also:



1274
1275
1276
1277
# File 'sig/client.rbs', line 1274

def get_sse_connect_transit_gateway_attachment: (
    sse_connect_transit_gateway_attachment_id: ::String
  ) -> _GetSseConnectTransitGatewayAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSseConnectTransitGatewayAttachmentResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_transit_gateway_connect_peer_associations({
  global_network_id: "GlobalNetworkId", # required
  transit_gateway_connect_peer_arns: ["TransitGatewayConnectPeerArn"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.transit_gateway_connect_peer_associations #=> Array
resp.transit_gateway_connect_peer_associations[0].transit_gateway_connect_peer_arn #=> String
resp.transit_gateway_connect_peer_associations[0].global_network_id #=> String
resp.transit_gateway_connect_peer_associations[0].device_id #=> String
resp.transit_gateway_connect_peer_associations[0].link_id #=> String
resp.transit_gateway_connect_peer_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :transit_gateway_connect_peer_arns (Array<String>) —

    One or more transit gateway Connect peer Amazon Resource Names (ARNs).

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1285
1286
1287
1288
1289
1290
1291
# File 'sig/client.rbs', line 1285

def get_transit_gateway_connect_peer_associations: (
    global_network_id: ::String,
    ?transit_gateway_connect_peer_arns: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetTransitGatewayConnectPeerAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransitGatewayConnectPeerAssociationsResponseSuccess

#get_transit_gateway_peering(params = {}) ⇒ Types::GetTransitGatewayPeeringResponse

Returns information about a transit gateway peer.

Examples:

Request syntax with placeholder values


resp = client.get_transit_gateway_peering({
  peering_id: "PeeringId", # required
})

Response structure


resp.transit_gateway_peering.peering.core_network_id #=> String
resp.transit_gateway_peering.peering.core_network_arn #=> String
resp.transit_gateway_peering.peering.peering_id #=> String
resp.transit_gateway_peering.peering. #=> String
resp.transit_gateway_peering.peering.peering_type #=> String, one of "TRANSIT_GATEWAY"
resp.transit_gateway_peering.peering.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.transit_gateway_peering.peering.edge_location #=> String
resp.transit_gateway_peering.peering.resource_arn #=> String
resp.transit_gateway_peering.peering.tags #=> Array
resp.transit_gateway_peering.peering.tags[0].key #=> String
resp.transit_gateway_peering.peering.tags[0].value #=> String
resp.transit_gateway_peering.peering.created_at #=> Time
resp.transit_gateway_peering.peering.last_modification_errors #=> Array
resp.transit_gateway_peering.peering.last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
resp.transit_gateway_peering.peering.last_modification_errors[0].message #=> String
resp.transit_gateway_peering.peering.last_modification_errors[0].resource_arn #=> String
resp.transit_gateway_peering.peering.last_modification_errors[0].request_id #=> String
resp.transit_gateway_peering.peering.last_modification_errors[0].missing_permissions_context.missing_permission #=> String
resp.transit_gateway_peering.transit_gateway_arn #=> String
resp.transit_gateway_peering.transit_gateway_peering_attachment_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :peering_id (required, String) —

    The ID of the peering request.

Returns:

See Also:



1298
1299
1300
1301
# File 'sig/client.rbs', line 1298

def get_transit_gateway_peering: (
    peering_id: ::String
  ) -> _GetTransitGatewayPeeringResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransitGatewayPeeringResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.get_transit_gateway_registrations({
  global_network_id: "GlobalNetworkId", # required
  transit_gateway_arns: ["TransitGatewayArn"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.transit_gateway_registrations #=> Array
resp.transit_gateway_registrations[0].global_network_id #=> String
resp.transit_gateway_registrations[0].transit_gateway_arn #=> String
resp.transit_gateway_registrations[0].state.code #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "FAILED"
resp.transit_gateway_registrations[0].state.message #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :transit_gateway_arns (Array<String>) —

    The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1309
1310
1311
1312
1313
1314
1315
# File 'sig/client.rbs', line 1309

def get_transit_gateway_registrations: (
    global_network_id: ::String,
    ?transit_gateway_arns: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _GetTransitGatewayRegistrationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransitGatewayRegistrationsResponseSuccess

#get_transit_gateway_route_table_attachment(params = {}) ⇒ Types::GetTransitGatewayRouteTableAttachmentResponse

Returns information about a transit gateway route table attachment.

Examples:

Request syntax with placeholder values


resp = client.get_transit_gateway_route_table_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.transit_gateway_route_table_attachment.attachment.core_network_id #=> String
resp.transit_gateway_route_table_attachment.attachment.core_network_arn #=> String
resp.transit_gateway_route_table_attachment.attachment.attachment_id #=> String
resp.transit_gateway_route_table_attachment.attachment. #=> String
resp.transit_gateway_route_table_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.transit_gateway_route_table_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.transit_gateway_route_table_attachment.attachment.edge_location #=> String
resp.transit_gateway_route_table_attachment.attachment.edge_locations #=> Array
resp.transit_gateway_route_table_attachment.attachment.edge_locations[0] #=> String
resp.transit_gateway_route_table_attachment.attachment.resource_arn #=> String
resp.transit_gateway_route_table_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.transit_gateway_route_table_attachment.attachment.segment_name #=> String
resp.transit_gateway_route_table_attachment.attachment.network_function_group_name #=> String
resp.transit_gateway_route_table_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.transit_gateway_route_table_attachment.attachment.nat_system_route_support #=> Boolean
resp.transit_gateway_route_table_attachment.attachment.tags #=> Array
resp.transit_gateway_route_table_attachment.attachment.tags[0].key #=> String
resp.transit_gateway_route_table_attachment.attachment.tags[0].value #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags #=> Array
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.transit_gateway_route_table_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.transit_gateway_route_table_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.transit_gateway_route_table_attachment.attachment.created_at #=> Time
resp.transit_gateway_route_table_attachment.attachment.updated_at #=> Time
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors #=> Array
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].message #=> String
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.transit_gateway_route_table_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.transit_gateway_route_table_attachment.peering_id #=> String
resp.transit_gateway_route_table_attachment.transit_gateway_route_table_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the transit gateway route table attachment.

Returns:

See Also:



1322
1323
1324
1325
# File 'sig/client.rbs', line 1322

def get_transit_gateway_route_table_attachment: (
    attachment_id: ::String
  ) -> _GetTransitGatewayRouteTableAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransitGatewayRouteTableAttachmentResponseSuccess

#get_vpc_attachment(params = {}) ⇒ Types::GetVpcAttachmentResponse

Returns information about a VPC attachment.

Examples:

Request syntax with placeholder values


resp = client.get_vpc_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.vpc_attachment.attachment.core_network_id #=> String
resp.vpc_attachment.attachment.core_network_arn #=> String
resp.vpc_attachment.attachment.attachment_id #=> String
resp.vpc_attachment.attachment. #=> String
resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.vpc_attachment.attachment.edge_location #=> String
resp.vpc_attachment.attachment.edge_locations #=> Array
resp.vpc_attachment.attachment.edge_locations[0] #=> String
resp.vpc_attachment.attachment.resource_arn #=> String
resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.segment_name #=> String
resp.vpc_attachment.attachment.network_function_group_name #=> String
resp.vpc_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.vpc_attachment.attachment.nat_system_route_support #=> Boolean
resp.vpc_attachment.attachment.tags #=> Array
resp.vpc_attachment.attachment.tags[0].key #=> String
resp.vpc_attachment.attachment.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.vpc_attachment.attachment.created_at #=> Time
resp.vpc_attachment.attachment.updated_at #=> Time
resp.vpc_attachment.attachment.last_modification_errors #=> Array
resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.vpc_attachment.subnet_arns #=> Array
resp.vpc_attachment.subnet_arns[0] #=> String
resp.vpc_attachment.options.ipv_6_support #=> Boolean
resp.vpc_attachment.options.appliance_mode_support #=> Boolean
resp.vpc_attachment.options.dns_support #=> Boolean
resp.vpc_attachment.options.security_group_referencing_support #=> Boolean

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

Returns:

See Also:



1332
1333
1334
1335
# File 'sig/client.rbs', line 1332

def get_vpc_attachment: (
    attachment_id: ::String
  ) -> _GetVpcAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVpcAttachmentResponseSuccess

#list_attachment_nat_configurations(params = {}) ⇒ Types::ListAttachmentNatConfigurationsResponse

Returns the NAT configurations of core network attachments. You must specify either a core network ID or an attachment ID. Only the core network owner can list NAT configurations.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_attachment_nat_configurations({
  core_network_id: "CoreNetworkId",
  attachment_id: "AttachmentId",
  filters: {
    "FilterName" => ["FilterValue"],
  },
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.attachment_nat_configurations #=> Array
resp.attachment_nat_configurations[0].attachment_id #=> String
resp.attachment_nat_configurations[0].nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.attachment_nat_configurations[0].nat_system_route_support #=> Boolean
resp.attachment_nat_configurations[0].nat_gateway_rules #=> Array
resp.attachment_nat_configurations[0].nat_gateway_rules[0].rule_number #=> Integer
resp.attachment_nat_configurations[0].nat_gateway_rules[0].match_source_cidr #=> String
resp.attachment_nat_configurations[0].nat_gateway_rules[0].nat_cidr #=> String
resp.attachment_nat_configurations[0].nat_gateway_rules[0].state #=> String, one of "CREATING", "MODIFYING", "DELETING", "ACTIVATED", "ACTIVATING", "DEACTIVATED", "DEACTIVATING", "FAILED", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (String) —

    The ID of a core network. Returns the NAT configurations of attachments in the core network that support NAT.

  • :attachment_id (String) —

    The ID of an attachment. Returns the NAT configuration of the specified attachment. If you specify both an attachment ID and a core network ID, the attachment ID is used.

  • :filters (Hash<String,Array>) —

    The filters to apply to the results. Values for the same filter are joined with OR, and different filters are joined with AND. You can specify up to 10 filter values in total. The following filters are supported:

    • nat-gateway-support: The state of NAT gateway support on the attachment, for example ENABLED.

    • nat-system-route-support: Whether system routes are installed for the attachment, true or false.

    • rule-number: The rule number of a NAT rule.

    • match-source-cidr: The source CIDR block of a NAT rule. The value must exactly match the CIDR block of the rule.

    • nat-cidr: The NAT CIDR block of a NAT rule. The value must exactly match the CIDR block of the rule.

    • nat-rule-state: The state of a NAT rule, for example ACTIVATED.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1343
1344
1345
1346
1347
1348
1349
1350
# File 'sig/client.rbs', line 1343

def list_attachment_nat_configurations: (
    ?core_network_id: ::String,
    ?attachment_id: ::String,
    ?filters: Hash[::String, Array[::String]],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListAttachmentNatConfigurationsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachmentNatConfigurationsResponseSuccess

#list_attachment_routing_policy_associations(params = {}) ⇒ Types::ListAttachmentRoutingPolicyAssociationsResponse

Lists the routing policy associations for attachments in a core network.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_attachment_routing_policy_associations({
  core_network_id: "CoreNetworkId", # required
  attachment_id: "AttachmentId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.attachment_routing_policy_associations #=> Array
resp.attachment_routing_policy_associations[0].attachment_id #=> String
resp.attachment_routing_policy_associations[0].pending_routing_policies #=> Array
resp.attachment_routing_policy_associations[0].pending_routing_policies[0] #=> String
resp.attachment_routing_policy_associations[0].associated_routing_policies #=> Array
resp.attachment_routing_policy_associations[0].associated_routing_policies[0] #=> String
resp.attachment_routing_policy_associations[0].routing_policy_label #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network to list attachment routing policy associations for.

  • :attachment_id (String) —

    The ID of a specific attachment to filter the routing policy associations.

  • :max_results (Integer) —

    The maximum number of results to return in a single page.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1358
1359
1360
1361
1362
1363
1364
# File 'sig/client.rbs', line 1358

def list_attachment_routing_policy_associations: (
    core_network_id: ::String,
    ?attachment_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListAttachmentRoutingPolicyAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachmentRoutingPolicyAssociationsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.list_attachments({
  core_network_id: "CoreNetworkId",
  attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC, DIRECT_CONNECT_GATEWAY, TRANSIT_GATEWAY_ROUTE_TABLE
  edge_location: "ExternalRegionCode",
  state: "REJECTED", # accepts REJECTED, PENDING_ATTACHMENT_ACCEPTANCE, CREATING, FAILED, AVAILABLE, UPDATING, PENDING_NETWORK_UPDATE, PENDING_TAG_ACCEPTANCE, DELETING
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.attachments #=> Array
resp.attachments[0].core_network_id #=> String
resp.attachments[0].core_network_arn #=> String
resp.attachments[0].attachment_id #=> String
resp.attachments[0]. #=> String
resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.attachments[0].state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.attachments[0].edge_location #=> String
resp.attachments[0].edge_locations #=> Array
resp.attachments[0].edge_locations[0] #=> String
resp.attachments[0].resource_arn #=> String
resp.attachments[0].attachment_policy_rule_number #=> Integer
resp.attachments[0].segment_name #=> String
resp.attachments[0].network_function_group_name #=> String
resp.attachments[0].nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.attachments[0].nat_system_route_support #=> Boolean
resp.attachments[0].tags #=> Array
resp.attachments[0].tags[0].key #=> String
resp.attachments[0].tags[0].value #=> String
resp.attachments[0].proposed_segment_change.tags #=> Array
resp.attachments[0].proposed_segment_change.tags[0].key #=> String
resp.attachments[0].proposed_segment_change.tags[0].value #=> String
resp.attachments[0].proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.attachments[0].proposed_segment_change.segment_name #=> String
resp.attachments[0].proposed_network_function_group_change.tags #=> Array
resp.attachments[0].proposed_network_function_group_change.tags[0].key #=> String
resp.attachments[0].proposed_network_function_group_change.tags[0].value #=> String
resp.attachments[0].proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.attachments[0].proposed_network_function_group_change.network_function_group_name #=> String
resp.attachments[0].created_at #=> Time
resp.attachments[0].updated_at #=> Time
resp.attachments[0].last_modification_errors #=> Array
resp.attachments[0].last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.attachments[0].last_modification_errors[0].message #=> String
resp.attachments[0].last_modification_errors[0].resource_arn #=> String
resp.attachments[0].last_modification_errors[0].request_id #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (String) —

    The ID of a core network.

  • :attachment_type (String) —

    The type of attachment.

  • :edge_location (String) —

    The Region where the edge is located.

  • :state (String) —

    The state of the attachment.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1372
1373
1374
1375
1376
1377
1378
1379
1380
# File 'sig/client.rbs', line 1372

def list_attachments: (
    ?core_network_id: ::String,
    ?attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE"),
    ?edge_location: ::String,
    ?state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING"),
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListAttachmentsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAttachmentsResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.list_connect_peers({
  core_network_id: "CoreNetworkId",
  connect_attachment_id: "AttachmentId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.connect_peers #=> Array
resp.connect_peers[0].core_network_id #=> String
resp.connect_peers[0].connect_attachment_id #=> String
resp.connect_peers[0].connect_peer_id #=> String
resp.connect_peers[0].edge_location #=> String
resp.connect_peers[0].connect_peer_state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.connect_peers[0].created_at #=> Time
resp.connect_peers[0].tags #=> Array
resp.connect_peers[0].tags[0].key #=> String
resp.connect_peers[0].tags[0].value #=> String
resp.connect_peers[0].subnet_arn #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (String) —

    The ID of a core network.

  • :connect_attachment_id (String) —

    The ID of the attachment.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1388
1389
1390
1391
1392
1393
1394
# File 'sig/client.rbs', line 1388

def list_connect_peers: (
    ?core_network_id: ::String,
    ?connect_attachment_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListConnectPeersResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConnectPeersResponseSuccess

#list_context_changes(params = {}) ⇒ Types::ListContextChangesResponse

Returns the context entries that were added to or removed from a context store after the specified version. The context store must be in the AVAILABLE state.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_context_changes({
  context_store_id: "ContextStoreId", # required
  from_version_id: "ConstrainedString", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.context_changes #=> Array
resp.context_changes[0].change_type #=> String, one of "ADDED", "REMOVED"
resp.context_changes[0].context.context_id #=> String
resp.context_changes[0].context.context_type #=> String
resp.context_changes[0].context.segment_type #=> String
resp.context_changes[0].context.public_id #=> String
resp.context_changes[0].context.region #=> String
resp.context_changes[0].context.availability_zone #=> String
resp.context_changes[0].context.attachment_type #=> String
resp.from_version_id #=> String
resp.to_version_id #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :from_version_id (required, String) —

    The version to return changes from. Specify a version returned by ListContexts, GetContextVersion, or the ToVersionId of a previous ListContextChanges request. If the version is no longer available, the request fails, and you must call ListContexts to get the current context entries.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1404
1405
1406
1407
1408
1409
1410
# File 'sig/client.rbs', line 1404

def list_context_changes: (
    context_store_id: ::String,
    from_version_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListContextChangesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContextChangesResponseSuccess

#list_context_store_associations(params = {}) ⇒ Types::ListContextStoreAssociationsResponse

Returns the transit gateway associations of a context store.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_context_store_associations({
  context_store_id: "ContextStoreId", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.context_store_associations #=> Array
resp.context_store_associations[0].context_store_id #=> String
resp.context_store_associations[0].transit_gateway_arn #=> String
resp.context_store_associations[0].created_at #=> Time
resp.context_store_associations[0].state #=> String, one of "ASSOCIATING", "ASSOCIATED", "DISASSOCIATING", "FAILED"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1418
1419
1420
1421
1422
1423
# File 'sig/client.rbs', line 1418

def list_context_store_associations: (
    context_store_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListContextStoreAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContextStoreAssociationsResponseSuccess

#list_context_stores(params = {}) ⇒ Types::ListContextStoresResponse

Returns the context stores in your account. You can optionally return only the context stores in a specific global network.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_context_stores({
  global_network_id: "GlobalNetworkId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.context_stores #=> Array
resp.context_stores[0].global_network_id #=> String
resp.context_stores[0].context_store_id #=> String
resp.context_stores[0].context_store_arn #=> String
resp.context_stores[0].description #=> String
resp.context_stores[0].created_at #=> Time
resp.context_stores[0].state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED"
resp.context_stores[0].tags #=> Array
resp.context_stores[0].tags[0].key #=> String
resp.context_stores[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (String) —

    The ID of a global network. If you specify this parameter, only the context stores in the global network are returned.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1431
1432
1433
1434
1435
1436
# File 'sig/client.rbs', line 1431

def list_context_stores: (
    ?global_network_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListContextStoresResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContextStoresResponseSuccess

#list_contexts(params = {}) ⇒ Types::ListContextsResponse

Returns the context entries of a context store, and the version of the context entries. To get the context entries that were added or removed after this version, specify the returned VersionId in a ListContextChanges request. The context store must be in the AVAILABLE state.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_contexts({
  context_store_id: "ContextStoreId", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.contexts #=> Array
resp.contexts[0].context_id #=> String
resp.contexts[0].context_type #=> String
resp.contexts[0].segment_type #=> String
resp.contexts[0].public_id #=> String
resp.contexts[0].region #=> String
resp.contexts[0].availability_zone #=> String
resp.contexts[0].attachment_type #=> String
resp.next_token #=> String
resp.version_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1445
1446
1447
1448
1449
1450
# File 'sig/client.rbs', line 1445

def list_contexts: (
    context_store_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListContextsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListContextsResponseSuccess

#list_core_network_dry_run_routes(params = {}) ⇒ Types::ListCoreNetworkDryRunRoutesResponse

Returns the routes that a core network policy version produces in a segment or network function group at an edge location. Each route shows how it changes compared to the current routes of the core network.

Before you call this operation, use StartCoreNetworkPolicyDryRun to start a dry run of the policy version, and wait for the dry run to reach the AVAILABLE state.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: Example – Listing the routes that a dry run adds to a segment


resp = client.list_core_network_dry_run_routes({
  core_network_id: "core-network-0123456789abcdef0", 
  dry_run_change_states: [
    "ADDED", 
  ], 
  edge_location: "aa-example-1", 
  max_results: 10, 
  policy_version_id: 2, 
  segment_name: "prod", 
})

resp.to_h outputs the following:
{
  network_routes: [
    {
      destination_cidr_block: "10.24.34.0/24", 
      destinations: [
        {
          core_network_attachment_id: "attachment-0123456789abcdef0", 
          edge_location: "aa-example-1", 
          resource_id: "vpc-0123456789abcdef0", 
          resource_type: "vpc", 
          segment_name: "prod", 
        }, 
      ], 
      dry_run_change_state: "ADDED", 
      is_overlapping_route: false, 
      state: "ACTIVE", 
      type: "PROPAGATED", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_core_network_dry_run_routes({
  core_network_id: "CoreNetworkId", # required
  edge_location: "ExternalRegionCode", # required
  segment_name: "ConstrainedString",
  network_function_group_name: "ConstrainedString",
  policy_version_id: 1, # required
  exact_cidr_matches: ["ConstrainedString"],
  longest_prefix_matches: ["ConstrainedString"],
  subnet_of_matches: ["ConstrainedString"],
  supernet_of_matches: ["ConstrainedString"],
  prefix_list_ids: ["ConstrainedString"],
  states: ["ACTIVE"], # accepts ACTIVE, BLACKHOLE, PENDING_DEPLOYMENT
  types: ["PROPAGATED"], # accepts PROPAGATED, STATIC, SYSTEM
  destination_filters: {
    "FilterName" => ["FilterValue"],
  },
  dry_run_change_states: ["ADDED"], # accepts ADDED, REMOVED, UPDATED, NO_CHANGES
  is_overlapping_route: false,
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.network_routes #=> Array
resp.network_routes[0].destination_cidr_block #=> String
resp.network_routes[0].destinations #=> Array
resp.network_routes[0].destinations[0].core_network_attachment_id #=> String
resp.network_routes[0].destinations[0].transit_gateway_attachment_id #=> String
resp.network_routes[0].destinations[0].segment_name #=> String
resp.network_routes[0].destinations[0].network_function_group_name #=> String
resp.network_routes[0].destinations[0].edge_location #=> String
resp.network_routes[0].destinations[0].resource_type #=> String
resp.network_routes[0].destinations[0].resource_id #=> String
resp.network_routes[0].prefix_list_id #=> String
resp.network_routes[0].state #=> String, one of "ACTIVE", "BLACKHOLE", "PENDING_DEPLOYMENT"
resp.network_routes[0].type #=> String, one of "PROPAGATED", "STATIC", "SYSTEM"
resp.network_routes[0].is_overlapping_route #=> Boolean
resp.network_routes[0].dry_run_change_state #=> String, one of "ADDED", "REMOVED", "UPDATED", "NO_CHANGES"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network.

  • :edge_location (required, String) —

    The edge location to return routes for.

  • :segment_name (String) —

    The name of the segment to return routes for. You must specify either SegmentName or NetworkFunctionGroupName, but not both.

  • :network_function_group_name (String) —

    The name of the network function group to return routes for. You must specify either SegmentName or NetworkFunctionGroupName, but not both.

  • :policy_version_id (required, Integer) —

    The ID of the policy version that the dry run was started for.

  • :exact_cidr_matches (Array<String>) —

    The Classless Inter-Domain Routing (CIDR) blocks that the routes must exactly match. You can specify up to 10 values.

  • :longest_prefix_matches (Array<String>) —

    The CIDR blocks for which to return the most specific route (longest prefix match). You can specify up to 10 values.

  • :subnet_of_matches (Array<String>) —

    The CIDR blocks that the CIDR blocks of the routes must be subnets of. You can specify up to 10 values.

  • :supernet_of_matches (Array<String>) —

    The CIDR blocks that the CIDR blocks of the routes must encompass. For example, if you specify 10.24.34.0/23, the results include 10.24.34.0/22. You can specify up to 10 values.

  • :prefix_list_ids (Array<String>) —

    The IDs of the prefix lists that the routes must belong to. You can specify up to 10 values.

  • :states (Array<String>) —

    The states of the routes to return. You can specify up to 10 values.

  • :types (Array<String>) —

    The types of the routes to return. You can specify up to 10 values.

  • :destination_filters (Hash<String,Array>) —

    Filters the routes by destination. Possible values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE. You can specify up to 20 filters, with up to 20 values for each filter.

  • :dry_run_change_states (Array<String>) —

    The change states that the routes must have. For a description of each change state, see NetworkRoute$DryRunChangeState.

  • :is_overlapping_route (Boolean) —

    Specifies whether to return only overlapping routes.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'sig/client.rbs', line 1458

def list_core_network_dry_run_routes: (
    core_network_id: ::String,
    edge_location: ::String,
    ?segment_name: ::String,
    ?network_function_group_name: ::String,
    policy_version_id: ::Integer,
    ?exact_cidr_matches: Array[::String],
    ?longest_prefix_matches: Array[::String],
    ?subnet_of_matches: Array[::String],
    ?supernet_of_matches: Array[::String],
    ?prefix_list_ids: Array[::String],
    ?states: Array[("ACTIVE" | "BLACKHOLE" | "PENDING_DEPLOYMENT")],
    ?types: Array[("PROPAGATED" | "STATIC" | "SYSTEM")],
    ?destination_filters: Hash[::String, Array[::String]],
    ?dry_run_change_states: Array[("ADDED" | "REMOVED" | "UPDATED" | "NO_CHANGES")],
    ?is_overlapping_route: bool,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListCoreNetworkDryRunRoutesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreNetworkDryRunRoutesResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.list_core_network_policy_versions({
  core_network_id: "CoreNetworkId", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.core_network_policy_versions #=> Array
resp.core_network_policy_versions[0].core_network_id #=> String
resp.core_network_policy_versions[0].policy_version_id #=> Integer
resp.core_network_policy_versions[0].alias #=> String, one of "LIVE", "LATEST"
resp.core_network_policy_versions[0].description #=> String
resp.core_network_policy_versions[0].created_at #=> Time
resp.core_network_policy_versions[0].change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1485
1486
1487
1488
1489
1490
# File 'sig/client.rbs', line 1485

def list_core_network_policy_versions: (
    core_network_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListCoreNetworkPolicyVersionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreNetworkPolicyVersionsResponseSuccess

#list_core_network_prefix_list_associations(params = {}) ⇒ Types::ListCoreNetworkPrefixListAssociationsResponse

Lists the prefix list associations for a core network.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_core_network_prefix_list_associations({
  core_network_id: "CoreNetworkId", # required
  prefix_list_arn: "PrefixListArn",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.prefix_list_associations #=> Array
resp.prefix_list_associations[0].core_network_id #=> String
resp.prefix_list_associations[0].prefix_list_arn #=> String
resp.prefix_list_associations[0].prefix_list_alias #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network to list prefix list associations for.

  • :prefix_list_arn (String) —

    The ARN of a specific prefix list to filter the associations.

  • :max_results (Integer) —

    The maximum number of results to return in a single page.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1498
1499
1500
1501
1502
1503
1504
# File 'sig/client.rbs', line 1498

def list_core_network_prefix_list_associations: (
    core_network_id: ::String,
    ?prefix_list_arn: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListCoreNetworkPrefixListAssociationsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreNetworkPrefixListAssociationsResponseSuccess

#list_core_network_routing_information(params = {}) ⇒ Types::ListCoreNetworkRoutingInformationResponse

Lists routing information for a core network, including routes and their attributes.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_core_network_routing_information({
  core_network_id: "CoreNetworkId", # required
  segment_name: "ConstrainedString", # required
  edge_location: "ExternalRegionCode", # required
  next_hop_filters: {
    "FilterName" => ["FilterValue"],
  },
  exact_prefix_matches: ["ConstrainedString"],
  longest_prefix_matches: ["ConstrainedString"],
  subnet_of_matches: ["ConstrainedString"],
  supernet_of_matches: ["ConstrainedString"],
  local_preference_matches: ["ConstrainedString"],
  exact_as_path_matches: ["ConstrainedString"],
  med_matches: ["ConstrainedString"],
  community_matches: ["ConstrainedString"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.core_network_routing_information #=> Array
resp.core_network_routing_information[0].prefix #=> String
resp.core_network_routing_information[0].next_hop.ip_address #=> String
resp.core_network_routing_information[0].next_hop.core_network_attachment_id #=> String
resp.core_network_routing_information[0].next_hop.resource_id #=> String
resp.core_network_routing_information[0].next_hop.resource_type #=> String
resp.core_network_routing_information[0].next_hop.segment_name #=> String
resp.core_network_routing_information[0].next_hop.edge_location #=> String
resp.core_network_routing_information[0].local_preference #=> String
resp.core_network_routing_information[0].med #=> String
resp.core_network_routing_information[0].as_path #=> Array
resp.core_network_routing_information[0].as_path[0] #=> String
resp.core_network_routing_information[0].communities #=> Array
resp.core_network_routing_information[0].communities[0] #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network to retrieve routing information for.

  • :segment_name (required, String) —

    The name of the segment to filter routing information by.

  • :edge_location (required, String) —

    The edge location to filter routing information by.

  • :next_hop_filters (Hash<String,Array>) —

    Filters to apply based on next hop information. Each filter value must exactly match the corresponding next hop value. Values for the same filter are joined with OR, and different filters are joined with AND. The following filters are supported:

    • core-network-attachment-id: The ID of the core network attachment for the next hop, for example attachment-0123456789abcdef0.

    • segment-name: The name of the segment for the next hop.

    • edge-location: The edge location for the next hop, for example us-east-1.

    • resource-id: The ID of the resource for the next hop.

    • resource-type: The type of resource for the next hop. The possible values are vpc, vpn, connect-peer, direct-connect-gateway, transit-gateway-route-table, attachment, and blackhole.

    • ip-address: The IP address of the next hop. For a Site-to-Site VPN next hop, this is the outside IP address of the AWS side of the VPN tunnel. For a Connect peer next hop, this is the core network BGP address of the Connect peer. The value must be a single IPv4 or IPv6 address.

    You can specify up to 10 filter values in total across NextHopFilters and the other match parameters in the request. Each filter value can be up to 256 characters.

  • :exact_prefix_matches (Array<String>) —

    Exact prefix values to match when filtering routing information.

  • :longest_prefix_matches (Array<String>) —

    Filters routing information based on the longest prefix that matches each provided IP address.

  • :subnet_of_matches (Array<String>) —

    Prefix values to filter routing information whose prefix is a subnet of the prefixes provided.

  • :supernet_of_matches (Array<String>) —

    Prefix values to filter routing information whose prefix is a supernet of the prefixes provided.

  • :local_preference_matches (Array<String>) —

    Local preference values to match when filtering routing information.

  • :exact_as_path_matches (Array<String>) —

    Exact AS path values to match when filtering routing information.

  • :med_matches (Array<String>) —

    Multi-Exit Discriminator (MED) values to match when filtering routing information.

  • :community_matches (Array<String>) —

    BGP community values to match when filtering routing information.

  • :max_results (Integer) —

    The maximum number of routing information entries to return in a single page.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
# File 'sig/client.rbs', line 1512

def list_core_network_routing_information: (
    core_network_id: ::String,
    segment_name: ::String,
    edge_location: ::String,
    ?next_hop_filters: Hash[::String, Array[::String]],
    ?exact_prefix_matches: Array[::String],
    ?longest_prefix_matches: Array[::String],
    ?subnet_of_matches: Array[::String],
    ?supernet_of_matches: Array[::String],
    ?local_preference_matches: Array[::String],
    ?exact_as_path_matches: Array[::String],
    ?med_matches: Array[::String],
    ?community_matches: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListCoreNetworkRoutingInformationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreNetworkRoutingInformationResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.list_core_networks({
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.core_networks #=> Array
resp.core_networks[0].core_network_id #=> String
resp.core_networks[0].core_network_arn #=> String
resp.core_networks[0].global_network_id #=> String
resp.core_networks[0]. #=> String
resp.core_networks[0].state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
resp.core_networks[0].description #=> String
resp.core_networks[0].tags #=> Array
resp.core_networks[0].tags[0].key #=> String
resp.core_networks[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1536
1537
1538
1539
1540
# File 'sig/client.rbs', line 1536

def list_core_networks: (
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListCoreNetworksResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreNetworksResponseSuccess

#list_network_scope_principals(params = {}) ⇒ Types::ListNetworkScopePrincipalsResponse

Lists the principals associated with a network scope. Results are paginated. To get the next page of results, use NextToken.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: Example – Listing the principals of a network scope


resp = client.list_network_scope_principals({
  max_results: 10, 
  network_scope_id: "network-scope-0123456789abcdef0", 
})

resp.to_h outputs the following:
{
  network_scope_principals: [
    {
      network_scope_id: "network-scope-0123456789abcdef0", 
      principal: "444455556666", 
      principal_regions: [
        "us-east-1", 
        "us-west-2", 
      ], 
      state: "ASSOCIATED", 
    }, 
    {
      network_scope_id: "network-scope-0123456789abcdef0", 
      principal: "777788889999", 
      principal_regions: [
        "us-east-1", 
        "us-west-2", 
      ], 
      state: "ASSOCIATING", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_network_scope_principals({
  network_scope_id: "NetworkScopeId", # required
  principals: ["Principal"],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.network_scope_principals #=> Array
resp.network_scope_principals[0].network_scope_id #=> String
resp.network_scope_principals[0].principal #=> String
resp.network_scope_principals[0].principal_regions #=> Array
resp.network_scope_principals[0].principal_regions[0] #=> String
resp.network_scope_principals[0].state #=> String, one of "ASSOCIATING", "ASSOCIATED", "FAILED", "DISASSOCIATING", "DISASSOCIATED", "INACTIVE"
resp.network_scope_principals[0].state_reason.code #=> String, one of "ORGANIZATION_ACCESS_LOST", "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NOT_IN_OWNER_ORGANIZATION", "ORGANIZATIONAL_UNIT_DELETED", "NETWORK_MANAGER_SERVICE_LINKED_ROLE_NOT_ASSUMABLE", "REGION_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "NETWORK_SECURITY_ANALYSIS_POLICY_ATTACHMENT_LIMIT_EXCEEDED"
resp.network_scope_principals[0].state_reason.message #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :network_scope_id (required, String) —

    The ID of the network scope.

  • :principals (Array<String>) —

    The principals to return. Only principals that are associated with the network scope are returned, so a page can contain fewer than MaxResults principals and still include a NextToken. You can specify from 1 to 100 principals.

  • :max_results (Integer) —

    The maximum number of results to return. Valid values are from 1 to 500.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1548
1549
1550
1551
1552
1553
1554
# File 'sig/client.rbs', line 1548

def list_network_scope_principals: (
    network_scope_id: ::String,
    ?principals: Array[::String],
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListNetworkScopePrincipalsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworkScopePrincipalsResponseSuccess

#list_network_scopes(params = {}) ⇒ Types::ListNetworkScopesResponse

Lists the network scopes owned by your AWS account in the current Region. Results are paginated. To get the next page of results, use NextToken.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: Example – Listing network scopes


resp = client.list_network_scopes({
  max_results: 10, 
})

resp.to_h outputs the following:
{
  network_scopes: [
    {
      access_mode: "ACCOUNTS", 
      created_at: Time.parse("2026-12-02T17:00:00Z"), 
      name: "production-network", 
      network_scope_arn: "arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0", 
      network_scope_id: "network-scope-0123456789abcdef0", 
      state: "AVAILABLE", 
    }, 
    {
      access_mode: "ORGANIZATIONS", 
      created_at: Time.parse("2026-11-30T09:15:00Z"), 
      name: "organization-network", 
      network_scope_arn: "arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0abcdef1234567890", 
      network_scope_id: "network-scope-0abcdef1234567890", 
      state: "AVAILABLE", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_network_scopes({
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.network_scopes #=> Array
resp.network_scopes[0].network_scope_id #=> String
resp.network_scopes[0].network_scope_arn #=> String
resp.network_scopes[0].name #=> String
resp.network_scopes[0].access_mode #=> String, one of "ACCOUNTS", "ORGANIZATIONS"
resp.network_scopes[0].state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "FAILED"
resp.network_scopes[0].state_reason.code #=> String, one of "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "PRINCIPALS_NOT_FULLY_COVERED"
resp.network_scopes[0].state_reason.message #=> String
resp.network_scopes[0].created_at #=> Time
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :max_results (Integer) —

    The maximum number of results to return. Valid values are from 1 to 500.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1562
1563
1564
1565
1566
# File 'sig/client.rbs', line 1562

def list_network_scopes: (
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListNetworkScopesResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworkScopesResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.list_organization_service_access_status({
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.organization_status.organization_id #=> String
resp.organization_status.organization_aws_service_access_status #=> String
resp.organization_status.slr_deployment_status #=> String
resp.organization_status. #=> Array
resp.organization_status.[0]. #=> String
resp.organization_status.[0].slr_deployment_status #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1574
1575
1576
1577
1578
# File 'sig/client.rbs', line 1574

def list_organization_service_access_status: (
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListOrganizationServiceAccessStatusResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationServiceAccessStatusResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.list_peerings({
  core_network_id: "CoreNetworkId",
  peering_type: "TRANSIT_GATEWAY", # accepts TRANSIT_GATEWAY
  edge_location: "ExternalRegionCode",
  state: "CREATING", # accepts CREATING, FAILED, AVAILABLE, DELETING
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.peerings #=> Array
resp.peerings[0].core_network_id #=> String
resp.peerings[0].core_network_arn #=> String
resp.peerings[0].peering_id #=> String
resp.peerings[0]. #=> String
resp.peerings[0].peering_type #=> String, one of "TRANSIT_GATEWAY"
resp.peerings[0].state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
resp.peerings[0].edge_location #=> String
resp.peerings[0].resource_arn #=> String
resp.peerings[0].tags #=> Array
resp.peerings[0].tags[0].key #=> String
resp.peerings[0].tags[0].value #=> String
resp.peerings[0].created_at #=> Time
resp.peerings[0].last_modification_errors #=> Array
resp.peerings[0].last_modification_errors[0].code #=> String, one of "TRANSIT_GATEWAY_NOT_FOUND", "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", "MISSING_PERMISSIONS", "INTERNAL_ERROR", "EDGE_LOCATION_PEER_DUPLICATE", "INVALID_TRANSIT_GATEWAY_STATE", "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED", "CREATION_FAILED", "DELETION_FAILED"
resp.peerings[0].last_modification_errors[0].message #=> String
resp.peerings[0].last_modification_errors[0].resource_arn #=> String
resp.peerings[0].last_modification_errors[0].request_id #=> String
resp.peerings[0].last_modification_errors[0].missing_permissions_context.missing_permission #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (String) —

    The ID of a core network.

  • :peering_type (String) —

    Returns a list of a peering requests.

  • :edge_location (String) —

    Returns a list edge locations for the

  • :state (String) —

    Returns a list of the peering request states.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'sig/client.rbs', line 1586

def list_peerings: (
    ?core_network_id: ::String,
    ?peering_type: ("TRANSIT_GATEWAY"),
    ?edge_location: ::String,
    ?state: ("CREATING" | "FAILED" | "AVAILABLE" | "DELETING"),
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListPeeringsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPeeringsResponseSuccess

#list_sse_connect_transit_gateway_attachments(params = {}) ⇒ Types::ListSseConnectTransitGatewayAttachmentsResponse

Lists the SSE connect transit gateway attachments in your account. You can return only the attachments of a specific SSE connect. Results are paginated. Use the NextToken parameter to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: To list the transit gateway attachments of an SSE connect


# The following example lists the transit gateway attachments of an SSE connect.

resp = client.list_sse_connect_transit_gateway_attachments({
  sse_connect_id: "sse-connect-1234567890abcdef0", 
})

resp.to_h outputs the following:
{
  sse_connect_transit_gateway_attachments: [
    {
      owner_account_id: "111122223333", 
      sse_connect_id: "sse-connect-1234567890abcdef0", 
      sse_connect_transit_gateway_attachment_arn: "arn:aws:networkmanager::111122223333:sse-connect-tgw-attachment/sse-connect-tgw-attach-1234567890abcdef0", 
      sse_connect_transit_gateway_attachment_id: "sse-connect-tgw-attach-1234567890abcdef0", 
      state: "AVAILABLE", 
      transit_gateway_arn: "arn:aws:ec2:aa-example-1:111122223333:transit-gateway/tgw-1234567890abcdef0", 
      transit_gateway_attachment_id: "tgw-attach-1234567890abcdef0", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_sse_connect_transit_gateway_attachments({
  sse_connect_id: "SseConnectId",
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.sse_connect_transit_gateway_attachments #=> Array
resp.sse_connect_transit_gateway_attachments[0].sse_connect_transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachments[0].sse_connect_transit_gateway_attachment_arn #=> String
resp.sse_connect_transit_gateway_attachments[0].sse_connect_id #=> String
resp.sse_connect_transit_gateway_attachments[0]. #=> String
resp.sse_connect_transit_gateway_attachments[0].transit_gateway_arn #=> String
resp.sse_connect_transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
resp.sse_connect_transit_gateway_attachments[0].state #=> String, one of "CREATING", "PENDING_ATTACHMENT_ACCEPTANCE", "AVAILABLE", "UPDATING", "FAILED", "REJECTED", "DELETING", "DELETED"
resp.sse_connect_transit_gateway_attachments[0].state_reason.code #=> String, one of "TRANSIT_GATEWAY_OWNER_REJECTED"
resp.sse_connect_transit_gateway_attachments[0].state_reason.message #=> String
resp.sse_connect_transit_gateway_attachments[0].created_at #=> Time
resp.sse_connect_transit_gateway_attachments[0].updated_at #=> Time
resp.sse_connect_transit_gateway_attachments[0].tags #=> Array
resp.sse_connect_transit_gateway_attachments[0].tags[0].key #=> String
resp.sse_connect_transit_gateway_attachments[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_id (String) —

    The ID of an SSE connect. If you specify this parameter, only the attachments of this SSE connect are returned.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1615
1616
1617
1618
1619
1620
# File 'sig/client.rbs', line 1615

def list_sse_connect_transit_gateway_attachments: (
    ?sse_connect_id: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListSseConnectTransitGatewayAttachmentsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSseConnectTransitGatewayAttachmentsResponseSuccess

#list_sse_connects(params = {}) ⇒ Types::ListSseConnectsResponse

Lists the SSE connects in your account. Results are paginated. Use the NextToken parameter to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: To list SSE connects


# The following example lists the SSE connects in your account.

resp = client.list_sse_connects({
})

resp.to_h outputs the following:
{
  sse_connects: [
    {
      description: "Branch internet egress", 
      partner_link_status: "LINKED", 
      sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
      sse_connect_id: "sse-connect-1234567890abcdef0", 
      sse_vendor: "PALO_ALTO", 
      state: "AVAILABLE", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_sse_connects({
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.sse_connects #=> Array
resp.sse_connects[0].sse_connect_id #=> String
resp.sse_connects[0].sse_connect_arn #=> String
resp.sse_connects[0].description #=> String
resp.sse_connects[0].sse_regions #=> Array
resp.sse_connects[0].sse_regions[0].region_name #=> String
resp.sse_connects[0].sse_regions[0].peer_health_status #=> String, one of "HEALTHY", "UNHEALTHY"
resp.sse_connects[0].attachment_regions #=> Array
resp.sse_connects[0].attachment_regions[0].region_name #=> String
resp.sse_connects[0].sse_vendor #=> String
resp.sse_connects[0].state #=> String, one of "CREATING", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED"
resp.sse_connects[0].partner_link_status #=> String, one of "PENDING", "LINKED", "NOT_LINKED"
resp.sse_connects[0].created_at #=> Time
resp.sse_connects[0].updated_at #=> Time
resp.sse_connects[0].tags #=> Array
resp.sse_connects[0].tags[0].key #=> String
resp.sse_connects[0].tags[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1628
1629
1630
1631
1632
# File 'sig/client.rbs', line 1628

def list_sse_connects: (
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListSseConnectsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSseConnectsResponseSuccess

#list_sse_regions(params = {}) ⇒ Types::ListSSERegionsResponse

Lists the Regions where an SSE provider is available. You can specify these Regions when you create or update an SSE connect. Results are paginated. Use the NextToken parameter to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: To list the Regions where an SSE provider is available


# The following example lists where an SSE provider is available.

resp = client.list_sse_regions({
  sse_vendor: "PALO_ALTO", 
})

resp.to_h outputs the following:
{
  regions: [
    "aa-example-3", 
    "aa-example-1", 
    "aa-example-2", 
  ], 
}

Request syntax with placeholder values


resp = client.list_sse_regions({
  sse_vendor: "SseVendor", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.regions #=> Array
resp.regions[0] #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_vendor (required, String) —

    The SSE provider.

  • :max_results (Integer) —

    The maximum number of results to return.

  • :next_token (String) —

    The token for the next page of results.

Returns:

See Also:



1602
1603
1604
1605
1606
1607
# File 'sig/client.rbs', line 1602

def list_sse_regions: (
    sse_vendor: ::String,
    ?max_results: ::Integer,
    ?next_token: ::String
  ) -> _ListSSERegionsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSSERegionsResponseSuccess

#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse

Lists the tags for a specified resource.

Examples:

Request syntax with placeholder values


resp = client.list_tags_for_resource({
  resource_arn: "ResourceArn", # required
})

Response structure


resp.tag_list #=> Array
resp.tag_list[0].key #=> String
resp.tag_list[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource.

Returns:

See Also:



1639
1640
1641
1642
# File 'sig/client.rbs', line 1639

def list_tags_for_resource: (
    resource_arn: ::String
  ) -> _ListTagsForResourceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess

#put_attachment_routing_policy_label(params = {}) ⇒ Types::PutAttachmentRoutingPolicyLabelResponse

Applies a routing policy label to an attachment for traffic routing decisions.

Examples:

Request syntax with placeholder values


resp = client.put_attachment_routing_policy_label({
  core_network_id: "CoreNetworkId", # required
  attachment_id: "AttachmentId", # required
  routing_policy_label: "ConstrainedString", # required
  client_token: "ClientToken",
})

Response structure


resp.core_network_id #=> String
resp.attachment_id #=> String
resp.routing_policy_label #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network containing the attachment.

  • :attachment_id (required, String) —

    The ID of the attachment to apply the routing policy label to.

  • :routing_policy_label (required, String) —

    The routing policy label to apply to the attachment.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



1651
1652
1653
1654
1655
1656
1657
# File 'sig/client.rbs', line 1651

def put_attachment_routing_policy_label: (
    core_network_id: ::String,
    attachment_id: ::String,
    routing_policy_label: ::String,
    ?client_token: ::String
  ) -> _PutAttachmentRoutingPolicyLabelResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAttachmentRoutingPolicyLabelResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.put_core_network_policy({
  core_network_id: "CoreNetworkId", # required
  policy_document: "CoreNetworkPolicyDocument", # required
  description: "ConstrainedString",
  latest_version_id: 1,
  client_token: "ClientToken",
})

Response structure


resp.core_network_policy.core_network_id #=> String
resp.core_network_policy.policy_version_id #=> Integer
resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
resp.core_network_policy.description #=> String
resp.core_network_policy.created_at #=> Time
resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
resp.core_network_policy.policy_errors #=> Array
resp.core_network_policy.policy_errors[0].error_code #=> String
resp.core_network_policy.policy_errors[0].message #=> String
resp.core_network_policy.policy_errors[0].path #=> String
resp.core_network_policy.policy_document #=> String
resp.core_network_policy.dry_run_state #=> String, one of "PENDING", "AVAILABLE", "STALE", "FAILED"
resp.core_network_policy.dry_run_updated_at #=> Time
resp.core_network_policy.dry_run_failure_reason #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :policy_document (required, String) —

    The policy document.

    SDK automatically handles json encoding and base64 encoding for you when the required value (Hash, Array, etc.) is provided according to the description.

  • :description (String) —

    a core network policy description.

  • :latest_version_id (Integer) —

    The ID of a core network policy.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



1664
1665
1666
1667
1668
1669
1670
1671
# File 'sig/client.rbs', line 1664

def put_core_network_policy: (
    core_network_id: ::String,
    policy_document: ::String,
    ?description: ::String,
    ?latest_version_id: ::Integer,
    ?client_token: ::String
  ) -> _PutCoreNetworkPolicyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutCoreNetworkPolicyResponseSuccess

#put_resource_policy(params = {}) ⇒ Struct

Creates or updates a resource policy.

Examples:

Request syntax with placeholder values


resp = client.put_resource_policy({
  policy_document: "ResourcePolicyDocument", # required
  resource_arn: "ResourceArn", # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :policy_document (required, String) —

    The JSON resource policy document.

    SDK automatically handles json encoding and base64 encoding for you when the required value (Hash, Array, etc.) is provided according to the description.

  • :resource_arn (required, String) —

    The ARN of the resource policy.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1677
1678
1679
1680
1681
# File 'sig/client.rbs', line 1677

def put_resource_policy: (
    policy_document: ::String,
    resource_arn: ::String
  ) -> _PutResourcePolicyResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.register_transit_gateway({
  global_network_id: "GlobalNetworkId", # required
  transit_gateway_arn: "TransitGatewayArn", # required
})

Response structure


resp.transit_gateway_registration.global_network_id #=> String
resp.transit_gateway_registration.transit_gateway_arn #=> String
resp.transit_gateway_registration.state.code #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "FAILED"
resp.transit_gateway_registration.state.message #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :transit_gateway_arn (required, String) —

    The Amazon Resource Name (ARN) of the transit gateway.

Returns:

See Also:



1688
1689
1690
1691
1692
# File 'sig/client.rbs', line 1688

def register_transit_gateway: (
    global_network_id: ::String,
    transit_gateway_arn: ::String
  ) -> _RegisterTransitGatewayResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterTransitGatewayResponseSuccess

#reject_attachment(params = {}) ⇒ Types::RejectAttachmentResponse

Rejects a core network attachment request.

Examples:

Request syntax with placeholder values


resp = client.reject_attachment({
  attachment_id: "AttachmentId", # required
})

Response structure


resp.attachment.core_network_id #=> String
resp.attachment.core_network_arn #=> String
resp.attachment.attachment_id #=> String
resp.attachment. #=> String
resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.attachment.edge_location #=> String
resp.attachment.edge_locations #=> Array
resp.attachment.edge_locations[0] #=> String
resp.attachment.resource_arn #=> String
resp.attachment.attachment_policy_rule_number #=> Integer
resp.attachment.segment_name #=> String
resp.attachment.network_function_group_name #=> String
resp.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.attachment.nat_system_route_support #=> Boolean
resp.attachment.tags #=> Array
resp.attachment.tags[0].key #=> String
resp.attachment.tags[0].value #=> String
resp.attachment.proposed_segment_change.tags #=> Array
resp.attachment.proposed_segment_change.tags[0].key #=> String
resp.attachment.proposed_segment_change.tags[0].value #=> String
resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.attachment.proposed_segment_change.segment_name #=> String
resp.attachment.proposed_network_function_group_change.tags #=> Array
resp.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.attachment.created_at #=> Time
resp.attachment.updated_at #=> Time
resp.attachment.last_modification_errors #=> Array
resp.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.attachment.last_modification_errors[0].message #=> String
resp.attachment.last_modification_errors[0].resource_arn #=> String
resp.attachment.last_modification_errors[0].request_id #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

Returns:

See Also:



1699
1700
1701
1702
# File 'sig/client.rbs', line 1699

def reject_attachment: (
    attachment_id: ::String
  ) -> _RejectAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectAttachmentResponseSuccess

#remove_attachment_routing_policy_label(params = {}) ⇒ Types::RemoveAttachmentRoutingPolicyLabelResponse

Removes a routing policy label from an attachment.

Examples:

Request syntax with placeholder values


resp = client.remove_attachment_routing_policy_label({
  core_network_id: "CoreNetworkId", # required
  attachment_id: "AttachmentId", # required
})

Response structure


resp.core_network_id #=> String
resp.attachment_id #=> String
resp.routing_policy_label #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network containing the attachment.

  • :attachment_id (required, String) —

    The ID of the attachment to remove the routing policy label from.

Returns:

See Also:



1711
1712
1713
1714
1715
# File 'sig/client.rbs', line 1711

def remove_attachment_routing_policy_label: (
    core_network_id: ::String,
    attachment_id: ::String
  ) -> _RemoveAttachmentRoutingPolicyLabelResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveAttachmentRoutingPolicyLabelResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.restore_core_network_policy_version({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1, # required
})

Response structure


resp.core_network_policy.core_network_id #=> String
resp.core_network_policy.policy_version_id #=> Integer
resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
resp.core_network_policy.description #=> String
resp.core_network_policy.created_at #=> Time
resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
resp.core_network_policy.policy_errors #=> Array
resp.core_network_policy.policy_errors[0].error_code #=> String
resp.core_network_policy.policy_errors[0].message #=> String
resp.core_network_policy.policy_errors[0].path #=> String
resp.core_network_policy.policy_document #=> String
resp.core_network_policy.dry_run_state #=> String, one of "PENDING", "AVAILABLE", "STALE", "FAILED"
resp.core_network_policy.dry_run_updated_at #=> Time
resp.core_network_policy.dry_run_failure_reason #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :policy_version_id (required, Integer) —

    The ID of the policy version to restore.

Returns:

See Also:



1722
1723
1724
1725
1726
# File 'sig/client.rbs', line 1722

def restore_core_network_policy_version: (
    core_network_id: ::String,
    policy_version_id: ::Integer
  ) -> _RestoreCoreNetworkPolicyVersionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreCoreNetworkPolicyVersionResponseSuccess

#start_core_network_policy_dry_run(params = {}) ⇒ Types::StartCoreNetworkPolicyDryRunResponse

Starts a dry run of a core network policy version. A dry run calculates the routes that the policy version produces, without applying the policy version to your core network. Use ListCoreNetworkDryRunRoutes to compare these routes to the current routes of your core network.

The dry run is in the PENDING state when it starts, and changes to AVAILABLE when its results are ready. To check the state of a dry run, call GetCoreNetworkPolicy and check the DryRunState of the policy version.

Examples:

Example: Example – Starting a dry run of a core network policy version


resp = client.start_core_network_policy_dry_run({
  client_token: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", 
  core_network_id: "core-network-0123456789abcdef0", 
  policy_version_id: 2, 
})

resp.to_h outputs the following:
{
  core_network_id: "core-network-0123456789abcdef0", 
  dry_run_state: "PENDING", 
  policy_version_id: 2, 
}

Request syntax with placeholder values


resp = client.start_core_network_policy_dry_run({
  core_network_id: "CoreNetworkId", # required
  policy_version_id: 1, # required
  client_token: "ClientToken",
})

Response structure


resp.core_network_id #=> String
resp.policy_version_id #=> Integer
resp.dry_run_state #=> String, one of "PENDING", "AVAILABLE", "STALE", "FAILED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of the core network.

  • :policy_version_id (required, Integer) —

    The ID of the policy version for which to start the dry run.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If a dry run is already in the PENDING state for the policy version, the service returns the current DryRunState of that dry run and doesn't start another dry run.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



1735
1736
1737
1738
1739
1740
# File 'sig/client.rbs', line 1735

def start_core_network_policy_dry_run: (
    core_network_id: ::String,
    policy_version_id: ::Integer,
    ?client_token: ::String
  ) -> _StartCoreNetworkPolicyDryRunResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCoreNetworkPolicyDryRunResponseSuccess

#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.

Examples:

Request syntax with placeholder values


resp = client.start_organization_service_access_update({
  action: "Action", # required
})

Response structure


resp.organization_status.organization_id #=> String
resp.organization_status.organization_aws_service_access_status #=> String
resp.organization_status.slr_deployment_status #=> String
resp.organization_status. #=> Array
resp.organization_status.[0]. #=> String
resp.organization_status.[0].slr_deployment_status #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :action (required, String) —

    The action to take for the update request. This can be either ENABLE or DISABLE.

Returns:

See Also:



1747
1748
1749
1750
# File 'sig/client.rbs', line 1747

def start_organization_service_access_update: (
    action: ::String
  ) -> _StartOrganizationServiceAccessUpdateResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartOrganizationServiceAccessUpdateResponseSuccess

#start_route_analysis(params = {}) ⇒ Types::StartRouteAnalysisResponse

Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.

Examples:

Request syntax with placeholder values


resp = client.start_route_analysis({
  global_network_id: "GlobalNetworkId", # required
  source: { # required
    transit_gateway_attachment_arn: "TransitGatewayAttachmentArn",
    ip_address: "IPAddress",
  },
  destination: { # required
    transit_gateway_attachment_arn: "TransitGatewayAttachmentArn",
    ip_address: "IPAddress",
  },
  include_return_path: false,
  use_middleboxes: false,
})

Response structure


resp.route_analysis.global_network_id #=> String
resp.route_analysis. #=> String
resp.route_analysis.route_analysis_id #=> String
resp.route_analysis.start_timestamp #=> Time
resp.route_analysis.status #=> String, one of "RUNNING", "COMPLETED", "FAILED"
resp.route_analysis.source.transit_gateway_attachment_arn #=> String
resp.route_analysis.source.transit_gateway_arn #=> String
resp.route_analysis.source.ip_address #=> String
resp.route_analysis.destination.transit_gateway_attachment_arn #=> String
resp.route_analysis.destination.transit_gateway_arn #=> String
resp.route_analysis.destination.ip_address #=> String
resp.route_analysis.include_return_path #=> Boolean
resp.route_analysis.use_middleboxes #=> Boolean
resp.route_analysis.forward_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
resp.route_analysis.forward_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
resp.route_analysis.forward_path.completion_status.reason_context #=> Hash
resp.route_analysis.forward_path.completion_status.reason_context["ReasonContextKey"] #=> String
resp.route_analysis.forward_path.path #=> Array
resp.route_analysis.forward_path.path[0].sequence #=> Integer
resp.route_analysis.forward_path.path[0].resource.registered_gateway_arn #=> String
resp.route_analysis.forward_path.path[0].resource.resource_arn #=> String
resp.route_analysis.forward_path.path[0].resource.resource_type #=> String
resp.route_analysis.forward_path.path[0].resource.definition #=> String
resp.route_analysis.forward_path.path[0].resource.name_tag #=> String
resp.route_analysis.forward_path.path[0].resource.is_middlebox #=> Boolean
resp.route_analysis.forward_path.path[0].destination_cidr_block #=> String
resp.route_analysis.return_path.completion_status.result_code #=> String, one of "CONNECTED", "NOT_CONNECTED"
resp.route_analysis.return_path.completion_status.reason_code #=> String, one of "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY", "CYCLIC_PATH_DETECTED", "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND", "ROUTE_NOT_FOUND", "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND", "INACTIVE_ROUTE_FOR_DESTINATION_FOUND", "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH", "MAX_HOPS_EXCEEDED", "POSSIBLE_MIDDLEBOX", "NO_DESTINATION_ARN_PROVIDED"
resp.route_analysis.return_path.completion_status.reason_context #=> Hash
resp.route_analysis.return_path.completion_status.reason_context["ReasonContextKey"] #=> String
resp.route_analysis.return_path.path #=> Array
resp.route_analysis.return_path.path[0].sequence #=> Integer
resp.route_analysis.return_path.path[0].resource.registered_gateway_arn #=> String
resp.route_analysis.return_path.path[0].resource.resource_arn #=> String
resp.route_analysis.return_path.path[0].resource.resource_type #=> String
resp.route_analysis.return_path.path[0].resource.definition #=> String
resp.route_analysis.return_path.path[0].resource.name_tag #=> String
resp.route_analysis.return_path.path[0].resource.is_middlebox #=> Boolean
resp.route_analysis.return_path.path[0].destination_cidr_block #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :source (required, Types::RouteAnalysisEndpointOptionsSpecification) —

    The source from which traffic originates.

  • :destination (required, Types::RouteAnalysisEndpointOptionsSpecification) —

    The destination.

  • :include_return_path (Boolean) —

    Indicates whether to analyze the return path. The default is false.

  • :use_middleboxes (Boolean) —

    Indicates whether to include the location of middlebox appliances in the route analysis. The default is false.

Returns:

See Also:



1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
# File 'sig/client.rbs', line 1757

def start_route_analysis: (
    global_network_id: ::String,
    source: {
      transit_gateway_attachment_arn: ::String?,
      ip_address: ::String?
    },
    destination: {
      transit_gateway_attachment_arn: ::String?,
      ip_address: ::String?
    },
    ?include_return_path: bool,
    ?use_middleboxes: bool
  ) -> _StartRouteAnalysisResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRouteAnalysisResponseSuccess

#tag_resource(params = {}) ⇒ Struct

Tags a specified resource.

Examples:

Request syntax with placeholder values


resp = client.tag_resource({
  resource_arn: "ResourceArn", # required
  tags: [ # required
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource.

  • :tags (required, Array<Types::Tag>) —

    The tags to apply to the specified resource.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
# File 'sig/client.rbs', line 1776

def tag_resource: (
    resource_arn: ::String,
    tags: Array[
      {
        key: ::String?,
        value: ::String?
      }
    ]
  ) -> _TagResourceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess

#untag_resource(params = {}) ⇒ Struct

Removes tags from a specified resource.

Examples:

Request syntax with placeholder values


resp = client.untag_resource({
  resource_arn: "ResourceArn", # required
  tag_keys: ["TagKey"], # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource.

  • :tag_keys (required, Array<String>) —

    The tag keys to remove from the specified resource.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1791
1792
1793
1794
1795
# File 'sig/client.rbs', line 1791

def untag_resource: (
    resource_arn: ::String,
    tag_keys: Array[::String]
  ) -> _UntagResourceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess

#update_attachment_nat_configuration(params = {}) ⇒ Types::UpdateAttachmentNatConfigurationResponse

Updates the NAT configuration of a core network attachment. You can enable or disable NAT gateway support, specify whether the core network installs system routes for the NAT CIDR blocks, and replace the NAT rules of the attachment. Specify at least one of NatGatewaySupport, NatSystemRouteSupport, or NatGatewayRules.

Only the core network owner can update the NAT configuration of an attachment. The attachment must be in the AVAILABLE, PENDING_ATTACHMENT_ACCEPTANCE, or PENDING_TAG_ACCEPTANCE state. Changes are applied asynchronously, and the attachment is in the UPDATING state while they are applied. If the attachment is pending acceptance, the NAT configuration is stored and is applied after the attachment is accepted.

Examples:

Request syntax with placeholder values


resp = client.update_attachment_nat_configuration({
  attachment_id: "AttachmentId", # required
  nat_gateway_support: "ENABLE", # accepts ENABLE, DISABLE
  nat_system_route_support: false,
  nat_gateway_rules: [
    {
      rule_number: 1, # required
      match_source_cidr: "IPAddress", # required
      nat_cidr: "IPAddress", # required
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.attachment_id #=> String
resp.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.nat_system_route_support #=> Boolean
resp.nat_gateway_rules #=> Array
resp.nat_gateway_rules[0].rule_number #=> Integer
resp.nat_gateway_rules[0].match_source_cidr #=> String
resp.nat_gateway_rules[0].nat_cidr #=> String
resp.nat_gateway_rules[0].state #=> String, one of "CREATING", "MODIFYING", "DELETING", "ACTIVATED", "ACTIVATING", "DEACTIVATED", "DEACTIVATING", "FAILED", "PENDING_ATTACHMENT_ACCEPTANCE"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment to update the NAT configuration for.

  • :nat_gateway_support (String) —

    Specifies whether to enable or disable NAT gateway support on the attachment. When you disable NAT gateway support, the attachment keeps its NAT rules but doesn't apply them. To enable NAT gateway support, the attachment must have at least one NAT rule, either specified in this request or already configured on the attachment. If you omit this parameter, NAT gateway support is unchanged.

  • :nat_system_route_support (Boolean) —

    Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of SYSTEM. NAT is applied to traffic whether or not this option is enabled. If you omit this parameter, the current value is unchanged.

  • :nat_gateway_rules (Array<Types::NatRuleRequest>) —

    The complete set of NAT rules for the attachment, up to 50 rules. The rules that you specify replace the existing rules of the attachment, matched by rule number. Existing rules that aren't included in the request are deleted. To delete all NAT rules, specify an empty list. You can delete all NAT rules only when NAT gateway support is disabled, or when you disable it in the same request. If you omit this parameter, the existing rules are unchanged.

  • :client_token (String) —

    The client token associated with the request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
# File 'sig/client.rbs', line 1805

def update_attachment_nat_configuration: (
    attachment_id: ::String,
    ?nat_gateway_support: ("ENABLE" | "DISABLE"),
    ?nat_system_route_support: bool,
    ?nat_gateway_rules: Array[
      {
        rule_number: ::Integer,
        match_source_cidr: ::String,
        nat_cidr: ::String
      }
    ],
    ?client_token: ::String
  ) -> _UpdateAttachmentNatConfigurationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAttachmentNatConfigurationResponseSuccess

#update_connection(params = {}) ⇒ Types::UpdateConnectionResponse

Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

Examples:

Request syntax with placeholder values


resp = client.update_connection({
  global_network_id: "GlobalNetworkId", # required
  connection_id: "ConnectionId", # required
  link_id: "LinkId",
  connected_link_id: "LinkId",
  description: "ConstrainedString",
})

Response structure


resp.connection.connection_id #=> String
resp.connection.connection_arn #=> String
resp.connection.global_network_id #=> String
resp.connection.device_id #=> String
resp.connection.connected_device_id #=> String
resp.connection.link_id #=> String
resp.connection.connected_link_id #=> String
resp.connection.description #=> String
resp.connection.created_at #=> Time
resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.connection.tags #=> Array
resp.connection.tags[0].key #=> String
resp.connection.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :connection_id (required, String) —

    The ID of the connection.

  • :link_id (String) —

    The ID of the link for the first device in the connection.

  • :connected_link_id (String) —

    The ID of the link for the second device in the connection.

  • :description (String) —

    A description of the connection.

    Length Constraints: Maximum length of 256 characters.

Returns:

See Also:



1825
1826
1827
1828
1829
1830
1831
1832
# File 'sig/client.rbs', line 1825

def update_connection: (
    global_network_id: ::String,
    connection_id: ::String,
    ?link_id: ::String,
    ?connected_link_id: ::String,
    ?description: ::String
  ) -> _UpdateConnectionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectionResponseSuccess

#update_context_store(params = {}) ⇒ Types::UpdateContextStoreResponse

Updates the description of a context store. The context store must be in the AVAILABLE state.

Examples:

Request syntax with placeholder values


resp = client.update_context_store({
  context_store_id: "ContextStoreId", # required
  description: "ConstrainedString",
})

Response structure


resp.context_store.global_network_id #=> String
resp.context_store.context_store_id #=> String
resp.context_store.context_store_arn #=> String
resp.context_store.description #=> String
resp.context_store.created_at #=> Time
resp.context_store.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED"
resp.context_store.tags #=> Array
resp.context_store.tags[0].key #=> String
resp.context_store.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :context_store_id (required, String) —

    The ID of the context store.

  • :description (String) —

    The new description of the context store.

    Constraints: Maximum length of 256 characters. Only printable ASCII characters are allowed.

Returns:

See Also:



1839
1840
1841
1842
1843
# File 'sig/client.rbs', line 1839

def update_context_store: (
    context_store_id: ::String,
    ?description: ::String
  ) -> _UpdateContextStoreResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContextStoreResponseSuccess

#update_core_network(params = {}) ⇒ Types::UpdateCoreNetworkResponse

Updates the description of a core network.

Examples:

Request syntax with placeholder values


resp = client.update_core_network({
  core_network_id: "CoreNetworkId", # required
  description: "ConstrainedString",
})

Response structure


resp.core_network.global_network_id #=> String
resp.core_network.core_network_id #=> String
resp.core_network.core_network_arn #=> String
resp.core_network.description #=> String
resp.core_network.created_at #=> Time
resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
resp.core_network.segments #=> Array
resp.core_network.segments[0].name #=> String
resp.core_network.segments[0].edge_locations #=> Array
resp.core_network.segments[0].edge_locations[0] #=> String
resp.core_network.segments[0].shared_segments #=> Array
resp.core_network.segments[0].shared_segments[0] #=> String
resp.core_network.network_function_groups #=> Array
resp.core_network.network_function_groups[0].name #=> String
resp.core_network.network_function_groups[0].edge_locations #=> Array
resp.core_network.network_function_groups[0].edge_locations[0] #=> String
resp.core_network.network_function_groups[0].segments.send_via #=> Array
resp.core_network.network_function_groups[0].segments.send_via[0] #=> String
resp.core_network.network_function_groups[0].segments.send_to #=> Array
resp.core_network.network_function_groups[0].segments.send_to[0] #=> String
resp.core_network.edges #=> Array
resp.core_network.edges[0].edge_location #=> String
resp.core_network.edges[0].asn #=> Integer
resp.core_network.edges[0].inside_cidr_blocks #=> Array
resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
resp.core_network.tags #=> Array
resp.core_network.tags[0].key #=> String
resp.core_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :core_network_id (required, String) —

    The ID of a core network.

  • :description (String) —

    The description of the update.

Returns:

See Also:



1850
1851
1852
1853
1854
# File 'sig/client.rbs', line 1850

def update_core_network: (
    core_network_id: ::String,
    ?description: ::String
  ) -> _UpdateCoreNetworkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCoreNetworkResponseSuccess

#update_device(params = {}) ⇒ Types::UpdateDeviceResponse

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

Examples:

Request syntax with placeholder values


resp = client.update_device({
  global_network_id: "GlobalNetworkId", # required
  device_id: "DeviceId", # required
  aws_location: {
    zone: "ConstrainedString",
    subnet_arn: "SubnetArn",
  },
  description: "ConstrainedString",
  type: "ConstrainedString",
  vendor: "ConstrainedString",
  model: "ConstrainedString",
  serial_number: "ConstrainedString",
  location: {
    address: "ConstrainedString",
    latitude: "ConstrainedString",
    longitude: "ConstrainedString",
  },
  site_id: "SiteId",
})

Response structure


resp.device.device_id #=> String
resp.device.device_arn #=> String
resp.device.global_network_id #=> String
resp.device.aws_location.zone #=> String
resp.device.aws_location.subnet_arn #=> String
resp.device.description #=> String
resp.device.type #=> String
resp.device.vendor #=> String
resp.device.model #=> String
resp.device.serial_number #=> String
resp.device.location.address #=> String
resp.device.location.latitude #=> String
resp.device.location.longitude #=> String
resp.device.site_id #=> String
resp.device.created_at #=> Time
resp.device.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.device.tags #=> Array
resp.device.tags[0].key #=> String
resp.device.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :device_id (required, String) —

    The ID of the device.

  • :aws_location (Types::AWSLocation) —

    The Amazon Web Services location of the device, if applicable. For an on-premises device, you can omit this parameter.

  • :description (String) —

    A description of the device.

    Constraints: Maximum length of 256 characters.

  • :type (String) —

    The type of the device.

  • :vendor (String) —

    The vendor of the device.

    Constraints: Maximum length of 128 characters.

  • :model (String) —

    The model of the device.

    Constraints: Maximum length of 128 characters.

  • :serial_number (String) —

    The serial number of the device.

    Constraints: Maximum length of 128 characters.

  • :location (Types::Location) —

    Describes a location.

  • :site_id (String) —

    The ID of the site.

Returns:

See Also:



1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
# File 'sig/client.rbs', line 1861

def update_device: (
    global_network_id: ::String,
    device_id: ::String,
    ?aws_location: {
      zone: ::String?,
      subnet_arn: ::String?
    },
    ?description: ::String,
    ?type: ::String,
    ?vendor: ::String,
    ?model: ::String,
    ?serial_number: ::String,
    ?location: {
      address: ::String?,
      latitude: ::String?,
      longitude: ::String?
    },
    ?site_id: ::String
  ) -> _UpdateDeviceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeviceResponseSuccess

#update_direct_connect_gateway_attachment(params = {}) ⇒ Types::UpdateDirectConnectGatewayAttachmentResponse

Updates the edge locations associated with an Amazon Web Services Direct Connect gateway attachment.

Examples:

Request syntax with placeholder values


resp = client.update_direct_connect_gateway_attachment({
  attachment_id: "AttachmentId", # required
  edge_locations: ["ExternalRegionCode"],
})

Response structure


resp.direct_connect_gateway_attachment.attachment.core_network_id #=> String
resp.direct_connect_gateway_attachment.attachment.core_network_arn #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_id #=> String
resp.direct_connect_gateway_attachment.attachment. #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.direct_connect_gateway_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.direct_connect_gateway_attachment.attachment.edge_location #=> String
resp.direct_connect_gateway_attachment.attachment.edge_locations #=> Array
resp.direct_connect_gateway_attachment.attachment.edge_locations[0] #=> String
resp.direct_connect_gateway_attachment.attachment.resource_arn #=> String
resp.direct_connect_gateway_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.segment_name #=> String
resp.direct_connect_gateway_attachment.attachment.network_function_group_name #=> String
resp.direct_connect_gateway_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.direct_connect_gateway_attachment.attachment.nat_system_route_support #=> Boolean
resp.direct_connect_gateway_attachment.attachment.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.direct_connect_gateway_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.direct_connect_gateway_attachment.attachment.created_at #=> Time
resp.direct_connect_gateway_attachment.attachment.updated_at #=> Time
resp.direct_connect_gateway_attachment.attachment.last_modification_errors #=> Array
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].message #=> String
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.direct_connect_gateway_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.direct_connect_gateway_attachment.direct_connect_gateway_arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the Direct Connect gateway attachment for the updated edge locations.

  • :edge_locations (Array<String>) —

    One or more edge locations to update for the Direct Connect gateway attachment. The updated array of edge locations overwrites the previous array of locations. EdgeLocations is only used for Direct Connect gateway attachments.

Returns:

See Also:



1887
1888
1889
1890
1891
# File 'sig/client.rbs', line 1887

def update_direct_connect_gateway_attachment: (
    attachment_id: ::String,
    ?edge_locations: Array[::String]
  ) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess

#update_global_network(params = {}) ⇒ Types::UpdateGlobalNetworkResponse

Updates an existing global network. To remove information for any of the parameters, specify an empty string.

Examples:

Request syntax with placeholder values


resp = client.update_global_network({
  global_network_id: "GlobalNetworkId", # required
  description: "ConstrainedString",
})

Response structure


resp.global_network.global_network_id #=> String
resp.global_network.global_network_arn #=> String
resp.global_network.description #=> String
resp.global_network.created_at #=> Time
resp.global_network.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.global_network.tags #=> Array
resp.global_network.tags[0].key #=> String
resp.global_network.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of your global network.

  • :description (String) —

    A description of the global network.

    Constraints: Maximum length of 256 characters.

Returns:

See Also:



1898
1899
1900
1901
1902
# File 'sig/client.rbs', line 1898

def update_global_network: (
    global_network_id: ::String,
    ?description: ::String
  ) -> _UpdateGlobalNetworkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGlobalNetworkResponseSuccess

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

Examples:

Request syntax with placeholder values


resp = client.update_link({
  global_network_id: "GlobalNetworkId", # required
  link_id: "LinkId", # required
  description: "ConstrainedString",
  type: "ConstrainedString",
  bandwidth: {
    upload_speed: 1,
    download_speed: 1,
  },
  provider: "ConstrainedString",
})

Response structure


resp.link.link_id #=> String
resp.link.link_arn #=> String
resp.link.global_network_id #=> String
resp.link.site_id #=> String
resp.link.description #=> String
resp.link.type #=> String
resp.link.bandwidth.upload_speed #=> Integer
resp.link.bandwidth.download_speed #=> Integer
resp.link.provider #=> String
resp.link.created_at #=> Time
resp.link.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.link.tags #=> Array
resp.link.tags[0].key #=> String
resp.link.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :link_id (required, String) —

    The ID of the link.

  • :description (String) —

    A description of the link.

    Constraints: Maximum length of 256 characters.

  • :type (String) —

    The type of the link.

    Constraints: Maximum length of 128 characters.

  • :bandwidth (Types::Bandwidth) —

    The upload and download speed in Mbps.

  • :provider (String) —

    The provider of the link.

    Constraints: Maximum length of 128 characters.

Returns:

See Also:



1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
# File 'sig/client.rbs', line 1909

def update_link: (
    global_network_id: ::String,
    link_id: ::String,
    ?description: ::String,
    ?type: ::String,
    ?bandwidth: {
      upload_speed: ::Integer?,
      download_speed: ::Integer?
    },
    ?provider: ::String
  ) -> _UpdateLinkResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLinkResponseSuccess

#update_network_resource_metadata(params = {}) ⇒ Types::UpdateNetworkResourceMetadataResponse

Updates the resource metadata for the specified global network.

Examples:

Request syntax with placeholder values


resp = client.({
  global_network_id: "GlobalNetworkId", # required
  resource_arn: "ResourceArn", # required
  metadata: { # required
    "ConstrainedString" => "ConstrainedString",
  },
})

Response structure


resp.resource_arn #=> String
resp. #=> Hash
resp.["ConstrainedString"] #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :resource_arn (required, String) —

    The ARN of the resource.

  • :metadata (required, Hash<String,String>) —

    The resource metadata.

Returns:

See Also:



1928
1929
1930
1931
1932
1933
# File 'sig/client.rbs', line 1928

def update_network_resource_metadata: (
    global_network_id: ::String,
    resource_arn: ::String,
    metadata: Hash[::String, ::String]
  ) -> _UpdateNetworkResourceMetadataResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNetworkResourceMetadataResponseSuccess

#update_network_scope(params = {}) ⇒ Types::UpdateNetworkScopeResponse

Updates the name or the Regions of a network scope. You must specify at least one of Name or NetworkScopeRegions. The network scope must be in the AVAILABLE state. You can't change the access mode of a network scope.

A change to the Regions takes effect asynchronously, and the network scope is in the UPDATING state until the change is complete. A change to the name only takes effect immediately.

Examples:

Example: Example – Adding a Region to a network scope


resp = client.update_network_scope({
  network_scope_id: "network-scope-0123456789abcdef0", 
  network_scope_regions: [
    "us-east-1", 
    "us-west-2", 
    "eu-west-1", 
  ], 
})

resp.to_h outputs the following:
{
  network_scope: {
    access_mode: "ACCOUNTS", 
    created_at: Time.parse("2026-12-02T17:00:00Z"), 
    name: "production-network", 
    network_scope_arn: "arn:aws:networkmanager:us-east-1:111122223333:network-scope/network-scope-0123456789abcdef0", 
    network_scope_id: "network-scope-0123456789abcdef0", 
    network_scope_regions: [
      "us-east-1", 
      "us-west-2", 
      "eu-west-1", 
    ], 
    state: "UPDATING", 
  }, 
}

Request syntax with placeholder values


resp = client.update_network_scope({
  network_scope_id: "NetworkScopeId", # required
  name: "ResourceName",
  network_scope_regions: ["ExternalRegionCode"],
})

Response structure


resp.network_scope.network_scope_id #=> String
resp.network_scope.network_scope_arn #=> String
resp.network_scope.name #=> String
resp.network_scope.access_mode #=> String, one of "ACCOUNTS", "ORGANIZATIONS"
resp.network_scope.network_scope_regions #=> Array
resp.network_scope.network_scope_regions[0] #=> String
resp.network_scope.state #=> String, one of "PENDING", "AVAILABLE", "UPDATING", "DELETING", "DELETED", "FAILED"
resp.network_scope.state_reason.code #=> String, one of "SCOPE_OWNER_NOT_ORGANIZATION_MEMBER", "NETWORK_MANAGER_SERVICE_ACCESS_NOT_ENABLED", "SCOPE_OWNER_NOT_NETWORK_MANAGER_DELEGATED_ADMINISTRATOR", "NETWORK_SECURITY_ANALYSIS_SERVICE_ACCESS_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_TYPE_NOT_ENABLED", "NETWORK_SECURITY_ANALYSIS_POLICY_MANAGEMENT_NOT_DELEGATED", "PRINCIPALS_NOT_FULLY_COVERED"
resp.network_scope.state_reason.message #=> String
resp.network_scope.created_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :network_scope_id (required, String) —

    The ID of the network scope to update.

  • :name (String) —

    The new name of the network scope. The name can be up to 128 characters long and can contain letters, numbers, and spaces, as well as the following characters: . _ : / + = @ -. If you omit this parameter, the name is unchanged.

  • :network_scope_regions (Array<String>) —

    The complete set of AWS Regions for the network scope. The Regions that you specify replace the existing Regions of the network scope. Each Region must be one where AWS Ops Agent for networking is available. If you omit this parameter, the Regions are unchanged.

Returns:

See Also:



1940
1941
1942
1943
1944
1945
# File 'sig/client.rbs', line 1940

def update_network_scope: (
    network_scope_id: ::String,
    ?name: ::String,
    ?network_scope_regions: Array[::String]
  ) -> _UpdateNetworkScopeResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNetworkScopeResponseSuccess

#update_site(params = {}) ⇒ Types::UpdateSiteResponse

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

Examples:

Request syntax with placeholder values


resp = client.update_site({
  global_network_id: "GlobalNetworkId", # required
  site_id: "SiteId", # required
  description: "ConstrainedString",
  location: {
    address: "ConstrainedString",
    latitude: "ConstrainedString",
    longitude: "ConstrainedString",
  },
})

Response structure


resp.site.site_id #=> String
resp.site.site_arn #=> String
resp.site.global_network_id #=> String
resp.site.description #=> String
resp.site.location.address #=> String
resp.site.location.latitude #=> String
resp.site.location.longitude #=> String
resp.site.created_at #=> Time
resp.site.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
resp.site.tags #=> Array
resp.site.tags[0].key #=> String
resp.site.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :global_network_id (required, String) —

    The ID of the global network.

  • :site_id (required, String) —

    The ID of your site.

  • :description (String) —

    A description of your site.

    Constraints: Maximum length of 256 characters.

  • :location (Types::Location) —

    The site location:

    • Address: The physical address of the site.

    • Latitude: The latitude of the site.

    • Longitude: The longitude of the site.

Returns:

See Also:



1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
# File 'sig/client.rbs', line 1952

def update_site: (
    global_network_id: ::String,
    site_id: ::String,
    ?description: ::String,
    ?location: {
      address: ::String?,
      latitude: ::String?,
      longitude: ::String?
    }
  ) -> _UpdateSiteResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSiteResponseSuccess

#update_sse_connect(params = {}) ⇒ Types::UpdateSseConnectResponse

Updates the description or the Regions of an SSE connect. Specify at least one of Description or SseRegions. You can't change the SSE provider. The SSE connect must be in the AVAILABLE state.

You can't remove a Region while a core network is attached to the SSE connect in that Region. Update the core network attachment first.

Examples:

Example: To update the Regions of an SSE connect


# The following example replaces the Regions of an SSE connect with aa-example-1, aa-example-2, and aa-example-3.

resp = client.update_sse_connect({
  sse_connect_id: "sse-connect-1234567890abcdef0", 
  sse_regions: [
    "aa-example-1", 
    "aa-example-2", 
    "aa-example-3", 
  ], 
})

resp.to_h outputs the following:
{
  sse_connect: {
    description: "Branch internet egress", 
    partner_link_status: "LINKED", 
    sse_connect_arn: "arn:aws:networkmanager::111122223333:sse-connect/sse-connect-1234567890abcdef0", 
    sse_connect_id: "sse-connect-1234567890abcdef0", 
    sse_regions: [
      {
        region_name: "aa-example-1", 
      }, 
      {
        region_name: "aa-example-2", 
      }, 
      {
        region_name: "aa-example-3", 
      }, 
    ], 
    sse_vendor: "PALO_ALTO", 
    state: "UPDATING", 
  }, 
}

Request syntax with placeholder values


resp = client.update_sse_connect({
  sse_connect_id: "SseConnectId", # required
  sse_regions: ["ExternalRegionCode"],
  description: "ConstrainedString",
  dry_run: false,
})

Response structure


resp.sse_connect.sse_connect_id #=> String
resp.sse_connect.sse_connect_arn #=> String
resp.sse_connect.description #=> String
resp.sse_connect.sse_regions #=> Array
resp.sse_connect.sse_regions[0].region_name #=> String
resp.sse_connect.sse_regions[0].peer_health_status #=> String, one of "HEALTHY", "UNHEALTHY"
resp.sse_connect.attachment_regions #=> Array
resp.sse_connect.attachment_regions[0].region_name #=> String
resp.sse_connect.sse_vendor #=> String
resp.sse_connect.state #=> String, one of "CREATING", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED"
resp.sse_connect.partner_link_status #=> String, one of "PENDING", "LINKED", "NOT_LINKED"
resp.sse_connect.created_at #=> Time
resp.sse_connect.updated_at #=> Time
resp.sse_connect.tags #=> Array
resp.sse_connect.tags[0].key #=> String
resp.sse_connect.tags[0].value #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :sse_connect_id (required, String) —

    The ID of the SSE connect to update.

  • :sse_regions (Array<String>) —

    The complete list of Regions where the SSE connect peers with the SSE provider. This list replaces the current Regions. You must specify at least two Regions, and the SSE provider must be available in each Region. If you omit this parameter, the Regions are unchanged.

  • :description (String) —

    The new description of the SSE connect. If you omit this parameter, the description is unchanged.

  • :dry_run (Boolean) —

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is AccessDeniedException.

Returns:

See Also:



1969
1970
1971
1972
1973
1974
1975
# File 'sig/client.rbs', line 1969

def update_sse_connect: (
    sse_connect_id: ::String,
    ?sse_regions: Array[::String],
    ?description: ::String,
    ?dry_run: bool
  ) -> _UpdateSseConnectResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSseConnectResponseSuccess

#update_vpc_attachment(params = {}) ⇒ Types::UpdateVpcAttachmentResponse

Updates a VPC attachment.

Examples:

Request syntax with placeholder values


resp = client.update_vpc_attachment({
  attachment_id: "AttachmentId", # required
  add_subnet_arns: ["SubnetArn"],
  remove_subnet_arns: ["SubnetArn"],
  options: {
    ipv_6_support: false,
    appliance_mode_support: false,
    dns_support: false,
    security_group_referencing_support: false,
  },
})

Response structure


resp.vpc_attachment.attachment.core_network_id #=> String
resp.vpc_attachment.attachment.core_network_arn #=> String
resp.vpc_attachment.attachment.attachment_id #=> String
resp.vpc_attachment.attachment. #=> String
resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC", "DIRECT_CONNECT_GATEWAY", "TRANSIT_GATEWAY_ROUTE_TABLE"
resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
resp.vpc_attachment.attachment.edge_location #=> String
resp.vpc_attachment.attachment.edge_locations #=> Array
resp.vpc_attachment.attachment.edge_locations[0] #=> String
resp.vpc_attachment.attachment.resource_arn #=> String
resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.segment_name #=> String
resp.vpc_attachment.attachment.network_function_group_name #=> String
resp.vpc_attachment.attachment.nat_gateway_support #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING", "PENDING_ATTACHMENT_ACCEPTANCE"
resp.vpc_attachment.attachment.nat_system_route_support #=> Boolean
resp.vpc_attachment.attachment.tags #=> Array
resp.vpc_attachment.attachment.tags[0].key #=> String
resp.vpc_attachment.attachment.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags #=> Array
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags[0].key #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.tags[0].value #=> String
resp.vpc_attachment.attachment.proposed_network_function_group_change.attachment_policy_rule_number #=> Integer
resp.vpc_attachment.attachment.proposed_network_function_group_change.network_function_group_name #=> String
resp.vpc_attachment.attachment.created_at #=> Time
resp.vpc_attachment.attachment.updated_at #=> Time
resp.vpc_attachment.attachment.last_modification_errors #=> Array
resp.vpc_attachment.attachment.last_modification_errors[0].code #=> String, one of "VPC_NOT_FOUND", "SUBNET_NOT_FOUND", "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", "SUBNET_NO_FREE_ADDRESSES", "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", "SUBNET_NO_IPV6_CIDRS", "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE", "VPN_CONNECTION_NOT_FOUND", "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED", "DIRECT_CONNECT_GATEWAY_NOT_FOUND", "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS", "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF", "VPN_EXISTING_ASSOCIATIONS", "VPN_STATIC_ROUTES_NAT_UNSUPPORTED", "VPC_UNSUPPORTED_FEATURES", "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS", "CREATION_FAILED", "UPDATE_FAILED", "DELETION_FAILED"
resp.vpc_attachment.attachment.last_modification_errors[0].message #=> String
resp.vpc_attachment.attachment.last_modification_errors[0].resource_arn #=> String
resp.vpc_attachment.attachment.last_modification_errors[0].request_id #=> String
resp.vpc_attachment.subnet_arns #=> Array
resp.vpc_attachment.subnet_arns[0] #=> String
resp.vpc_attachment.options.ipv_6_support #=> Boolean
resp.vpc_attachment.options.appliance_mode_support #=> Boolean
resp.vpc_attachment.options.dns_support #=> Boolean
resp.vpc_attachment.options.security_group_referencing_support #=> Boolean

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :attachment_id (required, String) —

    The ID of the attachment.

  • :add_subnet_arns (Array<String>) —

    Adds a subnet ARN to the VPC attachment.

  • :remove_subnet_arns (Array<String>) —

    Removes a subnet ARN from the attachment.

  • :options (Types::VpcOptions) —

    Additional options for updating the VPC attachment.

Returns:

See Also:



1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
# File 'sig/client.rbs', line 1982

def update_vpc_attachment: (
    attachment_id: ::String,
    ?add_subnet_arns: Array[::String],
    ?remove_subnet_arns: Array[::String],
    ?options: {
      ipv_6_support: bool?,
      appliance_mode_support: bool?,
      dns_support: bool?,
      security_group_referencing_support: bool?
    }
  ) -> _UpdateVpcAttachmentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVpcAttachmentResponseSuccess

#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.

Deprecated.


9159
9160
9161
# File 'lib/aws-sdk-networkmanager/client.rb', line 9159

def waiter_names
  []
end