aws-sdk-globalaccelerator 1.55.0 → 1.57.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69d84493ffeffb3af711702129f1f289a78c3b9ad64380ea88c3aed30bf02034
4
- data.tar.gz: edbd053d7295ccfae12063bdb2acd2e1256acd823ce0b5624c3930bfad115bb4
3
+ metadata.gz: 16113719ee88cdbafec471657cc49d934b4b23efa53c70f99008310a927108ee
4
+ data.tar.gz: 5a9a3daa721448ad26844706ed7775433279947aaab7d9aa4e455b97de86e9a5
5
5
  SHA512:
6
- metadata.gz: 1fa58e6880af0b25f2fec76458b6c0c31aaa54cd49b12008ed7f34819b36b4089d1288ccf1ce46c1cbbdd851fb705938651e5760ce039bb924bf411abd512cdb
7
- data.tar.gz: b4932549d8939082081822c87c9b463082632ed01d5f7ebe68b5b210a49f7477d417b5decd045e35cec2a146b78d1a84cf9fb56fe2fd7164374816b69826817c
6
+ metadata.gz: 3400e01cbcecd336507e88750741fb0517dae756e2957ecfb3dfe70c2144fed5a9126dcf6989a6499c0f16c2e96148f9748e350194df12e6838c172ddedbb9be
7
+ data.tar.gz: 773fcdff0e19fbc4218e4cb13f654cc7c96197bde2a768a3117e436680fb35dc4eb5e3006eec62a35c678de5af3e11f21b4fbf75bdb1d09940b7295b89829306
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2024-03-25)
5
+ ------------------
6
+
7
+ * Feature - AWS Global Accelerator now supports cross-account sharing for bring your own IP addresses.
8
+
9
+ 1.56.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.55.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.57.0
@@ -552,6 +552,13 @@ module Aws::GlobalAccelerator
552
552
  # you provisioned. You can't advertise only a portion of the
553
553
  # provisioned range.
554
554
  #
555
+ # For more information, see [Bring your own IP addresses (BYOIP)][1] in
556
+ # the Global Accelerator Developer Guide.
557
+ #
558
+ #
559
+ #
560
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
561
+ #
555
562
  # @return [Types::AdvertiseByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
556
563
  #
557
564
  # * {Types::AdvertiseByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
@@ -773,31 +780,49 @@ module Aws::GlobalAccelerator
773
780
 
774
781
  # Create a cross-account attachment in Global Accelerator. You create a
775
782
  # cross-account attachment to specify the *principals* who have
776
- # permission to add to accelerators in their own account the resources
777
- # in your account that you also list in the attachment.
783
+ # permission to work with *resources* in accelerators in their own
784
+ # account. You specify, in the same attachment, the resources that are
785
+ # shared.
778
786
  #
779
787
  # A principal can be an Amazon Web Services account number or the Amazon
780
788
  # Resource Name (ARN) for an accelerator. For account numbers that are
781
- # listed as principals, to add a resource listed in the attachment to an
782
- # accelerator, you must sign in to an account specified as a principal.
783
- # Then you can add the resources that are listed to any of your
789
+ # listed as principals, to work with a resource listed in the
790
+ # attachment, you must sign in to an account specified as a principal.
791
+ # Then, you can work with resources that are listed, with any of your
784
792
  # accelerators. If an accelerator ARN is listed in the cross-account
785
793
  # attachment as a principal, anyone with permission to make updates to
786
- # the accelerator can add as endpoints resources that are listed in the
794
+ # the accelerator can work with resources that are listed in the
787
795
  # attachment.
788
796
  #
797
+ # Specify each principal and resource separately. To specify two CIDR
798
+ # address pools, list them individually under `Resources`, and so on.
799
+ # For a command line operation, for example, you might use a statement
800
+ # like the following:
801
+ #
802
+ # ` "Resources": [\{"Cidr": "169.254.60.0/24"\},\{"Cidr":
803
+ # "169.254.59.0/24"\}]`
804
+ #
805
+ # For more information, see [ Working with cross-account attachments and
806
+ # resources in Global Accelerator][1] in the <i> Global Accelerator
807
+ # Developer Guide</i>.
808
+ #
809
+ #
810
+ #
811
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html
812
+ #
789
813
  # @option params [required, String] :name
