aws-sdk-globalaccelerator 1.51.0 → 1.53.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.
@@ -409,6 +409,62 @@ module Aws::GlobalAccelerator
409
409
  include Aws::Structure
410
410
  end
411
411
 
412
+ # A cross-account attachment in Global Accelerator. A cross-account
413
+ # attachment specifies the *principals* who have permission to add to
414
+ # accelerators in their own account the resources in your account that
415
+ # you also list in the attachment.
416
+ #
417
+ # @!attribute [rw] attachment_arn
418
+ # The Amazon Resource Name (ARN) of the cross-account attachment.
419
+ # @return [String]
420
+ #
421
+ # @!attribute [rw] name
422
+ # The name of the cross-account attachment.
423
+ # @return [String]
424
+ #
425
+ # @!attribute [rw] principals
426
+ # The principals included in the cross-account attachment.
427
+ # @return [Array<String>]
428
+ #
429
+ # @!attribute [rw] resources
430
+ # The resources included in the cross-account attachment.
431
+ # @return [Array<Types::Resource>]
432
+ #
433
+ # @!attribute [rw] last_modified_time
434
+ # The date and time that the cross-account attachment was last
435
+ # modified.
436
+ # @return [Time]
437
+ #
438
+ # @!attribute [rw] created_time
439
+ # The date and time that the cross-account attachment was created.
440
+ # @return [Time]
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/Attachment AWS API Documentation
443
+ #
444
+ class Attachment < Struct.new(
445
+ :attachment_arn,
446
+ :name,
447
+ :principals,
448
+ :resources,
449
+ :last_modified_time,
450
+ :created_time)
451
+ SENSITIVE = []
452
+ include Aws::Structure
453
+ end
454
+
455
+ # No cross-account attachment was found.
456
+ #
457
+ # @!attribute [rw] message
458
+ # @return [String]
459
+ #
460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AttachmentNotFoundException AWS API Documentation
461
+ #
462
+ class AttachmentNotFoundException < Struct.new(
463
+ :message)
464
+ SENSITIVE = []
465
+ include Aws::Structure
466
+ end
467
+
412
468
  # Information about an IP address range that is provisioned for use with
413
469
  # your Amazon Web Services resources through bring your own IP address
414
470
  # (BYOIP).
@@ -662,6 +718,65 @@ module Aws::GlobalAccelerator
662
718
  include Aws::Structure
663
719
  end
664
720
 
721
+ # @!attribute [rw] name
722
+ # The name of the cross-account attachment.
723
+ # @return [String]
724
+ #
725
+ # @!attribute [rw] principals
726
+ # The principals to list in the cross-account attachment. A principal
727
+ # can be an Amazon Web Services account number or the Amazon Resource
728
+ # Name (ARN) for an accelerator.
729
+ # @return [Array<String>]
730
+ #
731
+ # @!attribute [rw] resources
732
+ # The Amazon Resource Names (ARNs) for the resources to list in the
733
+ # cross-account attachment. A resource can be any supported Amazon Web
734
+ # Services resource type for Global Accelerator.
735
+ # @return [Array<Types::Resource>]
736
+ #
737
+ # @!attribute [rw] idempotency_token
738
+ # A unique, case-sensitive identifier that you provide to ensure the
739
+ # idempotency—that is, the uniqueness—of the request.
740
+ #
741
+ # **A suitable default value is auto-generated.** You should normally
742
+ # not need to pass this option.
743
+ # @return [String]
744
+ #
745
+ # @!attribute [rw] tags
746
+ # Create tags for cross-account attachment.
747
+ #
748
+ # For more information, see [Tagging in Global Accelerator][1] in the
749
+ # *Global Accelerator Developer Guide*.
750
+ #
751
+ #
752
+ #
753
+ # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html
754
+ # @return [Array<Types::Tag>]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCrossAccountAttachmentRequest AWS API Documentation
757
+ #
758
+ class CreateCrossAccountAttachmentRequest < Struct.new(
759
+ :name,
760
+ :principals,
761
+ :resources,
762
+ :idempotency_token,
763
+ :tags)
764
+ SENSITIVE = []
765
+ include Aws::Structure
766
+ end
767
+
768
+ # @!attribute [rw] cross_account_attachment
769
+ # Information about the cross-account attachment.
770
+ # @return [Types::Attachment]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCrossAccountAttachmentResponse AWS API Documentation
773
+ #
774
+ class CreateCrossAccountAttachmentResponse < Struct.new(
775
+ :cross_account_attachment)
776
+ SENSITIVE = []
777
+ include Aws::Structure
778
+ end
779
+
665
780
  # @!attribute [rw] name
