aws-sdk-networkmanager 1.54.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::NetworkManager::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,181 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :accept_attachment
74
- Aws::NetworkManager::Endpoints::AcceptAttachment.build(context)
75
- when :associate_connect_peer
76
- Aws::NetworkManager::Endpoints::AssociateConnectPeer.build(context)
77
- when :associate_customer_gateway
78
- Aws::NetworkManager::Endpoints::AssociateCustomerGateway.build(context)
79
- when :associate_link
80
- Aws::NetworkManager::Endpoints::AssociateLink.build(context)
81
- when :associate_transit_gateway_connect_peer
82
- Aws::NetworkManager::Endpoints::AssociateTransitGatewayConnectPeer.build(context)
83
- when :create_connect_attachment
84
- Aws::NetworkManager::Endpoints::CreateConnectAttachment.build(context)
85
- when :create_connect_peer
86
- Aws::NetworkManager::Endpoints::CreateConnectPeer.build(context)
87
- when :create_connection
88
- Aws::NetworkManager::Endpoints::CreateConnection.build(context)
89
- when :create_core_network
90
- Aws::NetworkManager::Endpoints::CreateCoreNetwork.build(context)
91
- when :create_device
92
- Aws::NetworkManager::Endpoints::CreateDevice.build(context)
93
- when :create_global_network
94
- Aws::NetworkManager::Endpoints::CreateGlobalNetwork.build(context)
95
- when :create_link
96
- Aws::NetworkManager::Endpoints::CreateLink.build(context)
97
- when :create_site
98
- Aws::NetworkManager::Endpoints::CreateSite.build(context)
99
- when :create_site_to_site_vpn_attachment
100
- Aws::NetworkManager::Endpoints::CreateSiteToSiteVpnAttachment.build(context)
101
- when :create_transit_gateway_peering
102
- Aws::NetworkManager::Endpoints::CreateTransitGatewayPeering.build(context)
103
- when :create_transit_gateway_route_table_attachment
104
- Aws::NetworkManager::Endpoints::CreateTransitGatewayRouteTableAttachment.build(context)
105
- when :create_vpc_attachment
106
- Aws::NetworkManager::Endpoints::CreateVpcAttachment.build(context)
107
- when :delete_attachment
108
- Aws::NetworkManager::Endpoints::DeleteAttachment.build(context)
109
- when :delete_connect_peer
110
- Aws::NetworkManager::Endpoints::DeleteConnectPeer.build(context)
111
- when :delete_connection
112
- Aws::NetworkManager::Endpoints::DeleteConnection.build(context)
113
- when :delete_core_network
114
- Aws::NetworkManager::Endpoints::DeleteCoreNetwork.build(context)
115
- when :delete_core_network_policy_version
116
- Aws::NetworkManager::Endpoints::DeleteCoreNetworkPolicyVersion.build(context)
117
- when :delete_device
118
- Aws::NetworkManager::Endpoints::DeleteDevice.build(context)
119
- when :delete_global_network
120
- Aws::NetworkManager::Endpoints::DeleteGlobalNetwork.build(context)
121
- when :delete_link
122
- Aws::NetworkManager::Endpoints::DeleteLink.build(context)
123
- when :delete_peering
124
- Aws::NetworkManager::Endpoints::DeletePeering.build(context)
125
- when :delete_resource_policy
126
- Aws::NetworkManager::Endpoints::DeleteResourcePolicy.build(context)
127
- when :delete_site
128
- Aws::NetworkManager::Endpoints::DeleteSite.build(context)
129
- when :deregister_transit_gateway
130
- Aws::NetworkManager::Endpoints::DeregisterTransitGateway.build(context)
131
- when :describe_global_networks
132
- Aws::NetworkManager::Endpoints::DescribeGlobalNetworks.build(context)
133
- when :disassociate_connect_peer
134
- Aws::NetworkManager::Endpoints::DisassociateConnectPeer.build(context)
135
- when :disassociate_customer_gateway
136
- Aws::NetworkManager::Endpoints::DisassociateCustomerGateway.build(context)
137
- when :disassociate_link
138
- Aws::NetworkManager::Endpoints::DisassociateLink.build(context)
139
- when :disassociate_transit_gateway_connect_peer
140
- Aws::NetworkManager::Endpoints::DisassociateTransitGatewayConnectPeer.build(context)
141
- when :execute_core_network_change_set
142
- Aws::NetworkManager::Endpoints::ExecuteCoreNetworkChangeSet.build(context)
143
- when :get_connect_attachment
144
- Aws::NetworkManager::Endpoints::GetConnectAttachment.build(context)
145
- when :get_connect_peer
146
- Aws::NetworkManager::Endpoints::GetConnectPeer.build(context)
147
- when :get_connect_peer_associations
148
- Aws::NetworkManager::Endpoints::GetConnectPeerAssociations.build(context)
149
- when :get_connections
150
- Aws::NetworkManager::Endpoints::GetConnections.build(context)
151
- when :get_core_network
152
- Aws::NetworkManager::Endpoints::GetCoreNetwork.build(context)
153
- when :get_core_network_change_events
154
- Aws::NetworkManager::Endpoints::GetCoreNetworkChangeEvents.build(context)
155
- when :get_core_network_change_set
156
- Aws::NetworkManager::Endpoints::GetCoreNetworkChangeSet.build(context)
157
- when :get_core_network_policy
158
- Aws::NetworkManager::Endpoints::GetCoreNetworkPolicy.build(context)
159
- when :get_customer_gateway_associations
160
- Aws::NetworkManager::Endpoints::GetCustomerGatewayAssociations.build(context)
161
- when :get_devices
162
- Aws::NetworkManager::Endpoints::GetDevices.build(context)
163
- when :get_link_associations
164
- Aws::NetworkManager::Endpoints::GetLinkAssociations.build(context)
165
- when :get_links
166
- Aws::NetworkManager::Endpoints::GetLinks.build(context)
167
- when :get_network_resource_counts
168
- Aws::NetworkManager::Endpoints::GetNetworkResourceCounts.build(context)
169
- when :get_network_resource_relationships
170
- Aws::NetworkManager::Endpoints::GetNetworkResourceRelationships.build(context)
171
- when :get_network_resources
172
- Aws::NetworkManager::Endpoints::GetNetworkResources.build(context)
173
- when :get_network_routes
174
- Aws::NetworkManager::Endpoints::GetNetworkRoutes.build(context)
175
- when :get_network_telemetry
176
- Aws::NetworkManager::Endpoints::GetNetworkTelemetry.build(context)
177
- when :get_resource_policy
178
- Aws::NetworkManager::Endpoints::GetResourcePolicy.build(context)
179
- when :get_route_analysis
180
- Aws::NetworkManager::Endpoints::GetRouteAnalysis.build(context)
181
- when :get_site_to_site_vpn_attachment
182
- Aws::NetworkManager::Endpoints::GetSiteToSiteVpnAttachment.build(context)
183
- when :get_sites
184
- Aws::NetworkManager::Endpoints::GetSites.build(context)
185
- when :get_transit_gateway_connect_peer_associations
186
- Aws::NetworkManager::Endpoints::GetTransitGatewayConnectPeerAssociations.build(context)
187
- when :get_transit_gateway_peering
188
- Aws::NetworkManager::Endpoints::GetTransitGatewayPeering.build(context)
189
- when :get_transit_gateway_registrations
190
- Aws::NetworkManager::Endpoints::GetTransitGatewayRegistrations.build(context)
191
- when :get_transit_gateway_route_table_attachment
192
- Aws::NetworkManager::Endpoints::GetTransitGatewayRouteTableAttachment.build(context)
193
- when :get_vpc_attachment
194
- Aws::NetworkManager::Endpoints::GetVpcAttachment.build(context)
195
- when :list_attachments
196
- Aws::NetworkManager::Endpoints::ListAttachments.build(context)
197
- when :list_connect_peers
198
- Aws::NetworkManager::Endpoints::ListConnectPeers.build(context)
199
- when :list_core_network_policy_versions
200
- Aws::NetworkManager::Endpoints::ListCoreNetworkPolicyVersions.build(context)
201
- when :list_core_networks
202
- Aws::NetworkManager::Endpoints::ListCoreNetworks.build(context)
203
- when :list_organization_service_access_status
204
- Aws::NetworkManager::Endpoints::ListOrganizationServiceAccessStatus.build(context)
205
- when :list_peerings
206
- Aws::NetworkManager::Endpoints::ListPeerings.build(context)
207
- when :list_tags_for_resource
208
- Aws::NetworkManager::Endpoints::ListTagsForResource.build(context)
209
- when :put_core_network_policy
210
- Aws::NetworkManager::Endpoints::PutCoreNetworkPolicy.build(context)
211
- when :put_resource_policy
212
- Aws::NetworkManager::Endpoints::PutResourcePolicy.build(context)
213
- when :register_transit_gateway
214
- Aws::NetworkManager::Endpoints::RegisterTransitGateway.build(context)
215
- when :reject_attachment
216
- Aws::NetworkManager::Endpoints::RejectAttachment.build(context)
217
- when :restore_core_network_policy_version
218
- Aws::NetworkManager::Endpoints::RestoreCoreNetworkPolicyVersion.build(context)
219
- when :start_organization_service_access_update
220
- Aws::NetworkManager::Endpoints::StartOrganizationServiceAccessUpdate.build(context)
221
- when :start_route_analysis
222
- Aws::NetworkManager::Endpoints::StartRouteAnalysis.build(context)
223
- when :tag_resource
224
- Aws::NetworkManager::Endpoints::TagResource.build(context)
225
- when :untag_resource
226
- Aws::NetworkManager::Endpoints::UntagResource.build(context)
227
- when :update_connection
228
- Aws::NetworkManager::Endpoints::UpdateConnection.build(context)
229
- when :update_core_network
230
- Aws::NetworkManager::Endpoints::UpdateCoreNetwork.build(context)
231
- when :update_device
232
- Aws::NetworkManager::Endpoints::UpdateDevice.build(context)
233
- when :update_global_network
234
- Aws::NetworkManager::Endpoints::UpdateGlobalNetwork.build(context)
235
- when :update_link
236
- Aws::NetworkManager::Endpoints::UpdateLink.build(context)
237
- when :update_network_resource_metadata
238
- Aws::NetworkManager::Endpoints::UpdateNetworkResourceMetadata.build(context)
239
- when :update_site
240
- Aws::NetworkManager::Endpoints::UpdateSite.build(context)
241
- when :update_vpc_attachment
242
- Aws::NetworkManager::Endpoints::UpdateVpcAttachment.build(context)
243
- end
244
- end
245
70
  end