790
814
  # The name of the cross-account attachment.
791
815
  #
792
816
  # @option params [Array<String>] :principals
793
- # The principals to list in the cross-account attachment. A principal
817
+ # The principals to include in the cross-account attachment. A principal
794
818
  # can be an Amazon Web Services account number or the Amazon Resource
795
819
  # Name (ARN) for an accelerator.
796
820
  #
797
821
  # @option params [Array<Types::Resource>] :resources
798
- # The Amazon Resource Names (ARNs) for the resources to list in the
822
+ # The Amazon Resource Names (ARNs) for the resources to include in the
799
823
  # cross-account attachment. A resource can be any supported Amazon Web
800
- # Services resource type for Global Accelerator.
824
+ # Services resource type for Global Accelerator or a CIDR range for a
825
+ # bring your own IP address (BYOIP) address pool.
801
826
  #
802
827
  # @option params [required, String] :idempotency_token
803
828
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -807,7 +832,7 @@ module Aws::GlobalAccelerator
807
832
  # not need to pass this option.**
808
833
  #
809
834
  # @option params [Array<Types::Tag>] :tags
810
- # Create tags for cross-account attachment.
835
+ # Add tags for a cross-account attachment.
811
836
  #
812
837
  # For more information, see [Tagging in Global Accelerator][1] in the
813
838
  # *Global Accelerator Developer Guide*.
@@ -827,7 +852,8 @@ module Aws::GlobalAccelerator
827
852
  # principals: ["Principal"],
828
853
  # resources: [
829
854
  # {
830
- # endpoint_id: "GenericString", # required
855
+ # endpoint_id: "GenericString",
856
+ # cidr: "GenericString",
831
857
  # region: "GenericString",
832
858
  # },
833
859
  # ],
@@ -848,6 +874,7 @@ module Aws::GlobalAccelerator
848
874
  # resp.cross_account_attachment.principals[0] #=> String
849
875
  # resp.cross_account_attachment.resources #=> Array
850
876
  # resp.cross_account_attachment.resources[0].endpoint_id #=> String
877
+ # resp.cross_account_attachment.resources[0].cidr #=> String
851
878
  # resp.cross_account_attachment.resources[0].region #=> String
852
879
  # resp.cross_account_attachment.last_modified_time #=> Time
853
880
  # resp.cross_account_attachment.created_time #=> Time
@@ -1381,23 +1408,15 @@ module Aws::GlobalAccelerator
1381
1408
  # Delete a cross-account attachment. When you delete an attachment,
1382
1409
  # Global Accelerator revokes the permission to use the resources in the
1383
1410
  # attachment from all principals in the list of principals. Global
1384
- # Accelerator revokes the permission for specific resources by doing the
1385
- # following:
1411
+ # Accelerator revokes the permission for specific resources.
1386
1412
  #
1387
- # * If the principal is an account ID, Global Accelerator reviews every
1388
- # accelerator in the account and removes cross-account endpoints from
1389
- # all accelerators.
1413
+ # For more information, see [ Working with cross-account attachments and
1414
+ # resources in Global Accelerator][1] in the <i> Global Accelerator
1415
+ # Developer Guide</i>.
1390
1416
  #
1391
- # * If the principal is an accelerator, Global Accelerator reviews just
1392
- # that accelerator and removes cross-account endpoints from it.
1393
1417
  #
1394
- # If there are overlapping permissions provided by multiple
1395
- # cross-account attachments, Global Accelerator only removes endpoints
1396
- # if there are no current cross-account attachments that provide access
1397
- # permission. For example, if you delete a cross-account attachment that
1398
- # lists an accelerator as a principal, but another cross-account
1399
- # attachment includes the account ID that owns that accelerator,
1400
- # endpoints will not be removed from the accelerator.
1418
+ #
1419
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html
1401
1420
  #
1402
1421
  # @option params [required, String] :attachment_arn
1403
1422
  # The Amazon Resource Name (ARN) for the cross-account attachment to
