aws-sdk-globalaccelerator 1.13.0 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45620f6e2062dfa419f7f3bb4a878a11b6d0b515
4
- data.tar.gz: 31c9474693f38eed9300a44609bdf1353e3a61e0
3
+ metadata.gz: 9e4a3604ce0ee151764e0f5833dc926b8d790af5
4
+ data.tar.gz: dc75168a42c9b7968292ec2fd6e99d68e66b8eea
5
5
  SHA512:
6
- metadata.gz: c80d559b90382009950d173f290be3c65370fef3accc758d39875894459154bd88f67a554703d3dfc696f289b32d3ed7f98b8a528680991620ffe05cfd321bd3
7
- data.tar.gz: 468e693b6f37e39f4332b21d189bb43ab2894539bddae555ed54e714a84f1537ee58c1d76018bdee090b8c6061408d5ed9aef3ae869bd2f3e20582544d2ea580
6
+ metadata.gz: 8a1c5b6bb36132d7ff9ab0993e85295785c2bbca4103a52313b171648a039c37b61b8b2aa8f0ef89016725f191c0b98aefdf9683a32939f8977f66de531b73a9
7
+ data.tar.gz: b0059bb7c70e95860c21e2d4bf1a858d02b2fa1b8745f30edd38b8d5834048fa87bb658681839e8bcfb4868afd33a975e50eb41111a2a579da438a4460eaf0bc
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
42
42
  # @service
43
43
  module Aws::GlobalAccelerator
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.1'
46
46
 
47
47
  end
@@ -264,13 +264,64 @@ module Aws::GlobalAccelerator
264
264
 
265
265
  # @!group API Operations
266
266
 
267
+ # Advertises an IPv4 address range that is provisioned for use with your
268
+ # AWS resources through bring your own IP addresses (BYOIP). It can take
269
+ # a few minutes before traffic to the specified addresses starts routing
270
+ # to AWS because of propagation delays. To see an AWS CLI example of
271
+ # advertising an address range, scroll down to **Example**.
272
+ #
273
+ # To stop advertising the BYOIP address range, use [
274
+ # WithdrawByoipCidr][1].
275
+ #
276
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
277
+ # the *AWS Global Accelerator Developer Guide*.
278
+ #
279
+ #
280
+ #
281
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html
282
+ # [2]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
283
+ #
284
+ # @option params [required, String] :cidr
285
+ # The address range, in CIDR notation. This must be the exact range that
286
+ # you provisioned. You can't advertise only a portion of the
287
+ # provisioned range.
288
+ #
289
+ # @return [Types::AdvertiseByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
290
+ #
291
+ # * {Types::AdvertiseByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
292
+ #
293
+ # @example Request syntax with placeholder values
294
+ #
295
+ # resp = client.advertise_byoip_cidr({
296
+ # cidr: "GenericString", # required
297
+ # })
298
+ #
299
+ # @example Response structure
300
+ #
301
+ # resp.byoip_cidr.cidr #=> String
302
+ # resp.byoip_cidr.state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
303
+ #
304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr AWS API Documentation
305
+ #
306
+ # @overload advertise_byoip_cidr(params = {})
307
+ # @param [Hash] params ({})
308
+ def advertise_byoip_cidr(params = {}, options = {})
309
+ req = build_request(:advertise_byoip_cidr, params)
310
+ req.send_request(options)
311
+ end
312
+
267
313
  # Create an accelerator. An accelerator includes one or more listeners
268
314
  # that process inbound connections and direct traffic to one or more
269
315
  # endpoint groups, each of which includes endpoints, such as Network
270
316
  # Load Balancers. To see an AWS CLI example of creating an accelerator,
271
317
  # scroll down to **Example**.
272
318
  #