246
71
 
247
72
  def add_handlers(handlers, _config)
@@ -266,9 +266,17 @@ module Aws::NetworkManager
266
266
  # @return [String]
267
267
  #
268
268
  # @!attribute [rw] edge_location
269
- # The Region where the edge is located.
269
+ # The Region where the edge is located. This is returned for all
270
+ # attachment types except a Direct Connect gateway attachment, which
271
+ # instead returns `EdgeLocations`.
270
272
  # @return [String]
271
273
  #
274
+ # @!attribute [rw] edge_locations
275
+ # The edge locations that the Direct Connect gateway is associated
276
+ # with. This is returned only for Direct Connect gateway attachments.
277
+ # All other attachment types retrun `EdgeLocation`.
278
+ # @return [Array<String>]
279
+ #
272
280
  # @!attribute [rw] resource_arn
273
281
  # The attachment resource ARN.
274
282
  # @return [String]
@@ -320,6 +328,7 @@ module Aws::NetworkManager
320
328
  :attachment_type,
321
329
  :state,
322
330
  :edge_location,
331
+ :edge_locations,
323
332
  :resource_arn,
324
333
  :attachment_policy_rule_number,
325
334
  :segment_name,
@@ -1609,6 +1618,57 @@ module Aws::NetworkManager
1609
1618
  include Aws::Structure