@@ -1639,6 +1658,13 @@ module Aws::GlobalAccelerator
1639
1658
  # The address range, in CIDR notation. The prefix must be the same
1640
1659
  # prefix that you specified when you provisioned the address range.
1641
1660
  #
1661
+ # For more information, see [Bring your own IP addresses (BYOIP)][1] in
1662
+ # the Global Accelerator Developer Guide.
1663
+ #
1664
+ #
1665
+ #
1666
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
1667
+ #
1642
1668
  # @return [Types::DeprovisionByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1643
1669
  #
1644
1670
  # * {Types::DeprovisionByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
@@ -1765,6 +1791,7 @@ module Aws::GlobalAccelerator
1765
1791
  # resp.cross_account_attachment.principals[0] #=> String
1766
1792
  # resp.cross_account_attachment.resources #=> Array
1767
1793
  # resp.cross_account_attachment.resources[0].endpoint_id #=> String
1794
+ # resp.cross_account_attachment.resources[0].cidr #=> String
1768
1795
  # resp.cross_account_attachment.resources[0].region #=> String
1769
1796
  # resp.cross_account_attachment.last_modified_time #=> Time
1770
1797
  # resp.cross_account_attachment.created_time #=> Time
@@ -2131,6 +2158,7 @@ module Aws::GlobalAccelerator
2131
2158
  # resp.cross_account_attachments[0].principals[0] #=> String
2132
2159
  # resp.cross_account_attachments[0].resources #=> Array
2133
2160
  # resp.cross_account_attachments[0].resources[0].endpoint_id #=> String
2161
+ # resp.cross_account_attachments[0].resources[0].cidr #=> String
2134
2162
  # resp.cross_account_attachments[0].resources[0].region #=> String
2135
2163
  # resp.cross_account_attachments[0].last_modified_time #=> Time
2136
2164
  # resp.cross_account_attachments[0].created_time #=> Time
@@ -2145,7 +2173,15 @@ module Aws::GlobalAccelerator
2145
2173
  req.send_request(options)
2146
2174
  end
2147
2175
 
2148
- # List the accounts that have cross-account endpoints.
2176
+ # List the accounts that have cross-account resources.
2177
+ #
2178
+ # For more information, see [ Working with cross-account attachments and
2179
+ # resources in Global Accelerator][1] in the <i> Global Accelerator
2180
+ # Developer Guide</i>.
2181
+ #
2182
+ #
2183
+ #
2184
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html
2149
2185
  #
2150
2186
  # @return [Types::ListCrossAccountResourceAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2151
2187
  #
@@ -2165,7 +2201,7 @@ module Aws::GlobalAccelerator
2165
2201
  req.send_request(options)
2166
2202
  end
2167
2203
 
2168
- # List the cross-account endpoints available to add to an accelerator.
2204
+ # List the cross-account resources available to work with.
2169
2205
  #
2170
2206
  # @option params [String] :accelerator_arn
2171
2207
  # The Amazon Resource Name (ARN) of an accelerator in a cross-account
@@ -2175,7 +2211,7 @@ module Aws::GlobalAccelerator
2175
2211
  # The account ID of a resource owner in a cross-account attachment.
2176
2212
  #
2177
2213
  # @option params [Integer] :max_results
2178
- # The number of cross-account endpoints objects that you want to return
2214
+ # The number of cross-account resource objects that you want to return
2179
2215
  # with this call. The default value is 10.
2180
2216
  #
2181
2217
  # @option params [String] :next_token
@@ -2202,6 +2238,7 @@ module Aws::GlobalAccelerator
2202
2238
  #
2203
2239
  # resp.cross_account_resources #=> Array
2204
2240
  # resp.cross_account_resources[0].endpoint_id #=> String
2241
+ # resp.cross_account_resources[0].cidr #=> String
2205
2242
  # resp.cross_account_resources[0].attachment_arn #=> String
2206
2243
  # resp.next_token #=> String
2207
2244
  #
@@ -2663,8 +2700,15 @@ module Aws::GlobalAccelerator
2663
2700
  # @option params [required, String] :cidr
2664
2701
  # The public IPv4 address range, in CIDR notation. The most specific IP