273
- # You must specify the US-West-2 (Oregon) Region to create or update
319
+ # If you bring your own IP address ranges to AWS Global Accelerator
320
+ # (BYOIP), you can assign IP addresses from your own pool to your
321
+ # accelerator as the static IP address entry points. Only one IP address
322
+ # from each of your IP address ranges can be used for each accelerator.
323
+ #
324
+ # You must specify the US West (Oregon) Region to create or update
274
325
  # accelerators.
275
326
  #
276
327
  # @option params [required, String] :name
@@ -281,6 +332,23 @@ module Aws::GlobalAccelerator
281
332
  # @option params [String] :ip_address_type
282
333
  # The value for the address type must be IPv4.
283
334
  #
335
+ # @option params [Array<String>] :ip_addresses
336
+ # Optionally, if you've added your own IP address pool to Global
337
+ # Accelerator, you can choose IP addresses from your own pool to use for
338
+ # the accelerator's static IP addresses. You can specify one or two
339
+ # addresses, separated by a comma. Do not include the /32 suffix.
340
+ #
341
+ # If you specify only one IP address from your IP address range, Global
342
+ # Accelerator assigns a second static IP address for the accelerator
343
+ # from the AWS IP address pool.
344
+ #
345
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
346
+ # the *AWS Global Accelerator Developer Guide*.
347
+ #
348
+ #
349
+ #
350
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
351
+ #
284
352
  # @option params [Boolean] :enabled
285
353
  # Indicates whether an accelerator is enabled. The value is true or
286
354
  # false. The default value is true.
@@ -292,6 +360,19 @@ module Aws::GlobalAccelerator
292
360
  # A unique, case-sensitive identifier that you provide to ensure the
293
361
  # idempotency—that is, the uniqueness—of an accelerator.
294
362
  #
363
+ # **A suitable default value is auto-generated.** You should normally
364
+ # not need to pass this option.**
365
+ #
366
+ # @option params [Array<Types::Tag>] :tags
367
+ # Create tags for an accelerator.
368
+ #
369
+ # For more information, see [Tagging in AWS Global Accelerator][1] in
370
+ # the *AWS Global Accelerator Developer Guide*.
371
+ #
372
+ #
373
+ #
374
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
375
+ #
295
376
  # @return [Types::CreateAcceleratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
296
377
  #
297
378
  # * {Types::CreateAcceleratorResponse#accelerator #accelerator} => Types::Accelerator
@@ -301,8 +382,15 @@ module Aws::GlobalAccelerator
301
382
  # resp = client.create_accelerator({
302
383
  # name: "GenericString", # required
303
384
  # ip_address_type: "IPV4", # accepts IPV4
385
+ # ip_addresses: ["IpAddress"],
304
386
  # enabled: false,
305
387
  # idempotency_token: "IdempotencyToken", # required
388
+ # tags: [
389
+ # {
390
+ # key: "TagKey", # required
391
+ # value: "TagValue", # required
392
+ # },
393
+ # ],
306
394
  # })
307
395
  #
308
396
  # @example Response structure
@@ -383,6 +471,9 @@ module Aws::GlobalAccelerator
383
471
  # A unique, case-sensitive identifier that you provide to ensure the
384
472
  # idempotency—that is, the uniqueness—of the request.
385
473
  #
474
+ # **A suitable default value is auto-generated.** You should normally
475
+ # not need to pass this option.**
476
+ #
386
477
  # @return [Types::CreateEndpointGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
387
478
  #
388
479
  # * {Types::CreateEndpointGroupResponse#endpoint_group #endpoint_group} => Types::EndpointGroup
@@ -478,6 +569,9 @@ module Aws::GlobalAccelerator
478
569
  # A unique, case-sensitive identifier that you provide to ensure the
479
570
  # idempotency—that is, the uniqueness—of the request.
480
571
  #
572
+ # **A suitable default value is auto-generated.** You should normally
573
+ # not need to pass this option.**
574
+ #
481
575
  # @return [Types::CreateListenerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
482
576
  #
483
577
  # * {Types::CreateListenerResponse#listener #listener} => Types::Listener
