aws-sdk-globalaccelerator 1.13.0 → 1.14.1
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.
@@ -18,8 +18,15 @@ module Aws::GlobalAccelerator
|
|
18
18
|
AcceleratorStatus = Shapes::StringShape.new(name: 'AcceleratorStatus')
|
19
19
|
Accelerators = Shapes::ListShape.new(name: 'Accelerators')
|
20
20
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
21
|
+
AdvertiseByoipCidrRequest = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrRequest')
|
22
|
+
AdvertiseByoipCidrResponse = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrResponse')
|
21
23
|
AssociatedEndpointGroupFoundException = Shapes::StructureShape.new(name: 'AssociatedEndpointGroupFoundException')
|
22
24
|
AssociatedListenerFoundException = Shapes::StructureShape.new(name: 'AssociatedListenerFoundException')
|
25
|
+
ByoipCidr = Shapes::StructureShape.new(name: 'ByoipCidr')
|
26
|
+
ByoipCidrNotFoundException = Shapes::StructureShape.new(name: 'ByoipCidrNotFoundException')
|
27
|
+
ByoipCidrState = Shapes::StringShape.new(name: 'ByoipCidrState')
|
28
|
+
ByoipCidrs = Shapes::ListShape.new(name: 'ByoipCidrs')
|
29
|
+
CidrAuthorizationContext = Shapes::StructureShape.new(name: 'CidrAuthorizationContext')
|
23
30
|
ClientAffinity = Shapes::StringShape.new(name: 'ClientAffinity')
|
24
31
|
CreateAcceleratorRequest = Shapes::StructureShape.new(name: 'CreateAcceleratorRequest')
|
25
32
|
CreateAcceleratorResponse = Shapes::StructureShape.new(name: 'CreateAcceleratorResponse')
|
@@ -30,6 +37,8 @@ module Aws::GlobalAccelerator
|
|
30
37
|
DeleteAcceleratorRequest = Shapes::StructureShape.new(name: 'DeleteAcceleratorRequest')
|
31
38
|
DeleteEndpointGroupRequest = Shapes::StructureShape.new(name: 'DeleteEndpointGroupRequest')
|
32
39
|
DeleteListenerRequest = Shapes::StructureShape.new(name: 'DeleteListenerRequest')
|
40
|
+
DeprovisionByoipCidrRequest = Shapes::StructureShape.new(name: 'DeprovisionByoipCidrRequest')
|
41
|
+
DeprovisionByoipCidrResponse = Shapes::StructureShape.new(name: 'DeprovisionByoipCidrResponse')
|
33
42
|
DescribeAcceleratorAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAcceleratorAttributesRequest')
|
34
43
|
DescribeAcceleratorAttributesResponse = Shapes::StructureShape.new(name: 'DescribeAcceleratorAttributesResponse')
|
35
44
|
DescribeAcceleratorRequest = Shapes::StructureShape.new(name: 'DescribeAcceleratorRequest')
|
@@ -55,6 +64,7 @@ module Aws::GlobalAccelerator
|
|
55
64
|
HealthCheckProtocol = Shapes::StringShape.new(name: 'HealthCheckProtocol')
|
56
65
|
HealthState = Shapes::StringShape.new(name: 'HealthState')
|
57
66
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
67
|
+
IncorrectCidrStateException = Shapes::StructureShape.new(name: 'IncorrectCidrStateException')
|
58
68
|
InternalServiceErrorException = Shapes::StructureShape.new(name: 'InternalServiceErrorException')
|
59
69
|
InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
|
60
70
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
@@ -67,10 +77,14 @@ module Aws::GlobalAccelerator
|
|
67
77
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
68
78
|
ListAcceleratorsRequest = Shapes::StructureShape.new(name: 'ListAcceleratorsRequest')
|
69
79
|
ListAcceleratorsResponse = Shapes::StructureShape.new(name: 'ListAcceleratorsResponse')
|
80
|
+
ListByoipCidrsRequest = Shapes::StructureShape.new(name: 'ListByoipCidrsRequest')
|
81
|
+
ListByoipCidrsResponse = Shapes::StructureShape.new(name: 'ListByoipCidrsResponse')
|
70
82
|
ListEndpointGroupsRequest = Shapes::StructureShape.new(name: 'ListEndpointGroupsRequest')
|
71
83
|
ListEndpointGroupsResponse = Shapes::StructureShape.new(name: 'ListEndpointGroupsResponse')
|
72
84
|
ListListenersRequest = Shapes::StructureShape.new(name: 'ListListenersRequest')
|
73
85
|
ListListenersResponse = Shapes::StructureShape.new(name: 'ListListenersResponse')
|
86
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
87
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
74
88
|
Listener = Shapes::StructureShape.new(name: 'Listener')
|
75
89
|
ListenerNotFoundException = Shapes::StructureShape.new(name: 'ListenerNotFoundException')
|
76
90
|
Listeners = Shapes::ListShape.new(name: 'Listeners')
|
@@ -79,9 +93,21 @@ module Aws::GlobalAccelerator
|
|
79
93
|
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
80
94
|
PortRanges = Shapes::ListShape.new(name: 'PortRanges')
|
81
95
|
Protocol = Shapes::StringShape.new(name: 'Protocol')
|
96
|
+
ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
|
97
|
+
ProvisionByoipCidrResponse = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResponse')
|
98
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
99
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
100
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
101
|
+
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
102
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
103
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
104
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
105
|
+
Tags = Shapes::ListShape.new(name: 'Tags')
|
82
106
|
ThresholdCount = Shapes::IntegerShape.new(name: 'ThresholdCount')
|
83
107
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
84
108
|
TrafficDialPercentage = Shapes::FloatShape.new(name: 'TrafficDialPercentage')
|
109
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
110
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
85
111
|
UpdateAcceleratorAttributesRequest = Shapes::StructureShape.new(name: 'UpdateAcceleratorAttributesRequest')
|
86
112
|
UpdateAcceleratorAttributesResponse = Shapes::StructureShape.new(name: 'UpdateAcceleratorAttributesResponse')
|
87
113
|
UpdateAcceleratorRequest = Shapes::StructureShape.new(name: 'UpdateAcceleratorRequest')
|
@@ -90,6 +116,8 @@ module Aws::GlobalAccelerator
|
|
90
116
|
UpdateEndpointGroupResponse = Shapes::StructureShape.new(name: 'UpdateEndpointGroupResponse')
|
91
117
|
UpdateListenerRequest = Shapes::StructureShape.new(name: 'UpdateListenerRequest')
|
92
118
|
UpdateListenerResponse = Shapes::StructureShape.new(name: 'UpdateListenerResponse')
|
119
|
+
WithdrawByoipCidrRequest = Shapes::StructureShape.new(name: 'WithdrawByoipCidrRequest')
|
120
|
+
WithdrawByoipCidrResponse = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResponse')
|
93
121
|
|
94
122
|
Accelerator.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AcceleratorArn"))
|
95
123
|
Accelerator.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, location_name: "Name"))
|
@@ -118,16 +146,37 @@ module Aws::GlobalAccelerator
|
|
118
146
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
119
147
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
120
148
|
|
149
|
+
AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Cidr"))
|
150
|
+
AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
|
151
|
+
|
152
|
+
AdvertiseByoipCidrResponse.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "ByoipCidr"))
|
153
|
+
AdvertiseByoipCidrResponse.struct_class = Types::AdvertiseByoipCidrResponse
|
154
|
+
|
121
155
|
AssociatedEndpointGroupFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
122
156
|
AssociatedEndpointGroupFoundException.struct_class = Types::AssociatedEndpointGroupFoundException
|
123
157
|
|
124
158
|
AssociatedListenerFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
125
159
|
AssociatedListenerFoundException.struct_class = Types::AssociatedListenerFoundException
|
126
160
|
|
161
|
+
ByoipCidr.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, location_name: "Cidr"))
|
162
|
+
ByoipCidr.add_member(:state, Shapes::ShapeRef.new(shape: ByoipCidrState, location_name: "State"))
|
163
|
+
ByoipCidr.struct_class = Types::ByoipCidr
|
164
|
+
|
165
|
+
ByoipCidrNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
166
|
+
ByoipCidrNotFoundException.struct_class = Types::ByoipCidrNotFoundException
|
167
|
+
|
168
|
+
ByoipCidrs.member = Shapes::ShapeRef.new(shape: ByoipCidr)
|
169
|
+
|
170
|
+
CidrAuthorizationContext.add_member(:message, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Message"))
|
171
|
+
CidrAuthorizationContext.add_member(:signature, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Signature"))
|
172
|
+
CidrAuthorizationContext.struct_class = Types::CidrAuthorizationContext
|
173
|
+
|
127
174
|
CreateAcceleratorRequest.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Name"))
|
128
175
|
CreateAcceleratorRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
176
|
+
CreateAcceleratorRequest.add_member(:ip_addresses, Shapes::ShapeRef.new(shape: IpAddresses, location_name: "IpAddresses"))
|
129
177
|
CreateAcceleratorRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "Enabled"))
|
130
|
-
CreateAcceleratorRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
|
178
|
+
CreateAcceleratorRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
179
|
+
CreateAcceleratorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
131
180
|
CreateAcceleratorRequest.struct_class = Types::CreateAcceleratorRequest
|
132
181
|
|
133
182
|
CreateAcceleratorResponse.add_member(:accelerator, Shapes::ShapeRef.new(shape: Accelerator, location_name: "Accelerator"))
|
@@ -142,7 +191,7 @@ module Aws::GlobalAccelerator
|
|
142
191
|
CreateEndpointGroupRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: GenericString, location_name: "HealthCheckPath"))
|
143
192
|
CreateEndpointGroupRequest.add_member(:health_check_interval_seconds, Shapes::ShapeRef.new(shape: HealthCheckIntervalSeconds, location_name: "HealthCheckIntervalSeconds"))
|
144
193
|
CreateEndpointGroupRequest.add_member(:threshold_count, Shapes::ShapeRef.new(shape: ThresholdCount, location_name: "ThresholdCount"))
|
145
|
-
CreateEndpointGroupRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
|
194
|
+
CreateEndpointGroupRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
146
195
|
CreateEndpointGroupRequest.struct_class = Types::CreateEndpointGroupRequest
|
147
196
|
|
148
197
|
CreateEndpointGroupResponse.add_member(:endpoint_group, Shapes::ShapeRef.new(shape: EndpointGroup, location_name: "EndpointGroup"))
|
@@ -152,7 +201,7 @@ module Aws::GlobalAccelerator
|
|
152
201
|
CreateListenerRequest.add_member(:port_ranges, Shapes::ShapeRef.new(shape: PortRanges, required: true, location_name: "PortRanges"))
|
153
202
|
CreateListenerRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
|
154
203
|
CreateListenerRequest.add_member(:client_affinity, Shapes::ShapeRef.new(shape: ClientAffinity, location_name: "ClientAffinity"))
|
155
|
-
CreateListenerRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken"))
|
204
|
+
CreateListenerRequest.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
|
156
205
|
CreateListenerRequest.struct_class = Types::CreateListenerRequest
|
157
206
|
|
158
207
|
CreateListenerResponse.add_member(:listener, Shapes::ShapeRef.new(shape: Listener, location_name: "Listener"))
|
@@ -167,6 +216,12 @@ module Aws::GlobalAccelerator
|
|
167
216
|
DeleteListenerRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
|
168
217
|
DeleteListenerRequest.struct_class = Types::DeleteListenerRequest
|
169
218
|
|
219
|
+
DeprovisionByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Cidr"))
|
220
|
+
DeprovisionByoipCidrRequest.struct_class = Types::DeprovisionByoipCidrRequest
|
221
|
+
|
222
|
+
DeprovisionByoipCidrResponse.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "ByoipCidr"))
|
223
|
+
DeprovisionByoipCidrResponse.struct_class = Types::DeprovisionByoipCidrResponse
|
224
|
+
|
170
225
|
DescribeAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
|
171
226
|
DescribeAcceleratorAttributesRequest.struct_class = Types::DescribeAcceleratorAttributesRequest
|
172
227
|
|
@@ -226,6 +281,9 @@ module Aws::GlobalAccelerator
|
|
226
281
|
|
227
282
|
EndpointGroups.member = Shapes::ShapeRef.new(shape: EndpointGroup)
|
228
283
|
|
284
|
+
IncorrectCidrStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
285
|
+
IncorrectCidrStateException.struct_class = Types::IncorrectCidrStateException
|
286
|
+
|
229
287
|
InternalServiceErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
230
288
|
InternalServiceErrorException.struct_class = Types::InternalServiceErrorException
|
231
289
|
|
@@ -257,6 +315,14 @@ module Aws::GlobalAccelerator
|
|
257
315
|
ListAcceleratorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
258
316
|
ListAcceleratorsResponse.struct_class = Types::ListAcceleratorsResponse
|
259
317
|
|
318
|
+
ListByoipCidrsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
319
|
+
ListByoipCidrsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
320
|
+
ListByoipCidrsRequest.struct_class = Types::ListByoipCidrsRequest
|
321
|
+
|
322
|
+
ListByoipCidrsResponse.add_member(:byoip_cidrs, Shapes::ShapeRef.new(shape: ByoipCidrs, location_name: "ByoipCidrs"))
|
323
|
+
ListByoipCidrsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
324
|
+
ListByoipCidrsResponse.struct_class = Types::ListByoipCidrsResponse
|
325
|
+
|
260
326
|
ListEndpointGroupsRequest.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "ListenerArn"))
|
261
327
|
ListEndpointGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
262
328
|
ListEndpointGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
@@ -275,6 +341,12 @@ module Aws::GlobalAccelerator
|
|
275
341
|
ListListenersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
276
342
|
ListListenersResponse.struct_class = Types::ListListenersResponse
|
277
343
|
|
344
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
345
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
346
|
+
|
347
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
348
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
349
|
+
|
278
350
|
Listener.add_member(:listener_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "ListenerArn"))
|
279
351
|
Listener.add_member(:port_ranges, Shapes::ShapeRef.new(shape: PortRanges, location_name: "PortRanges"))
|
280
352
|
Listener.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, location_name: "Protocol"))
|
@@ -292,6 +364,33 @@ module Aws::GlobalAccelerator
|
|
292
364
|
|
293
365
|
PortRanges.member = Shapes::ShapeRef.new(shape: PortRange)
|
294
366
|
|
367
|
+
ProvisionByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Cidr"))
|
368
|
+
ProvisionByoipCidrRequest.add_member(:cidr_authorization_context, Shapes::ShapeRef.new(shape: CidrAuthorizationContext, required: true, location_name: "CidrAuthorizationContext"))
|
369
|
+
ProvisionByoipCidrRequest.struct_class = Types::ProvisionByoipCidrRequest
|
370
|
+
|
371
|
+
ProvisionByoipCidrResponse.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "ByoipCidr"))
|
372
|
+
ProvisionByoipCidrResponse.struct_class = Types::ProvisionByoipCidrResponse
|
373
|
+
|
374
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
375
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
376
|
+
Tag.struct_class = Types::Tag
|
377
|
+
|
378
|
+
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
379
|
+
|
380
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
381
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
382
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
383
|
+
|
384
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
385
|
+
|
386
|
+
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
387
|
+
|
388
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
|
389
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
|
390
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
391
|
+
|
392
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
393
|
+
|
295
394
|
UpdateAcceleratorAttributesRequest.add_member(:accelerator_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AcceleratorArn"))
|
296
395
|
UpdateAcceleratorAttributesRequest.add_member(:flow_logs_enabled, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "FlowLogsEnabled"))
|
297
396
|
UpdateAcceleratorAttributesRequest.add_member(:flow_logs_s3_bucket, Shapes::ShapeRef.new(shape: GenericString, location_name: "FlowLogsS3Bucket"))
|
@@ -332,6 +431,12 @@ module Aws::GlobalAccelerator
|
|
332
431
|
UpdateListenerResponse.add_member(:listener, Shapes::ShapeRef.new(shape: Listener, location_name: "Listener"))
|
333
432
|
UpdateListenerResponse.struct_class = Types::UpdateListenerResponse
|
334
433
|
|
434
|
+
WithdrawByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Cidr"))
|
435
|
+
WithdrawByoipCidrRequest.struct_class = Types::WithdrawByoipCidrRequest
|
436
|
+
|
437
|
+
WithdrawByoipCidrResponse.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "ByoipCidr"))
|
438
|
+
WithdrawByoipCidrResponse.struct_class = Types::WithdrawByoipCidrResponse
|
439
|
+
|
335
440
|
|
336
441
|
# @api private
|
337
442
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -351,6 +456,19 @@ module Aws::GlobalAccelerator
|
|
351
456
|
"uid" => "globalaccelerator-2018-08-08",
|
352
457
|
}
|
353
458
|
|
459
|
+
api.add_operation(:advertise_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "AdvertiseByoipCidr"
|
461
|
+
o.http_method = "POST"
|
462
|
+
o.http_request_uri = "/"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: AdvertiseByoipCidrRequest)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: AdvertiseByoipCidrResponse)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: ByoipCidrNotFoundException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectCidrStateException)
|
470
|
+
end)
|
471
|
+
|
354
472
|
api.add_operation(:create_accelerator, Seahorse::Model::Operation.new.tap do |o|
|
355
473
|
o.name = "CreateAccelerator"
|
356
474
|
o.http_method = "POST"
|
@@ -426,6 +544,19 @@ module Aws::GlobalAccelerator
|
|
426
544
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
427
545
|
end)
|
428
546
|
|
547
|
+
api.add_operation(:deprovision_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
|
548
|
+
o.name = "DeprovisionByoipCidr"
|
549
|
+
o.http_method = "POST"
|
550
|
+
o.http_request_uri = "/"
|
551
|
+
o.input = Shapes::ShapeRef.new(shape: DeprovisionByoipCidrRequest)
|
552
|
+
o.output = Shapes::ShapeRef.new(shape: DeprovisionByoipCidrResponse)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
554
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
555
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
556
|
+
o.errors << Shapes::ShapeRef.new(shape: ByoipCidrNotFoundException)
|
557
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectCidrStateException)
|
558
|
+
end)
|
559
|
+
|
429
560
|
api.add_operation(:describe_accelerator, Seahorse::Model::Operation.new.tap do |o|
|
430
561
|
o.name = "DescribeAccelerator"
|
431
562
|
o.http_method = "POST"
|
@@ -481,6 +612,18 @@ module Aws::GlobalAccelerator
|
|
481
612
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
482
613
|
end)
|
483
614
|
|
615
|
+
api.add_operation(:list_byoip_cidrs, Seahorse::Model::Operation.new.tap do |o|
|
616
|
+
o.name = "ListByoipCidrs"
|
617
|
+
o.http_method = "POST"
|
618
|
+
o.http_request_uri = "/"
|
619
|
+
o.input = Shapes::ShapeRef.new(shape: ListByoipCidrsRequest)
|
620
|
+
o.output = Shapes::ShapeRef.new(shape: ListByoipCidrsResponse)
|
621
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
622
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
623
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
625
|
+
end)
|
626
|
+
|
484
627
|
api.add_operation(:list_endpoint_groups, Seahorse::Model::Operation.new.tap do |o|
|
485
628
|
o.name = "ListEndpointGroups"
|
486
629
|
o.http_method = "POST"
|
@@ -505,6 +648,52 @@ module Aws::GlobalAccelerator
|
|
505
648
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
506
649
|
end)
|
507
650
|
|
651
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
652
|
+
o.name = "ListTagsForResource"
|
653
|
+
o.http_method = "POST"
|
654
|
+
o.http_request_uri = "/"
|
655
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
656
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
657
|
+
o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
660
|
+
end)
|
661
|
+
|
662
|
+
api.add_operation(:provision_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
|
663
|
+
o.name = "ProvisionByoipCidr"
|
664
|
+
o.http_method = "POST"
|
665
|
+
o.http_request_uri = "/"
|
666
|
+
o.input = Shapes::ShapeRef.new(shape: ProvisionByoipCidrRequest)
|
667
|
+
o.output = Shapes::ShapeRef.new(shape: ProvisionByoipCidrResponse)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectCidrStateException)
|
673
|
+
end)
|
674
|
+
|
675
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
676
|
+
o.name = "TagResource"
|
677
|
+
o.http_method = "POST"
|
678
|
+
o.http_request_uri = "/"
|
679
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
680
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
|
682
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
683
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
684
|
+
end)
|
685
|
+
|
686
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
687
|
+
o.name = "UntagResource"
|
688
|
+
o.http_method = "POST"
|
689
|
+
o.http_request_uri = "/"
|
690
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
691
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: AcceleratorNotFoundException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
695
|
+
end)
|
696
|
+
|
508
697
|
api.add_operation(:update_accelerator, Seahorse::Model::Operation.new.tap do |o|
|
509
698
|
o.name = "UpdateAccelerator"
|
510
699
|
o.http_method = "POST"
|
@@ -553,6 +742,19 @@ module Aws::GlobalAccelerator
|
|
553
742
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
554
743
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
555
744
|
end)
|
745
|
+
|
746
|
+
api.add_operation(:withdraw_byoip_cidr, Seahorse::Model::Operation.new.tap do |o|
|
747
|
+
o.name = "WithdrawByoipCidr"
|
748
|
+
o.http_method = "POST"
|
749
|
+
o.http_request_uri = "/"
|
750
|
+
o.input = Shapes::ShapeRef.new(shape: WithdrawByoipCidrRequest)
|
751
|
+
o.output = Shapes::ShapeRef.new(shape: WithdrawByoipCidrResponse)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
753
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
754
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: ByoipCidrNotFoundException)
|
756
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectCidrStateException)
|
757
|
+
end)
|
556
758
|
end
|
557
759
|
|
558
760
|
end
|
@@ -90,6 +90,22 @@ module Aws::GlobalAccelerator
|
|
90
90
|
|
91
91
|
end
|
92
92
|
|
93
|
+
class ByoipCidrNotFoundException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::GlobalAccelerator::Types::ByoipCidrNotFoundException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
93
109
|
class EndpointGroupAlreadyExistsException < ServiceError
|
94
110
|
|
95
111
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -122,6 +138,22 @@ module Aws::GlobalAccelerator
|
|
122
138
|
|
123
139
|
end
|
124
140
|
|
141
|
+
class IncorrectCidrStateException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::GlobalAccelerator::Types::IncorrectCidrStateException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
125
157
|
class InternalServiceErrorException < ServiceError
|
126
158
|
|
127
159
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -43,12 +43,12 @@ module Aws::GlobalAccelerator
|
|
43
43
|
# The Domain Name System (DNS) name that Global Accelerator creates
|
44
44
|
# that points to your accelerator's static IP addresses.
|
45
45
|
#
|
46
|
-
# The naming convention for the DNS name is
|
47
|
-
# followed by a 16-bit random hex string, followed by
|
46
|
+
# The naming convention for the DNS name is the following: A lowercase
|
47
|
+
# letter a, followed by a 16-bit random hex string, followed by
|
48
48
|
# .awsglobalaccelerator.com. For example:
|
49
49
|
# a1234567890abcdef.awsglobalaccelerator.com.
|
50
50
|
#
|
51
|
-
# For more information about the default DNS name, see [Support for
|
51
|
+
# For more information about the default DNS name, see [ Support for
|
52
52
|
# DNS Addressing in Global Accelerator][1] in the *AWS Global
|
53
53
|
# Accelerator Developer Guide*.
|
54
54
|
#
|
@@ -108,9 +108,14 @@ module Aws::GlobalAccelerator
|
|
108
108
|
#
|
109
109
|
# @!attribute [rw] flow_logs_s3_prefix
|
110
110
|
# The prefix for the location in the Amazon S3 bucket for the flow
|
111
|
-
# logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
112
|
-
#
|
113
|
-
#
|
111
|
+
# logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
112
|
+
#
|
113
|
+
# If you don’t specify a prefix, the flow logs are stored in the root
|
114
|
+
# of the bucket. If you specify slash (/) for the S3 bucket prefix,
|
115
|
+
# the log file bucket folder structure will include a double slash
|
116
|
+
# (//), like the following:
|
117
|
+
#
|
118
|
+
# s3-bucket\_name//AWSLogs/aws\_account\_id
|
114
119
|
# @return [String]
|
115
120
|
#
|
116
121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AcceleratorAttributes AWS API Documentation
|
@@ -158,6 +163,37 @@ module Aws::GlobalAccelerator
|
|
158
163
|
include Aws::Structure
|
159
164
|
end
|
160
165
|
|
166
|
+
# @note When making an API call, you may pass AdvertiseByoipCidrRequest
|
167
|
+
# data as a hash:
|
168
|
+
#
|
169
|
+
# {
|
170
|
+
# cidr: "GenericString", # required
|
171
|
+
# }
|
172
|
+
#
|
173
|
+
# @!attribute [rw] cidr
|
174
|
+
# The address range, in CIDR notation. This must be the exact range
|
175
|
+
# that you provisioned. You can't advertise only a portion of the
|
176
|
+
# provisioned range.
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidrRequest AWS API Documentation
|
180
|
+
#
|
181
|
+
class AdvertiseByoipCidrRequest < Struct.new(
|
182
|
+
:cidr)
|
183
|
+
include Aws::Structure
|
184
|
+
end
|
185
|
+
|
186
|
+
# @!attribute [rw] byoip_cidr
|
187
|
+
# Information about the address range.
|
188
|
+
# @return [Types::ByoipCidr]
|
189
|
+
#
|
190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidrResponse AWS API Documentation
|
191
|
+
#
|
192
|
+
class AdvertiseByoipCidrResponse < Struct.new(
|
193
|
+
:byoip_cidr)
|
194
|
+
include Aws::Structure
|
195
|
+
end
|
196
|
+
|
161
197
|
# The listener that you specified has an endpoint group associated with
|
162
198
|
# it. You must remove all dependent resources from a listener before you
|
163
199
|
# can delete it.
|
@@ -186,14 +222,135 @@ module Aws::GlobalAccelerator
|
|
186
222
|
include Aws::Structure
|
187
223
|
end
|
188
224
|
|
225
|
+
# Information about an IP address range that is provisioned for use with
|
226
|
+
# your AWS resources through bring your own IP addresses (BYOIP).
|
227
|
+
#
|
228
|
+
# The following describes each BYOIP `State` that your IP address range
|
229
|
+
# can be in.
|
230
|
+
#
|
231
|
+
# * **PENDING\_PROVISIONING** — You’ve submitted a request to provision
|
232
|
+
# an IP address range but it is not yet provisioned with AWS Global
|
233
|
+
# Accelerator.
|
234
|
+
#
|
235
|
+
# * **READY** — The address range is provisioned with AWS Global
|
236
|
+
# Accelerator and can be advertised.
|
237
|
+
#
|
238
|
+
# * **PENDING\_ADVERTISING** — You’ve submitted a request for AWS Global
|
239
|
+
# Accelerator to advertise an address range but it is not yet being
|
240
|
+
# advertised.
|
241
|
+
#
|
242
|
+
# * **ADVERTISING** — The address range is being advertised by AWS
|
243
|
+
# Global Accelerator.
|
244
|
+
#
|
245
|
+
# * **PENDING\_WITHDRAWING** — You’ve submitted a request to withdraw an
|
246
|
+
# address range from being advertised but it is still being advertised
|
247
|
+
# by AWS Global Accelerator.
|
248
|
+
#
|
249
|
+
# * **PENDING\_DEPROVISIONING** — You’ve submitted a request to
|
250
|
+
# deprovision an address range from AWS Global Accelerator but it is
|
251
|
+
# still provisioned.
|
252
|
+
#
|
253
|
+
# * **DEPROVISIONED** — The address range is deprovisioned from AWS
|
254
|
+
# Global Accelerator.
|
255
|
+
#
|
256
|
+
# * <b>FAILED\_PROVISION </b> — The request to provision the address
|
257
|
+
# range from AWS Global Accelerator was not successful. Please make
|
258
|
+
# sure that you provide all of the correct information, and try again.
|
259
|
+
# If the request fails a second time, contact AWS support.
|
260
|
+
#
|
261
|
+
# * **FAILED\_ADVERTISING** — The request for AWS Global Accelerator to
|
262
|
+
# advertise the address range was not successful. Please make sure
|
263
|
+
# that you provide all of the correct information, and try again. If
|
264
|
+
# the request fails a second time, contact AWS support.
|
265
|
+
#
|
266
|
+
# * **FAILED\_WITHDRAW** — The request to withdraw the address range
|
267
|
+
# from advertising by AWS Global Accelerator was not successful.
|
268
|
+
# Please make sure that you provide all of the correct information,
|
269
|
+
# and try again. If the request fails a second time, contact AWS
|
270
|
+
# support.
|
271
|
+
#
|
272
|
+
# * <b>FAILED\_DEPROVISION </b> — The request to deprovision the address
|
273
|
+
# range from AWS Global Accelerator was not successful. Please make
|
274
|
+
# sure that you provide all of the correct information, and try again.
|
275
|
+
# If the request fails a second time, contact AWS support.
|
276
|
+
#
|
277
|
+
# @!attribute [rw] cidr
|
278
|
+
# The address range, in CIDR notation.
|
279
|
+
# @return [String]
|
280
|
+
#
|
281
|
+
# @!attribute [rw] state
|
282
|
+
# The state of the address pool.
|
283
|
+
# @return [String]
|
284
|
+
#
|
285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidr AWS API Documentation
|
286
|
+
#
|
287
|
+
class ByoipCidr < Struct.new(
|
288
|
+
:cidr,
|
289
|
+
:state)
|
290
|
+
include Aws::Structure
|
291
|
+
end
|
292
|
+
|
293
|
+
# The CIDR that you specified was not found or is incorrect.
|
294
|
+
#
|
295
|
+
# @!attribute [rw] message
|
296
|
+
# @return [String]
|
297
|
+
#
|
298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidrNotFoundException AWS API Documentation
|
299
|
+
#
|
300
|
+
class ByoipCidrNotFoundException < Struct.new(
|
301
|
+
:message)
|
302
|
+
include Aws::Structure
|
303
|
+
end
|
304
|
+
|
305
|
+
# Provides authorization for Amazon to bring a specific IP address range
|
306
|
+
# to a specific AWS account using bring your own IP addresses (BYOIP).
|
307
|
+
#
|
308
|
+
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
|
309
|
+
# the *AWS Global Accelerator Developer Guide*.
|
310
|
+
#
|
311
|
+
#
|
312
|
+
#
|
313
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
|
314
|
+
#
|
315
|
+
# @note When making an API call, you may pass CidrAuthorizationContext
|
316
|
+
# data as a hash:
|
317
|
+
#
|
318
|
+
# {
|
319
|
+
# message: "GenericString", # required
|
320
|
+
# signature: "GenericString", # required
|
321
|
+
# }
|
322
|
+
#
|
323
|
+
# @!attribute [rw] message
|
324
|
+
# The plain-text authorization message for the prefix and account.
|
325
|
+
# @return [String]
|
326
|
+
#
|
327
|
+
# @!attribute [rw] signature
|
328
|
+
# The signed authorization message for the prefix and account.
|
329
|
+
# @return [String]
|
330
|
+
#
|
331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CidrAuthorizationContext AWS API Documentation
|
332
|
+
#
|
333
|
+
class CidrAuthorizationContext < Struct.new(
|
334
|
+
:message,
|
335
|
+
:signature)
|
336
|
+
include Aws::Structure
|
337
|
+
end
|
338
|
+
|
189
339
|
# @note When making an API call, you may pass CreateAcceleratorRequest
|
190
340
|
# data as a hash:
|
191
341
|
#
|
192
342
|
# {
|
193
343
|
# name: "GenericString", # required
|
194
344
|
# ip_address_type: "IPV4", # accepts IPV4
|
345
|
+
# ip_addresses: ["IpAddress"],
|
195
346
|
# enabled: false,
|
196
347
|
# idempotency_token: "IdempotencyToken", # required
|
348
|
+
# tags: [
|
349
|
+
# {
|
350
|
+
# key: "TagKey", # required
|
351
|
+
# value: "TagValue", # required
|
352
|
+
# },
|
353
|
+
# ],
|
197
354
|
# }
|
198
355
|
#
|
199
356
|
# @!attribute [rw] name
|
@@ -206,6 +363,24 @@ module Aws::GlobalAccelerator
|
|
206
363
|
# The value for the address type must be IPv4.
|
207
364
|
# @return [String]
|
208
365
|
#
|
366
|
+
# @!attribute [rw] ip_addresses
|
367
|
+
# Optionally, if you've added your own IP address pool to Global
|
368
|
+
# Accelerator, you can choose IP addresses from your own pool to use
|
369
|
+
# for the accelerator's static IP addresses. You can specify one or
|
370
|
+
# two addresses, separated by a comma. Do not include the /32 suffix.
|
371
|
+
#
|
372
|
+
# If you specify only one IP address from your IP address range,
|
373
|
+
# Global Accelerator assigns a second static IP address for the
|
374
|
+
# accelerator from the AWS IP address pool.
|
375
|
+
#
|
376
|
+
# For more information, see [Bring Your Own IP Addresses (BYOIP)][1]
|
377
|
+
# in the *AWS Global Accelerator Developer Guide*.
|
378
|
+
#
|
379
|
+
#
|
380
|
+
#
|
381
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
|
382
|
+
# @return [Array<String>]
|
383
|
+
#
|
209
384
|
# @!attribute [rw] enabled
|
210
385
|
# Indicates whether an accelerator is enabled. The value is true or
|
211
386
|
# false. The default value is true.
|
@@ -217,15 +392,31 @@ module Aws::GlobalAccelerator
|
|
217
392
|
# @!attribute [rw] idempotency_token
|
218
393
|
# A unique, case-sensitive identifier that you provide to ensure the
|
219
394
|
# idempotency—that is, the uniqueness—of an accelerator.
|
395
|
+
#
|
396
|
+
# **A suitable default value is auto-generated.** You should normally
|
397
|
+
# not need to pass this option.
|
220
398
|
# @return [String]
|
221
399
|
#
|
400
|
+
# @!attribute [rw] tags
|
401
|
+
# Create tags for an accelerator.
|
402
|
+
#
|
403
|
+
# For more information, see [Tagging in AWS Global Accelerator][1] in
|
404
|
+
# the *AWS Global Accelerator Developer Guide*.
|
405
|
+
#
|
406
|
+
#
|
407
|
+
#
|
408
|
+
# [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
|
409
|
+
# @return [Array<Types::Tag>]
|
410
|
+
#
|
222
411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAcceleratorRequest AWS API Documentation
|
223
412
|
#
|
224
413
|
class CreateAcceleratorRequest < Struct.new(
|
225
414
|
:name,
|
226
415
|
:ip_address_type,
|
416
|
+
:ip_addresses,
|
227
417
|
:enabled,
|
228
|
-
:idempotency_token
|
418
|
+
:idempotency_token,
|
419
|
+
:tags)
|
229
420
|
include Aws::Structure
|
230
421
|
end
|
231
422
|
|
@@ -322,6 +513,9 @@ module Aws::GlobalAccelerator
|
|
322
513
|
# @!attribute [rw] idempotency_token
|
323
514
|
# A unique, case-sensitive identifier that you provide to ensure the
|
324
515
|
# idempotency—that is, the uniqueness—of the request.
|
516
|
+
#
|
517
|
+
# **A suitable default value is auto-generated.** You should normally
|
518
|
+
# not need to pass this option.
|
325
519
|
# @return [String]
|
326
520
|
#
|
327
521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroupRequest AWS API Documentation
|
@@ -409,6 +603,9 @@ module Aws::GlobalAccelerator
|
|
409
603
|
# @!attribute [rw] idempotency_token
|
410
604
|
# A unique, case-sensitive identifier that you provide to ensure the
|
411
605
|
# idempotency—that is, the uniqueness—of the request.
|
606
|
+
#
|
607
|
+
# **A suitable default value is auto-generated.** You should normally
|
608
|
+
# not need to pass this option.
|
412
609
|
# @return [String]
|
413
610
|
#
|
414
611
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateListenerRequest AWS API Documentation
|
@@ -487,6 +684,36 @@ module Aws::GlobalAccelerator
|
|
487
684
|
include Aws::Structure
|
488
685
|
end
|
489
686
|
|
687
|
+
# @note When making an API call, you may pass DeprovisionByoipCidrRequest
|
688
|
+
# data as a hash:
|
689
|
+
#
|
690
|
+
# {
|
691
|
+
# cidr: "GenericString", # required
|
692
|
+
# }
|
693
|
+
#
|
694
|
+
# @!attribute [rw] cidr
|
695
|
+
# The address range, in CIDR notation. The prefix must be the same
|
696
|
+
# prefix that you specified when you provisioned the address range.
|
697
|
+
# @return [String]
|
698
|
+
#
|
699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidrRequest AWS API Documentation
|
700
|
+
#
|
701
|
+
class DeprovisionByoipCidrRequest < Struct.new(
|
702
|
+
:cidr)
|
703
|
+
include Aws::Structure
|
704
|
+
end
|
705
|
+
|
706
|
+
# @!attribute [rw] byoip_cidr
|
707
|
+
# Information about the address range.
|
708
|
+
# @return [Types::ByoipCidr]
|
709
|
+
#
|
710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidrResponse AWS API Documentation
|
711
|
+
#
|
712
|
+
class DeprovisionByoipCidrResponse < Struct.new(
|
713
|
+
:byoip_cidr)
|
714
|
+
include Aws::Structure
|
715
|
+
end
|
716
|
+
|
490
717
|
# @note When making an API call, you may pass DescribeAcceleratorAttributesRequest
|
491
718
|
# data as a hash:
|
492
719
|
#
|
@@ -619,7 +846,11 @@ module Aws::GlobalAccelerator
|
|
619
846
|
# An ID for the endpoint. If the endpoint is a Network Load Balancer
|
620
847
|
# or Application Load Balancer, this is the Amazon Resource Name (ARN)
|
621
848
|
# of the resource. If the endpoint is an Elastic IP address, this is
|
622
|
-
# the Elastic IP address allocation ID.
|
849
|
+
# the Elastic IP address allocation ID. For EC2 instances, this is the
|
850
|
+
# EC2 instance ID.
|
851
|
+
#
|
852
|
+
# An Application Load Balancer can be either internal or
|
853
|
+
# internet-facing.
|
623
854
|
# @return [String]
|
624
855
|
#
|
625
856
|
# @!attribute [rw] weight
|
@@ -673,8 +904,11 @@ module Aws::GlobalAccelerator
|
|
673
904
|
# An ID for the endpoint. If the endpoint is a Network Load Balancer
|
674
905
|
# or Application Load Balancer, this is the Amazon Resource Name (ARN)
|
675
906
|
# of the resource. If the endpoint is an Elastic IP address, this is
|
676
|
-
# the Elastic IP address allocation ID.
|
677
|
-
#
|
907
|
+
# the Elastic IP address allocation ID. For EC2 instances, this is the
|
908
|
+
# EC2 instance ID.
|
909
|
+
#
|
910
|
+
# An Application Load Balancer can be either internal or
|
911
|
+
# internet-facing.
|
678
912
|
# @return [String]
|
679
913
|
#
|
680
914
|
# @!attribute [rw] weight
|
@@ -849,6 +1083,19 @@ module Aws::GlobalAccelerator
|
|
849
1083
|
include Aws::Structure
|
850
1084
|
end
|
851
1085
|
|
1086
|
+
# The CIDR that you specified is not valid for this action. For example,
|
1087
|
+
# the state of the CIDR might be incorrect for this action.
|
1088
|
+
#
|
1089
|
+
# @!attribute [rw] message
|
1090
|
+
# @return [String]
|
1091
|
+
#
|
1092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/IncorrectCidrStateException AWS API Documentation
|
1093
|
+
#
|
1094
|
+
class IncorrectCidrStateException < Struct.new(
|
1095
|
+
:message)
|
1096
|
+
include Aws::Structure
|
1097
|
+
end
|
1098
|
+
|
852
1099
|
# There was an internal error for AWS Global Accelerator.
|
853
1100
|
#
|
854
1101
|
# @!attribute [rw] message
|
@@ -973,6 +1220,48 @@ module Aws::GlobalAccelerator
|
|
973
1220
|
include Aws::Structure
|
974
1221
|
end
|
975
1222
|
|
1223
|
+
# @note When making an API call, you may pass ListByoipCidrsRequest
|
1224
|
+
# data as a hash:
|
1225
|
+
#
|
1226
|
+
# {
|
1227
|
+
# max_results: 1,
|
1228
|
+
# next_token: "GenericString",
|
1229
|
+
# }
|
1230
|
+
#
|
1231
|
+
# @!attribute [rw] max_results
|
1232
|
+
# The maximum number of results to return with a single call. To
|
1233
|
+
# retrieve the remaining results, make another call with the returned
|
1234
|
+
# `nextToken` value.
|
1235
|
+
# @return [Integer]
|
1236
|
+
#
|
1237
|
+
# @!attribute [rw] next_token
|
1238
|
+
# The token for the next page of results.
|
1239
|
+
# @return [String]
|
1240
|
+
#
|
1241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrsRequest AWS API Documentation
|
1242
|
+
#
|
1243
|
+
class ListByoipCidrsRequest < Struct.new(
|
1244
|
+
:max_results,
|
1245
|
+
:next_token)
|
1246
|
+
include Aws::Structure
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# @!attribute [rw] byoip_cidrs
|
1250
|
+
# Information about your address ranges.
|
1251
|
+
# @return [Array<Types::ByoipCidr>]
|
1252
|
+
#
|
1253
|
+
# @!attribute [rw] next_token
|
1254
|
+
# The token for the next page of results.
|
1255
|
+
# @return [String]
|
1256
|
+
#
|
1257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrsResponse AWS API Documentation
|
1258
|
+
#
|
1259
|
+
class ListByoipCidrsResponse < Struct.new(
|
1260
|
+
:byoip_cidrs,
|
1261
|
+
:next_token)
|
1262
|
+
include Aws::Structure
|
1263
|
+
end
|
1264
|
+
|
976
1265
|
# @note When making an API call, you may pass ListEndpointGroupsRequest
|
977
1266
|
# data as a hash:
|
978
1267
|
#
|
@@ -1072,6 +1361,36 @@ module Aws::GlobalAccelerator
|
|
1072
1361
|
include Aws::Structure
|
1073
1362
|
end
|
1074
1363
|
|
1364
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1365
|
+
# data as a hash:
|
1366
|
+
#
|
1367
|
+
# {
|
1368
|
+
# resource_arn: "ResourceArn", # required
|
1369
|
+
# }
|
1370
|
+
#
|
1371
|
+
# @!attribute [rw] resource_arn
|
1372
|
+
# The Amazon Resource Name (ARN) of the accelerator to list tags for.
|
1373
|
+
# An ARN uniquely identifies an accelerator.
|
1374
|
+
# @return [String]
|
1375
|
+
#
|
1376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResourceRequest AWS API Documentation
|
1377
|
+
#
|
1378
|
+
class ListTagsForResourceRequest < Struct.new(
|
1379
|
+
:resource_arn)
|
1380
|
+
include Aws::Structure
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# @!attribute [rw] tags
|
1384
|
+
# Root level tag for the Tags parameters.
|
1385
|
+
# @return [Array<Types::Tag>]
|
1386
|
+
#
|
1387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResourceResponse AWS API Documentation
|
1388
|
+
#
|
1389
|
+
class ListTagsForResourceResponse < Struct.new(
|
1390
|
+
:tags)
|
1391
|
+
include Aws::Structure
|
1392
|
+
end
|
1393
|
+
|
1075
1394
|
# A complex type for a listener.
|
1076
1395
|
#
|
1077
1396
|
# @!attribute [rw] listener_arn
|
@@ -1161,6 +1480,139 @@ module Aws::GlobalAccelerator
|
|
1161
1480
|
include Aws::Structure
|
1162
1481
|
end
|
1163
1482
|
|
1483
|
+
# @note When making an API call, you may pass ProvisionByoipCidrRequest
|
1484
|
+
# data as a hash:
|
1485
|
+
#
|
1486
|
+
# {
|
1487
|
+
# cidr: "GenericString", # required
|
1488
|
+
# cidr_authorization_context: { # required
|
1489
|
+
# message: "GenericString", # required
|
1490
|
+
# signature: "GenericString", # required
|
1491
|
+
# },
|
1492
|
+
# }
|
1493
|
+
#
|
1494
|
+
# @!attribute [rw] cidr
|
1495
|
+
# The public IPv4 address range, in CIDR notation. The most specific
|
1496
|
+
# IP prefix that you can specify is /24. The address range cannot
|
1497
|
+
# overlap with another address range that you've brought to this or
|
1498
|
+
# another Region.
|
1499
|
+
# @return [String]
|
1500
|
+
#
|
1501
|
+
# @!attribute [rw] cidr_authorization_context
|
1502
|
+
# A signed document that proves that you are authorized to bring the
|
1503
|
+
# specified IP address range to Amazon using BYOIP.
|
1504
|
+
# @return [Types::CidrAuthorizationContext]
|
1505
|
+
#
|
1506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidrRequest AWS API Documentation
|
1507
|
+
#
|
1508
|
+
class ProvisionByoipCidrRequest < Struct.new(
|
1509
|
+
:cidr,
|
1510
|
+
:cidr_authorization_context)
|
1511
|
+
include Aws::Structure
|
1512
|
+
end
|
1513
|
+
|
1514
|
+
# @!attribute [rw] byoip_cidr
|
1515
|
+
# Information about the address range.
|
1516
|
+
# @return [Types::ByoipCidr]
|
1517
|
+
#
|
1518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidrResponse AWS API Documentation
|
1519
|
+
#
|
1520
|
+
class ProvisionByoipCidrResponse < Struct.new(
|
1521
|
+
:byoip_cidr)
|
1522
|
+
include Aws::Structure
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
# A complex type that contains a `Tag` key and `Tag` value.
|
1526
|
+
#
|
1527
|
+
# @note When making an API call, you may pass Tag
|
1528
|
+
# data as a hash:
|
1529
|
+
#
|
1530
|
+
# {
|
1531
|
+
# key: "TagKey", # required
|
1532
|
+
# value: "TagValue", # required
|
1533
|
+
# }
|
1534
|
+
#
|
1535
|
+
# @!attribute [rw] key
|
1536
|
+
# A string that contains a `Tag` key.
|
1537
|
+
# @return [String]
|
1538
|
+
#
|
1539
|
+
# @!attribute [rw] value
|
1540
|
+
# A string that contains a `Tag` value.
|
1541
|
+
# @return [String]
|
1542
|
+
#
|
1543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/Tag AWS API Documentation
|
1544
|
+
#
|
1545
|
+
class Tag < Struct.new(
|
1546
|
+
:key,
|
1547
|
+
:value)
|
1548
|
+
include Aws::Structure
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
# @note When making an API call, you may pass TagResourceRequest
|
1552
|
+
# data as a hash:
|
1553
|
+
#
|
1554
|
+
# {
|
1555
|
+
# resource_arn: "ResourceArn", # required
|
1556
|
+
# tags: [ # required
|
1557
|
+
# {
|
1558
|
+
# key: "TagKey", # required
|
1559
|
+
# value: "TagValue", # required
|
1560
|
+
# },
|
1561
|
+
# ],
|
1562
|
+
# }
|
1563
|
+
#
|
1564
|
+
# @!attribute [rw] resource_arn
|
1565
|
+
# The Amazon Resource Name (ARN) of the Global Accelerator resource to
|
1566
|
+
# add tags to. An ARN uniquely identifies a resource.
|
1567
|
+
# @return [String]
|
1568
|
+
#
|
1569
|
+
# @!attribute [rw] tags
|
1570
|
+
# The tags to add to a resource. A tag consists of a key and a value
|
1571
|
+
# that you define.
|
1572
|
+
# @return [Array<Types::Tag>]
|
1573
|
+
#
|
1574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResourceRequest AWS API Documentation
|
1575
|
+
#
|
1576
|
+
class TagResourceRequest < Struct.new(
|
1577
|
+
:resource_arn,
|
1578
|
+
:tags)
|
1579
|
+
include Aws::Structure
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResourceResponse AWS API Documentation
|
1583
|
+
#
|
1584
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1585
|
+
|
1586
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
1587
|
+
# data as a hash:
|
1588
|
+
#
|
1589
|
+
# {
|
1590
|
+
# resource_arn: "ResourceArn", # required
|
1591
|
+
# tag_keys: ["TagKey"], # required
|
1592
|
+
# }
|
1593
|
+
#
|
1594
|
+
# @!attribute [rw] resource_arn
|
1595
|
+
# The Amazon Resource Name (ARN) of the Global Accelerator resource to
|
1596
|
+
# remove tags from. An ARN uniquely identifies a resource.
|
1597
|
+
# @return [String]
|
1598
|
+
#
|
1599
|
+
# @!attribute [rw] tag_keys
|
1600
|
+
# The tag key pairs that you want to remove from the specified
|
1601
|
+
# resources.
|
1602
|
+
# @return [Array<String>]
|
1603
|
+
#
|
1604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResourceRequest AWS API Documentation
|
1605
|
+
#
|
1606
|
+
class UntagResourceRequest < Struct.new(
|
1607
|
+
:resource_arn,
|
1608
|
+
:tag_keys)
|
1609
|
+
include Aws::Structure
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResourceResponse AWS API Documentation
|
1613
|
+
#
|
1614
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1615
|
+
|
1164
1616
|
# @note When making an API call, you may pass UpdateAcceleratorAttributesRequest
|
1165
1617
|
# data as a hash:
|
1166
1618
|
#
|
@@ -1198,9 +1650,14 @@ module Aws::GlobalAccelerator
|
|
1198
1650
|
#
|
1199
1651
|
# @!attribute [rw] flow_logs_s3_prefix
|
1200
1652
|
# Update the prefix for the location in the Amazon S3 bucket for the
|
1201
|
-
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
1202
|
-
#
|
1203
|
-
# the
|
1653
|
+
# flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
|
1654
|
+
#
|
1655
|
+
# If you don’t specify a prefix, the flow logs are stored in the root
|
1656
|
+
# of the bucket. If you specify slash (/) for the S3 bucket prefix,
|
1657
|
+
# the log file bucket folder structure will include a double slash
|
1658
|
+
# (//), like the following:
|
1659
|
+
#
|
1660
|
+
# s3-bucket\_name//AWSLogs/aws\_account\_id
|
1204
1661
|
# @return [String]
|
1205
1662
|
#
|
1206
1663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributesRequest AWS API Documentation
|
@@ -1449,5 +1906,34 @@ module Aws::GlobalAccelerator
|
|
1449
1906
|
include Aws::Structure
|
1450
1907
|
end
|
1451
1908
|
|
1909
|
+
# @note When making an API call, you may pass WithdrawByoipCidrRequest
|
1910
|
+
# data as a hash:
|
1911
|
+
#
|
1912
|
+
# {
|
1913
|
+
# cidr: "GenericString", # required
|
1914
|
+
# }
|
1915
|
+
#
|
1916
|
+
# @!attribute [rw] cidr
|
1917
|
+
# The address range, in CIDR notation.
|
1918
|
+
# @return [String]
|
1919
|
+
#
|
1920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidrRequest AWS API Documentation
|
1921
|
+
#
|
1922
|
+
class WithdrawByoipCidrRequest < Struct.new(
|
1923
|
+
:cidr)
|
1924
|
+
include Aws::Structure
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
# @!attribute [rw] byoip_cidr
|
1928
|
+
# Information about the address pool.
|
1929
|
+
# @return [Types::ByoipCidr]
|
1930
|
+
#
|
1931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidrResponse AWS API Documentation
|
1932
|
+
#
|
1933
|
+
class WithdrawByoipCidrResponse < Struct.new(
|
1934
|
+
:byoip_cidr)
|
1935
|
+
include Aws::Structure
|
1936
|
+
end
|
1937
|
+
|
1452
1938
|
end
|
1453
1939
|
end
|