@aws-sdk/client-global-accelerator 3.540.0 → 3.549.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.
- package/dist-types/commands/CreateCrossAccountAttachmentCommand.d.ts +19 -8
- package/dist-types/commands/DeleteCrossAccountAttachmentCommand.d.ts +4 -16
- package/dist-types/commands/DescribeCrossAccountAttachmentCommand.d.ts +2 -1
- package/dist-types/commands/ListCrossAccountAttachmentsCommand.d.ts +2 -1
- package/dist-types/commands/ListCrossAccountResourceAccountsCommand.d.ts +4 -1
- package/dist-types/commands/ListCrossAccountResourcesCommand.d.ts +2 -1
- package/dist-types/commands/UpdateCrossAccountAttachmentCommand.d.ts +10 -19
- package/dist-types/models/models_0.d.ts +74 -29
- package/dist-types/ts3.4/models/models_0.d.ts +3 -1
- package/package.json +6 -6
|
@@ -27,14 +27,23 @@ declare const CreateCrossAccountAttachmentCommand_base: {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* <p>Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to
|
|
30
|
-
* specify the <i>principals</i> who have permission to
|
|
31
|
-
*
|
|
30
|
+
* specify the <i>principals</i> who have permission to work with <i>resources</i>
|
|
31
|
+
* in accelerators in their own account. You specify, in the same attachment, the resources that are shared.</p>
|
|
32
32
|
* <p>A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an
|
|
33
|
-
* accelerator. For account numbers that are listed as principals, to
|
|
34
|
-
* you must sign in to an account specified as a principal. Then you can
|
|
35
|
-
*
|
|
36
|
-
* anyone with permission to make updates to the accelerator can
|
|
33
|
+
* accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment,
|
|
34
|
+
* you must sign in to an account specified as a principal. Then, you can work with resources that are listed,
|
|
35
|
+
* with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal,
|
|
36
|
+
* anyone with permission to make updates to the accelerator can work with resources that are listed in the
|
|
37
37
|
* attachment. </p>
|
|
38
|
+
* <p>Specify each principal and resource separately. To specify two CIDR address pools, list
|
|
39
|
+
* them individually under <code>Resources</code>, and so on. For a command line operation, for example,
|
|
40
|
+
* you might use a statement like the following:</p>
|
|
41
|
+
* <p>
|
|
42
|
+
* <code> "Resources": [\{"Cidr": "169.254.60.0/24"\},\{"Cidr": "169.254.59.0/24"\}]</code>
|
|
43
|
+
* </p>
|
|
44
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html">
|
|
45
|
+
* Working with cross-account attachments and resources in Global Accelerator</a> in the <i>
|
|
46
|
+
* Global Accelerator Developer Guide</i>.</p>
|
|
38
47
|
* @example
|
|
39
48
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
49
|
* ```javascript
|
|
@@ -48,7 +57,8 @@ declare const CreateCrossAccountAttachmentCommand_base: {
|
|
|
48
57
|
* ],
|
|
49
58
|
* Resources: [ // Resources
|
|
50
59
|
* { // Resource
|
|
51
|
-
* EndpointId: "STRING_VALUE",
|
|
60
|
+
* EndpointId: "STRING_VALUE",
|
|
61
|
+
* Cidr: "STRING_VALUE",
|
|
52
62
|
* Region: "STRING_VALUE",
|
|
53
63
|
* },
|
|
54
64
|
* ],
|
|
@@ -71,7 +81,8 @@ declare const CreateCrossAccountAttachmentCommand_base: {
|
|
|
71
81
|
* // ],
|
|
72
82
|
* // Resources: [ // Resources
|
|
73
83
|
* // { // Resource
|
|
74
|
-
* // EndpointId: "STRING_VALUE",
|
|
84
|
+
* // EndpointId: "STRING_VALUE",
|
|
85
|
+
* // Cidr: "STRING_VALUE",
|
|
75
86
|
* // Region: "STRING_VALUE",
|
|
76
87
|
* // },
|
|
77
88
|
* // ],
|
|
@@ -28,22 +28,10 @@ declare const DeleteCrossAccountAttachmentCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission
|
|
30
30
|
* to use the resources in the attachment from all principals in the list of principals. Global Accelerator
|
|
31
|
-
* revokes the permission for specific resources
|
|
32
|
-
* <
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* and removes cross-account endpoints from all accelerators.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>If the principal is an accelerator, Global Accelerator reviews just that accelerator
|
|
39
|
-
* and removes cross-account endpoints from it.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ul>
|
|
42
|
-
* <p>If there are overlapping permissions provided by multiple cross-account attachments,
|
|
43
|
-
* Global Accelerator only removes endpoints if there are no current cross-account attachments that provide
|
|
44
|
-
* access permission. For example, if you delete a cross-account attachment that lists an
|
|
45
|
-
* accelerator as a principal, but another cross-account attachment includes the account ID
|
|
46
|
-
* that owns that accelerator, endpoints will not be removed from the accelerator.</p>
|
|
31
|
+
* revokes the permission for specific resources.</p>
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html">
|
|
33
|
+
* Working with cross-account attachments and resources in Global Accelerator</a> in the <i>
|
|
34
|
+
* Global Accelerator Developer Guide</i>.</p>
|
|
47
35
|
* @example
|
|
48
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
37
|
* ```javascript
|
|
@@ -47,7 +47,8 @@ declare const DescribeCrossAccountAttachmentCommand_base: {
|
|
|
47
47
|
* // ],
|
|
48
48
|
* // Resources: [ // Resources
|
|
49
49
|
* // { // Resource
|
|
50
|
-
* // EndpointId: "STRING_VALUE",
|
|
50
|
+
* // EndpointId: "STRING_VALUE",
|
|
51
|
+
* // Cidr: "STRING_VALUE",
|
|
51
52
|
* // Region: "STRING_VALUE",
|
|
52
53
|
* // },
|
|
53
54
|
* // ],
|
|
@@ -49,7 +49,8 @@ declare const ListCrossAccountAttachmentsCommand_base: {
|
|
|
49
49
|
* // ],
|
|
50
50
|
* // Resources: [ // Resources
|
|
51
51
|
* // { // Resource
|
|
52
|
-
* // EndpointId: "STRING_VALUE",
|
|
52
|
+
* // EndpointId: "STRING_VALUE",
|
|
53
|
+
* // Cidr: "STRING_VALUE",
|
|
53
54
|
* // Region: "STRING_VALUE",
|
|
54
55
|
* // },
|
|
55
56
|
* // ],
|
|
@@ -26,7 +26,10 @@ declare const ListCrossAccountResourceAccountsCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>List the accounts that have cross-account
|
|
29
|
+
* <p>List the accounts that have cross-account resources.</p>
|
|
30
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html">
|
|
31
|
+
* Working with cross-account attachments and resources in Global Accelerator</a> in the <i>
|
|
32
|
+
* Global Accelerator Developer Guide</i>.</p>
|
|
30
33
|
* @example
|
|
31
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
35
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const ListCrossAccountResourcesCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>List the cross-account
|
|
29
|
+
* <p>List the cross-account resources available to work with.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -45,6 +45,7 @@ declare const ListCrossAccountResourcesCommand_base: {
|
|
|
45
45
|
* // CrossAccountResources: [ // CrossAccountResources
|
|
46
46
|
* // { // CrossAccountResource
|
|
47
47
|
* // EndpointId: "STRING_VALUE",
|
|
48
|
+
* // Cidr: "STRING_VALUE",
|
|
48
49
|
* // AttachmentArn: "STRING_VALUE",
|
|
49
50
|
* // },
|
|
50
51
|
* // ],
|
|
@@ -28,22 +28,10 @@ declare const UpdateCrossAccountAttachmentCommand_base: {
|
|
|
28
28
|
/**
|
|
29
29
|
* <p>Update a cross-account attachment to add or remove principals or resources. When you update
|
|
30
30
|
* an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator
|
|
31
|
-
* revokes the permission for specific resources
|
|
32
|
-
* <
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* and removes cross-account endpoints from all accelerators.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>If the principal is an accelerator, Global Accelerator reviews just that accelerator
|
|
39
|
-
* and removes cross-account endpoints from it.</p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ul>
|
|
42
|
-
* <p>If there are overlapping permissions provided by multiple cross-account attachments,
|
|
43
|
-
* Global Accelerator only removes endpoints if there are no current cross-account attachments that provide
|
|
44
|
-
* access permission. For example, if you delete a cross-account attachment that lists an
|
|
45
|
-
* accelerator as a principal, but another cross-account attachment includes the account ID
|
|
46
|
-
* that owns that accelerator, endpoints will not be removed from the accelerator.</p>
|
|
31
|
+
* revokes the permission for specific resources. </p>
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html">
|
|
33
|
+
* Working with cross-account attachments and resources in Global Accelerator</a> in the <i>
|
|
34
|
+
* Global Accelerator Developer Guide</i>.</p>
|
|
47
35
|
* @example
|
|
48
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
37
|
* ```javascript
|
|
@@ -61,13 +49,15 @@ declare const UpdateCrossAccountAttachmentCommand_base: {
|
|
|
61
49
|
* ],
|
|
62
50
|
* AddResources: [ // Resources
|
|
63
51
|
* { // Resource
|
|
64
|
-
* EndpointId: "STRING_VALUE",
|
|
52
|
+
* EndpointId: "STRING_VALUE",
|
|
53
|
+
* Cidr: "STRING_VALUE",
|
|
65
54
|
* Region: "STRING_VALUE",
|
|
66
55
|
* },
|
|
67
56
|
* ],
|
|
68
57
|
* RemoveResources: [
|
|
69
58
|
* {
|
|
70
|
-
* EndpointId: "STRING_VALUE",
|
|
59
|
+
* EndpointId: "STRING_VALUE",
|
|
60
|
+
* Cidr: "STRING_VALUE",
|
|
71
61
|
* Region: "STRING_VALUE",
|
|
72
62
|
* },
|
|
73
63
|
* ],
|
|
@@ -83,7 +73,8 @@ declare const UpdateCrossAccountAttachmentCommand_base: {
|
|
|
83
73
|
* // ],
|
|
84
74
|
* // Resources: [ // Resources
|
|
85
75
|
* // { // Resource
|
|
86
|
-
* // EndpointId: "STRING_VALUE",
|
|
76
|
+
* // EndpointId: "STRING_VALUE",
|
|
77
|
+
* // Cidr: "STRING_VALUE",
|
|
87
78
|
* // Region: "STRING_VALUE",
|
|
88
79
|
* // },
|
|
89
80
|
* // ],
|
|
@@ -238,7 +238,7 @@ export interface CustomRoutingEndpointConfiguration {
|
|
|
238
238
|
EndpointId?: string;
|
|
239
239
|
/**
|
|
240
240
|
* <p>The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
|
|
241
|
-
* that can be added to accelerators and principals that have permission to add the endpoints
|
|
241
|
+
* that can be added to accelerators and principals that have permission to add the endpoints.</p>
|
|
242
242
|
* @public
|
|
243
243
|
*/
|
|
244
244
|
AttachmentArn?: string;
|
|
@@ -374,7 +374,7 @@ export interface EndpointConfiguration {
|
|
|
374
374
|
* Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address
|
|
375
375
|
* allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must be valid and active
|
|
376
376
|
* when you add it as an endpoint.</p>
|
|
377
|
-
* <p>
|
|
377
|
+
* <p>For cross-account endpoints, this must be the ARN of the resource.</p>
|
|
378
378
|
* @public
|
|
379
379
|
*/
|
|
380
380
|
EndpointId?: string;
|
|
@@ -402,7 +402,7 @@ export interface EndpointConfiguration {
|
|
|
402
402
|
ClientIPPreservationEnabled?: boolean;
|
|
403
403
|
/**
|
|
404
404
|
* <p>The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
|
|
405
|
-
* that can be added to accelerators and principals that have permission to add the endpoints
|
|
405
|
+
* that can be added to accelerators and principals that have permission to add the endpoints.</p>
|
|
406
406
|
* @public
|
|
407
407
|
*/
|
|
408
408
|
AttachmentArn?: string;
|
|
@@ -517,6 +517,9 @@ export interface AdvertiseByoipCidrRequest {
|
|
|
517
517
|
/**
|
|
518
518
|
* <p>The address range, in CIDR notation. This must be the exact range that you provisioned.
|
|
519
519
|
* You can't advertise only a portion of the provisioned range.</p>
|
|
520
|
+
* <p> For more information, see
|
|
521
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
522
|
+
* the Global Accelerator Developer Guide.</p>
|
|
520
523
|
* @public
|
|
521
524
|
*/
|
|
522
525
|
Cidr: string | undefined;
|
|
@@ -638,6 +641,9 @@ export type ByoipCidrState = (typeof ByoipCidrState)[keyof typeof ByoipCidrState
|
|
|
638
641
|
export interface ByoipCidr {
|
|
639
642
|
/**
|
|
640
643
|
* <p>The address range, in CIDR notation.</p>
|
|
644
|
+
* <p> For more information, see
|
|
645
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
646
|
+
* the Global Accelerator Developer Guide.</p>
|
|
641
647
|
* @public
|
|
642
648
|
*/
|
|
643
649
|
Cidr?: string;
|
|
@@ -760,25 +766,38 @@ export declare class AssociatedListenerFoundException extends __BaseException {
|
|
|
760
766
|
constructor(opts: __ExceptionOptionType<AssociatedListenerFoundException, __BaseException>);
|
|
761
767
|
}
|
|
762
768
|
/**
|
|
763
|
-
* <p>
|
|
769
|
+
* <p>A resource is one of the following: the ARN for an Amazon Web Services resource that is supported by
|
|
770
|
+
* Global Accelerator to be added as an endpoint, or a CIDR range that specifies a bring your own IP (BYOIP) address pool.</p>
|
|
764
771
|
* @public
|
|
765
772
|
*/
|
|
766
773
|
export interface Resource {
|
|
767
774
|
/**
|
|
768
|
-
* <p>The endpoint ID for the endpoint
|
|
775
|
+
* <p>The endpoint ID for the endpoint that is specified as a Amazon Web Services resource. </p>
|
|
776
|
+
* <p>An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a
|
|
777
|
+
* Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.</p>
|
|
769
778
|
* @public
|
|
770
779
|
*/
|
|
771
|
-
EndpointId
|
|
780
|
+
EndpointId?: string;
|
|
781
|
+
/**
|
|
782
|
+
* <p>An IP address range, in CIDR format, that is specified as resource. The address must
|
|
783
|
+
* be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process
|
|
784
|
+
* for Global Accelerator</p>
|
|
785
|
+
* <p> For more information, see
|
|
786
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
787
|
+
* the Global Accelerator Developer Guide.</p>
|
|
788
|
+
* @public
|
|
789
|
+
*/
|
|
790
|
+
Cidr?: string;
|
|
772
791
|
/**
|
|
773
|
-
* <p>The Amazon Web Services Region where a resource is located.</p>
|
|
792
|
+
* <p>The Amazon Web Services Region where a shared endpoint resource is located.</p>
|
|
774
793
|
* @public
|
|
775
794
|
*/
|
|
776
795
|
Region?: string;
|
|
777
796
|
}
|
|
778
797
|
/**
|
|
779
798
|
* <p>A cross-account attachment in Global Accelerator. A cross-account attachment
|
|
780
|
-
* specifies the <i>principals</i> who have permission to
|
|
781
|
-
*
|
|
799
|
+
* specifies the <i>principals</i> who have permission to work with <i>resources</i>
|
|
800
|
+
* in your account, which you also list in the attachment.</p>
|
|
782
801
|
* @public
|
|
783
802
|
*/
|
|
784
803
|
export interface Attachment {
|
|
@@ -944,14 +963,15 @@ export interface CreateCrossAccountAttachmentRequest {
|
|
|
944
963
|
*/
|
|
945
964
|
Name: string | undefined;
|
|
946
965
|
/**
|
|
947
|
-
* <p>The principals to
|
|
966
|
+
* <p>The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account
|
|
948
967
|
* number or the Amazon Resource Name (ARN) for an accelerator. </p>
|
|
949
968
|
* @public
|
|
950
969
|
*/
|
|
951
970
|
Principals?: string[];
|
|
952
971
|
/**
|
|
953
|
-
* <p>The Amazon Resource Names (ARNs) for the resources to
|
|
954
|
-
* be any supported Amazon Web Services resource type for Global Accelerator
|
|
972
|
+
* <p>The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can
|
|
973
|
+
* be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a
|
|
974
|
+
* bring your own IP address (BYOIP) address pool. </p>
|
|
955
975
|
* @public
|
|
956
976
|
*/
|
|
957
977
|
Resources?: Resource[];
|
|
@@ -962,7 +982,7 @@ export interface CreateCrossAccountAttachmentRequest {
|
|
|
962
982
|
*/
|
|
963
983
|
IdempotencyToken?: string;
|
|
964
984
|
/**
|
|
965
|
-
* <p>
|
|
985
|
+
* <p>Add tags for a cross-account attachment.</p>
|
|
966
986
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html">Tagging
|
|
967
987
|
* in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.</p>
|
|
968
988
|
* @public
|
|
@@ -1634,8 +1654,12 @@ export interface CreateListenerResponse {
|
|
|
1634
1654
|
Listener?: Listener;
|
|
1635
1655
|
}
|
|
1636
1656
|
/**
|
|
1637
|
-
* <p>An endpoint (Amazon Web Services resource)
|
|
1638
|
-
*
|
|
1657
|
+
* <p>An endpoint (Amazon Web Services resource) or an IP address range, in CIDR format, that is
|
|
1658
|
+
* listed in a cross-account attachment. A cross-account resource can be added to an accelerator by
|
|
1659
|
+
* specified principals, which are also listed in the attachment.</p>
|
|
1660
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html">
|
|
1661
|
+
* Working with cross-account attachments and resources in Global Accelerator</a> in the <i>
|
|
1662
|
+
* Global Accelerator Developer Guide</i>.</p>
|
|
1639
1663
|
* @public
|
|
1640
1664
|
*/
|
|
1641
1665
|
export interface CrossAccountResource {
|
|
@@ -1646,8 +1670,18 @@ export interface CrossAccountResource {
|
|
|
1646
1670
|
*/
|
|
1647
1671
|
EndpointId?: string;
|
|
1648
1672
|
/**
|
|
1649
|
-
* <p>
|
|
1650
|
-
*
|
|
1673
|
+
* <p>An IP address range, in CIDR format, that is specified as an Amazon Web Services resource. The address must
|
|
1674
|
+
* be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process
|
|
1675
|
+
* for Global Accelerator.</p>
|
|
1676
|
+
* <p> For more information, see
|
|
1677
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
1678
|
+
* the Global Accelerator Developer Guide.</p>
|
|
1679
|
+
* @public
|
|
1680
|
+
*/
|
|
1681
|
+
Cidr?: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* <p>The Amazon Resource Name (ARN) of the cross-account attachment that specifies the resources (endpoints or
|
|
1684
|
+
* CIDR range) that can be added to accelerators and principals that have permission to add them.</p>
|
|
1651
1685
|
* @public
|
|
1652
1686
|
*/
|
|
1653
1687
|
AttachmentArn?: string;
|
|
@@ -1811,6 +1845,9 @@ export interface DeprovisionByoipCidrRequest {
|
|
|
1811
1845
|
/**
|
|
1812
1846
|
* <p>The address range, in CIDR notation. The prefix must be the same prefix that you specified
|
|
1813
1847
|
* when you provisioned the address range.</p>
|
|
1848
|
+
* <p> For more information, see
|
|
1849
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
1850
|
+
* the Global Accelerator Developer Guide.</p>
|
|
1814
1851
|
* @public
|
|
1815
1852
|
*/
|
|
1816
1853
|
Cidr: string | undefined;
|
|
@@ -2218,8 +2255,8 @@ export interface ListCrossAccountResourceAccountsRequest {
|
|
|
2218
2255
|
*/
|
|
2219
2256
|
export interface ListCrossAccountResourceAccountsResponse {
|
|
2220
2257
|
/**
|
|
2221
|
-
* <p>The account IDs of principals (resource owners) in a cross-account attachment who can
|
|
2222
|
-
* in the same attachment.</p>
|
|
2258
|
+
* <p>The account IDs of principals (resource owners) in a cross-account attachment who can work
|
|
2259
|
+
* with resources listed in the same attachment.</p>
|
|
2223
2260
|
* @public
|
|
2224
2261
|
*/
|
|
2225
2262
|
ResourceOwnerAwsAccountIds?: string[];
|
|
@@ -2239,7 +2276,7 @@ export interface ListCrossAccountResourcesRequest {
|
|
|
2239
2276
|
*/
|
|
2240
2277
|
ResourceOwnerAwsAccountId: string | undefined;
|
|
2241
2278
|
/**
|
|
2242
|
-
* <p>The number of cross-account
|
|
2279
|
+
* <p>The number of cross-account resource objects that you want to return with this call. The default value is 10.</p>
|
|
2243
2280
|
* @public
|
|
2244
2281
|
*/
|
|
2245
2282
|
MaxResults?: number;
|
|
@@ -2254,7 +2291,7 @@ export interface ListCrossAccountResourcesRequest {
|
|
|
2254
2291
|
*/
|
|
2255
2292
|
export interface ListCrossAccountResourcesResponse {
|
|
2256
2293
|
/**
|
|
2257
|
-
* <p>The
|
|
2294
|
+
* <p>The cross-account resources used with an accelerator.</p>
|
|
2258
2295
|
* @public
|
|
2259
2296
|
*/
|
|
2260
2297
|
CrossAccountResources?: CrossAccountResource[];
|
|
@@ -2582,7 +2619,10 @@ export interface ProvisionByoipCidrRequest {
|
|
|
2582
2619
|
/**
|
|
2583
2620
|
* <p>The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can
|
|
2584
2621
|
* specify is /24. The address range cannot overlap with another address range that you've brought
|
|
2585
|
-
* to this or another Region.</p>
|
|
2622
|
+
* to this Amazon Web Services Region or another Region.</p>
|
|
2623
|
+
* <p> For more information, see
|
|
2624
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
2625
|
+
* the Global Accelerator Developer Guide.</p>
|
|
2586
2626
|
* @public
|
|
2587
2627
|
*/
|
|
2588
2628
|
Cidr: string | undefined;
|
|
@@ -2772,28 +2812,30 @@ export interface UpdateCrossAccountAttachmentRequest {
|
|
|
2772
2812
|
Name?: string;
|
|
2773
2813
|
/**
|
|
2774
2814
|
* <p>The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN)
|
|
2775
|
-
* of an accelerator that the attachment gives permission to
|
|
2815
|
+
* of an accelerator that the attachment gives permission to work with resources from another account. The resources
|
|
2816
|
+
* are also listed in the attachment.</p>
|
|
2776
2817
|
* <p>To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.</p>
|
|
2777
2818
|
* @public
|
|
2778
2819
|
*/
|
|
2779
2820
|
AddPrincipals?: string[];
|
|
2780
2821
|
/**
|
|
2781
2822
|
* <p>The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN)
|
|
2782
|
-
* of an accelerator that
|
|
2823
|
+
* of an accelerator that the attachment gives permission to work with resources from another account. The resources
|
|
2824
|
+
* are also listed in the attachment.</p>
|
|
2783
2825
|
* <p>To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.</p>
|
|
2784
2826
|
* @public
|
|
2785
2827
|
*/
|
|
2786
2828
|
RemovePrincipals?: string[];
|
|
2787
2829
|
/**
|
|
2788
|
-
* <p>The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be
|
|
2789
|
-
*
|
|
2830
|
+
* <p>The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used
|
|
2831
|
+
* with an accelerator by the principals that are listed in the attachment.</p>
|
|
2790
2832
|
* <p>To add more than one resource, separate the resource ARNs with commas.</p>
|
|
2791
2833
|
* @public
|
|
2792
2834
|
*/
|
|
2793
2835
|
AddResources?: Resource[];
|
|
2794
2836
|
/**
|
|
2795
|
-
* <p>The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be
|
|
2796
|
-
*
|
|
2837
|
+
* <p>The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used
|
|
2838
|
+
* with an accelerator by the principals that are listed in the attachment.</p>
|
|
2797
2839
|
* <p>To remove more than one resource, separate the resource ARNs with commas.</p>
|
|
2798
2840
|
* @public
|
|
2799
2841
|
*/
|
|
@@ -3044,6 +3086,9 @@ export interface UpdateListenerResponse {
|
|
|
3044
3086
|
export interface WithdrawByoipCidrRequest {
|
|
3045
3087
|
/**
|
|
3046
3088
|
* <p>The address range, in CIDR notation.</p>
|
|
3089
|
+
* <p> For more information, see
|
|
3090
|
+
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring your own IP addresses (BYOIP)</a> in
|
|
3091
|
+
* the Global Accelerator Developer Guide.</p>
|
|
3047
3092
|
* @public
|
|
3048
3093
|
*/
|
|
3049
3094
|
Cidr: string | undefined;
|
|
@@ -3053,7 +3098,7 @@ export interface WithdrawByoipCidrRequest {
|
|
|
3053
3098
|
*/
|
|
3054
3099
|
export interface WithdrawByoipCidrResponse {
|
|
3055
3100
|
/**
|
|
3056
|
-
* <p>Information about the address pool.</p>
|
|
3101
|
+
* <p>Information about the BYOIP address pool.</p>
|
|
3057
3102
|
* @public
|
|
3058
3103
|
*/
|
|
3059
3104
|
ByoipCidr?: ByoipCidr;
|
|
@@ -243,7 +243,8 @@ export declare class AssociatedListenerFoundException extends __BaseException {
|
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
245
|
export interface Resource {
|
|
246
|
-
EndpointId
|
|
246
|
+
EndpointId?: string;
|
|
247
|
+
Cidr?: string;
|
|
247
248
|
Region?: string;
|
|
248
249
|
}
|
|
249
250
|
export interface Attachment {
|
|
@@ -463,6 +464,7 @@ export interface CreateListenerResponse {
|
|
|
463
464
|
}
|
|
464
465
|
export interface CrossAccountResource {
|
|
465
466
|
EndpointId?: string;
|
|
467
|
+
Cidr?: string;
|
|
466
468
|
AttachmentArn?: string;
|
|
467
469
|
}
|
|
468
470
|
export interface CustomRoutingAcceleratorAttributes {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-global-accelerator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Global Accelerator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.549.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-global-accelerator",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|