666
781
  # The name of a custom routing accelerator. The name can have a
667
782
  # maximum of 64 characters, must contain only alphanumeric characters
@@ -1032,6 +1147,32 @@ module Aws::GlobalAccelerator
1032
1147
  include Aws::Structure
1033
1148
  end
1034
1149
 
1150
+ # An endpoint (Amazon Web Services resource) that is listed in a
1151
+ # cross-account attachment and can be added to an accelerator by
1152
+ # specified principals, that are also listed in the attachment.
1153
+ #
1154
+ # @!attribute [rw] endpoint_id
1155
+ # The endpoint ID for the endpoint that is listed in a cross-account
1156
+ # attachment and can be added to an accelerator by specified
1157
+ # principals.
1158
+ # @return [String]
1159
+ #
1160
+ # @!attribute [rw] attachment_arn
1161
+ # The Amazon Resource Name (ARN) of the cross-account attachment that
1162
+ # specifies the endpoints (resources) that can be added to
1163
+ # accelerators and principals that have permission to add the
1164
+ # endpoints to accelerators.
1165
+ # @return [String]
1166
+ #
1167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CrossAccountResource AWS API Documentation
1168
+ #
1169
+ class CrossAccountResource < Struct.new(
1170
+ :endpoint_id,
1171
+ :attachment_arn)
1172
+ SENSITIVE = []
1173
+ include Aws::Structure
1174
+ end
1175
+
1035
1176
  # Attributes of a custom routing accelerator.
1036
1177
  #
1037
1178
  # @!attribute [rw] accelerator_arn
@@ -1222,10 +1363,18 @@ module Aws::GlobalAccelerator
1222
1363
  # virtual private cloud (VPC) subnet ID.
1223
1364
  # @return [String]
1224
1365
  #
1366
+ # @!attribute [rw] attachment_arn
1367
+ # The Amazon Resource Name (ARN) of the cross-account attachment that
1368
+ # specifies the endpoints (resources) that can be added to
1369
+ # accelerators and principals that have permission to add the
1370
+ # endpoints to accelerators.
1371
+ # @return [String]
1372
+ #
1225
1373
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CustomRoutingEndpointConfiguration AWS API Documentation
1226
1374
  #
1227
1375
  class CustomRoutingEndpointConfiguration < Struct.new(
1228
- :endpoint_id)
1376
+ :endpoint_id,
1377
+ :attachment_arn)
1229
1378
  SENSITIVE = []
1230
1379
  include Aws::Structure
1231
1380
  end
@@ -1321,6 +1470,19 @@ module Aws::GlobalAccelerator
1321
1470
  include Aws::Structure
1322
1471
  end
1323
1472
 
1473
+ # @!attribute [rw] attachment_arn
1474
+ # The Amazon Resource Name (ARN) for the cross-account attachment to
1475
+ # delete.
1476
+ # @return [String]
1477
+ #
1478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCrossAccountAttachmentRequest AWS API Documentation
1479
+ #
1480
+ class DeleteCrossAccountAttachmentRequest < Struct.new(
1481
+ :attachment_arn)
1482
+ SENSITIVE = []
1483
+ include Aws::Structure
1484
+ end
1485
+
1324
1486
  # @!attribute [rw] accelerator_arn
1325
1487
  # The Amazon Resource Name (ARN) of the custom routing accelerator to
1326
1488
  # delete.
@@ -1507,6 +1669,31 @@ module Aws::GlobalAccelerator
1507
1669
  include Aws::Structure
1508
1670
  end
1509
1671
 
1672
+ # @!attribute [rw] attachment_arn
1673
+ # The Amazon Resource Name (ARN) for the cross-account attachment to
1674
+ # describe.
1675
+ # @return [String]
1676
+ #
1677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCrossAccountAttachmentRequest AWS API Documentation
1678
+ #
1679
+ class DescribeCrossAccountAttachmentRequest < Struct.new(
1680
+ :attachment_arn)
1681
+ SENSITIVE = []
1682
+ include Aws::Structure
1683
+ end
1684
+
1685
+ # @!attribute [rw] cross_account_attachment
1686
+ # Information about the cross-account attachment.
1687
+ # @return [Types::Attachment]
1688
+ #
1689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCrossAccountAttachmentResponse AWS API Documentation
1690
+ #
1691
+ class DescribeCrossAccountAttachmentResponse < Struct.new(
1692
+ :cross_account_attachment)
1693
+ SENSITIVE = []
1694
+ include Aws::Structure
1695
+ end
1696
+
1510
1697
  # @!attribute [rw] accelerator_arn
