@aws-sdk/client-global-accelerator 3.438.0 → 3.445.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/README.md +57 -1
- package/dist-cjs/GlobalAccelerator.js +14 -0
- package/dist-cjs/commands/CreateCrossAccountAttachmentCommand.js +51 -0
- package/dist-cjs/commands/DeleteCrossAccountAttachmentCommand.js +51 -0
- package/dist-cjs/commands/DescribeCrossAccountAttachmentCommand.js +51 -0
- package/dist-cjs/commands/ListCrossAccountAttachmentsCommand.js +51 -0
- package/dist-cjs/commands/ListCrossAccountResourceAccountsCommand.js +51 -0
- package/dist-cjs/commands/ListCrossAccountResourcesCommand.js +51 -0
- package/dist-cjs/commands/UpdateCrossAccountAttachmentCommand.js +51 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListCrossAccountAttachmentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListCrossAccountResourcesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +409 -2
- package/dist-es/GlobalAccelerator.js +14 -0
- package/dist-es/commands/CreateCrossAccountAttachmentCommand.js +47 -0
- package/dist-es/commands/DeleteCrossAccountAttachmentCommand.js +47 -0
- package/dist-es/commands/DescribeCrossAccountAttachmentCommand.js +47 -0
- package/dist-es/commands/ListCrossAccountAttachmentsCommand.js +47 -0
- package/dist-es/commands/ListCrossAccountResourceAccountsCommand.js +47 -0
- package/dist-es/commands/ListCrossAccountResourcesCommand.js +47 -0
- package/dist-es/commands/UpdateCrossAccountAttachmentCommand.js +47 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListCrossAccountAttachmentsPaginator.js +25 -0
- package/dist-es/pagination/ListCrossAccountResourcesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +393 -1
- package/dist-types/GlobalAccelerator.d.ts +50 -1
- package/dist-types/GlobalAcceleratorClient.d.ts +10 -3
- package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/AddEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/CreateCrossAccountAttachmentCommand.d.ts +126 -0
- package/dist-types/commands/CreateEndpointGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteCrossAccountAttachmentCommand.d.ts +103 -0
- package/dist-types/commands/DescribeCrossAccountAttachmentCommand.d.ts +99 -0
- package/dist-types/commands/ListCrossAccountAttachmentsCommand.d.ts +103 -0
- package/dist-types/commands/ListCrossAccountResourceAccountsCommand.d.ts +79 -0
- package/dist-types/commands/ListCrossAccountResourcesCommand.d.ts +97 -0
- package/dist-types/commands/UpdateCrossAccountAttachmentCommand.d.ts +141 -0
- package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +316 -4
- package/dist-types/pagination/ListCrossAccountAttachmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCrossAccountResourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
- package/dist-types/ts3.4/GlobalAccelerator.d.ts +119 -0
- package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateCrossAccountAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCrossAccountAttachmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeCrossAccountAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCrossAccountAttachmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCrossAccountResourceAccountsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCrossAccountResourcesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateCrossAccountAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/pagination/ListCrossAccountAttachmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCrossAccountResourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
- package/package.json +4 -4
|
@@ -236,6 +236,12 @@ export interface CustomRoutingEndpointConfiguration {
|
|
|
236
236
|
* subnet ID. </p>
|
|
237
237
|
*/
|
|
238
238
|
EndpointId?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* <p>The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
|
|
242
|
+
* that can be added to accelerators and principals that have permission to add the endpoints to accelerators.</p>
|
|
243
|
+
*/
|
|
244
|
+
AttachmentArn?: string;
|
|
239
245
|
}
|
|
240
246
|
/**
|
|
241
247
|
* @public
|
|
@@ -384,16 +390,22 @@ export interface EndpointConfiguration {
|
|
|
384
390
|
/**
|
|
385
391
|
* @public
|
|
386
392
|
* <p>Indicates whether client IP address preservation is enabled for an endpoint.
|
|
387
|
-
* The value is true or false. The default value is true for
|
|
393
|
+
* The value is true or false. The default value is true for Application Load Balancer endpoints. </p>
|
|
388
394
|
* <p>If the value is set to true, the client's IP address is preserved in the <code>X-Forwarded-For</code> request header as
|
|
389
395
|
* traffic travels to applications on the endpoint fronted by the accelerator.</p>
|
|
390
396
|
* <p>Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load
|
|
391
|
-
* Balancers, Amazon EC2 instances, and Network Load Balancers with
|
|
397
|
+
* Balancers, Amazon EC2 instances, and Network Load Balancers with security groups. IMPORTANT: You cannot use client IP address preservation
|
|
392
398
|
* with Network Load Balancers with TLS listeners.</p>
|
|
393
399
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html">
|
|
394
400
|
* Preserve client IP addresses in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.</p>
|
|
395
401
|
*/
|
|
396
402
|
ClientIPPreservationEnabled?: boolean;
|
|
403
|
+
/**
|
|
404
|
+
* @public
|
|
405
|
+
* <p>The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
|
|
406
|
+
* that can be added to accelerators and principals that have permission to add the endpoints to accelerators.</p>
|
|
407
|
+
*/
|
|
408
|
+
AttachmentArn?: string;
|
|
397
409
|
}
|
|
398
410
|
/**
|
|
399
411
|
* @public
|
|
@@ -459,11 +471,11 @@ export interface EndpointDescription {
|
|
|
459
471
|
/**
|
|
460
472
|
* @public
|
|
461
473
|
* <p>Indicates whether client IP address preservation is enabled for an endpoint.
|
|
462
|
-
* The value is true or false. The default value is true for
|
|
474
|
+
* The value is true or false. The default value is true for Application Load Balancers endpoints. </p>
|
|
463
475
|
* <p>If the value is set to true, the client's IP address is preserved in the <code>X-Forwarded-For</code> request header as
|
|
464
476
|
* traffic travels to applications on the endpoint fronted by the accelerator.</p>
|
|
465
477
|
* <p>Client IP address preservation is supported, in specific Amazon Web Services Regions, for endpoints that are Application Load
|
|
466
|
-
* Balancers, Amazon EC2 instances, and Network Load Balancers with
|
|
478
|
+
* Balancers, Amazon EC2 instances, and Network Load Balancers with security groups. IMPORTANT: You cannot use client IP address preservation
|
|
467
479
|
* with Network Load Balancers with TLS listeners.</p>
|
|
468
480
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html">
|
|
469
481
|
* Preserve client IP addresses in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.</p>
|
|
@@ -747,6 +759,73 @@ export declare class AssociatedListenerFoundException extends __BaseException {
|
|
|
747
759
|
*/
|
|
748
760
|
constructor(opts: __ExceptionOptionType<AssociatedListenerFoundException, __BaseException>);
|
|
749
761
|
}
|
|
762
|
+
/**
|
|
763
|
+
* @public
|
|
764
|
+
* <p>An Amazon Web Services resource that is supported by Global Accelerator and can be added as an endpoint for an accelerator.</p>
|
|
765
|
+
*/
|
|
766
|
+
export interface Resource {
|
|
767
|
+
/**
|
|
768
|
+
* @public
|
|
769
|
+
* <p>The endpoint ID for the endpoint (Amazon Web Services resource).</p>
|
|
770
|
+
*/
|
|
771
|
+
EndpointId: string | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* @public
|
|
774
|
+
* <p>The Amazon Web Services Region where a resource is located.</p>
|
|
775
|
+
*/
|
|
776
|
+
Region?: string;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
* <p>A cross-account attachment in Global Accelerator. A cross-account attachment
|
|
781
|
+
* specifies the <i>principals</i> who have permission to add to accelerators in their own
|
|
782
|
+
* account the resources in your account that you also list in the attachment.</p>
|
|
783
|
+
*/
|
|
784
|
+
export interface Attachment {
|
|
785
|
+
/**
|
|
786
|
+
* @public
|
|
787
|
+
* <p>The Amazon Resource Name (ARN) of the cross-account attachment.</p>
|
|
788
|
+
*/
|
|
789
|
+
AttachmentArn?: string;
|
|
790
|
+
/**
|
|
791
|
+
* @public
|
|
792
|
+
* <p>The name of the cross-account attachment.</p>
|
|
793
|
+
*/
|
|
794
|
+
Name?: string;
|
|
795
|
+
/**
|
|
796
|
+
* @public
|
|
797
|
+
* <p>The principals included in the cross-account attachment.</p>
|
|
798
|
+
*/
|
|
799
|
+
Principals?: string[];
|
|
800
|
+
/**
|
|
801
|
+
* @public
|
|
802
|
+
* <p>The resources included in the cross-account attachment.</p>
|
|
803
|
+
*/
|
|
804
|
+
Resources?: Resource[];
|
|
805
|
+
/**
|
|
806
|
+
* @public
|
|
807
|
+
* <p>The date and time that the cross-account attachment was last modified.</p>
|
|
808
|
+
*/
|
|
809
|
+
LastModifiedTime?: Date;
|
|
810
|
+
/**
|
|
811
|
+
* @public
|
|
812
|
+
* <p>The date and time that the cross-account attachment was created.</p>
|
|
813
|
+
*/
|
|
814
|
+
CreatedTime?: Date;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* @public
|
|
818
|
+
* <p>No cross-account attachment was found.</p>
|
|
819
|
+
*/
|
|
820
|
+
export declare class AttachmentNotFoundException extends __BaseException {
|
|
821
|
+
readonly name: "AttachmentNotFoundException";
|
|
822
|
+
readonly $fault: "client";
|
|
823
|
+
Message?: string;
|
|
824
|
+
/**
|
|
825
|
+
* @internal
|
|
826
|
+
*/
|
|
827
|
+
constructor(opts: __ExceptionOptionType<AttachmentNotFoundException, __BaseException>);
|
|
828
|
+
}
|
|
750
829
|
/**
|
|
751
830
|
* @public
|
|
752
831
|
* <p>Provides authorization for Amazon to bring a specific IP address range to a specific Amazon Web Services
|
|
@@ -855,6 +934,51 @@ export interface CreateAcceleratorResponse {
|
|
|
855
934
|
*/
|
|
856
935
|
Accelerator?: Accelerator;
|
|
857
936
|
}
|
|
937
|
+
/**
|
|
938
|
+
* @public
|
|
939
|
+
*/
|
|
940
|
+
export interface CreateCrossAccountAttachmentRequest {
|
|
941
|
+
/**
|
|
942
|
+
* @public
|
|
943
|
+
* <p>The name of the cross-account attachment. </p>
|
|
944
|
+
*/
|
|
945
|
+
Name: string | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* @public
|
|
948
|
+
* <p>The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account
|
|
949
|
+
* number or the Amazon Resource Name (ARN) for an accelerator. </p>
|
|
950
|
+
*/
|
|
951
|
+
Principals?: string[];
|
|
952
|
+
/**
|
|
953
|
+
* @public
|
|
954
|
+
* <p>The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can
|
|
955
|
+
* be any supported Amazon Web Services resource type for Global Accelerator. </p>
|
|
956
|
+
*/
|
|
957
|
+
Resources?: Resource[];
|
|
958
|
+
/**
|
|
959
|
+
* @public
|
|
960
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the
|
|
961
|
+
* uniqueness—of the request.</p>
|
|
962
|
+
*/
|
|
963
|
+
IdempotencyToken?: string;
|
|
964
|
+
/**
|
|
965
|
+
* @public
|
|
966
|
+
* <p>Create tags for cross-account attachment.</p>
|
|
967
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html">Tagging
|
|
968
|
+
* in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.</p>
|
|
969
|
+
*/
|
|
970
|
+
Tags?: Tag[];
|
|
971
|
+
}
|
|
972
|
+
/**
|
|
973
|
+
* @public
|
|
974
|
+
*/
|
|
975
|
+
export interface CreateCrossAccountAttachmentResponse {
|
|
976
|
+
/**
|
|
977
|
+
* @public
|
|
978
|
+
* <p>Information about the cross-account attachment.</p>
|
|
979
|
+
*/
|
|
980
|
+
CrossAccountAttachment?: Attachment;
|
|
981
|
+
}
|
|
858
982
|
/**
|
|
859
983
|
* @public
|
|
860
984
|
*/
|
|
@@ -1509,6 +1633,25 @@ export interface CreateListenerResponse {
|
|
|
1509
1633
|
*/
|
|
1510
1634
|
Listener?: Listener;
|
|
1511
1635
|
}
|
|
1636
|
+
/**
|
|
1637
|
+
* @public
|
|
1638
|
+
* <p>An endpoint (Amazon Web Services resource) that is listed in a cross-account attachment and
|
|
1639
|
+
* can be added to an accelerator by specified principals, that are also listed in the attachment.</p>
|
|
1640
|
+
*/
|
|
1641
|
+
export interface CrossAccountResource {
|
|
1642
|
+
/**
|
|
1643
|
+
* @public
|
|
1644
|
+
* <p>The endpoint ID for the endpoint that is listed in a cross-account attachment and
|
|
1645
|
+
* can be added to an accelerator by specified principals.</p>
|
|
1646
|
+
*/
|
|
1647
|
+
EndpointId?: string;
|
|
1648
|
+
/**
|
|
1649
|
+
* @public
|
|
1650
|
+
* <p>The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources)
|
|
1651
|
+
* that can be added to accelerators and principals that have permission to add the endpoints to accelerators.</p>
|
|
1652
|
+
*/
|
|
1653
|
+
AttachmentArn?: string;
|
|
1654
|
+
}
|
|
1512
1655
|
/**
|
|
1513
1656
|
* @public
|
|
1514
1657
|
* <p>Attributes of a custom routing accelerator.</p>
|
|
@@ -1561,6 +1704,16 @@ export interface DeleteAcceleratorRequest {
|
|
|
1561
1704
|
*/
|
|
1562
1705
|
AcceleratorArn: string | undefined;
|
|
1563
1706
|
}
|
|
1707
|
+
/**
|
|
1708
|
+
* @public
|
|
1709
|
+
*/
|
|
1710
|
+
export interface DeleteCrossAccountAttachmentRequest {
|
|
1711
|
+
/**
|
|
1712
|
+
* @public
|
|
1713
|
+
* <p>The Amazon Resource Name (ARN) for the cross-account attachment to delete.</p>
|
|
1714
|
+
*/
|
|
1715
|
+
AttachmentArn: string | undefined;
|
|
1716
|
+
}
|
|
1564
1717
|
/**
|
|
1565
1718
|
* @public
|
|
1566
1719
|
*/
|
|
@@ -1712,6 +1865,26 @@ export interface DescribeAcceleratorAttributesResponse {
|
|
|
1712
1865
|
*/
|
|
1713
1866
|
AcceleratorAttributes?: AcceleratorAttributes;
|
|
1714
1867
|
}
|
|
1868
|
+
/**
|
|
1869
|
+
* @public
|
|
1870
|
+
*/
|
|
1871
|
+
export interface DescribeCrossAccountAttachmentRequest {
|
|
1872
|
+
/**
|
|
1873
|
+
* @public
|
|
1874
|
+
* <p>The Amazon Resource Name (ARN) for the cross-account attachment to describe.</p>
|
|
1875
|
+
*/
|
|
1876
|
+
AttachmentArn: string | undefined;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* @public
|
|
1880
|
+
*/
|
|
1881
|
+
export interface DescribeCrossAccountAttachmentResponse {
|
|
1882
|
+
/**
|
|
1883
|
+
* @public
|
|
1884
|
+
* <p>Information about the cross-account attachment.</p>
|
|
1885
|
+
*/
|
|
1886
|
+
CrossAccountAttachment?: Attachment;
|
|
1887
|
+
}
|
|
1715
1888
|
/**
|
|
1716
1889
|
* @public
|
|
1717
1890
|
*/
|
|
@@ -2005,6 +2178,92 @@ export interface ListByoipCidrsResponse {
|
|
|
2005
2178
|
*/
|
|
2006
2179
|
NextToken?: string;
|
|
2007
2180
|
}
|
|
2181
|
+
/**
|
|
2182
|
+
* @public
|
|
2183
|
+
*/
|
|
2184
|
+
export interface ListCrossAccountAttachmentsRequest {
|
|
2185
|
+
/**
|
|
2186
|
+
* @public
|
|
2187
|
+
* <p>The number of cross-account attachment objects that you want to return with this call. The default value is 10.</p>
|
|
2188
|
+
*/
|
|
2189
|
+
MaxResults?: number;
|
|
2190
|
+
/**
|
|
2191
|
+
* @public
|
|
2192
|
+
* <p>The token for the next set of results. You receive this token from a previous call.</p>
|
|
2193
|
+
*/
|
|
2194
|
+
NextToken?: string;
|
|
2195
|
+
}
|
|
2196
|
+
/**
|
|
2197
|
+
* @public
|
|
2198
|
+
*/
|
|
2199
|
+
export interface ListCrossAccountAttachmentsResponse {
|
|
2200
|
+
/**
|
|
2201
|
+
* @public
|
|
2202
|
+
* <p>Information about the cross-account attachments.</p>
|
|
2203
|
+
*/
|
|
2204
|
+
CrossAccountAttachments?: Attachment[];
|
|
2205
|
+
/**
|
|
2206
|
+
* @public
|
|
2207
|
+
* <p>The token for the next set of results. You receive this token from a previous call.</p>
|
|
2208
|
+
*/
|
|
2209
|
+
NextToken?: string;
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* @public
|
|
2213
|
+
*/
|
|
2214
|
+
export interface ListCrossAccountResourceAccountsRequest {
|
|
2215
|
+
}
|
|
2216
|
+
/**
|
|
2217
|
+
* @public
|
|
2218
|
+
*/
|
|
2219
|
+
export interface ListCrossAccountResourceAccountsResponse {
|
|
2220
|
+
/**
|
|
2221
|
+
* @public
|
|
2222
|
+
* <p>The account IDs of principals (resource owners) in a cross-account attachment who can add endpoints (resources) listed
|
|
2223
|
+
* in the same attachment.</p>
|
|
2224
|
+
*/
|
|
2225
|
+
ResourceOwnerAwsAccountIds?: string[];
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* @public
|
|
2229
|
+
*/
|
|
2230
|
+
export interface ListCrossAccountResourcesRequest {
|
|
2231
|
+
/**
|
|
2232
|
+
* @public
|
|
2233
|
+
* <p>The Amazon Resource Name (ARN) of an accelerator in a cross-account attachment.</p>
|
|
2234
|
+
*/
|
|
2235
|
+
AcceleratorArn?: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* @public
|
|
2238
|
+
* <p>The account ID of a resource owner in a cross-account attachment.</p>
|
|
2239
|
+
*/
|
|
2240
|
+
ResourceOwnerAwsAccountId: string | undefined;
|
|
2241
|
+
/**
|
|
2242
|
+
* @public
|
|
2243
|
+
* <p>The number of cross-account endpoints objects that you want to return with this call. The default value is 10.</p>
|
|
2244
|
+
*/
|
|
2245
|
+
MaxResults?: number;
|
|
2246
|
+
/**
|
|
2247
|
+
* @public
|
|
2248
|
+
* <p>The token for the next set of results. You receive this token from a previous call.</p>
|
|
2249
|
+
*/
|
|
2250
|
+
NextToken?: string;
|
|
2251
|
+
}
|
|
2252
|
+
/**
|
|
2253
|
+
* @public
|
|
2254
|
+
*/
|
|
2255
|
+
export interface ListCrossAccountResourcesResponse {
|
|
2256
|
+
/**
|
|
2257
|
+
* @public
|
|
2258
|
+
* <p>The endpoints attached to an accelerator in a cross-account attachment.</p>
|
|
2259
|
+
*/
|
|
2260
|
+
CrossAccountResources?: CrossAccountResource[];
|
|
2261
|
+
/**
|
|
2262
|
+
* @public
|
|
2263
|
+
* <p>The token for the next set of results. You receive this token from a previous call.</p>
|
|
2264
|
+
*/
|
|
2265
|
+
NextToken?: string;
|
|
2266
|
+
}
|
|
2008
2267
|
/**
|
|
2009
2268
|
* @public
|
|
2010
2269
|
*/
|
|
@@ -2497,6 +2756,59 @@ export interface UpdateAcceleratorAttributesResponse {
|
|
|
2497
2756
|
*/
|
|
2498
2757
|
AcceleratorAttributes?: AcceleratorAttributes;
|
|
2499
2758
|
}
|
|
2759
|
+
/**
|
|
2760
|
+
* @public
|
|
2761
|
+
*/
|
|
2762
|
+
export interface UpdateCrossAccountAttachmentRequest {
|
|
2763
|
+
/**
|
|
2764
|
+
* @public
|
|
2765
|
+
* <p>The Amazon Resource Name (ARN) of the cross-account attachment to update.</p>
|
|
2766
|
+
*/
|
|
2767
|
+
AttachmentArn: string | undefined;
|
|
2768
|
+
/**
|
|
2769
|
+
* @public
|
|
2770
|
+
* <p>The name of the cross-account attachment. </p>
|
|
2771
|
+
*/
|
|
2772
|
+
Name?: string;
|
|
2773
|
+
/**
|
|
2774
|
+
* @public
|
|
2775
|
+
* <p>The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN)
|
|
2776
|
+
* of an accelerator that the attachment gives permission to add the resources from another account, listed in the attachment.</p>
|
|
2777
|
+
* <p>To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.</p>
|
|
2778
|
+
*/
|
|
2779
|
+
AddPrincipals?: string[];
|
|
2780
|
+
/**
|
|
2781
|
+
* @public
|
|
2782
|
+
* <p>The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN)
|
|
2783
|
+
* of an accelerator that is given permission to add the resources from another account, listed in the cross-account attachment.</p>
|
|
2784
|
+
* <p>To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.</p>
|
|
2785
|
+
*/
|
|
2786
|
+
RemovePrincipals?: string[];
|
|
2787
|
+
/**
|
|
2788
|
+
* @public
|
|
2789
|
+
* <p>The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be added
|
|
2790
|
+
* to an accelerator by the principals that are listed in the attachment.</p>
|
|
2791
|
+
* <p>To add more than one resource, separate the resource ARNs with commas.</p>
|
|
2792
|
+
*/
|
|
2793
|
+
AddResources?: Resource[];
|
|
2794
|
+
/**
|
|
2795
|
+
* @public
|
|
2796
|
+
* <p>The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be added
|
|
2797
|
+
* to an accelerator fy principals that are listed in the cross-account attachment.</p>
|
|
2798
|
+
* <p>To remove more than one resource, separate the resource ARNs with commas.</p>
|
|
2799
|
+
*/
|
|
2800
|
+
RemoveResources?: Resource[];
|
|
2801
|
+
}
|
|
2802
|
+
/**
|
|
2803
|
+
* @public
|
|
2804
|
+
*/
|
|
2805
|
+
export interface UpdateCrossAccountAttachmentResponse {
|
|
2806
|
+
/**
|
|
2807
|
+
* @public
|
|
2808
|
+
* <p>Information about the updated cross-account attachment.</p>
|
|
2809
|
+
*/
|
|
2810
|
+
CrossAccountAttachment?: Attachment;
|
|
2811
|
+
}
|
|
2500
2812
|
/**
|
|
2501
2813
|
* @public
|
|
2502
2814
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListCrossAccountAttachmentsCommandInput, ListCrossAccountAttachmentsCommandOutput } from "../commands/ListCrossAccountAttachmentsCommand";
|
|
3
|
+
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListCrossAccountAttachments(config: GlobalAcceleratorPaginationConfiguration, input: ListCrossAccountAttachmentsCommandInput, ...additionalArguments: any): Paginator<ListCrossAccountAttachmentsCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListCrossAccountResourcesCommandInput, ListCrossAccountResourcesCommandOutput } from "../commands/ListCrossAccountResourcesCommand";
|
|
3
|
+
import { GlobalAcceleratorPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListCrossAccountResources(config: GlobalAcceleratorPaginationConfiguration, input: ListCrossAccountResourcesCommandInput, ...additionalArguments: any): Paginator<ListCrossAccountResourcesCommandOutput>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAcceleratorsPaginator";
|
|
3
3
|
export * from "./ListByoipCidrsPaginator";
|
|
4
|
+
export * from "./ListCrossAccountAttachmentsPaginator";
|
|
5
|
+
export * from "./ListCrossAccountResourcesPaginator";
|
|
4
6
|
export * from "./ListCustomRoutingAcceleratorsPaginator";
|
|
5
7
|
export * from "./ListCustomRoutingEndpointGroupsPaginator";
|
|
6
8
|
export * from "./ListCustomRoutingListenersPaginator";
|
|
@@ -5,12 +5,14 @@ import { AddEndpointsCommandInput, AddEndpointsCommandOutput } from "../commands
|
|
|
5
5
|
import { AdvertiseByoipCidrCommandInput, AdvertiseByoipCidrCommandOutput } from "../commands/AdvertiseByoipCidrCommand";
|
|
6
6
|
import { AllowCustomRoutingTrafficCommandInput, AllowCustomRoutingTrafficCommandOutput } from "../commands/AllowCustomRoutingTrafficCommand";
|
|
7
7
|
import { CreateAcceleratorCommandInput, CreateAcceleratorCommandOutput } from "../commands/CreateAcceleratorCommand";
|
|
8
|
+
import { CreateCrossAccountAttachmentCommandInput, CreateCrossAccountAttachmentCommandOutput } from "../commands/CreateCrossAccountAttachmentCommand";
|
|
8
9
|
import { CreateCustomRoutingAcceleratorCommandInput, CreateCustomRoutingAcceleratorCommandOutput } from "../commands/CreateCustomRoutingAcceleratorCommand";
|
|
9
10
|
import { CreateCustomRoutingEndpointGroupCommandInput, CreateCustomRoutingEndpointGroupCommandOutput } from "../commands/CreateCustomRoutingEndpointGroupCommand";
|
|
10
11
|
import { CreateCustomRoutingListenerCommandInput, CreateCustomRoutingListenerCommandOutput } from "../commands/CreateCustomRoutingListenerCommand";
|
|
11
12
|
import { CreateEndpointGroupCommandInput, CreateEndpointGroupCommandOutput } from "../commands/CreateEndpointGroupCommand";
|
|
12
13
|
import { CreateListenerCommandInput, CreateListenerCommandOutput } from "../commands/CreateListenerCommand";
|
|
13
14
|
import { DeleteAcceleratorCommandInput, DeleteAcceleratorCommandOutput } from "../commands/DeleteAcceleratorCommand";
|
|
15
|
+
import { DeleteCrossAccountAttachmentCommandInput, DeleteCrossAccountAttachmentCommandOutput } from "../commands/DeleteCrossAccountAttachmentCommand";
|
|
14
16
|
import { DeleteCustomRoutingAcceleratorCommandInput, DeleteCustomRoutingAcceleratorCommandOutput } from "../commands/DeleteCustomRoutingAcceleratorCommand";
|
|
15
17
|
import { DeleteCustomRoutingEndpointGroupCommandInput, DeleteCustomRoutingEndpointGroupCommandOutput } from "../commands/DeleteCustomRoutingEndpointGroupCommand";
|
|
16
18
|
import { DeleteCustomRoutingListenerCommandInput, DeleteCustomRoutingListenerCommandOutput } from "../commands/DeleteCustomRoutingListenerCommand";
|
|
@@ -20,6 +22,7 @@ import { DenyCustomRoutingTrafficCommandInput, DenyCustomRoutingTrafficCommandOu
|
|
|
20
22
|
import { DeprovisionByoipCidrCommandInput, DeprovisionByoipCidrCommandOutput } from "../commands/DeprovisionByoipCidrCommand";
|
|
21
23
|
import { DescribeAcceleratorAttributesCommandInput, DescribeAcceleratorAttributesCommandOutput } from "../commands/DescribeAcceleratorAttributesCommand";
|
|
22
24
|
import { DescribeAcceleratorCommandInput, DescribeAcceleratorCommandOutput } from "../commands/DescribeAcceleratorCommand";
|
|
25
|
+
import { DescribeCrossAccountAttachmentCommandInput, DescribeCrossAccountAttachmentCommandOutput } from "../commands/DescribeCrossAccountAttachmentCommand";
|
|
23
26
|
import { DescribeCustomRoutingAcceleratorAttributesCommandInput, DescribeCustomRoutingAcceleratorAttributesCommandOutput } from "../commands/DescribeCustomRoutingAcceleratorAttributesCommand";
|
|
24
27
|
import { DescribeCustomRoutingAcceleratorCommandInput, DescribeCustomRoutingAcceleratorCommandOutput } from "../commands/DescribeCustomRoutingAcceleratorCommand";
|
|
25
28
|
import { DescribeCustomRoutingEndpointGroupCommandInput, DescribeCustomRoutingEndpointGroupCommandOutput } from "../commands/DescribeCustomRoutingEndpointGroupCommand";
|
|
@@ -28,6 +31,9 @@ import { DescribeEndpointGroupCommandInput, DescribeEndpointGroupCommandOutput }
|
|
|
28
31
|
import { DescribeListenerCommandInput, DescribeListenerCommandOutput } from "../commands/DescribeListenerCommand";
|
|
29
32
|
import { ListAcceleratorsCommandInput, ListAcceleratorsCommandOutput } from "../commands/ListAcceleratorsCommand";
|
|
30
33
|
import { ListByoipCidrsCommandInput, ListByoipCidrsCommandOutput } from "../commands/ListByoipCidrsCommand";
|
|
34
|
+
import { ListCrossAccountAttachmentsCommandInput, ListCrossAccountAttachmentsCommandOutput } from "../commands/ListCrossAccountAttachmentsCommand";
|
|
35
|
+
import { ListCrossAccountResourceAccountsCommandInput, ListCrossAccountResourceAccountsCommandOutput } from "../commands/ListCrossAccountResourceAccountsCommand";
|
|
36
|
+
import { ListCrossAccountResourcesCommandInput, ListCrossAccountResourcesCommandOutput } from "../commands/ListCrossAccountResourcesCommand";
|
|
31
37
|
import { ListCustomRoutingAcceleratorsCommandInput, ListCustomRoutingAcceleratorsCommandOutput } from "../commands/ListCustomRoutingAcceleratorsCommand";
|
|
32
38
|
import { ListCustomRoutingEndpointGroupsCommandInput, ListCustomRoutingEndpointGroupsCommandOutput } from "../commands/ListCustomRoutingEndpointGroupsCommand";
|
|
33
39
|
import { ListCustomRoutingListenersCommandInput, ListCustomRoutingListenersCommandOutput } from "../commands/ListCustomRoutingListenersCommand";
|
|
@@ -43,6 +49,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
|
|
|
43
49
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
44
50
|
import { UpdateAcceleratorAttributesCommandInput, UpdateAcceleratorAttributesCommandOutput } from "../commands/UpdateAcceleratorAttributesCommand";
|
|
45
51
|
import { UpdateAcceleratorCommandInput, UpdateAcceleratorCommandOutput } from "../commands/UpdateAcceleratorCommand";
|
|
52
|
+
import { UpdateCrossAccountAttachmentCommandInput, UpdateCrossAccountAttachmentCommandOutput } from "../commands/UpdateCrossAccountAttachmentCommand";
|
|
46
53
|
import { UpdateCustomRoutingAcceleratorAttributesCommandInput, UpdateCustomRoutingAcceleratorAttributesCommandOutput } from "../commands/UpdateCustomRoutingAcceleratorAttributesCommand";
|
|
47
54
|
import { UpdateCustomRoutingAcceleratorCommandInput, UpdateCustomRoutingAcceleratorCommandOutput } from "../commands/UpdateCustomRoutingAcceleratorCommand";
|
|
48
55
|
import { UpdateCustomRoutingListenerCommandInput, UpdateCustomRoutingListenerCommandOutput } from "../commands/UpdateCustomRoutingListenerCommand";
|
|
@@ -69,6 +76,10 @@ export declare const se_AllowCustomRoutingTrafficCommand: (input: AllowCustomRou
|
|
|
69
76
|
* serializeAws_json1_1CreateAcceleratorCommand
|
|
70
77
|
*/
|
|
71
78
|
export declare const se_CreateAcceleratorCommand: (input: CreateAcceleratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
79
|
+
/**
|
|
80
|
+
* serializeAws_json1_1CreateCrossAccountAttachmentCommand
|
|
81
|
+
*/
|
|
82
|
+
export declare const se_CreateCrossAccountAttachmentCommand: (input: CreateCrossAccountAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
72
83
|
/**
|
|
73
84
|
* serializeAws_json1_1CreateCustomRoutingAcceleratorCommand
|
|
74
85
|
*/
|
|
@@ -93,6 +104,10 @@ export declare const se_CreateListenerCommand: (input: CreateListenerCommandInpu
|
|
|
93
104
|
* serializeAws_json1_1DeleteAcceleratorCommand
|
|
94
105
|
*/
|
|
95
106
|
export declare const se_DeleteAcceleratorCommand: (input: DeleteAcceleratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
107
|
+
/**
|
|
108
|
+
* serializeAws_json1_1DeleteCrossAccountAttachmentCommand
|
|
109
|
+
*/
|
|
110
|
+
export declare const se_DeleteCrossAccountAttachmentCommand: (input: DeleteCrossAccountAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
111
|
/**
|
|
97
112
|
* serializeAws_json1_1DeleteCustomRoutingAcceleratorCommand
|
|
98
113
|
*/
|
|
@@ -129,6 +144,10 @@ export declare const se_DescribeAcceleratorCommand: (input: DescribeAcceleratorC
|
|
|
129
144
|
* serializeAws_json1_1DescribeAcceleratorAttributesCommand
|
|
130
145
|
*/
|
|
131
146
|
export declare const se_DescribeAcceleratorAttributesCommand: (input: DescribeAcceleratorAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
147
|
+
/**
|
|
148
|
+
* serializeAws_json1_1DescribeCrossAccountAttachmentCommand
|
|
149
|
+
*/
|
|
150
|
+
export declare const se_DescribeCrossAccountAttachmentCommand: (input: DescribeCrossAccountAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
132
151
|
/**
|
|
133
152
|
* serializeAws_json1_1DescribeCustomRoutingAcceleratorCommand
|
|
134
153
|
*/
|
|
@@ -161,6 +180,18 @@ export declare const se_ListAcceleratorsCommand: (input: ListAcceleratorsCommand
|
|
|
161
180
|
* serializeAws_json1_1ListByoipCidrsCommand
|
|
162
181
|
*/
|
|
163
182
|
export declare const se_ListByoipCidrsCommand: (input: ListByoipCidrsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
183
|
+
/**
|
|
184
|
+
* serializeAws_json1_1ListCrossAccountAttachmentsCommand
|
|
185
|
+
*/
|
|
186
|
+
export declare const se_ListCrossAccountAttachmentsCommand: (input: ListCrossAccountAttachmentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
187
|
+
/**
|
|
188
|
+
* serializeAws_json1_1ListCrossAccountResourceAccountsCommand
|
|
189
|
+
*/
|
|
190
|
+
export declare const se_ListCrossAccountResourceAccountsCommand: (input: ListCrossAccountResourceAccountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
191
|
+
/**
|
|
192
|
+
* serializeAws_json1_1ListCrossAccountResourcesCommand
|
|
193
|
+
*/
|
|
194
|
+
export declare const se_ListCrossAccountResourcesCommand: (input: ListCrossAccountResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
164
195
|
/**
|
|
165
196
|
* serializeAws_json1_1ListCustomRoutingAcceleratorsCommand
|
|
166
197
|
*/
|
|
@@ -221,6 +252,10 @@ export declare const se_UpdateAcceleratorCommand: (input: UpdateAcceleratorComma
|
|
|
221
252
|
* serializeAws_json1_1UpdateAcceleratorAttributesCommand
|
|
222
253
|
*/
|
|
223
254
|
export declare const se_UpdateAcceleratorAttributesCommand: (input: UpdateAcceleratorAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
255
|
+
/**
|
|
256
|
+
* serializeAws_json1_1UpdateCrossAccountAttachmentCommand
|
|
257
|
+
*/
|
|
258
|
+
export declare const se_UpdateCrossAccountAttachmentCommand: (input: UpdateCrossAccountAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
224
259
|
/**
|
|
225
260
|
* serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand
|
|
226
261
|
*/
|
|
@@ -265,6 +300,10 @@ export declare const de_AllowCustomRoutingTrafficCommand: (output: __HttpRespons
|
|
|
265
300
|
* deserializeAws_json1_1CreateAcceleratorCommand
|
|
266
301
|
*/
|
|
267
302
|
export declare const de_CreateAcceleratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAcceleratorCommandOutput>;
|
|
303
|
+
/**
|
|
304
|
+
* deserializeAws_json1_1CreateCrossAccountAttachmentCommand
|
|
305
|
+
*/
|
|
306
|
+
export declare const de_CreateCrossAccountAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCrossAccountAttachmentCommandOutput>;
|
|
268
307
|
/**
|
|
269
308
|
* deserializeAws_json1_1CreateCustomRoutingAcceleratorCommand
|
|
270
309
|
*/
|
|
@@ -289,6 +328,10 @@ export declare const de_CreateListenerCommand: (output: __HttpResponse, context:
|
|
|
289
328
|
* deserializeAws_json1_1DeleteAcceleratorCommand
|
|
290
329
|
*/
|
|
291
330
|
export declare const de_DeleteAcceleratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAcceleratorCommandOutput>;
|
|
331
|
+
/**
|
|
332
|
+
* deserializeAws_json1_1DeleteCrossAccountAttachmentCommand
|
|
333
|
+
*/
|
|
334
|
+
export declare const de_DeleteCrossAccountAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCrossAccountAttachmentCommandOutput>;
|
|
292
335
|
/**
|
|
293
336
|
* deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand
|
|
294
337
|
*/
|
|
@@ -325,6 +368,10 @@ export declare const de_DescribeAcceleratorCommand: (output: __HttpResponse, con
|
|
|
325
368
|
* deserializeAws_json1_1DescribeAcceleratorAttributesCommand
|
|
326
369
|
*/
|
|
327
370
|
export declare const de_DescribeAcceleratorAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAcceleratorAttributesCommandOutput>;
|
|
371
|
+
/**
|
|
372
|
+
* deserializeAws_json1_1DescribeCrossAccountAttachmentCommand
|
|
373
|
+
*/
|
|
374
|
+
export declare const de_DescribeCrossAccountAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCrossAccountAttachmentCommandOutput>;
|
|
328
375
|
/**
|
|
329
376
|
* deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommand
|
|
330
377
|
*/
|
|
@@ -357,6 +404,18 @@ export declare const de_ListAcceleratorsCommand: (output: __HttpResponse, contex
|
|
|
357
404
|
* deserializeAws_json1_1ListByoipCidrsCommand
|
|
358
405
|
*/
|
|
359
406
|
export declare const de_ListByoipCidrsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListByoipCidrsCommandOutput>;
|
|
407
|
+
/**
|
|
408
|
+
* deserializeAws_json1_1ListCrossAccountAttachmentsCommand
|
|
409
|
+
*/
|
|
410
|
+
export declare const de_ListCrossAccountAttachmentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCrossAccountAttachmentsCommandOutput>;
|
|
411
|
+
/**
|
|
412
|
+
* deserializeAws_json1_1ListCrossAccountResourceAccountsCommand
|
|
413
|
+
*/
|
|
414
|
+
export declare const de_ListCrossAccountResourceAccountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCrossAccountResourceAccountsCommandOutput>;
|
|
415
|
+
/**
|
|
416
|
+
* deserializeAws_json1_1ListCrossAccountResourcesCommand
|
|
417
|
+
*/
|
|
418
|
+
export declare const de_ListCrossAccountResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCrossAccountResourcesCommandOutput>;
|
|
360
419
|
/**
|
|
361
420
|
* deserializeAws_json1_1ListCustomRoutingAcceleratorsCommand
|
|
362
421
|
*/
|
|
@@ -417,6 +476,10 @@ export declare const de_UpdateAcceleratorCommand: (output: __HttpResponse, conte
|
|
|
417
476
|
* deserializeAws_json1_1UpdateAcceleratorAttributesCommand
|
|
418
477
|
*/
|
|
419
478
|
export declare const de_UpdateAcceleratorAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAcceleratorAttributesCommandOutput>;
|
|
479
|
+
/**
|
|
480
|
+
* deserializeAws_json1_1UpdateCrossAccountAttachmentCommand
|
|
481
|
+
*/
|
|
482
|
+
export declare const de_UpdateCrossAccountAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCrossAccountAttachmentCommandOutput>;
|
|
420
483
|
/**
|
|
421
484
|
* deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand
|
|
422
485
|
*/
|