aws-sdk-networkmanager 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,960 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::NetworkManager
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ AssociateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'AssociateCustomerGatewayRequest')
16
+ AssociateCustomerGatewayResponse = Shapes::StructureShape.new(name: 'AssociateCustomerGatewayResponse')
17
+ AssociateLinkRequest = Shapes::StructureShape.new(name: 'AssociateLinkRequest')
18
+ AssociateLinkResponse = Shapes::StructureShape.new(name: 'AssociateLinkResponse')
19
+ Bandwidth = Shapes::StructureShape.new(name: 'Bandwidth')
20
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
21
+ CreateDeviceRequest = Shapes::StructureShape.new(name: 'CreateDeviceRequest')
22
+ CreateDeviceResponse = Shapes::StructureShape.new(name: 'CreateDeviceResponse')
23
+ CreateGlobalNetworkRequest = Shapes::StructureShape.new(name: 'CreateGlobalNetworkRequest')
24
+ CreateGlobalNetworkResponse = Shapes::StructureShape.new(name: 'CreateGlobalNetworkResponse')
25
+ CreateLinkRequest = Shapes::StructureShape.new(name: 'CreateLinkRequest')
26
+ CreateLinkResponse = Shapes::StructureShape.new(name: 'CreateLinkResponse')
27
+ CreateSiteRequest = Shapes::StructureShape.new(name: 'CreateSiteRequest')
28
+ CreateSiteResponse = Shapes::StructureShape.new(name: 'CreateSiteResponse')
29
+ CustomerGatewayAssociation = Shapes::StructureShape.new(name: 'CustomerGatewayAssociation')
30
+ CustomerGatewayAssociationList = Shapes::ListShape.new(name: 'CustomerGatewayAssociationList')
31
+ CustomerGatewayAssociationState = Shapes::StringShape.new(name: 'CustomerGatewayAssociationState')
32
+ DateTime = Shapes::TimestampShape.new(name: 'DateTime')
33
+ DeleteDeviceRequest = Shapes::StructureShape.new(name: 'DeleteDeviceRequest')
34
+ DeleteDeviceResponse = Shapes::StructureShape.new(name: 'DeleteDeviceResponse')
35
+ DeleteGlobalNetworkRequest = Shapes::StructureShape.new(name: 'DeleteGlobalNetworkRequest')
36
+ DeleteGlobalNetworkResponse = Shapes::StructureShape.new(name: 'DeleteGlobalNetworkResponse')
37
+ DeleteLinkRequest = Shapes::StructureShape.new(name: 'DeleteLinkRequest')
38
+ DeleteLinkResponse = Shapes::StructureShape.new(name: 'DeleteLinkResponse')
39
+ DeleteSiteRequest = Shapes::StructureShape.new(name: 'DeleteSiteRequest')
40
+ DeleteSiteResponse = Shapes::StructureShape.new(name: 'DeleteSiteResponse')
41
+ DeregisterTransitGatewayRequest = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayRequest')
42
+ DeregisterTransitGatewayResponse = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayResponse')
43
+ DescribeGlobalNetworksRequest = Shapes::StructureShape.new(name: 'DescribeGlobalNetworksRequest')
44
+ DescribeGlobalNetworksResponse = Shapes::StructureShape.new(name: 'DescribeGlobalNetworksResponse')
45
+ Device = Shapes::StructureShape.new(name: 'Device')
46
+ DeviceList = Shapes::ListShape.new(name: 'DeviceList')
47
+ DeviceState = Shapes::StringShape.new(name: 'DeviceState')
48
+ DisassociateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'DisassociateCustomerGatewayRequest')
49
+ DisassociateCustomerGatewayResponse = Shapes::StructureShape.new(name: 'DisassociateCustomerGatewayResponse')
50
+ DisassociateLinkRequest = Shapes::StructureShape.new(name: 'DisassociateLinkRequest')
51
+ DisassociateLinkResponse = Shapes::StructureShape.new(name: 'DisassociateLinkResponse')
52
+ GetCustomerGatewayAssociationsRequest = Shapes::StructureShape.new(name: 'GetCustomerGatewayAssociationsRequest')
53
+ GetCustomerGatewayAssociationsResponse = Shapes::StructureShape.new(name: 'GetCustomerGatewayAssociationsResponse')
54
+ GetDevicesRequest = Shapes::StructureShape.new(name: 'GetDevicesRequest')
55
+ GetDevicesResponse = Shapes::StructureShape.new(name: 'GetDevicesResponse')
56
+ GetLinkAssociationsRequest = Shapes::StructureShape.new(name: 'GetLinkAssociationsRequest')
57
+ GetLinkAssociationsResponse = Shapes::StructureShape.new(name: 'GetLinkAssociationsResponse')
58
+ GetLinksRequest = Shapes::StructureShape.new(name: 'GetLinksRequest')
59
+ GetLinksResponse = Shapes::StructureShape.new(name: 'GetLinksResponse')
60
+ GetSitesRequest = Shapes::StructureShape.new(name: 'GetSitesRequest')
61
+ GetSitesResponse = Shapes::StructureShape.new(name: 'GetSitesResponse')
62
+ GetTransitGatewayRegistrationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayRegistrationsRequest')
63
+ GetTransitGatewayRegistrationsResponse = Shapes::StructureShape.new(name: 'GetTransitGatewayRegistrationsResponse')
64
+ GlobalNetwork = Shapes::StructureShape.new(name: 'GlobalNetwork')
65
+ GlobalNetworkList = Shapes::ListShape.new(name: 'GlobalNetworkList')
66
+ GlobalNetworkState = Shapes::StringShape.new(name: 'GlobalNetworkState')
67
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
68
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
69
+ Link = Shapes::StructureShape.new(name: 'Link')
70
+ LinkAssociation = Shapes::StructureShape.new(name: 'LinkAssociation')
71
+ LinkAssociationList = Shapes::ListShape.new(name: 'LinkAssociationList')
72
+ LinkAssociationState = Shapes::StringShape.new(name: 'LinkAssociationState')
73
+ LinkList = Shapes::ListShape.new(name: 'LinkList')
74
+ LinkState = Shapes::StringShape.new(name: 'LinkState')
75
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
76
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
77
+ Location = Shapes::StructureShape.new(name: 'Location')
78
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
79
+ RegisterTransitGatewayRequest = Shapes::StructureShape.new(name: 'RegisterTransitGatewayRequest')
80
+ RegisterTransitGatewayResponse = Shapes::StructureShape.new(name: 'RegisterTransitGatewayResponse')
81
+ ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
82
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
84
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
85
+ Site = Shapes::StructureShape.new(name: 'Site')
86
+ SiteList = Shapes::ListShape.new(name: 'SiteList')
87
+ SiteState = Shapes::StringShape.new(name: 'SiteState')
88
+ String = Shapes::StringShape.new(name: 'String')
89
+ StringList = Shapes::ListShape.new(name: 'StringList')
90
+ Tag = Shapes::StructureShape.new(name: 'Tag')
91
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
92
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
93
+ TagList = Shapes::ListShape.new(name: 'TagList')
94
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
95
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
96
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
97
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
98
+ TransitGatewayRegistration = Shapes::StructureShape.new(name: 'TransitGatewayRegistration')
99
+ TransitGatewayRegistrationList = Shapes::ListShape.new(name: 'TransitGatewayRegistrationList')
100
+ TransitGatewayRegistrationState = Shapes::StringShape.new(name: 'TransitGatewayRegistrationState')
101
+ TransitGatewayRegistrationStateReason = Shapes::StructureShape.new(name: 'TransitGatewayRegistrationStateReason')
102
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
103
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
104
+ UpdateDeviceRequest = Shapes::StructureShape.new(name: 'UpdateDeviceRequest')
105
+ UpdateDeviceResponse = Shapes::StructureShape.new(name: 'UpdateDeviceResponse')
106
+ UpdateGlobalNetworkRequest = Shapes::StructureShape.new(name: 'UpdateGlobalNetworkRequest')
107
+ UpdateGlobalNetworkResponse = Shapes::StructureShape.new(name: 'UpdateGlobalNetworkResponse')
108
+ UpdateLinkRequest = Shapes::StructureShape.new(name: 'UpdateLinkRequest')
109
+ UpdateLinkResponse = Shapes::StructureShape.new(name: 'UpdateLinkResponse')
110
+ UpdateSiteRequest = Shapes::StructureShape.new(name: 'UpdateSiteRequest')
111
+ UpdateSiteResponse = Shapes::StructureShape.new(name: 'UpdateSiteResponse')
112
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
113
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
114
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
115
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
116
+
117
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
118
+ AccessDeniedException.struct_class = Types::AccessDeniedException
119
+
120
+ AssociateCustomerGatewayRequest.add_member(:customer_gateway_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CustomerGatewayArn"))
121
+ AssociateCustomerGatewayRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
122
+ AssociateCustomerGatewayRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DeviceId"))
123
+ AssociateCustomerGatewayRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
124
+ AssociateCustomerGatewayRequest.struct_class = Types::AssociateCustomerGatewayRequest
125
+
126
+ AssociateCustomerGatewayResponse.add_member(:customer_gateway_association, Shapes::ShapeRef.new(shape: CustomerGatewayAssociation, location_name: "CustomerGatewayAssociation"))
127
+ AssociateCustomerGatewayResponse.struct_class = Types::AssociateCustomerGatewayResponse
128
+
129
+ AssociateLinkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
130
+ AssociateLinkRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DeviceId"))
131
+ AssociateLinkRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LinkId"))
132
+ AssociateLinkRequest.struct_class = Types::AssociateLinkRequest
133
+
134
+ AssociateLinkResponse.add_member(:link_association, Shapes::ShapeRef.new(shape: LinkAssociation, location_name: "LinkAssociation"))
135
+ AssociateLinkResponse.struct_class = Types::AssociateLinkResponse
136
+
137
+ Bandwidth.add_member(:upload_speed, Shapes::ShapeRef.new(shape: Integer, location_name: "UploadSpeed"))
138
+ Bandwidth.add_member(:download_speed, Shapes::ShapeRef.new(shape: Integer, location_name: "DownloadSpeed"))
139
+ Bandwidth.struct_class = Types::Bandwidth
140
+
141
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
142
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
143
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
144
+ ConflictException.struct_class = Types::ConflictException
145
+
146
+ CreateDeviceRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
147
+ CreateDeviceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
148
+ CreateDeviceRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
149
+ CreateDeviceRequest.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "Vendor"))
150
+ CreateDeviceRequest.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "Model"))
151
+ CreateDeviceRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "SerialNumber"))
152
+ CreateDeviceRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
153
+ CreateDeviceRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location_name: "SiteId"))
154
+ CreateDeviceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
155
+ CreateDeviceRequest.struct_class = Types::CreateDeviceRequest
156
+
157
+ CreateDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "Device"))
158
+ CreateDeviceResponse.struct_class = Types::CreateDeviceResponse
159
+
160
+ CreateGlobalNetworkRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
161
+ CreateGlobalNetworkRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
162
+ CreateGlobalNetworkRequest.struct_class = Types::CreateGlobalNetworkRequest
163
+
164
+ CreateGlobalNetworkResponse.add_member(:global_network, Shapes::ShapeRef.new(shape: GlobalNetwork, location_name: "GlobalNetwork"))
165
+ CreateGlobalNetworkResponse.struct_class = Types::CreateGlobalNetworkResponse
166
+
167
+ CreateLinkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
168
+ CreateLinkRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
169
+ CreateLinkRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
170
+ CreateLinkRequest.add_member(:bandwidth, Shapes::ShapeRef.new(shape: Bandwidth, required: true, location_name: "Bandwidth"))
171
+ CreateLinkRequest.add_member(:provider, Shapes::ShapeRef.new(shape: String, location_name: "Provider"))
172
+ CreateLinkRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SiteId"))
173
+ CreateLinkRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
174
+ CreateLinkRequest.struct_class = Types::CreateLinkRequest
175
+
176
+ CreateLinkResponse.add_member(:link, Shapes::ShapeRef.new(shape: Link, location_name: "Link"))
177
+ CreateLinkResponse.struct_class = Types::CreateLinkResponse
178
+
179
+ CreateSiteRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
180
+ CreateSiteRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
181
+ CreateSiteRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
182
+ CreateSiteRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
183
+ CreateSiteRequest.struct_class = Types::CreateSiteRequest
184
+
185
+ CreateSiteResponse.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
186
+ CreateSiteResponse.struct_class = Types::CreateSiteResponse
187
+
188
+ CustomerGatewayAssociation.add_member(:customer_gateway_arn, Shapes::ShapeRef.new(shape: String, location_name: "CustomerGatewayArn"))
189
+ CustomerGatewayAssociation.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
190
+ CustomerGatewayAssociation.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
191
+ CustomerGatewayAssociation.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
192
+ CustomerGatewayAssociation.add_member(:state, Shapes::ShapeRef.new(shape: CustomerGatewayAssociationState, location_name: "State"))
193
+ CustomerGatewayAssociation.struct_class = Types::CustomerGatewayAssociation
194
+
195
+ CustomerGatewayAssociationList.member = Shapes::ShapeRef.new(shape: CustomerGatewayAssociation)
196
+
197
+ DeleteDeviceRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
198
+ DeleteDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deviceId"))
199
+ DeleteDeviceRequest.struct_class = Types::DeleteDeviceRequest
200
+
201
+ DeleteDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "Device"))
202
+ DeleteDeviceResponse.struct_class = Types::DeleteDeviceResponse
203
+
204
+ DeleteGlobalNetworkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
205
+ DeleteGlobalNetworkRequest.struct_class = Types::DeleteGlobalNetworkRequest
206
+
207
+ DeleteGlobalNetworkResponse.add_member(:global_network, Shapes::ShapeRef.new(shape: GlobalNetwork, location_name: "GlobalNetwork"))
208
+ DeleteGlobalNetworkResponse.struct_class = Types::DeleteGlobalNetworkResponse
209
+
210
+ DeleteLinkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
211
+ DeleteLinkRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "linkId"))
212
+ DeleteLinkRequest.struct_class = Types::DeleteLinkRequest
213
+
214
+ DeleteLinkResponse.add_member(:link, Shapes::ShapeRef.new(shape: Link, location_name: "Link"))
215
+ DeleteLinkResponse.struct_class = Types::DeleteLinkResponse
216
+
217
+ DeleteSiteRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
218
+ DeleteSiteRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "siteId"))
219
+ DeleteSiteRequest.struct_class = Types::DeleteSiteRequest
220
+
221
+ DeleteSiteResponse.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
222
+ DeleteSiteResponse.struct_class = Types::DeleteSiteResponse
223
+
224
+ DeregisterTransitGatewayRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
225
+ DeregisterTransitGatewayRequest.add_member(:transit_gateway_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "transitGatewayArn"))
226
+ DeregisterTransitGatewayRequest.struct_class = Types::DeregisterTransitGatewayRequest
227
+
228
+ DeregisterTransitGatewayResponse.add_member(:transit_gateway_registration, Shapes::ShapeRef.new(shape: TransitGatewayRegistration, location_name: "TransitGatewayRegistration"))
229
+ DeregisterTransitGatewayResponse.struct_class = Types::DeregisterTransitGatewayResponse
230
+
231
+ DescribeGlobalNetworksRequest.add_member(:global_network_ids, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "globalNetworkIds"))
232
+ DescribeGlobalNetworksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
233
+ DescribeGlobalNetworksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
234
+ DescribeGlobalNetworksRequest.struct_class = Types::DescribeGlobalNetworksRequest
235
+
236
+ DescribeGlobalNetworksResponse.add_member(:global_networks, Shapes::ShapeRef.new(shape: GlobalNetworkList, location_name: "GlobalNetworks"))
237
+ DescribeGlobalNetworksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
238
+ DescribeGlobalNetworksResponse.struct_class = Types::DescribeGlobalNetworksResponse
239
+
240
+ Device.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
241
+ Device.add_member(:device_arn, Shapes::ShapeRef.new(shape: String, location_name: "DeviceArn"))
242
+ Device.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
243
+ Device.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
244
+ Device.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
245
+ Device.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "Vendor"))
246
+ Device.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "Model"))
247
+ Device.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "SerialNumber"))
248
+ Device.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
249
+ Device.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location_name: "SiteId"))
250
+ Device.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedAt"))
251
+ Device.add_member(:state, Shapes::ShapeRef.new(shape: DeviceState, location_name: "State"))
252
+ Device.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
253
+ Device.struct_class = Types::Device
254
+
255
+ DeviceList.member = Shapes::ShapeRef.new(shape: Device)
256
+
257
+ DisassociateCustomerGatewayRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
258
+ DisassociateCustomerGatewayRequest.add_member(:customer_gateway_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "customerGatewayArn"))
259
+ DisassociateCustomerGatewayRequest.struct_class = Types::DisassociateCustomerGatewayRequest
260
+
261
+ DisassociateCustomerGatewayResponse.add_member(:customer_gateway_association, Shapes::ShapeRef.new(shape: CustomerGatewayAssociation, location_name: "CustomerGatewayAssociation"))
262
+ DisassociateCustomerGatewayResponse.struct_class = Types::DisassociateCustomerGatewayResponse
263
+
264
+ DisassociateLinkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
265
+ DisassociateLinkRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "deviceId"))
266
+ DisassociateLinkRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "linkId"))
267
+ DisassociateLinkRequest.struct_class = Types::DisassociateLinkRequest
268
+
269
+ DisassociateLinkResponse.add_member(:link_association, Shapes::ShapeRef.new(shape: LinkAssociation, location_name: "LinkAssociation"))
270
+ DisassociateLinkResponse.struct_class = Types::DisassociateLinkResponse
271
+
272
+ GetCustomerGatewayAssociationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
273
+ GetCustomerGatewayAssociationsRequest.add_member(:customer_gateway_arns, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "customerGatewayArns"))
274
+ GetCustomerGatewayAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
275
+ GetCustomerGatewayAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
276
+ GetCustomerGatewayAssociationsRequest.struct_class = Types::GetCustomerGatewayAssociationsRequest
277
+
278
+ GetCustomerGatewayAssociationsResponse.add_member(:customer_gateway_associations, Shapes::ShapeRef.new(shape: CustomerGatewayAssociationList, location_name: "CustomerGatewayAssociations"))
279
+ GetCustomerGatewayAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
280
+ GetCustomerGatewayAssociationsResponse.struct_class = Types::GetCustomerGatewayAssociationsResponse
281
+
282
+ GetDevicesRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
283
+ GetDevicesRequest.add_member(:device_ids, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "deviceIds"))
284
+ GetDevicesRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "siteId"))
285
+ GetDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
286
+ GetDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
287
+ GetDevicesRequest.struct_class = Types::GetDevicesRequest
288
+
289
+ GetDevicesResponse.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceList, location_name: "Devices"))
290
+ GetDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
291
+ GetDevicesResponse.struct_class = Types::GetDevicesResponse
292
+
293
+ GetLinkAssociationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
294
+ GetLinkAssociationsRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "deviceId"))
295
+ GetLinkAssociationsRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "linkId"))
296
+ GetLinkAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
297
+ GetLinkAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
298
+ GetLinkAssociationsRequest.struct_class = Types::GetLinkAssociationsRequest
299
+
300
+ GetLinkAssociationsResponse.add_member(:link_associations, Shapes::ShapeRef.new(shape: LinkAssociationList, location_name: "LinkAssociations"))
301
+ GetLinkAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
302
+ GetLinkAssociationsResponse.struct_class = Types::GetLinkAssociationsResponse
303
+
304
+ GetLinksRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
305
+ GetLinksRequest.add_member(:link_ids, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "linkIds"))
306
+ GetLinksRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "siteId"))
307
+ GetLinksRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "type"))
308
+ GetLinksRequest.add_member(:provider, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "provider"))
309
+ GetLinksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
310
+ GetLinksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
311
+ GetLinksRequest.struct_class = Types::GetLinksRequest
312
+
313
+ GetLinksResponse.add_member(:links, Shapes::ShapeRef.new(shape: LinkList, location_name: "Links"))
314
+ GetLinksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
315
+ GetLinksResponse.struct_class = Types::GetLinksResponse
316
+
317
+ GetSitesRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
318
+ GetSitesRequest.add_member(:site_ids, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "siteIds"))
319
+ GetSitesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
320
+ GetSitesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
321
+ GetSitesRequest.struct_class = Types::GetSitesRequest
322
+
323
+ GetSitesResponse.add_member(:sites, Shapes::ShapeRef.new(shape: SiteList, location_name: "Sites"))
324
+ GetSitesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
325
+ GetSitesResponse.struct_class = Types::GetSitesResponse
326
+
327
+ GetTransitGatewayRegistrationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
328
+ GetTransitGatewayRegistrationsRequest.add_member(:transit_gateway_arns, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "transitGatewayArns"))
329
+ GetTransitGatewayRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
330
+ GetTransitGatewayRegistrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
331
+ GetTransitGatewayRegistrationsRequest.struct_class = Types::GetTransitGatewayRegistrationsRequest
332
+
333
+ GetTransitGatewayRegistrationsResponse.add_member(:transit_gateway_registrations, Shapes::ShapeRef.new(shape: TransitGatewayRegistrationList, location_name: "TransitGatewayRegistrations"))
334
+ GetTransitGatewayRegistrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
335
+ GetTransitGatewayRegistrationsResponse.struct_class = Types::GetTransitGatewayRegistrationsResponse
336
+
337
+ GlobalNetwork.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
338
+ GlobalNetwork.add_member(:global_network_arn, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkArn"))
339
+ GlobalNetwork.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
340
+ GlobalNetwork.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedAt"))
341
+ GlobalNetwork.add_member(:state, Shapes::ShapeRef.new(shape: GlobalNetworkState, location_name: "State"))
342
+ GlobalNetwork.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
343
+ GlobalNetwork.struct_class = Types::GlobalNetwork
344
+
345
+ GlobalNetworkList.member = Shapes::ShapeRef.new(shape: GlobalNetwork)
346
+
347
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
348
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
349
+ InternalServerException.struct_class = Types::InternalServerException
350
+
351
+ Link.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
352
+ Link.add_member(:link_arn, Shapes::ShapeRef.new(shape: String, location_name: "LinkArn"))
353
+ Link.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
354
+ Link.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location_name: "SiteId"))
355
+ Link.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
356
+ Link.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
357
+ Link.add_member(:bandwidth, Shapes::ShapeRef.new(shape: Bandwidth, location_name: "Bandwidth"))
358
+ Link.add_member(:provider, Shapes::ShapeRef.new(shape: String, location_name: "Provider"))
359
+ Link.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedAt"))
360
+ Link.add_member(:state, Shapes::ShapeRef.new(shape: LinkState, location_name: "State"))
361
+ Link.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
362
+ Link.struct_class = Types::Link
363
+
364
+ LinkAssociation.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
365
+ LinkAssociation.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
366
+ LinkAssociation.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
367
+ LinkAssociation.add_member(:link_association_state, Shapes::ShapeRef.new(shape: LinkAssociationState, location_name: "LinkAssociationState"))
368
+ LinkAssociation.struct_class = Types::LinkAssociation
369
+
370
+ LinkAssociationList.member = Shapes::ShapeRef.new(shape: LinkAssociation)
371
+
372
+ LinkList.member = Shapes::ShapeRef.new(shape: Link)
373
+
374
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "uri", location_name: "resourceArn"))
375
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
376
+
377
+ ListTagsForResourceResponse.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
378
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
379
+
380
+ Location.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
381
+ Location.add_member(:latitude, Shapes::ShapeRef.new(shape: String, location_name: "Latitude"))
382
+ Location.add_member(:longitude, Shapes::ShapeRef.new(shape: String, location_name: "Longitude"))
383
+ Location.struct_class = Types::Location
384
+
385
+ RegisterTransitGatewayRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
386
+ RegisterTransitGatewayRequest.add_member(:transit_gateway_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayArn"))
387
+ RegisterTransitGatewayRequest.struct_class = Types::RegisterTransitGatewayRequest
388
+
389
+ RegisterTransitGatewayResponse.add_member(:transit_gateway_registration, Shapes::ShapeRef.new(shape: TransitGatewayRegistration, location_name: "TransitGatewayRegistration"))
390
+ RegisterTransitGatewayResponse.struct_class = Types::RegisterTransitGatewayResponse
391
+
392
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
393
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceId"))
394
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
395
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
396
+
397
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
398
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
399
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
400
+ ServiceQuotaExceededException.add_member(:limit_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LimitCode"))
401
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceCode"))
402
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
403
+
404
+ Site.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location_name: "SiteId"))
405
+ Site.add_member(:site_arn, Shapes::ShapeRef.new(shape: String, location_name: "SiteArn"))
406
+ Site.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
407
+ Site.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
408
+ Site.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
409
+ Site.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedAt"))
410
+ Site.add_member(:state, Shapes::ShapeRef.new(shape: SiteState, location_name: "State"))
411
+ Site.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
412
+ Site.struct_class = Types::Site
413
+
414
+ SiteList.member = Shapes::ShapeRef.new(shape: Site)
415
+
416
+ StringList.member = Shapes::ShapeRef.new(shape: String)
417
+
418
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
419
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
420
+ Tag.struct_class = Types::Tag
421
+
422
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
423
+
424
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
425
+
426
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "uri", location_name: "resourceArn"))
427
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
428
+ TagResourceRequest.struct_class = Types::TagResourceRequest
429
+
430
+ TagResourceResponse.struct_class = Types::TagResourceResponse
431
+
432
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
433
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
434
+ ThrottlingException.struct_class = Types::ThrottlingException
435
+
436
+ TransitGatewayRegistration.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
437
+ TransitGatewayRegistration.add_member(:transit_gateway_arn, Shapes::ShapeRef.new(shape: String, location_name: "TransitGatewayArn"))
438
+ TransitGatewayRegistration.add_member(:state, Shapes::ShapeRef.new(shape: TransitGatewayRegistrationStateReason, location_name: "State"))
439
+ TransitGatewayRegistration.struct_class = Types::TransitGatewayRegistration
440
+
441
+ TransitGatewayRegistrationList.member = Shapes::ShapeRef.new(shape: TransitGatewayRegistration)
442
+
443
+ TransitGatewayRegistrationStateReason.add_member(:code, Shapes::ShapeRef.new(shape: TransitGatewayRegistrationState, location_name: "Code"))
444
+ TransitGatewayRegistrationStateReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
445
+ TransitGatewayRegistrationStateReason.struct_class = Types::TransitGatewayRegistrationStateReason
446
+
447
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location: "uri", location_name: "resourceArn"))
448
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
449
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
450
+
451
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
452
+
453
+ UpdateDeviceRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
454
+ UpdateDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deviceId"))
455
+ UpdateDeviceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
456
+ UpdateDeviceRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
457
+ UpdateDeviceRequest.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "Vendor"))
458
+ UpdateDeviceRequest.add_member(:model, Shapes::ShapeRef.new(shape: String, location_name: "Model"))
459
+ UpdateDeviceRequest.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "SerialNumber"))
460
+ UpdateDeviceRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
461
+ UpdateDeviceRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, location_name: "SiteId"))
462
+ UpdateDeviceRequest.struct_class = Types::UpdateDeviceRequest
463
+
464
+ UpdateDeviceResponse.add_member(:device, Shapes::ShapeRef.new(shape: Device, location_name: "Device"))
465
+ UpdateDeviceResponse.struct_class = Types::UpdateDeviceResponse
466
+
467
+ UpdateGlobalNetworkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
468
+ UpdateGlobalNetworkRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
469
+ UpdateGlobalNetworkRequest.struct_class = Types::UpdateGlobalNetworkRequest
470
+
471
+ UpdateGlobalNetworkResponse.add_member(:global_network, Shapes::ShapeRef.new(shape: GlobalNetwork, location_name: "GlobalNetwork"))
472
+ UpdateGlobalNetworkResponse.struct_class = Types::UpdateGlobalNetworkResponse
473
+
474
+ UpdateLinkRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
475
+ UpdateLinkRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "linkId"))
476
+ UpdateLinkRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
477
+ UpdateLinkRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
478
+ UpdateLinkRequest.add_member(:bandwidth, Shapes::ShapeRef.new(shape: Bandwidth, location_name: "Bandwidth"))
479
+ UpdateLinkRequest.add_member(:provider, Shapes::ShapeRef.new(shape: String, location_name: "Provider"))
480
+ UpdateLinkRequest.struct_class = Types::UpdateLinkRequest
481
+
482
+ UpdateLinkResponse.add_member(:link, Shapes::ShapeRef.new(shape: Link, location_name: "Link"))
483
+ UpdateLinkResponse.struct_class = Types::UpdateLinkResponse
484
+
485
+ UpdateSiteRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
486
+ UpdateSiteRequest.add_member(:site_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "siteId"))
487
+ UpdateSiteRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
488
+ UpdateSiteRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
489
+ UpdateSiteRequest.struct_class = Types::UpdateSiteRequest
490
+
491
+ UpdateSiteResponse.add_member(:site, Shapes::ShapeRef.new(shape: Site, location_name: "Site"))
492
+ UpdateSiteResponse.struct_class = Types::UpdateSiteResponse
493
+
494
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
495
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
496
+ ValidationException.add_member(:fields, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "Fields"))
497
+ ValidationException.struct_class = Types::ValidationException
498
+
499
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
500
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
501
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
502
+
503
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
504
+
505
+
506
+ # @api private
507
+ API = Seahorse::Model::Api.new.tap do |api|
508
+
509
+ api.version = "2019-07-05"
510
+
511
+ api.metadata = {
512
+ "apiVersion" => "2019-07-05",
513
+ "endpointPrefix" => "networkmanager",
514
+ "jsonVersion" => "1.1",
515
+ "protocol" => "rest-json",
516
+ "serviceAbbreviation" => "NetworkManager",
517
+ "serviceFullName" => "AWS Network Manager",
518
+ "serviceId" => "NetworkManager",
519
+ "signatureVersion" => "v4",
520
+ "signingName" => "networkmanager",
521
+ "uid" => "networkmanager-2019-07-05",
522
+ }
523
+
524
+ api.add_operation(:associate_customer_gateway, Seahorse::Model::Operation.new.tap do |o|
525
+ o.name = "AssociateCustomerGateway"
526
+ o.http_method = "POST"
527
+ o.http_request_uri = "/global-networks/{globalNetworkId}/customer-gateway-associations"
528
+ o.input = Shapes::ShapeRef.new(shape: AssociateCustomerGatewayRequest)
529
+ o.output = Shapes::ShapeRef.new(shape: AssociateCustomerGatewayResponse)
530
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
532
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
536
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
537
+ end)
538
+
539
+ api.add_operation(:associate_link, Seahorse::Model::Operation.new.tap do |o|
540
+ o.name = "AssociateLink"
541
+ o.http_method = "POST"
542
+ o.http_request_uri = "/global-networks/{globalNetworkId}/link-associations"
543
+ o.input = Shapes::ShapeRef.new(shape: AssociateLinkRequest)
544
+ o.output = Shapes::ShapeRef.new(shape: AssociateLinkResponse)
545
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
546
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
547
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
551
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
552
+ end)
553
+
554
+ api.add_operation(:create_device, Seahorse::Model::Operation.new.tap do |o|
555
+ o.name = "CreateDevice"
556
+ o.http_method = "POST"
557
+ o.http_request_uri = "/global-networks/{globalNetworkId}/devices"
558
+ o.input = Shapes::ShapeRef.new(shape: CreateDeviceRequest)
559
+ o.output = Shapes::ShapeRef.new(shape: CreateDeviceResponse)
560
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
562
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
563
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
565
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
566
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
567
+ end)
568
+
569
+ api.add_operation(:create_global_network, Seahorse::Model::Operation.new.tap do |o|
570
+ o.name = "CreateGlobalNetwork"
571
+ o.http_method = "POST"
572
+ o.http_request_uri = "/global-networks"
573
+ o.input = Shapes::ShapeRef.new(shape: CreateGlobalNetworkRequest)
574
+ o.output = Shapes::ShapeRef.new(shape: CreateGlobalNetworkResponse)
575
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
576
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
577
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
578
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
579
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
580
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
581
+ end)
582
+
583
+ api.add_operation(:create_link, Seahorse::Model::Operation.new.tap do |o|
584
+ o.name = "CreateLink"
585
+ o.http_method = "POST"
586
+ o.http_request_uri = "/global-networks/{globalNetworkId}/links"
587
+ o.input = Shapes::ShapeRef.new(shape: CreateLinkRequest)
588
+ o.output = Shapes::ShapeRef.new(shape: CreateLinkResponse)
589
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
590
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
591
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
592
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
593
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
594
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
595
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
596
+ end)
597
+
598
+ api.add_operation(:create_site, Seahorse::Model::Operation.new.tap do |o|
599
+ o.name = "CreateSite"
600
+ o.http_method = "POST"
601
+ o.http_request_uri = "/global-networks/{globalNetworkId}/sites"
602
+ o.input = Shapes::ShapeRef.new(shape: CreateSiteRequest)
603
+ o.output = Shapes::ShapeRef.new(shape: CreateSiteResponse)
604
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
605
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
606
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
607
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
610
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
611
+ end)
612
+
613
+ api.add_operation(:delete_device, Seahorse::Model::Operation.new.tap do |o|
614
+ o.name = "DeleteDevice"
615
+ o.http_method = "DELETE"
616
+ o.http_request_uri = "/global-networks/{globalNetworkId}/devices/{deviceId}"
617
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeviceRequest)
618
+ o.output = Shapes::ShapeRef.new(shape: DeleteDeviceResponse)
619
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
620
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
624
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
625
+ end)
626
+
627
+ api.add_operation(:delete_global_network, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "DeleteGlobalNetwork"
629
+ o.http_method = "DELETE"
630
+ o.http_request_uri = "/global-networks/{globalNetworkId}"
631
+ o.input = Shapes::ShapeRef.new(shape: DeleteGlobalNetworkRequest)
632
+ o.output = Shapes::ShapeRef.new(shape: DeleteGlobalNetworkResponse)
633
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
634
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
635
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
638
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
639
+ end)
640
+
641
+ api.add_operation(:delete_link, Seahorse::Model::Operation.new.tap do |o|
642
+ o.name = "DeleteLink"
643
+ o.http_method = "DELETE"
644
+ o.http_request_uri = "/global-networks/{globalNetworkId}/links/{linkId}"
645
+ o.input = Shapes::ShapeRef.new(shape: DeleteLinkRequest)
646
+ o.output = Shapes::ShapeRef.new(shape: DeleteLinkResponse)
647
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
648
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
651
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
653
+ end)
654
+
655
+ api.add_operation(:delete_site, Seahorse::Model::Operation.new.tap do |o|
656
+ o.name = "DeleteSite"
657
+ o.http_method = "DELETE"
658
+ o.http_request_uri = "/global-networks/{globalNetworkId}/sites/{siteId}"
659
+ o.input = Shapes::ShapeRef.new(shape: DeleteSiteRequest)
660
+ o.output = Shapes::ShapeRef.new(shape: DeleteSiteResponse)
661
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
662
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
663
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
664
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
665
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
666
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
667
+ end)
668
+
669
+ api.add_operation(:deregister_transit_gateway, Seahorse::Model::Operation.new.tap do |o|
670
+ o.name = "DeregisterTransitGateway"
671
+ o.http_method = "DELETE"
672
+ o.http_request_uri = "/global-networks/{globalNetworkId}/transit-gateway-registrations/{transitGatewayArn}"
673
+ o.input = Shapes::ShapeRef.new(shape: DeregisterTransitGatewayRequest)
674
+ o.output = Shapes::ShapeRef.new(shape: DeregisterTransitGatewayResponse)
675
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
676
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
677
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
681
+ end)
682
+
683
+ api.add_operation(:describe_global_networks, Seahorse::Model::Operation.new.tap do |o|
684
+ o.name = "DescribeGlobalNetworks"
685
+ o.http_method = "GET"
686
+ o.http_request_uri = "/global-networks"
687
+ o.input = Shapes::ShapeRef.new(shape: DescribeGlobalNetworksRequest)
688
+ o.output = Shapes::ShapeRef.new(shape: DescribeGlobalNetworksResponse)
689
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
690
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
692
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
693
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
694
+ o[:pager] = Aws::Pager.new(
695
+ limit_key: "max_results",
696
+ tokens: {
697
+ "next_token" => "next_token"
698
+ }
699
+ )
700
+ end)
701
+
702
+ api.add_operation(:disassociate_customer_gateway, Seahorse::Model::Operation.new.tap do |o|
703
+ o.name = "DisassociateCustomerGateway"
704
+ o.http_method = "DELETE"
705
+ o.http_request_uri = "/global-networks/{globalNetworkId}/customer-gateway-associations/{customerGatewayArn}"
706
+ o.input = Shapes::ShapeRef.new(shape: DisassociateCustomerGatewayRequest)
707
+ o.output = Shapes::ShapeRef.new(shape: DisassociateCustomerGatewayResponse)
708
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
709
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
710
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
713
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
714
+ end)
715
+
716
+ api.add_operation(:disassociate_link, Seahorse::Model::Operation.new.tap do |o|
717
+ o.name = "DisassociateLink"
718
+ o.http_method = "DELETE"
719
+ o.http_request_uri = "/global-networks/{globalNetworkId}/link-associations"
720
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLinkRequest)
721
+ o.output = Shapes::ShapeRef.new(shape: DisassociateLinkResponse)
722
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
723
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
725
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
727
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
728
+ end)
729
+
730
+ api.add_operation(:get_customer_gateway_associations, Seahorse::Model::Operation.new.tap do |o|
731
+ o.name = "GetCustomerGatewayAssociations"
732
+ o.http_method = "GET"
733
+ o.http_request_uri = "/global-networks/{globalNetworkId}/customer-gateway-associations"
734
+ o.input = Shapes::ShapeRef.new(shape: GetCustomerGatewayAssociationsRequest)
735
+ o.output = Shapes::ShapeRef.new(shape: GetCustomerGatewayAssociationsResponse)
736
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
737
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
738
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
742
+ o[:pager] = Aws::Pager.new(
743
+ limit_key: "max_results",
744
+ tokens: {
745
+ "next_token" => "next_token"
746
+ }
747
+ )
748
+ end)
749
+
750
+ api.add_operation(:get_devices, Seahorse::Model::Operation.new.tap do |o|
751
+ o.name = "GetDevices"
752
+ o.http_method = "GET"
753
+ o.http_request_uri = "/global-networks/{globalNetworkId}/devices"
754
+ o.input = Shapes::ShapeRef.new(shape: GetDevicesRequest)
755
+ o.output = Shapes::ShapeRef.new(shape: GetDevicesResponse)
756
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
757
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
758
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
759
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
760
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
761
+ o[:pager] = Aws::Pager.new(
762
+ limit_key: "max_results",
763
+ tokens: {
764
+ "next_token" => "next_token"
765
+ }
766
+ )
767
+ end)
768
+
769
+ api.add_operation(:get_link_associations, Seahorse::Model::Operation.new.tap do |o|
770
+ o.name = "GetLinkAssociations"
771
+ o.http_method = "GET"
772
+ o.http_request_uri = "/global-networks/{globalNetworkId}/link-associations"
773
+ o.input = Shapes::ShapeRef.new(shape: GetLinkAssociationsRequest)
774
+ o.output = Shapes::ShapeRef.new(shape: GetLinkAssociationsResponse)
775
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
776
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
777
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
779
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
780
+ o[:pager] = Aws::Pager.new(
781
+ limit_key: "max_results",
782
+ tokens: {
783
+ "next_token" => "next_token"
784
+ }
785
+ )
786
+ end)
787
+
788
+ api.add_operation(:get_links, Seahorse::Model::Operation.new.tap do |o|
789
+ o.name = "GetLinks"
790
+ o.http_method = "GET"
791
+ o.http_request_uri = "/global-networks/{globalNetworkId}/links"
792
+ o.input = Shapes::ShapeRef.new(shape: GetLinksRequest)
793
+ o.output = Shapes::ShapeRef.new(shape: GetLinksResponse)
794
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
795
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
796
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
798
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
799
+ o[:pager] = Aws::Pager.new(
800
+ limit_key: "max_results",
801
+ tokens: {
802
+ "next_token" => "next_token"
803
+ }
804
+ )
805
+ end)
806
+
807
+ api.add_operation(:get_sites, Seahorse::Model::Operation.new.tap do |o|
808
+ o.name = "GetSites"
809
+ o.http_method = "GET"
810
+ o.http_request_uri = "/global-networks/{globalNetworkId}/sites"
811
+ o.input = Shapes::ShapeRef.new(shape: GetSitesRequest)
812
+ o.output = Shapes::ShapeRef.new(shape: GetSitesResponse)
813
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
814
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
817
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
818
+ o[:pager] = Aws::Pager.new(
819
+ limit_key: "max_results",
820
+ tokens: {
821
+ "next_token" => "next_token"
822
+ }
823
+ )
824
+ end)
825
+
826
+ api.add_operation(:get_transit_gateway_registrations, Seahorse::Model::Operation.new.tap do |o|
827
+ o.name = "GetTransitGatewayRegistrations"
828
+ o.http_method = "GET"
829
+ o.http_request_uri = "/global-networks/{globalNetworkId}/transit-gateway-registrations"
830
+ o.input = Shapes::ShapeRef.new(shape: GetTransitGatewayRegistrationsRequest)
831
+ o.output = Shapes::ShapeRef.new(shape: GetTransitGatewayRegistrationsResponse)
832
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
833
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
835
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
836
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
837
+ o[:pager] = Aws::Pager.new(
838
+ limit_key: "max_results",
839
+ tokens: {
840
+ "next_token" => "next_token"
841
+ }
842
+ )
843
+ end)
844
+
845
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
846
+ o.name = "ListTagsForResource"
847
+ o.http_method = "GET"
848
+ o.http_request_uri = "/tags/{resourceArn}"
849
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
850
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
851
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
852
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
854
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
855
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
856
+ end)
857
+
858
+ api.add_operation(:register_transit_gateway, Seahorse::Model::Operation.new.tap do |o|
859
+ o.name = "RegisterTransitGateway"
860
+ o.http_method = "POST"
861
+ o.http_request_uri = "/global-networks/{globalNetworkId}/transit-gateway-registrations"
862
+ o.input = Shapes::ShapeRef.new(shape: RegisterTransitGatewayRequest)
863
+ o.output = Shapes::ShapeRef.new(shape: RegisterTransitGatewayResponse)
864
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
865
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
867
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
868
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
869
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
870
+ end)
871
+
872
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
873
+ o.name = "TagResource"
874
+ o.http_method = "POST"
875
+ o.http_request_uri = "/tags/{resourceArn}"
876
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
877
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
878
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
879
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
880
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
881
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
884
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
885
+ end)
886
+
887
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
888
+ o.name = "UntagResource"
889
+ o.http_method = "DELETE"
890
+ o.http_request_uri = "/tags/{resourceArn}"
891
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
892
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
893
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
894
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
895
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
897
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
898
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
899
+ end)
900
+
901
+ api.add_operation(:update_device, Seahorse::Model::Operation.new.tap do |o|
902
+ o.name = "UpdateDevice"
903
+ o.http_method = "PATCH"
904
+ o.http_request_uri = "/global-networks/{globalNetworkId}/devices/{deviceId}"
905
+ o.input = Shapes::ShapeRef.new(shape: UpdateDeviceRequest)
906
+ o.output = Shapes::ShapeRef.new(shape: UpdateDeviceResponse)
907
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
908
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
909
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
910
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
913
+ end)
914
+
915
+ api.add_operation(:update_global_network, Seahorse::Model::Operation.new.tap do |o|
916
+ o.name = "UpdateGlobalNetwork"
917
+ o.http_method = "PATCH"
918
+ o.http_request_uri = "/global-networks/{globalNetworkId}"
919
+ o.input = Shapes::ShapeRef.new(shape: UpdateGlobalNetworkRequest)
920
+ o.output = Shapes::ShapeRef.new(shape: UpdateGlobalNetworkResponse)
921
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
922
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
924
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
926
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
927
+ end)
928
+
929
+ api.add_operation(:update_link, Seahorse::Model::Operation.new.tap do |o|
930
+ o.name = "UpdateLink"
931
+ o.http_method = "PATCH"
932
+ o.http_request_uri = "/global-networks/{globalNetworkId}/links/{linkId}"
933
+ o.input = Shapes::ShapeRef.new(shape: UpdateLinkRequest)
934
+ o.output = Shapes::ShapeRef.new(shape: UpdateLinkResponse)
935
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
936
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
937
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
938
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
939
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
941
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
942
+ end)
943
+
944
+ api.add_operation(:update_site, Seahorse::Model::Operation.new.tap do |o|
945
+ o.name = "UpdateSite"
946
+ o.http_method = "PATCH"
947
+ o.http_request_uri = "/global-networks/{globalNetworkId}/sites/{siteId}"
948
+ o.input = Shapes::ShapeRef.new(shape: UpdateSiteRequest)
949
+ o.output = Shapes::ShapeRef.new(shape: UpdateSiteResponse)
950
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
951
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
952
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
954
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
955
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
956
+ end)
957
+ end
958
+
959
+ end
960
+ end