2665
2702
  # prefix that you can specify is /24. The address range cannot overlap
2666
- # with another address range that you've brought to this or another
2667
- # Region.
2703
+ # with another address range that you've brought to this Amazon Web
2704
+ # Services Region or another Region.
2705
+ #
2706
+ # For more information, see [Bring your own IP addresses (BYOIP)][1] in
2707
+ # the Global Accelerator Developer Guide.
2708
+ #
2709
+ #
2710
+ #
2711
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
2668
2712
  #
2669
2713
  # @option params [required, Types::CidrAuthorizationContext] :cidr_authorization_context
2670
2714
  # A signed document that proves that you are authorized to bring the
@@ -3007,22 +3051,15 @@ module Aws::GlobalAccelerator
3007
3051
  # Update a cross-account attachment to add or remove principals or
3008
3052
  # resources. When you update an attachment to remove a principal
3009
3053
  # (account ID or accelerator) or a resource, Global Accelerator revokes
3010
- # the permission for specific resources by doing the following:
3054
+ # the permission for specific resources.
3011
3055
  #
3012
- # * If the principal is an account ID, Global Accelerator reviews every
3013
- # accelerator in the account and removes cross-account endpoints from
3014
- # all accelerators.
3056
+ # For more information, see [ Working with cross-account attachments and
3057
+ # resources in Global Accelerator][1] in the <i> Global Accelerator
3058
+ # Developer Guide</i>.
3015
3059
  #
3016
- # * If the principal is an accelerator, Global Accelerator reviews just
3017
- # that accelerator and removes cross-account endpoints from it.
3018
3060
  #
3019
- # If there are overlapping permissions provided by multiple
3020
- # cross-account attachments, Global Accelerator only removes endpoints
3021
- # if there are no current cross-account attachments that provide access
3022
- # permission. For example, if you delete a cross-account attachment that
3023
- # lists an accelerator as a principal, but another cross-account
3024
- # attachment includes the account ID that owns that accelerator,
3025
- # endpoints will not be removed from the accelerator.
3061
+ #
3062
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html
3026
3063
  #
3027
3064
  # @option params [required, String] :attachment_arn
3028
3065
  # The Amazon Resource Name (ARN) of the cross-account attachment to
@@ -3034,8 +3071,8 @@ module Aws::GlobalAccelerator
3034
3071
  # @option params [Array<String>] :add_principals
3035
3072
  # The principals to add to the cross-account attachment. A principal is
3036
3073
  # an account or the Amazon Resource Name (ARN) of an accelerator that
3037
- # the attachment gives permission to add the resources from another
3038
- # account, listed in the attachment.
3074
+ # the attachment gives permission to work with resources from another
3075
+ # account. The resources are also listed in the attachment.
3039
3076
  #
3040
3077
  # To add more than one principal, separate the account numbers or
3041
3078
  # accelerator ARNs, or both, with commas.
@@ -3043,23 +3080,24 @@ module Aws::GlobalAccelerator
3043
3080
  # @option params [Array<String>] :remove_principals
3044
3081
  # The principals to remove from the cross-account attachment. A
3045
3082
  # principal is an account or the Amazon Resource Name (ARN) of an
3046
- # accelerator that is given permission to add the resources from another
3047
- # account, listed in the cross-account attachment.
3083
+ # accelerator that the attachment gives permission to work with
3084
+ # resources from another account. The resources are also listed in the
3085
+ # attachment.
3048
3086
  #
3049
3087
  # To remove more than one principal, separate the account numbers or
3050
3088
  # accelerator ARNs, or both, with commas.
3051
3089
  #
3052
3090
  # @option params [Array<Types::Resource>] :add_resources
3053
3091
  # The resources to add to the cross-account attachment. A resource
3054
- # listed in a cross-account attachment can be added to an accelerator by
3055
- # the principals that are listed in the attachment.
3092
+ # listed in a cross-account attachment can be used with an accelerator
3093
+ # by the principals that are listed in the attachment.
3056
3094
  #
3057
3095
  # To add more than one resource, separate the resource ARNs with commas.
3058
3096
  #
3059
3097
  # @option params [Array<Types::Resource>] :remove_resources