1511
1698
  # The Amazon Resource Name (ARN) of the custom routing accelerator to
1512
1699
  # describe the attributes for.
@@ -1754,7 +1941,7 @@ module Aws::GlobalAccelerator
1754
1941
  # @!attribute [rw] client_ip_preservation_enabled
1755
1942
  # Indicates whether client IP address preservation is enabled for an
1756
1943
  # endpoint. The value is true or false. The default value is true for
1757
- # new accelerators.
1944
+ # Application Load Balancer endpoints.
1758
1945
  #
1759
1946
  # If the value is set to true, the client's IP address is preserved
1760
1947
  # in the `X-Forwarded-For` request header as traffic travels to
@@ -1762,8 +1949,8 @@ module Aws::GlobalAccelerator
1762
1949
  #
1763
1950
  # Client IP address preservation is supported, in specific Amazon Web
1764
1951
  # Services Regions, for endpoints that are Application Load Balancers,
1765
- # Amazon EC2 instances, and Network Load Balancers with Security
1766
- # Groups. IMPORTANT: You cannot use client IP address preservation
1952
+ # Amazon EC2 instances, and Network Load Balancers with security
1953
+ # groups. IMPORTANT: You cannot use client IP address preservation
1767
1954
  # with Network Load Balancers with TLS listeners.
1768
1955
  #
1769
1956
  # For more information, see [ Preserve client IP addresses in Global
@@ -1774,12 +1961,20 @@ module Aws::GlobalAccelerator
1774
1961
  # [1]: https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html
1775
1962
  # @return [Boolean]
1776
1963
  #
1964
+ # @!attribute [rw] attachment_arn
1965
+ # The Amazon Resource Name (ARN) of the cross-account attachment that
1966
+ # specifies the endpoints (resources) that can be added to
1967
+ # accelerators and principals that have permission to add the
1968
+ # endpoints to accelerators.
1969
+ # @return [String]
1970
+ #
1777
1971
  # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/EndpointConfiguration AWS API Documentation
1778
1972
  #
1779
1973
  class EndpointConfiguration < Struct.new(
1780
1974
  :endpoint_id,
1781
1975
  :weight,
1782
- :client_ip_preservation_enabled)
1976
+ :client_ip_preservation_enabled,
1977
+ :attachment_arn)
1783
1978
  SENSITIVE = []
1784
1979
  include Aws::Structure
1785
1980
  end
@@ -1824,7 +2019,7 @@ module Aws::GlobalAccelerator
1824
2019
  # @!attribute [rw] client_ip_preservation_enabled
1825
2020
  # Indicates whether client IP address preservation is enabled for an
1826
2021
  # endpoint. The value is true or false. The default value is true for
1827
- # new accelerators.
2022
+ # Application Load Balancers endpoints.
1828
2023
  #
1829
2024
  # If the value is set to true, the client's IP address is preserved
1830
2025
  # in the `X-Forwarded-For` request header as traffic travels to
@@ -1832,8 +2027,8 @@ module Aws::GlobalAccelerator
1832
2027
  #
1833
2028
  # Client IP address preservation is supported, in specific Amazon Web
1834
2029
  # Services Regions, for endpoints that are Application Load Balancers,
1835
- # Amazon EC2 instances, and Network Load Balancers with Security
1836
- # Groups. IMPORTANT: You cannot use client IP address preservation
2030
+ # Amazon EC2 instances, and Network Load Balancers with security
2031
+ # groups. IMPORTANT: You cannot use client IP address preservation
1837
2032
  # with Network Load Balancers with TLS listeners.
1838
2033
  #
1839
2034
  # For more information, see [ Preserve client IP addresses in Global
@@ -2191,6 +2386,112 @@ module Aws::GlobalAccelerator
2191
2386
  include Aws::Structure
2192
2387
  end
2193
2388
 