@@ -515,9 +609,30 @@ module Aws::GlobalAccelerator
515
609
  req.send_request(options)
516
610
  end
517
611
 
518
- # Delete an accelerator. Note: before you can delete an accelerator, you
519
- # must disable it and remove all dependent resources (listeners and
520
- # endpoint groups).
612
+ # Delete an accelerator. Before you can delete an accelerator, you must
613
+ # disable it and remove all dependent resources (listeners and endpoint
614
+ # groups). To disable the accelerator, update the accelerator to set
615
+ # `Enabled` to false.
616
+ #
617
+ # When you create an accelerator, by default, Global Accelerator
618
+ # provides you with a set of two static IP addresses. Alternatively, you
619
+ # can bring your own IP address ranges to Global Accelerator and assign
620
+ # IP addresses from those ranges.
621
+ #
622
+ # The IP addresses are assigned to your accelerator for as long as it
623
+ # exists, even if you disable the accelerator and it no longer accepts
624
+ # or routes traffic. However, when you *delete* an accelerator, you lose
625
+ # the static IP addresses that are assigned to the accelerator, so you
626
+ # can no longer route traffic by using them. As a best practice, ensure
627
+ # that you have permissions in place to avoid inadvertently deleting
628
+ # accelerators. You can use IAM policies with Global Accelerator to
629
+ # limit the users who have permissions to delete an accelerator. For
630
+ # more information, see [Authentication and Access Control][1] in the
631
+ # *AWS Global Accelerator Developer Guide*.
632
+ #
633
+ #
634
+ #
635
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html
521
636
  #
522
637
  # @option params [required, String] :accelerator_arn
523
638
  # The Amazon Resource Name (ARN) of an accelerator.
@@ -583,6 +698,51 @@ module Aws::GlobalAccelerator
583
698
  req.send_request(options)
584
699
  end
585
700
 
701
+ # Releases the specified address range that you provisioned to use with
702
+ # your AWS resources through bring your own IP addresses (BYOIP) and
703
+ # deletes the corresponding address pool. To see an AWS CLI example of
704
+ # deprovisioning an address range, scroll down to **Example**.
705
+ #
706
+ # Before you can release an address range, you must stop advertising it
707
+ # by using [WithdrawByoipCidr][1] and you must not have any accelerators
708
+ # that are using static IP addresses allocated from its address range.
709
+ #
710
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
711
+ # the *AWS Global Accelerator Developer Guide*.
712
+ #
713
+ #
714
+ #
715
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html
716
+ # [2]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
717
+ #
718
+ # @option params [required, String] :cidr
719
+ # The address range, in CIDR notation. The prefix must be the same
720
+ # prefix that you specified when you provisioned the address range.
721
+ #
722
+ # @return [Types::DeprovisionByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
723
+ #
724
+ # * {Types::DeprovisionByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
725
+ #
726
+ # @example Request syntax with placeholder values
727
+ #
728
+ # resp = client.deprovision_byoip_cidr({
729
+ # cidr: "GenericString", # required
730
+ # })
731
+ #
732
+ # @example Response structure
733
+ #
734
+ # resp.byoip_cidr.cidr #=> String
735
+ # resp.byoip_cidr.state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
736
+ #
737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr AWS API Documentation
738
+ #
739
+ # @overload deprovision_byoip_cidr(params = {})
740
+ # @param [Hash] params ({})
741
+ def deprovision_byoip_cidr(params = {}, options = {})
742
+ req = build_request(:deprovision_byoip_cidr, params)
743
+ req.send_request(options)
744
+ end
745
+
586
746
  # Describe an accelerator. To see an AWS CLI example of describing an
587
747
  # accelerator, scroll down to **Example**.
588
748
  #
@@ -623,7 +783,9 @@ module Aws::GlobalAccelerator
623
783
  req.send_request(options)
624
784
  end
625
785
 
