sig/client.rbs in aws-sdk-networkmanager-1.55.0 vs sig/client.rbs in aws-sdk-networkmanager-1.56.0
- old
+ new
@@ -251,10 +251,29 @@
},
]
) -> _CreateDeviceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeviceResponseSuccess
+ interface _CreateDirectConnectGatewayAttachmentResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDirectConnectGatewayAttachmentResponse]
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#create_direct_connect_gateway_attachment-instance_method
+ def create_direct_connect_gateway_attachment: (
+ core_network_id: ::String,
+ direct_connect_gateway_arn: ::String,
+ edge_locations: Array[::String],
+ ?tags: Array[
+ {
+ key: ::String?,
+ value: ::String?
+ },
+ ],
+ ?client_token: ::String
+ ) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
+
interface _CreateGlobalNetworkResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGlobalNetworkResponse]
def global_network: () -> Types::GlobalNetwork
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#create_global_network-instance_method
@@ -711,10 +730,20 @@
?max_results: ::Integer,
?next_token: ::String
) -> _GetDevicesResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevicesResponseSuccess
+ interface _GetDirectConnectGatewayAttachmentResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDirectConnectGatewayAttachmentResponse]
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#get_direct_connect_gateway_attachment-instance_method
+ def get_direct_connect_gateway_attachment: (
+ attachment_id: ::String
+ ) -> _GetDirectConnectGatewayAttachmentResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDirectConnectGatewayAttachmentResponseSuccess
+
interface _GetLinkAssociationsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetLinkAssociationsResponse]
def link_associations: () -> ::Array[Types::LinkAssociation]
def next_token: () -> ::String
end
@@ -960,11 +989,11 @@
def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#list_attachments-instance_method
def list_attachments: (
?core_network_id: ::String,
- ?attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE"),
+ ?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
@@ -1206,9 +1235,20 @@
longitude: ::String?
},
?site_id: ::String
) -> _UpdateDeviceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeviceResponseSuccess
+
+ interface _UpdateDirectConnectGatewayAttachmentResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDirectConnectGatewayAttachmentResponse]
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#update_direct_connect_gateway_attachment-instance_method
+ def update_direct_connect_gateway_attachment: (
+ attachment_id: ::String,
+ ?edge_locations: Array[::String]
+ ) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
interface _UpdateGlobalNetworkResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGlobalNetworkResponse]
def global_network: () -> Types::GlobalNetwork
end