1610
1619
  end
1611
1620
 
1621
+ # @!attribute [rw] core_network_id
1622
+ # The ID of the Cloud WAN core network that the Direct Connect gateway
1623
+ # attachment should be attached to.
1624
+ # @return [String]
1625
+ #
1626
+ # @!attribute [rw] direct_connect_gateway_arn
1627
+ # The ARN of the Direct Connect gateway attachment.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] edge_locations
1631
+ # One or more core network edge locations that the Direct Connect
1632
+ # gateway attachment is associated with.
1633
+ # @return [Array<String>]
1634
+ #
1635
+ # @!attribute [rw] tags
1636
+ # The key value tags to apply to the Direct Connect gateway attachment
1637
+ # during creation.
1638
+ # @return [Array<Types::Tag>]
1639
+ #
1640
+ # @!attribute [rw] client_token
1641
+ # client token
1642
+ #
1643
+ # **A suitable default value is auto-generated.** You should normally
1644
+ # not need to pass this option.
1645
+ # @return [String]
1646
+ #
1647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDirectConnectGatewayAttachmentRequest AWS API Documentation
1648
+ #
1649
+ class CreateDirectConnectGatewayAttachmentRequest < Struct.new(
1650
+ :core_network_id,
1651
+ :direct_connect_gateway_arn,
1652
+ :edge_locations,
1653
+ :tags,
1654
+ :client_token)
1655
+ SENSITIVE = []
1656
+ include Aws::Structure
1657
+ end
1658
+
1659
+ # @!attribute [rw] direct_connect_gateway_attachment
1660
+ # Describes the details of a `CreateDirectConnectGatewayAttachment`
1661
+ # request.
1662
+ # @return [Types::DirectConnectGatewayAttachment]
1663
+ #
1664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDirectConnectGatewayAttachmentResponse AWS API Documentation
1665
+ #
1666
+ class CreateDirectConnectGatewayAttachmentResponse < Struct.new(
1667
+ :direct_connect_gateway_attachment)
1668
+ SENSITIVE = []
1669
+ include Aws::Structure
1670
+ end
1671
+
1612
1672
  # @!attribute [rw] description