3060
3098
  # The resources to remove from the cross-account attachment. A resource
3061
- # listed in a cross-account attachment can be added to an accelerator fy
3062
- # principals that are listed in the cross-account attachment.
3099
+ # listed in a cross-account attachment can be used with an accelerator
3100
+ # by the principals that are listed in the attachment.
3063
3101
  #
3064
3102
  # To remove more than one resource, separate the resource ARNs with
3065
3103
  # commas.
@@ -3077,13 +3115,15 @@ module Aws::GlobalAccelerator
3077
3115
  # remove_principals: ["Principal"],
3078
3116
  # add_resources: [
3079
3117
  # {
3080
- # endpoint_id: "GenericString", # required
3118
+ # endpoint_id: "GenericString",
3119
+ # cidr: "GenericString",
3081
3120
  # region: "GenericString",
3082
3121
  # },
3083
3122
  # ],
3084
3123
  # remove_resources: [
3085
3124
  # {
3086
- # endpoint_id: "GenericString", # required
3125
+ # endpoint_id: "GenericString",
3126
+ # cidr: "GenericString",
3087
3127
  # region: "GenericString",
3088
3128
  # },
3089
3129
  # ],
@@ -3097,6 +3137,7 @@ module Aws::GlobalAccelerator
3097
3137
  # resp.cross_account_attachment.principals[0] #=> String
3098
3138
  # resp.cross_account_attachment.resources #=> Array
3099
3139
  # resp.cross_account_attachment.resources[0].endpoint_id #=> String
3140
+ # resp.cross_account_attachment.resources[0].cidr #=> String
3100
3141
  # resp.cross_account_attachment.resources[0].region #=> String
3101
3142
  # resp.cross_account_attachment.last_modified_time #=> Time
3102
3143
  # resp.cross_account_attachment.created_time #=> Time
@@ -3491,6 +3532,13 @@ module Aws::GlobalAccelerator
3491
3532
  # @option params [required, String] :cidr
3492
3533
  # The address range, in CIDR notation.
3493
3534
  #
3535
+ # For more information, see [Bring your own IP addresses (BYOIP)][1] in
3536
+ # the Global Accelerator Developer Guide.
3537
+ #
3538
+ #
3539
+ #
3540
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html
3541
+ #
3494
3542
  # @return [Types::WithdrawByoipCidrResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3495
3543
  #
3496
3544
  # * {Types::WithdrawByoipCidrResponse#byoip_cidr #byoip_cidr} => Types::ByoipCidr
@@ -3531,7 +3579,7 @@ module Aws::GlobalAccelerator
3531
3579
  params: params,
3532
3580
  config: config)
3533
3581
  context[:gem_name] = 'aws-sdk-globalaccelerator'
3534
- context[:gem_version] = '1.55.0'
3582
+ context[:gem_version] = '1.57.0'
3535
3583
  Seahorse::Client::Request.new(handlers, context)
3536
3584
  end
3537
3585
 
@@ -415,6 +415,7 @@ module Aws::GlobalAccelerator
415
415
  CreateListenerResponse.struct_class = Types::CreateListenerResponse
416
416
 
417
417
  CrossAccountResource.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointId"))
418
+ CrossAccountResource.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, location_name: "Cidr"))
418
419
  CrossAccountResource.add_member(:attachment_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "AttachmentArn"))
419
420
  CrossAccountResource.struct_class = Types::CrossAccountResource
420
421
 
@@ -822,7 +823,8 @@ module Aws::GlobalAccelerator
822
823
  RemoveEndpointsRequest.add_member(:endpoint_group_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointGroupArn"))
823
824
  RemoveEndpointsRequest.struct_class = Types::RemoveEndpointsRequest
824
825
 
825
- Resource.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "EndpointId"))
826
+ Resource.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "EndpointId"))
827
+ Resource.add_member(:cidr, Shapes::ShapeRef.new(shape: GenericString, location_name: "Cidr"))
826
828
  Resource.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
827
829
  Resource.struct_class = Types::Resource
828
830
 
@@ -14,6 +14,7 @@ module Aws::GlobalAccelerator
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::GlobalAccelerator::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\