626
- # Describe the attributes of an accelerator.
786
+ # Describe the attributes of an accelerator. To see an AWS CLI example
787
+ # of describing the attributes of an accelerator, scroll down to
788
+ # **Example**.
627
789
  #
628
790
  # @option params [required, String] :accelerator_arn
629
791
  # The Amazon Resource Name (ARN) of the accelerator with the attributes
@@ -695,7 +857,8 @@ module Aws::GlobalAccelerator
695
857
  req.send_request(options)
696
858
  end
697
859
 
698
- # Describe a listener.
860
+ # Describe a listener. To see an AWS CLI example of describing a
861
+ # listener, scroll down to **Example**.
699
862
  #
700
863
  # @option params [required, String] :listener_arn
701
864
  # The Amazon Resource Name (ARN) of the listener to describe.
@@ -728,7 +891,9 @@ module Aws::GlobalAccelerator
728
891
  req.send_request(options)
729
892
  end
730
893
 
731
- # List the accelerators for an AWS account.
894
+ # List the accelerators for an AWS account. To see an AWS CLI example of
895
+ # listing the accelerators for an AWS account, scroll down to
896
+ # **Example**.
732
897
  #
733
898
  # @option params [Integer] :max_results
734
899
  # The number of Global Accelerator objects that you want to return with
@@ -776,7 +941,55 @@ module Aws::GlobalAccelerator
776
941
  req.send_request(options)
777
942
  end
778
943
 
779
- # List the endpoint groups that are associated with a listener.
944
+ # Lists the IP address ranges that were specified in calls to
945
+ # [ProvisionByoipCidr][1].
946
+ #
947
+ # To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down
948
+ # to **Example**.
949
+ #
950
+ #
951
+ #
952
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html
953
+ #
954
+ # @option params [Integer] :max_results
955
+ # The maximum number of results to return with a single call. To
956
+ # retrieve the remaining results, make another call with the returned
957
+ # `nextToken` value.
958
+ #
959
+ # @option params [String] :next_token
960
+ # The token for the next page of results.
961
+ #
962
+ # @return [Types::ListByoipCidrsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
963
+ #
964
+ # * {Types::ListByoipCidrsResponse#byoip_cidrs #byoip_cidrs} => Array&lt;Types::ByoipCidr&gt;
965
+ # * {Types::ListByoipCidrsResponse#next_token #next_token} => String
966
+ #
967
+ # @example Request syntax with placeholder values
968
+ #
969
+ # resp = client.list_byoip_cidrs({
970
+ # max_results: 1,
971
+ # next_token: "GenericString",
972
+ # })
973
+ #
974
+ # @example Response structure
975
+ #
976
+ # resp.byoip_cidrs #=> Array
977
+ # resp.byoip_cidrs[0].cidr #=> String
978
+ # resp.byoip_cidrs[0].state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
979
+ # resp.next_token #=> String
980
+ #
981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs AWS API Documentation
982
+ #
983
+ # @overload list_byoip_cidrs(params = {})
984
+ # @param [Hash] params ({})
985
+ def list_byoip_cidrs(params = {}, options = {})
986
+ req = build_request(:list_byoip_cidrs, params)
987
+ req.send_request(options)
988
+ end
989
+
990
+ # List the endpoint groups that are associated with a listener. To see
991
+ # an AWS CLI example of listing the endpoint groups for listener, scroll
992
+ # down to **Example**.
780
993
  #
781
994
  # @option params [required, String] :listener_arn
782
995
  # The Amazon Resource Name (ARN) of the listener.
@@ -830,7 +1043,8 @@ module Aws::GlobalAccelerator
830
1043
  req.send_request(options)
831
1044
  end
832
1045
 
833
- # List the listeners for an accelerator.
1046
+ # List the listeners for an accelerator. To see an AWS CLI example of
1047
+ # listing the listeners for an accelerator, scroll down to **Example**.
834
1048
  #
835
1049
  # @option params [required, String] :accelerator_arn