1613
1673
  # A description of the global network.
1614
1674
  #
@@ -2397,6 +2457,25 @@ module Aws::NetworkManager
2397
2457
  include Aws::Structure
2398
2458
  end
2399
2459
 
2460
+ # Describes a Direct Connect gateway attachment.
2461
+ #
2462
+ # @!attribute [rw] attachment
2463
+ # Describes a core network attachment.
2464
+ # @return [Types::Attachment]
2465
+ #
2466
+ # @!attribute [rw] direct_connect_gateway_arn
2467
+ # The Direct Connect gateway attachment ARN.
2468
+ # @return [String]
2469
+ #
2470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DirectConnectGatewayAttachment AWS API Documentation
2471
+ #
2472
+ class DirectConnectGatewayAttachment < Struct.new(
2473
+ :attachment,
2474
+ :direct_connect_gateway_arn)
2475
+ SENSITIVE = []
2476
+ include Aws::Structure
2477
+ end
2478
+
2400
2479
  # @!attribute [rw] global_network_id
2401
2480
  # The ID of the global network.
2402
2481
  # @return [String]
@@ -2939,6 +3018,31 @@ module Aws::NetworkManager
2939
3018
  include Aws::Structure
2940
3019
  end
2941
3020
 
3021
+ # @!attribute [rw] attachment_id
3022
+ # The ID of the Direct Connect gateway attachment that you want to see
3023
+ # details about.
3024
+ # @return [String]
3025
+ #
3026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDirectConnectGatewayAttachmentRequest AWS API Documentation
3027
+ #
3028
+ class GetDirectConnectGatewayAttachmentRequest < Struct.new(
3029
+ :attachment_id)
3030
+ SENSITIVE = []
3031
+ include Aws::Structure
3032
+ end
3033
+
3034
+ # @!attribute [rw] direct_connect_gateway_attachment
3035
+ # Shows details about the Direct Connect gateway attachment.
3036
+ # @return [Types::DirectConnectGatewayAttachment]
3037
+ #
3038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDirectConnectGatewayAttachmentResponse AWS API Documentation
3039
+ #
3040
+ class GetDirectConnectGatewayAttachmentResponse < Struct.new(
3041
+ :direct_connect_gateway_attachment)
3042
+ SENSITIVE = []
3043
+ include Aws::Structure
3044
+ end
3045
+
2942
3046
  # @!attribute [rw] global_network_id
2943
3047
  # The ID of the global network.
2944
3048
  # @return [String]
@@ -5796,6 +5900,40 @@ module Aws::NetworkManager
5796
5900
  include Aws::Structure
5797
5901
  end
5798
5902
 
5903
+ # @!attribute [rw] attachment_id
5904
+ # The ID of the Direct Connect gateway attachment for the updated edge
5905
+ # locations.
5906
+ # @return [String]
5907
+ #
5908
+ # @!attribute [rw] edge_locations
5909
+ # One or more edge locations to update for the Direct Connect gateway
5910
+ # attachment. The updated array of edge locations overwrites the
5911
+ # previous array of locations. `EdgeLocations` is only used for Direct
5912
+ # Connect gateway attachments. Do
5913
+ # @return [Array<String>]
5914
+ #
5915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDirectConnectGatewayAttachmentRequest AWS API Documentation
5916
+ #
5917
+ class UpdateDirectConnectGatewayAttachmentRequest < Struct.new(
5918
+ :attachment_id,
5919
+ :edge_locations)
5920
+ SENSITIVE = []
5921
+ include Aws::Structure
5922
+ end
5923
+
5924
+ # @!attribute [rw] direct_connect_gateway_attachment
5925
+ # Returns details of the Direct Connect gateway attachment with the
5926
+ # updated edge locations.
5927
+ # @return [Types::DirectConnectGatewayAttachment]
5928
+ #
5929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDirectConnectGatewayAttachmentResponse AWS API Documentation
5930
+ #
5931
+ class UpdateDirectConnectGatewayAttachmentResponse < Struct.new(
5932
+ :direct_connect_gateway_attachment)
5933
+ SENSITIVE = []
5934
+ include Aws::Structure
5935
+ end
5936
+
5799
5937
  # @!attribute [rw] global_network_id