2389
+ # @!attribute [rw] max_results
2390
+ # The number of cross-account attachment objects that you want to
2391
+ # return with this call. The default value is 10.
2392
+ # @return [Integer]
2393
+ #
2394
+ # @!attribute [rw] next_token
2395
+ # The token for the next set of results. You receive this token from a
2396
+ # previous call.
2397
+ # @return [String]
2398
+ #
2399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountAttachmentsRequest AWS API Documentation
2400
+ #
2401
+ class ListCrossAccountAttachmentsRequest < Struct.new(
2402
+ :max_results,
2403
+ :next_token)
2404
+ SENSITIVE = []
2405
+ include Aws::Structure
2406
+ end
2407
+
2408
+ # @!attribute [rw] cross_account_attachments
2409
+ # Information about the cross-account attachments.
2410
+ # @return [Array<Types::Attachment>]
2411
+ #
2412
+ # @!attribute [rw] next_token
2413
+ # The token for the next set of results. You receive this token from a
2414
+ # previous call.
2415
+ # @return [String]
2416
+ #
2417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountAttachmentsResponse AWS API Documentation
2418
+ #
2419
+ class ListCrossAccountAttachmentsResponse < Struct.new(
2420
+ :cross_account_attachments,
2421
+ :next_token)
2422
+ SENSITIVE = []
2423
+ include Aws::Structure
2424
+ end
2425
+
2426
+ # @api private
2427
+ #
2428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResourceAccountsRequest AWS API Documentation
2429
+ #
2430
+ class ListCrossAccountResourceAccountsRequest < Aws::EmptyStructure; end
2431
+
2432
+ # @!attribute [rw] resource_owner_aws_account_ids
2433
+ # The account IDs of principals (resource owners) in a cross-account
2434
+ # attachment who can add endpoints (resources) listed in the same
2435
+ # attachment.
2436
+ # @return [Array<String>]
2437
+ #
2438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResourceAccountsResponse AWS API Documentation
2439
+ #
2440
+ class ListCrossAccountResourceAccountsResponse < Struct.new(
2441
+ :resource_owner_aws_account_ids)
2442
+ SENSITIVE = []
2443
+ include Aws::Structure
2444
+ end
2445
+
2446
+ # @!attribute [rw] accelerator_arn
2447
+ # The Amazon Resource Name (ARN) of an accelerator in a cross-account
2448
+ # attachment.
2449
+ # @return [String]
2450
+ #
2451
+ # @!attribute [rw] resource_owner_aws_account_id
2452
+ # The account ID of a resource owner in a cross-account attachment.
2453
+ # @return [String]
2454
+ #
2455
+ # @!attribute [rw] max_results
2456
+ # The number of cross-account endpoints objects that you want to
2457
+ # return with this call. The default value is 10.
2458
+ # @return [Integer]
2459
+ #
2460
+ # @!attribute [rw] next_token
2461
+ # The token for the next set of results. You receive this token from a
2462
+ # previous call.
2463
+ # @return [String]
2464
+ #
2465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResourcesRequest AWS API Documentation
2466
+ #
2467
+ class ListCrossAccountResourcesRequest < Struct.new(
2468
+ :accelerator_arn,
2469
+ :resource_owner_aws_account_id,
2470
+ :max_results,
2471
+ :next_token)
2472
+ SENSITIVE = []
2473
+ include Aws::Structure
2474
+ end
2475
+
2476
+ # @!attribute [rw] cross_account_resources
2477
+ # The endpoints attached to an accelerator in a cross-account
2478
+ # attachment.
2479
+ # @return [Array<Types::CrossAccountResource>]
2480
+ #
2481
+ # @!attribute [rw] next_token
2482
+ # The token for the next set of results. You receive this token from a
2483
+ # previous call.
2484
+ # @return [String]
2485
+ #
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResourcesResponse AWS API Documentation
2487
+ #
2488
+ class ListCrossAccountResourcesResponse < Struct.new(
2489
+ :cross_account_resources,
2490
+ :next_token)
2491
+ SENSITIVE = []
2492
+ include Aws::Structure
2493
+ end
2494
+
2194
2495
  # @!attribute [rw] max_results
2195
2496
  # The number of custom routing Global Accelerator objects that you
2196
2497
  # want to return with this call. The default value is 10.
@@ -2757,6 +3058,26 @@ module Aws::GlobalAccelerator
2757
3058
  include Aws::Structure
2758
3059
  end
2759
3060
 
