aws-sdk-globalaccelerator 1.13.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::GlobalAccelerator
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -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: a lower case letter a,
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`. If you
112
- # don’t specify a prefix, the flow logs are stored in the root of the
113
- # bucket.
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,166 @@ 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 address (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
+ # @!attribute [rw] events
286
+ # A history of status changes for an IP address range that that you
287
+ # bring to AWS Global Accelerator through bring your own IP address
288
+ # (BYOIP).
289
+ # @return [Array<Types::ByoipCidrEvent>]
290
+ #
291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidr AWS API Documentation
292
+ #
293
+ class ByoipCidr < Struct.new(
294
+ :cidr,
295
+ :state,
296
+ :events)
297
+ include Aws::Structure
298
+ end
299
+
300
+ # A complex type that contains a `Message` and a `Timestamp` value for
301
+ # changes that you make in the status an IP address range that you bring
302
+ # to AWS Global Accelerator through bring your own IP address (BYOIP).
303
+ #
304
+ # @!attribute [rw] message
305
+ # A string that contains an `Event` message describing changes that
306
+ # you make in the status of an IP address range that you bring to AWS
307
+ # Global Accelerator through bring your own IP address (BYOIP).
308
+ # @return [String]
309
+ #
310
+ # @!attribute [rw] timestamp
311
+ # A timestamp when you make a status change for an IP address range
312
+ # that you bring to AWS Global Accelerator through bring your own IP
313
+ # address (BYOIP).
314
+ # @return [Time]
315
+ #
316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidrEvent AWS API Documentation
317
+ #
318
+ class ByoipCidrEvent < Struct.new(
319
+ :message,
320
+ :timestamp)
321
+ include Aws::Structure
322
+ end
323
+
324
+ # The CIDR that you specified was not found or is incorrect.
325
+ #
326
+ # @!attribute [rw] message
327
+ # @return [String]
328
+ #
329
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ByoipCidrNotFoundException AWS API Documentation
330
+ #
331
+ class ByoipCidrNotFoundException < Struct.new(
332
+ :message)
333
+ include Aws::Structure
334
+ end
335
+
336
+ # Provides authorization for Amazon to bring a specific IP address range
337
+ # to a specific AWS account using bring your own IP addresses (BYOIP).
338
+ #
339
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
340
+ # the *AWS Global Accelerator Developer Guide*.
341
+ #
342
+ #
343
+ #
344
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
345
+ #
346
+ # @note When making an API call, you may pass CidrAuthorizationContext
347
+ # data as a hash:
348
+ #
349
+ # {
350
+ # message: "GenericString", # required
351
+ # signature: "GenericString", # required
352
+ # }
353
+ #
354
+ # @!attribute [rw] message
355
+ # The plain-text authorization message for the prefix and account.
356
+ # @return [String]
357
+ #
358
+ # @!attribute [rw] signature
359
+ # The signed authorization message for the prefix and account.
360
+ # @return [String]
361
+ #
362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CidrAuthorizationContext AWS API Documentation
363
+ #
364
+ class CidrAuthorizationContext < Struct.new(
365
+ :message,
366
+ :signature)
367
+ include Aws::Structure
368
+ end
369
+
189
370
  # @note When making an API call, you may pass CreateAcceleratorRequest
190
371
  # data as a hash:
191
372
  #
192
373
  # {
193
374
  # name: "GenericString", # required
194
375
  # ip_address_type: "IPV4", # accepts IPV4
376
+ # ip_addresses: ["IpAddress"],
195
377
  # enabled: false,
196
378
  # idempotency_token: "IdempotencyToken", # required
379
+ # tags: [
380
+ # {
381
+ # key: "TagKey", # required
382
+ # value: "TagValue", # required
383
+ # },
384
+ # ],
197
385
  # }
198
386
  #
199
387
  # @!attribute [rw] name
@@ -206,6 +394,24 @@ module Aws::GlobalAccelerator
206
394
  # The value for the address type must be IPv4.
207
395
  # @return [String]
208
396
  #
397
+ # @!attribute [rw] ip_addresses
398
+ # Optionally, if you've added your own IP address pool to Global
399
+ # Accelerator, you can choose IP addresses from your own pool to use
400
+ # for the accelerator's static IP addresses. You can specify one or
401
+ # two addresses, separated by a comma. Do not include the /32 suffix.
402
+ #
403
+ # If you specify only one IP address from your IP address range,
404
+ # Global Accelerator assigns a second static IP address for the
405
+ # accelerator from the AWS IP address pool.
406
+ #
407
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][1]
408
+ # in the *AWS Global Accelerator Developer Guide*.
409
+ #
410
+ #
411
+ #
412
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
413
+ # @return [Array<String>]
414
+ #
209
415
  # @!attribute [rw] enabled
210
416
  # Indicates whether an accelerator is enabled. The value is true or
211
417
  # false. The default value is true.
@@ -217,15 +423,31 @@ module Aws::GlobalAccelerator
217
423
  # @!attribute [rw] idempotency_token
218
424
  # A unique, case-sensitive identifier that you provide to ensure the
219
425
  # idempotency—that is, the uniqueness—of an accelerator.
426
+ #
427
+ # **A suitable default value is auto-generated.** You should normally
428
+ # not need to pass this option.
220
429
  # @return [String]
221
430
  #
431
+ # @!attribute [rw] tags
432
+ # Create tags for an accelerator.
433
+ #
434
+ # For more information, see [Tagging in AWS Global Accelerator][1] in
435
+ # the *AWS Global Accelerator Developer Guide*.
436
+ #
437
+ #
438
+ #
439
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
440
+ # @return [Array<Types::Tag>]
441
+ #
222
442
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAcceleratorRequest AWS API Documentation
223
443
  #
224
444
  class CreateAcceleratorRequest < Struct.new(
225
445
  :name,
226
446
  :ip_address_type,
447
+ :ip_addresses,
227
448
  :enabled,
228
- :idempotency_token)
449
+ :idempotency_token,
450
+ :tags)
229
451
  include Aws::Structure
230
452
  end
231
453
 
@@ -322,6 +544,9 @@ module Aws::GlobalAccelerator
322
544
  # @!attribute [rw] idempotency_token
323
545
  # A unique, case-sensitive identifier that you provide to ensure the
324
546
  # idempotency—that is, the uniqueness—of the request.
547
+ #
548
+ # **A suitable default value is auto-generated.** You should normally
549
+ # not need to pass this option.
325
550
  # @return [String]
326
551
  #
327
552
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroupRequest AWS API Documentation
@@ -409,6 +634,9 @@ module Aws::GlobalAccelerator
409
634
  # @!attribute [rw] idempotency_token
410
635
  # A unique, case-sensitive identifier that you provide to ensure the
411
636
  # idempotency—that is, the uniqueness—of the request.
637
+ #
638
+ # **A suitable default value is auto-generated.** You should normally
639
+ # not need to pass this option.
412
640
  # @return [String]
413
641
  #
414
642
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateListenerRequest AWS API Documentation
@@ -487,6 +715,36 @@ module Aws::GlobalAccelerator
487
715
  include Aws::Structure
488
716
  end
489
717
 
718
+ # @note When making an API call, you may pass DeprovisionByoipCidrRequest
719
+ # data as a hash:
720
+ #
721
+ # {
722
+ # cidr: "GenericString", # required
723
+ # }
724
+ #
725
+ # @!attribute [rw] cidr
726
+ # The address range, in CIDR notation. The prefix must be the same
727
+ # prefix that you specified when you provisioned the address range.
728
+ # @return [String]
729
+ #
730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidrRequest AWS API Documentation
731
+ #
732
+ class DeprovisionByoipCidrRequest < Struct.new(
733
+ :cidr)
734
+ include Aws::Structure
735
+ end
736
+
737
+ # @!attribute [rw] byoip_cidr
738
+ # Information about the address range.
739
+ # @return [Types::ByoipCidr]
740
+ #
741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidrResponse AWS API Documentation
742
+ #
743
+ class DeprovisionByoipCidrResponse < Struct.new(
744
+ :byoip_cidr)
745
+ include Aws::Structure
746
+ end
747
+
490
748
  # @note When making an API call, you may pass DescribeAcceleratorAttributesRequest
491
749
  # data as a hash:
492
750
  #
@@ -619,7 +877,11 @@ module Aws::GlobalAccelerator
619
877
  # An ID for the endpoint. If the endpoint is a Network Load Balancer
620
878
  # or Application Load Balancer, this is the Amazon Resource Name (ARN)
621
879
  # of the resource. If the endpoint is an Elastic IP address, this is
622
- # the Elastic IP address allocation ID.
880
+ # the Elastic IP address allocation ID. For EC2 instances, this is the
881
+ # EC2 instance ID.
882
+ #
883
+ # An Application Load Balancer can be either internal or
884
+ # internet-facing.
623
885
  # @return [String]
624
886
  #
625
887
  # @!attribute [rw] weight
@@ -648,13 +910,13 @@ module Aws::GlobalAccelerator
648
910
  # applications on the Application Load Balancer endpoint fronted by
649
911
  # the accelerator.
650
912
  #
651
- # For more information, see [ Viewing Client IP Addresses in AWS
913
+ # For more information, see [ Preserve Client IP Addresses in AWS
652
914
  # Global Accelerator][1] in the *AWS Global Accelerator Developer
653
915
  # Guide*.
654
916
  #
655
917
  #
656
918
  #
657
- # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-how-it-works-client-ip.html
919
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html
658
920
  # @return [Boolean]
659
921
  #
660
922
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointConfiguration AWS API Documentation
@@ -673,8 +935,11 @@ module Aws::GlobalAccelerator
673
935
  # An ID for the endpoint. If the endpoint is a Network Load Balancer
674
936
  # or Application Load Balancer, this is the Amazon Resource Name (ARN)
675
937
  # of the resource. If the endpoint is an Elastic IP address, this is
676
- # the Elastic IP address allocation ID. An Application Load Balancer
677
- # can be either internal or internet-facing.
938
+ # the Elastic IP address allocation ID. For EC2 instances, this is the
939
+ # EC2 instance ID.
940
+ #
941
+ # An Application Load Balancer can be either internal or
942
+ # internet-facing.
678
943
  # @return [String]
679
944
  #
680
945
  # @!attribute [rw] weight
@@ -849,6 +1114,19 @@ module Aws::GlobalAccelerator
849
1114
  include Aws::Structure
850
1115
  end
851
1116
 
1117
+ # The CIDR that you specified is not valid for this action. For example,
1118
+ # the state of the CIDR might be incorrect for this action.
1119
+ #
1120
+ # @!attribute [rw] message
1121
+ # @return [String]
1122
+ #
1123
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/IncorrectCidrStateException AWS API Documentation
1124
+ #
1125
+ class IncorrectCidrStateException < Struct.new(
1126
+ :message)
1127
+ include Aws::Structure
1128
+ end
1129
+
852
1130
  # There was an internal error for AWS Global Accelerator.
853
1131
  #
854
1132
  # @!attribute [rw] message
@@ -973,6 +1251,48 @@ module Aws::GlobalAccelerator
973
1251
  include Aws::Structure
974
1252
  end
975
1253
 
1254
+ # @note When making an API call, you may pass ListByoipCidrsRequest
1255
+ # data as a hash:
1256
+ #
1257
+ # {
1258
+ # max_results: 1,
1259
+ # next_token: "GenericString",
1260
+ # }
1261
+ #
1262
+ # @!attribute [rw] max_results
1263
+ # The maximum number of results to return with a single call. To
1264
+ # retrieve the remaining results, make another call with the returned
1265
+ # `nextToken` value.
1266
+ # @return [Integer]
1267
+ #
1268
+ # @!attribute [rw] next_token
1269
+ # The token for the next page of results.
1270
+ # @return [String]
1271
+ #
1272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrsRequest AWS API Documentation
1273
+ #
1274
+ class ListByoipCidrsRequest < Struct.new(
1275
+ :max_results,
1276
+ :next_token)
1277
+ include Aws::Structure
1278
+ end
1279
+
1280
+ # @!attribute [rw] byoip_cidrs
1281
+ # Information about your address ranges.
1282
+ # @return [Array<Types::ByoipCidr>]
1283
+ #
1284
+ # @!attribute [rw] next_token
1285
+ # The token for the next page of results.
1286
+ # @return [String]
1287
+ #
1288
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrsResponse AWS API Documentation
1289
+ #
1290
+ class ListByoipCidrsResponse < Struct.new(
1291
+ :byoip_cidrs,
1292
+ :next_token)
1293
+ include Aws::Structure
1294
+ end
1295
+
976
1296
  # @note When making an API call, you may pass ListEndpointGroupsRequest
977
1297
  # data as a hash:
978
1298
  #
@@ -1072,6 +1392,36 @@ module Aws::GlobalAccelerator
1072
1392
  include Aws::Structure
1073
1393
  end
1074
1394
 
1395
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1396
+ # data as a hash:
1397
+ #
1398
+ # {
1399
+ # resource_arn: "ResourceArn", # required
1400
+ # }
1401
+ #
1402
+ # @!attribute [rw] resource_arn
1403
+ # The Amazon Resource Name (ARN) of the accelerator to list tags for.
1404
+ # An ARN uniquely identifies an accelerator.
1405
+ # @return [String]
1406
+ #
1407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResourceRequest AWS API Documentation
1408
+ #
1409
+ class ListTagsForResourceRequest < Struct.new(
1410
+ :resource_arn)
1411
+ include Aws::Structure
1412
+ end
1413
+
1414
+ # @!attribute [rw] tags
1415
+ # Root level tag for the Tags parameters.
1416
+ # @return [Array<Types::Tag>]
1417
+ #
1418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResourceResponse AWS API Documentation
1419
+ #
1420
+ class ListTagsForResourceResponse < Struct.new(
1421
+ :tags)
1422
+ include Aws::Structure
1423
+ end
1424
+
1075
1425
  # A complex type for a listener.
1076
1426
  #
1077
1427
  # @!attribute [rw] listener_arn
@@ -1161,6 +1511,139 @@ module Aws::GlobalAccelerator
1161
1511
  include Aws::Structure
1162
1512
  end
1163
1513
 
1514
+ # @note When making an API call, you may pass ProvisionByoipCidrRequest
1515
+ # data as a hash:
1516
+ #
1517
+ # {
1518
+ # cidr: "GenericString", # required
1519
+ # cidr_authorization_context: { # required
1520
+ # message: "GenericString", # required
1521
+ # signature: "GenericString", # required
1522
+ # },
1523
+ # }
1524
+ #
1525
+ # @!attribute [rw] cidr
1526
+ # The public IPv4 address range, in CIDR notation. The most specific
1527
+ # IP prefix that you can specify is /24. The address range cannot
1528
+ # overlap with another address range that you've brought to this or
1529
+ # another Region.
1530
+ # @return [String]
1531
+ #
1532
+ # @!attribute [rw] cidr_authorization_context
1533
+ # A signed document that proves that you are authorized to bring the
1534
+ # specified IP address range to Amazon using BYOIP.
1535
+ # @return [Types::CidrAuthorizationContext]
1536
+ #
1537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidrRequest AWS API Documentation
1538
+ #
1539
+ class ProvisionByoipCidrRequest < Struct.new(
1540
+ :cidr,
1541
+ :cidr_authorization_context)
1542
+ include Aws::Structure
1543
+ end
1544
+
1545
+ # @!attribute [rw] byoip_cidr
1546
+ # Information about the address range.
1547
+ # @return [Types::ByoipCidr]
1548
+ #
1549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidrResponse AWS API Documentation
1550
+ #
1551
+ class ProvisionByoipCidrResponse < Struct.new(
1552
+ :byoip_cidr)
1553
+ include Aws::Structure
1554
+ end
1555
+
1556
+ # A complex type that contains a `Tag` key and `Tag` value.
1557
+ #
1558
+ # @note When making an API call, you may pass Tag
1559
+ # data as a hash:
1560
+ #
1561
+ # {
1562
+ # key: "TagKey", # required
1563
+ # value: "TagValue", # required
1564
+ # }
1565
+ #
1566
+ # @!attribute [rw] key
1567
+ # A string that contains a `Tag` key.
1568
+ # @return [String]
1569
+ #
1570
+ # @!attribute [rw] value
1571
+ # A string that contains a `Tag` value.
1572
+ # @return [String]
1573
+ #
1574
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/Tag AWS API Documentation
1575
+ #
1576
+ class Tag < Struct.new(
1577
+ :key,
1578
+ :value)
1579
+ include Aws::Structure
1580
+ end
1581
+
1582
+ # @note When making an API call, you may pass TagResourceRequest
1583
+ # data as a hash:
1584
+ #
1585
+ # {
1586
+ # resource_arn: "ResourceArn", # required
1587
+ # tags: [ # required
1588
+ # {
1589
+ # key: "TagKey", # required
1590
+ # value: "TagValue", # required
1591
+ # },
1592
+ # ],
1593
+ # }
1594
+ #
1595
+ # @!attribute [rw] resource_arn
1596
+ # The Amazon Resource Name (ARN) of the Global Accelerator resource to
1597
+ # add tags to. An ARN uniquely identifies a resource.
1598
+ # @return [String]
1599
+ #
1600
+ # @!attribute [rw] tags
1601
+ # The tags to add to a resource. A tag consists of a key and a value
1602
+ # that you define.
1603
+ # @return [Array<Types::Tag>]
1604
+ #
1605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResourceRequest AWS API Documentation
1606
+ #
1607
+ class TagResourceRequest < Struct.new(
1608
+ :resource_arn,
1609
+ :tags)
1610
+ include Aws::Structure
1611
+ end
1612
+
1613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResourceResponse AWS API Documentation
1614
+ #
1615
+ class TagResourceResponse < Aws::EmptyStructure; end
1616
+
1617
+ # @note When making an API call, you may pass UntagResourceRequest
1618
+ # data as a hash:
1619
+ #
1620
+ # {
1621
+ # resource_arn: "ResourceArn", # required
1622
+ # tag_keys: ["TagKey"], # required
1623
+ # }
1624
+ #
1625
+ # @!attribute [rw] resource_arn
1626
+ # The Amazon Resource Name (ARN) of the Global Accelerator resource to
1627
+ # remove tags from. An ARN uniquely identifies a resource.
1628
+ # @return [String]
1629
+ #
1630
+ # @!attribute [rw] tag_keys
1631
+ # The tag key pairs that you want to remove from the specified
1632
+ # resources.
1633
+ # @return [Array<String>]
1634
+ #
1635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResourceRequest AWS API Documentation
1636
+ #
1637
+ class UntagResourceRequest < Struct.new(
1638
+ :resource_arn,
1639
+ :tag_keys)
1640
+ include Aws::Structure
1641
+ end
1642
+
1643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResourceResponse AWS API Documentation
1644
+ #
1645
+ class UntagResourceResponse < Aws::EmptyStructure; end
1646
+
1164
1647
  # @note When making an API call, you may pass UpdateAcceleratorAttributesRequest
1165
1648
  # data as a hash:
1166
1649
  #
@@ -1198,9 +1681,14 @@ module Aws::GlobalAccelerator
1198
1681
  #
1199
1682
  # @!attribute [rw] flow_logs_s3_prefix
1200
1683
  # Update the prefix for the location in the Amazon S3 bucket for the
1201
- # flow logs. Attribute is required if `FlowLogsEnabled` is `true`. If
1202
- # you don’t specify a prefix, the flow logs are stored in the root of
1203
- # the bucket.
1684
+ # flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
1685
+ #
1686
+ # If you don’t specify a prefix, the flow logs are stored in the root
1687
+ # of the bucket. If you specify slash (/) for the S3 bucket prefix,
1688
+ # the log file bucket folder structure will include a double slash
1689
+ # (//), like the following:
1690
+ #
1691
+ # s3-bucket\_name//AWSLogs/aws\_account\_id
1204
1692
  # @return [String]
1205
1693
  #
1206
1694
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributesRequest AWS API Documentation
@@ -1449,5 +1937,34 @@ module Aws::GlobalAccelerator
1449
1937
  include Aws::Structure
1450
1938
  end
1451
1939
 
1940
+ # @note When making an API call, you may pass WithdrawByoipCidrRequest
1941
+ # data as a hash:
1942
+ #
1943
+ # {
1944
+ # cidr: "GenericString", # required
1945
+ # }
1946
+ #
1947
+ # @!attribute [rw] cidr
1948
+ # The address range, in CIDR notation.
1949
+ # @return [String]
1950
+ #
1951
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidrRequest AWS API Documentation
1952
+ #
1953
+ class WithdrawByoipCidrRequest < Struct.new(
1954
+ :cidr)
1955
+ include Aws::Structure
1956
+ end
1957
+
1958
+ # @!attribute [rw] byoip_cidr
1959
+ # Information about the address pool.
1960
+ # @return [Types::ByoipCidr]
1961
+ #
1962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidrResponse AWS API Documentation
1963
+ #
1964
+ class WithdrawByoipCidrResponse < Struct.new(
1965
+ :byoip_cidr)
1966
+ include Aws::Structure
1967
+ end
1968
+
1452
1969
  end
1453
1970
  end