5800
5938
  # The ID of your global network.
5801
5939
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::NetworkManager
54
54
  autoload :EndpointProvider, 'aws-sdk-networkmanager/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-networkmanager/endpoints'
56
56
 
57
- GEM_VERSION = '1.54.0'
57
+ GEM_VERSION = '1.56.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -253,6 +253,25 @@ module Aws
253
253
  ) -> _CreateDeviceResponseSuccess
254
254
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeviceResponseSuccess
255
255
 
256
+ interface _CreateDirectConnectGatewayAttachmentResponseSuccess
257
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDirectConnectGatewayAttachmentResponse]
258
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#create_direct_connect_gateway_attachment-instance_method
261
+ def create_direct_connect_gateway_attachment: (
262
+ core_network_id: ::String,
263
+ direct_connect_gateway_arn: ::String,
264
+ edge_locations: Array[::String],
265
+ ?tags: Array[
266
+ {
267
+ key: ::String?,
268
+ value: ::String?
269
+ },
270
+ ],
271
+ ?client_token: ::String
272
+ ) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDirectConnectGatewayAttachmentResponseSuccess
274
+
256
275
  interface _CreateGlobalNetworkResponseSuccess
257
276
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateGlobalNetworkResponse]
258
277
  def global_network: () -> Types::GlobalNetwork
@@ -713,6 +732,16 @@ module Aws
713
732
  ) -> _GetDevicesResponseSuccess
714
733
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDevicesResponseSuccess
715
734
 
735
+ interface _GetDirectConnectGatewayAttachmentResponseSuccess
736
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDirectConnectGatewayAttachmentResponse]
737
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
738
+ end
739
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#get_direct_connect_gateway_attachment-instance_method
740
+ def get_direct_connect_gateway_attachment: (
741
+ attachment_id: ::String
742
+ ) -> _GetDirectConnectGatewayAttachmentResponseSuccess
743
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDirectConnectGatewayAttachmentResponseSuccess
744
+
716
745
  interface _GetLinkAssociationsResponseSuccess
717
746
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLinkAssociationsResponse]
718
747
  def link_associations: () -> ::Array[Types::LinkAssociation]
@@ -962,7 +991,7 @@ module Aws
962
991
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#list_attachments-instance_method
963
992
  def list_attachments: (
964
993
  ?core_network_id: ::String,
965
- ?attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE"),
994
+ ?attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE"),
966
995
  ?edge_location: ::String,
967
996
  ?state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING"),
968
997
  ?max_results: ::Integer,
@@ -1209,6 +1238,17 @@ module Aws
1209
1238
  ) -> _UpdateDeviceResponseSuccess
1210
1239
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDeviceResponseSuccess
1211
1240
 
1241
+ interface _UpdateDirectConnectGatewayAttachmentResponseSuccess
1242
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDirectConnectGatewayAttachmentResponse]
1243
+ def direct_connect_gateway_attachment: () -> Types::DirectConnectGatewayAttachment
1244
+ end
1245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkManager/Client.html#update_direct_connect_gateway_attachment-instance_method
1246
+ def update_direct_connect_gateway_attachment: (
1247
+ attachment_id: ::String,
1248
+ ?edge_locations: Array[::String]
1249
+ ) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
1250
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectConnectGatewayAttachmentResponseSuccess
1251
+
1212
1252
  interface _UpdateGlobalNetworkResponseSuccess
1213
1253
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGlobalNetworkResponse]
1214
1254
  def global_network: () -> Types::GlobalNetwork
data/sig/types.rbs CHANGED
@@ -91,9 +91,10 @@ module Aws::NetworkManager
91
91
  attr_accessor core_network_arn: ::String
92
92
  attr_accessor attachment_id: ::String
93
93
  attr_accessor owner_account_id: ::String
94
- attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE")
94
+ attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE")
95
95
  attr_accessor state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING")
96
96
  attr_accessor edge_location: ::String
97
+ attr_accessor edge_locations: ::Array[::String]
97
98
  attr_accessor resource_arn: ::String