3061
+ # An Amazon Web Services resource that is supported by Global
3062
+ # Accelerator and can be added as an endpoint for an accelerator.
3063
+ #
3064
+ # @!attribute [rw] endpoint_id
3065
+ # The endpoint ID for the endpoint (Amazon Web Services resource).
3066
+ # @return [String]
3067
+ #
3068
+ # @!attribute [rw] region
3069
+ # The Amazon Web Services Region where a resource is located.
3070
+ # @return [String]
3071
+ #
3072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/Resource AWS API Documentation
3073
+ #
3074
+ class Resource < Struct.new(
3075
+ :endpoint_id,
3076
+ :region)
3077
+ SENSITIVE = []
3078
+ include Aws::Structure
3079
+ end
3080
+
2760
3081
  # An IP address/port combination.
2761
3082
  #
2762
3083
  # @!attribute [rw] ip_address
@@ -2960,6 +3281,79 @@ module Aws::GlobalAccelerator
2960
3281
  include Aws::Structure
2961
3282
  end
2962
3283
 
3284
+ # @!attribute [rw] attachment_arn
3285
+ # The Amazon Resource Name (ARN) of the cross-account attachment to
3286
+ # update.
3287
+ # @return [String]
3288
+ #
3289
+ # @!attribute [rw] name
3290
+ # The name of the cross-account attachment.
3291
+ # @return [String]
3292
+ #
3293
+ # @!attribute [rw] add_principals
3294
+ # The principals to add to the cross-account attachment. A principal
3295
+ # is an account or the Amazon Resource Name (ARN) of an accelerator
3296
+ # that the attachment gives permission to add the resources from
3297
+ # another account, listed in the attachment.
3298
+ #
3299
+ # To add more than one principal, separate the account numbers or
3300
+ # accelerator ARNs, or both, with commas.
3301
+ # @return [Array<String>]
3302
+ #
3303
+ # @!attribute [rw] remove_principals
3304
+ # The principals to remove from the cross-account attachment. A
3305
+ # principal is an account or the Amazon Resource Name (ARN) of an
3306
+ # accelerator that is given permission to add the resources from
3307
+ # another account, listed in the cross-account attachment.
3308
+ #
3309
+ # To remove more than one principal, separate the account numbers or
3310
+ # accelerator ARNs, or both, with commas.
3311
+ # @return [Array<String>]
3312
+ #
3313
+ # @!attribute [rw] add_resources
3314
+ # The resources to add to the cross-account attachment. A resource
3315
+ # listed in a cross-account attachment can be added to an accelerator
3316
+ # by the principals that are listed in the attachment.
3317
+ #
3318
+ # To add more than one resource, separate the resource ARNs with
3319
+ # commas.
3320
+ # @return [Array<Types::Resource>]
3321
+ #
3322
+ # @!attribute [rw] remove_resources
3323
+ # The resources to remove from the cross-account attachment. A
3324
+ # resource listed in a cross-account attachment can be added to an
3325
+ # accelerator fy principals that are listed in the cross-account
3326
+ # attachment.
3327
+ #
3328
+ # To remove more than one resource, separate the resource ARNs with
3329
+ # commas.
3330
+ # @return [Array<Types::Resource>]
3331
+ #
3332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCrossAccountAttachmentRequest AWS API Documentation
3333
+ #
3334
+ class UpdateCrossAccountAttachmentRequest < Struct.new(
3335
+ :attachment_arn,
3336
+ :name,
3337
+ :add_principals,
3338
+ :remove_principals,
3339
+ :add_resources,
3340
+ :remove_resources)
3341
+ SENSITIVE = []
3342
+ include Aws::Structure
3343
+ end
3344
+
3345
+ # @!attribute [rw] cross_account_attachment
3346
+ # Information about the updated cross-account attachment.
3347
+ # @return [Types::Attachment]
3348
+ #
3349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCrossAccountAttachmentResponse AWS API Documentation
3350
+ #
3351
+ class UpdateCrossAccountAttachmentResponse < Struct.new(
3352
+ :cross_account_attachment)
3353
+ SENSITIVE = []
3354
+ include Aws::Structure
3355
+ end
3356
+
2963
3357
  # @!attribute [rw] accelerator_arn
2964
3358
  # The Amazon Resource Name (ARN) of the custom routing accelerator to
2965
3359
  # update attributes for.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-globalaccelerator/customizations'
52
52
  # @!group service
53
53
  module Aws::GlobalAccelerator
54
54
 
55
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.53.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-globalaccelerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.0
4
+ version: 1.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core