836
1050
  # The Amazon Resource Name (ARN) of the accelerator for which you want
@@ -877,10 +1091,183 @@ module Aws::GlobalAccelerator
877
1091
  req.send_request(options)
878
1092
  end
879
1093
 
1094
+ # List all tags for an accelerator. To see an AWS CLI example of listing
1095
+ # tags for an accelerator, scroll down to **Example**.
1096
+ #
1097
+ # For more information, see [Tagging in AWS Global Accelerator][1] in
1098
+ # the *AWS Global Accelerator Developer Guide*.
1099
+ #
1100
+ #
1101
+ #
1102
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
1103
+ #
1104
+ # @option params [required, String] :resource_arn
1105
+ # The Amazon Resource Name (ARN) of the accelerator to list tags for. An
1106
+ # ARN uniquely identifies an accelerator.
1107
+ #
1108
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1109
+ #
1110
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1111
+ #
1112
+ # @example Request syntax with placeholder values
1113
+ #
1114
+ # resp = client.list_tags_for_resource({
1115
+ # resource_arn: "ResourceArn", # required
1116
+ # })
1117
+ #
1118
+ # @example Response structure
1119
+ #
1120
+ # resp.tags #=> Array
1121
+ # resp.tags[0].key #=> String
1122
+ # resp.tags[0].value #=> String
1123
+ #
1124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource AWS API Documentation
1125
+ #
1126
+ # @overload list_tags_for_resource(params = {})
1127
+ # @param [Hash] params ({})
1128
+ def list_tags_for_resource(params = {}, options = {})
1129
+ req = build_request(:list_tags_for_resource, params)
1130
+ req.send_request(options)
1131
+ end
1132
+
1133
+ # Provisions an IP address range to use with your AWS resources through
1134
+ # bring your own IP addresses (BYOIP) and creates a corresponding
1135
+ # address pool. After the address range is provisioned, it is ready to
1136
+ # be advertised using [ AdvertiseByoipCidr][1].
1137
+ #
1138
+ # To see an AWS CLI example of provisioning an address range for BYOIP,
1139
+ # scroll down to **Example**.
1140
+ #
1141
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][2] in
1142
+ # the *AWS Global Accelerator Developer Guide*.
1143
+ #
1144
+ #
1145
+ #
1146
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/api/AdvertiseByoipCidr.html
1147
+ # [2]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
1148
+ #
1149
+ # @option params [required, String] :cidr
1150
+ # The public IPv4 address range, in CIDR notation. The most specific IP
1151
+ # prefix that you can specify is /24. The address range cannot overlap
1152
+ # with another address range that you've brought to this or another
1153
+ # Region.
1154
+ #
1155
+ # @option params [required, Types::CidrAuthorizationContext] :cidr_authorization_context
1156
+ # A signed document that proves that you are authorized to bring the
1157
+ # specified IP address range to Amazon using BYOIP.
1158
+ #
1159
+ # @return [Types::ProvisionByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1160
+ #
1161
+ # * {Types::ProvisionByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
1162
+ #
1163
+ # @example Request syntax with placeholder values
1164
+ #
1165
+ # resp = client.provision_byoip_cidr({
1166
+ # cidr: "GenericString", # required
1167
+ # cidr_authorization_context: { # required
1168
+ # message: "GenericString", # required
1169
+ # signature: "GenericString", # required
1170
+ # },
1171
+ # })
1172
+ #
1173
+ # @example Response structure
1174
+ #
1175
+ # resp.byoip_cidr.cidr #=> String
1176
+ # resp.byoip_cidr.state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
1177
+ #
1178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr AWS API Documentation
1179
+ #
1180
+ # @overload provision_byoip_cidr(params = {})
1181
+ # @param [Hash] params ({})
1182
+ def provision_byoip_cidr(params = {}, options = {})
1183
+ req = build_request(:provision_byoip_cidr, params)
1184
+ req.send_request(options)
1185
+ end
1186
+
1187
+ # Add tags to an accelerator resource. To see an AWS CLI example of
1188
+ # adding tags to an accelerator, scroll down to **Example**.
1189
+ #
1190
+ # For more information, see [Tagging in AWS Global Accelerator][1] in
1191
+ # the *AWS Global Accelerator Developer Guide*.
1192
+ #
1193
+ #
1194
+ #
1195
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
1196
+ #
1197
+ # @option params [required, String] :resource_arn
1198
+ # The Amazon Resource Name (ARN) of the Global Accelerator resource to
1199
+ # add tags to. An ARN uniquely identifies a resource.
1200
+ #
1201
+ # @option params [required, Array<Types::Tag>] :tags
1202
+ # The tags to add to a resource. A tag consists of a key and a value
1203
+ # that you define.
1204
+ #
1205
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1206
+ #
1207
+ # @example Request syntax with placeholder values
1208
+ #
1209
+ # resp = client.tag_resource({
1210
+ # resource_arn: "ResourceArn", # required
1211
+ # tags: [ # required
1212
+ # {
1213
+ # key: "TagKey", # required
1214
+ # value: "TagValue", # required
1215
+ # },
1216
+ # ],
1217
+ # })
1218
+ #
1219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource AWS API Documentation
1220
+ #
1221
+ # @overload tag_resource(params = {})
1222
+ # @param [Hash] params ({})
1223
+ def tag_resource(params = {}, options = {})
1224
+ req = build_request(:tag_resource, params)
1225
+ req.send_request(options)
1226
+ end
1227
+
1228
+ # Remove tags from a Global Accelerator resource. When you specify a tag
1229
+ # key, the action removes both that key and its associated value. To see
1230
+ # an AWS CLI example of removing tags from an accelerator, scroll down
1231
+ # to **Example**. The operation succeeds even if you attempt to remove
1232
+ # tags from an accelerator that was already removed.
1233
+ #
1234
+ # For more information, see [Tagging in AWS Global Accelerator][1] in
1235
+ # the *AWS Global Accelerator Developer Guide*.
1236
+ #
1237
+ #
1238
+ #
1239
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
1240
+ #
1241
+ # @option params [required, String] :resource_arn
1242
+ # The Amazon Resource Name (ARN) of the Global Accelerator resource to
1243
+ # remove tags from. An ARN uniquely identifies a resource.
1244
+ #
1245
+ # @option params [required, Array<String>] :tag_keys
1246
+ # The tag key pairs that you want to remove from the specified
1247
+ # resources.
1248
+ #
1249
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1250
+ #
1251
+ # @example Request syntax with placeholder values
1252
+ #
1253
+ # resp = client.untag_resource({
1254
+ # resource_arn: "ResourceArn", # required
1255
+ # tag_keys: ["TagKey"], # required
1256
+ # })
1257
+ #
1258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource AWS API Documentation
1259
+ #
1260
+ # @overload untag_resource(params = {})
1261
+ # @param [Hash] params ({})
1262
+ def untag_resource(params = {}, options = {})
1263
+ req = build_request(:untag_resource, params)
1264
+ req.send_request(options)
1265
+ end
1266
+
880
1267
  # Update an accelerator. To see an AWS CLI example of updating an
881
1268
  # accelerator, scroll down to **Example**.
882
1269
  #
883
- # You must specify the US-West-2 (Oregon) Region to create or update
1270
+ # You must specify the US West (Oregon) Region to create or update
884
1271
  # accelerators.
885
1272
  #
886
1273
  # @option params [required, String] :accelerator_arn
@@ -966,9 +1353,14 @@ module Aws::GlobalAccelerator
966
1353
  #
967
1354
  # @option params [String] :flow_logs_s3_prefix
968
1355
  # Update the prefix for the location in the Amazon S3 bucket for the
969
- # flow logs. Attribute is required if `FlowLogsEnabled` is `true`. If
970
- # you don’t specify a prefix, the flow logs are stored in the root of
971
- # the bucket.
1356
+ # flow logs. Attribute is required if `FlowLogsEnabled` is `true`.
1357
+ #
1358
+ # If you don’t specify a prefix, the flow logs are stored in the root of
1359
+ # the bucket. If you specify slash (/) for the S3 bucket prefix, the log
1360
+ # file bucket folder structure will include a double slash (//), like
1361
+ # the following:
1362
+ #
1363
+ # s3-bucket\_name//AWSLogs/aws\_account\_id
972
1364
  #
973
1365
  # @return [Types::UpdateAcceleratorAttributesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
974
1366
  #
@@ -1092,7 +1484,8 @@ module Aws::GlobalAccelerator
1092
1484
  req.send_request(options)
1093
1485
  end
1094
1486
 
1095
- # Update a listener.
1487
+ # Update a listener. To see an AWS CLI example of updating listener,
1488
+ # scroll down to **Example**.
1096
1489
  #
1097
1490
  # @option params [required, String] :listener_arn
1098
1491
  # The Amazon Resource Name (ARN) of the listener to update.
@@ -1166,6 +1559,49 @@ module Aws::GlobalAccelerator
1166
1559
  req.send_request(options)
1167
1560
  end
1168
1561
 
1562
+ # Stops advertising an address range that is provisioned as an address
1563
+ # pool. You can perform this operation at most once every 10 seconds,
1564
+ # even if you specify different address ranges each time. To see an AWS
1565
+ # CLI example of withdrawing an address range for BYOIP so it will no
1566
+ # longer be advertised by AWS, scroll down to **Example**.
1567
+ #
1568
+ # It can take a few minutes before traffic to the specified addresses
1569
+ # stops routing to AWS because of propagation delays.
1570
+ #
1571
+ # For more information, see [Bring Your Own IP Addresses (BYOIP)][1] in
1572
+ # the *AWS Global Accelerator Developer Guide*.
1573
+ #
1574
+ #
1575
+ #
1576
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
1577
+ #
1578
+ # @option params [required, String] :cidr
1579
+ # The address range, in CIDR notation.
1580
+ #
1581
+ # @return [Types::WithdrawByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1582
+ #
1583
+ # * {Types::WithdrawByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
1584
+ #
1585
+ # @example Request syntax with placeholder values
1586
+ #
1587
+ # resp = client.withdraw_byoip_cidr({
1588
+ # cidr: "GenericString", # required
1589
+ # })
1590
+ #
1591
+ # @example Response structure
1592
+ #
1593
+ # resp.byoip_cidr.cidr #=> String
1594
+ # resp.byoip_cidr.state #=> String, one of "PENDING_PROVISIONING", "READY", "PENDING_ADVERTISING", "ADVERTISING", "PENDING_WITHDRAWING", "PENDING_DEPROVISIONING", "DEPROVISIONED", "FAILED_PROVISION", "FAILED_ADVERTISING", "FAILED_WITHDRAW", "FAILED_DEPROVISION"
1595
+ #
1596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr AWS API Documentation
1597
+ #
1598
+ # @overload withdraw_byoip_cidr(params = {})
1599
+ # @param [Hash] params ({})
1600
+ def withdraw_byoip_cidr(params = {}, options = {})
1601
+ req = build_request(:withdraw_byoip_cidr, params)
1602
+ req.send_request(options)
1603
+ end
1604
+
1169
1605
  # @!endgroup
1170
1606
 
1171
1607
  # @param params ({})
@@ -1179,7 +1615,7 @@ module Aws::GlobalAccelerator
1179
1615
  params: params,
1180
1616
  config: config)
1181
1617
  context[:gem_name] = 'aws-sdk-globalaccelerator'
1182
- context[:gem_version] = '1.13.0'
1618
+ context[:gem_version] = '1.14.1'
1183
1619
  Seahorse::Client::Request.new(handlers, context)
1184
1620
  end
1185
1621