98
99
  attr_accessor attachment_policy_rule_number: ::Integer
99
100
  attr_accessor segment_name: ::String
@@ -108,7 +109,7 @@ module Aws::NetworkManager
108
109
  end
109
110
 
110
111
  class AttachmentError
111
- attr_accessor code: ("VPC_NOT_FOUND" | "SUBNET_NOT_FOUND" | "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" | "SUBNET_NO_FREE_ADDRESSES" | "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" | "SUBNET_NO_IPV6_CIDRS" | "VPN_CONNECTION_NOT_FOUND" | "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED")
112
+ attr_accessor code: ("VPC_NOT_FOUND" | "SUBNET_NOT_FOUND" | "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" | "SUBNET_NO_FREE_ADDRESSES" | "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" | "SUBNET_NO_IPV6_CIDRS" | "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")
112
113
  attr_accessor message: ::String
113
114
  attr_accessor resource_arn: ::String
114
115
  attr_accessor request_id: ::String
@@ -445,6 +446,20 @@ module Aws::NetworkManager
445
446
  SENSITIVE: []
446
447
  end
447
448
 
449
+ class CreateDirectConnectGatewayAttachmentRequest
450
+ attr_accessor core_network_id: ::String
451
+ attr_accessor direct_connect_gateway_arn: ::String
452
+ attr_accessor edge_locations: ::Array[::String]
453
+ attr_accessor tags: ::Array[Types::Tag]
454
+ attr_accessor client_token: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class CreateDirectConnectGatewayAttachmentResponse
459
+ attr_accessor direct_connect_gateway_attachment: Types::DirectConnectGatewayAttachment
460
+ SENSITIVE: []
461
+ end
462
+
448
463
  class CreateGlobalNetworkRequest
449
464
  attr_accessor description: ::String
450
465
  attr_accessor tags: ::Array[Types::Tag]
@@ -703,6 +718,12 @@ module Aws::NetworkManager
703
718
  SENSITIVE: [:location]
704
719
  end
705
720
 
721
+ class DirectConnectGatewayAttachment
722
+ attr_accessor attachment: Types::Attachment
723
+ attr_accessor direct_connect_gateway_arn: ::String
724
+ SENSITIVE: []
725
+ end
726
+
706
727
  class DisassociateConnectPeerRequest
707
728
  attr_accessor global_network_id: ::String
708
729
  attr_accessor connect_peer_id: ::String
@@ -891,6 +912,16 @@ module Aws::NetworkManager
891
912
  SENSITIVE: []
892
913
  end
893
914
 
915
+ class GetDirectConnectGatewayAttachmentRequest
916
+ attr_accessor attachment_id: ::String
917
+ SENSITIVE: []
918
+ end
919
+
920
+ class GetDirectConnectGatewayAttachmentResponse
921
+ attr_accessor direct_connect_gateway_attachment: Types::DirectConnectGatewayAttachment
922
+ SENSITIVE: []
923
+ end
924
+
894
925
  class GetLinkAssociationsRequest
895
926
  attr_accessor global_network_id: ::String
896
927
  attr_accessor device_id: ::String
@@ -1161,7 +1192,7 @@ module Aws::NetworkManager
1161
1192
 
1162
1193
  class ListAttachmentsRequest
1163
1194
  attr_accessor core_network_id: ::String
1164
- attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "TRANSIT_GATEWAY_ROUTE_TABLE")
1195
+ attr_accessor attachment_type: ("CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE")
1165
1196
  attr_accessor edge_location: ::String
1166
1197
  attr_accessor state: ("REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING")
1167
1198
  attr_accessor max_results: ::Integer
@@ -1678,6 +1709,17 @@ module Aws::NetworkManager
1678
1709
  SENSITIVE: []
1679
1710
  end
1680
1711
 
1712
+ class UpdateDirectConnectGatewayAttachmentRequest
1713
+ attr_accessor attachment_id: ::String
1714
+ attr_accessor edge_locations: ::Array[::String]
1715
+ SENSITIVE: []
1716
+ end
1717
+
1718
+ class UpdateDirectConnectGatewayAttachmentResponse
1719
+ attr_accessor direct_connect_gateway_attachment: Types::DirectConnectGatewayAttachment
1720
+ SENSITIVE: []
1721
+ end
1722
+
1681
1723
  class UpdateGlobalNetworkRequest
1682
1724
  attr_accessor global_network_id: ::String
1683
1725
  attr_accessor description: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-networkmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement