@aws-sdk/client-global-accelerator 3.438.0 → 3.441.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.
Files changed (65) hide show
  1. package/README.md +57 -1
  2. package/dist-cjs/GlobalAccelerator.js +14 -0
  3. package/dist-cjs/commands/CreateCrossAccountAttachmentCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteCrossAccountAttachmentCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeCrossAccountAttachmentCommand.js +51 -0
  6. package/dist-cjs/commands/ListCrossAccountAttachmentsCommand.js +51 -0
  7. package/dist-cjs/commands/ListCrossAccountResourceAccountsCommand.js +51 -0
  8. package/dist-cjs/commands/ListCrossAccountResourcesCommand.js +51 -0
  9. package/dist-cjs/commands/UpdateCrossAccountAttachmentCommand.js +51 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +15 -1
  12. package/dist-cjs/pagination/ListCrossAccountAttachmentsPaginator.js +29 -0
  13. package/dist-cjs/pagination/ListCrossAccountResourcesPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +2 -0
  15. package/dist-cjs/protocols/Aws_json1_1.js +409 -2
  16. package/dist-es/GlobalAccelerator.js +14 -0
  17. package/dist-es/commands/CreateCrossAccountAttachmentCommand.js +47 -0
  18. package/dist-es/commands/DeleteCrossAccountAttachmentCommand.js +47 -0
  19. package/dist-es/commands/DescribeCrossAccountAttachmentCommand.js +47 -0
  20. package/dist-es/commands/ListCrossAccountAttachmentsCommand.js +47 -0
  21. package/dist-es/commands/ListCrossAccountResourceAccountsCommand.js +47 -0
  22. package/dist-es/commands/ListCrossAccountResourcesCommand.js +47 -0
  23. package/dist-es/commands/UpdateCrossAccountAttachmentCommand.js +47 -0
  24. package/dist-es/commands/index.js +7 -0
  25. package/dist-es/models/models_0.js +13 -0
  26. package/dist-es/pagination/ListCrossAccountAttachmentsPaginator.js +25 -0
  27. package/dist-es/pagination/ListCrossAccountResourcesPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +2 -0
  29. package/dist-es/protocols/Aws_json1_1.js +393 -1
  30. package/dist-types/GlobalAccelerator.d.ts +50 -1
  31. package/dist-types/GlobalAcceleratorClient.d.ts +10 -3
  32. package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +1 -0
  33. package/dist-types/commands/AddEndpointsCommand.d.ts +1 -0
  34. package/dist-types/commands/CreateCrossAccountAttachmentCommand.d.ts +126 -0
  35. package/dist-types/commands/CreateEndpointGroupCommand.d.ts +1 -0
  36. package/dist-types/commands/DeleteCrossAccountAttachmentCommand.d.ts +103 -0
  37. package/dist-types/commands/DescribeCrossAccountAttachmentCommand.d.ts +99 -0
  38. package/dist-types/commands/ListCrossAccountAttachmentsCommand.d.ts +103 -0
  39. package/dist-types/commands/ListCrossAccountResourceAccountsCommand.d.ts +79 -0
  40. package/dist-types/commands/ListCrossAccountResourcesCommand.d.ts +97 -0
  41. package/dist-types/commands/UpdateCrossAccountAttachmentCommand.d.ts +141 -0
  42. package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +1 -0
  43. package/dist-types/commands/index.d.ts +7 -0
  44. package/dist-types/index.d.ts +1 -1
  45. package/dist-types/models/models_0.d.ts +316 -4
  46. package/dist-types/pagination/ListCrossAccountAttachmentsPaginator.d.ts +7 -0
  47. package/dist-types/pagination/ListCrossAccountResourcesPaginator.d.ts +7 -0
  48. package/dist-types/pagination/index.d.ts +2 -0
  49. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  50. package/dist-types/ts3.4/GlobalAccelerator.d.ts +119 -0
  51. package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/CreateCrossAccountAttachmentCommand.d.ts +42 -0
  53. package/dist-types/ts3.4/commands/DeleteCrossAccountAttachmentCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/DescribeCrossAccountAttachmentCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/ListCrossAccountAttachmentsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ListCrossAccountResourceAccountsCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/ListCrossAccountResourcesCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/UpdateCrossAccountAttachmentCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +78 -0
  61. package/dist-types/ts3.4/pagination/ListCrossAccountAttachmentsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/ListCrossAccountResourcesPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  64. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  65. package/package.json +4 -4
@@ -13,12 +13,14 @@ import { AddEndpointsCommandInput, AddEndpointsCommandOutput } from "./commands/
13
13
  import { AdvertiseByoipCidrCommandInput, AdvertiseByoipCidrCommandOutput } from "./commands/AdvertiseByoipCidrCommand";
14
14
  import { AllowCustomRoutingTrafficCommandInput, AllowCustomRoutingTrafficCommandOutput } from "./commands/AllowCustomRoutingTrafficCommand";
15
15
  import { CreateAcceleratorCommandInput, CreateAcceleratorCommandOutput } from "./commands/CreateAcceleratorCommand";
16
+ import { CreateCrossAccountAttachmentCommandInput, CreateCrossAccountAttachmentCommandOutput } from "./commands/CreateCrossAccountAttachmentCommand";
16
17
  import { CreateCustomRoutingAcceleratorCommandInput, CreateCustomRoutingAcceleratorCommandOutput } from "./commands/CreateCustomRoutingAcceleratorCommand";
17
18
  import { CreateCustomRoutingEndpointGroupCommandInput, CreateCustomRoutingEndpointGroupCommandOutput } from "./commands/CreateCustomRoutingEndpointGroupCommand";
18
19
  import { CreateCustomRoutingListenerCommandInput, CreateCustomRoutingListenerCommandOutput } from "./commands/CreateCustomRoutingListenerCommand";
19
20
  import { CreateEndpointGroupCommandInput, CreateEndpointGroupCommandOutput } from "./commands/CreateEndpointGroupCommand";
20
21
  import { CreateListenerCommandInput, CreateListenerCommandOutput } from "./commands/CreateListenerCommand";
21
22
  import { DeleteAcceleratorCommandInput, DeleteAcceleratorCommandOutput } from "./commands/DeleteAcceleratorCommand";
23
+ import { DeleteCrossAccountAttachmentCommandInput, DeleteCrossAccountAttachmentCommandOutput } from "./commands/DeleteCrossAccountAttachmentCommand";
22
24
  import { DeleteCustomRoutingAcceleratorCommandInput, DeleteCustomRoutingAcceleratorCommandOutput } from "./commands/DeleteCustomRoutingAcceleratorCommand";
23
25
  import { DeleteCustomRoutingEndpointGroupCommandInput, DeleteCustomRoutingEndpointGroupCommandOutput } from "./commands/DeleteCustomRoutingEndpointGroupCommand";
24
26
  import { DeleteCustomRoutingListenerCommandInput, DeleteCustomRoutingListenerCommandOutput } from "./commands/DeleteCustomRoutingListenerCommand";
@@ -28,6 +30,7 @@ import { DenyCustomRoutingTrafficCommandInput, DenyCustomRoutingTrafficCommandOu
28
30
  import { DeprovisionByoipCidrCommandInput, DeprovisionByoipCidrCommandOutput } from "./commands/DeprovisionByoipCidrCommand";
29
31
  import { DescribeAcceleratorAttributesCommandInput, DescribeAcceleratorAttributesCommandOutput } from "./commands/DescribeAcceleratorAttributesCommand";
30
32
  import { DescribeAcceleratorCommandInput, DescribeAcceleratorCommandOutput } from "./commands/DescribeAcceleratorCommand";
33
+ import { DescribeCrossAccountAttachmentCommandInput, DescribeCrossAccountAttachmentCommandOutput } from "./commands/DescribeCrossAccountAttachmentCommand";
31
34
  import { DescribeCustomRoutingAcceleratorAttributesCommandInput, DescribeCustomRoutingAcceleratorAttributesCommandOutput } from "./commands/DescribeCustomRoutingAcceleratorAttributesCommand";
32
35
  import { DescribeCustomRoutingAcceleratorCommandInput, DescribeCustomRoutingAcceleratorCommandOutput } from "./commands/DescribeCustomRoutingAcceleratorCommand";
33
36
  import { DescribeCustomRoutingEndpointGroupCommandInput, DescribeCustomRoutingEndpointGroupCommandOutput } from "./commands/DescribeCustomRoutingEndpointGroupCommand";
@@ -36,6 +39,9 @@ import { DescribeEndpointGroupCommandInput, DescribeEndpointGroupCommandOutput }
36
39
  import { DescribeListenerCommandInput, DescribeListenerCommandOutput } from "./commands/DescribeListenerCommand";
37
40
  import { ListAcceleratorsCommandInput, ListAcceleratorsCommandOutput } from "./commands/ListAcceleratorsCommand";
38
41
  import { ListByoipCidrsCommandInput, ListByoipCidrsCommandOutput } from "./commands/ListByoipCidrsCommand";
42
+ import { ListCrossAccountAttachmentsCommandInput, ListCrossAccountAttachmentsCommandOutput } from "./commands/ListCrossAccountAttachmentsCommand";
43
+ import { ListCrossAccountResourceAccountsCommandInput, ListCrossAccountResourceAccountsCommandOutput } from "./commands/ListCrossAccountResourceAccountsCommand";
44
+ import { ListCrossAccountResourcesCommandInput, ListCrossAccountResourcesCommandOutput } from "./commands/ListCrossAccountResourcesCommand";
39
45
  import { ListCustomRoutingAcceleratorsCommandInput, ListCustomRoutingAcceleratorsCommandOutput } from "./commands/ListCustomRoutingAcceleratorsCommand";
40
46
  import { ListCustomRoutingEndpointGroupsCommandInput, ListCustomRoutingEndpointGroupsCommandOutput } from "./commands/ListCustomRoutingEndpointGroupsCommand";
41
47
  import { ListCustomRoutingListenersCommandInput, ListCustomRoutingListenersCommandOutput } from "./commands/ListCustomRoutingListenersCommand";
@@ -51,6 +57,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
51
57
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
52
58
  import { UpdateAcceleratorAttributesCommandInput, UpdateAcceleratorAttributesCommandOutput } from "./commands/UpdateAcceleratorAttributesCommand";
53
59
  import { UpdateAcceleratorCommandInput, UpdateAcceleratorCommandOutput } from "./commands/UpdateAcceleratorCommand";
60
+ import { UpdateCrossAccountAttachmentCommandInput, UpdateCrossAccountAttachmentCommandOutput } from "./commands/UpdateCrossAccountAttachmentCommand";
54
61
  import { UpdateCustomRoutingAcceleratorAttributesCommandInput, UpdateCustomRoutingAcceleratorAttributesCommandOutput } from "./commands/UpdateCustomRoutingAcceleratorAttributesCommand";
55
62
  import { UpdateCustomRoutingAcceleratorCommandInput, UpdateCustomRoutingAcceleratorCommandOutput } from "./commands/UpdateCustomRoutingAcceleratorCommand";
56
63
  import { UpdateCustomRoutingListenerCommandInput, UpdateCustomRoutingListenerCommandOutput } from "./commands/UpdateCustomRoutingListenerCommand";
@@ -63,11 +70,11 @@ export { __Client };
63
70
  /**
64
71
  * @public
65
72
  */
66
- export type ServiceInputTypes = AddCustomRoutingEndpointsCommandInput | AddEndpointsCommandInput | AdvertiseByoipCidrCommandInput | AllowCustomRoutingTrafficCommandInput | CreateAcceleratorCommandInput | CreateCustomRoutingAcceleratorCommandInput | CreateCustomRoutingEndpointGroupCommandInput | CreateCustomRoutingListenerCommandInput | CreateEndpointGroupCommandInput | CreateListenerCommandInput | DeleteAcceleratorCommandInput | DeleteCustomRoutingAcceleratorCommandInput | DeleteCustomRoutingEndpointGroupCommandInput | DeleteCustomRoutingListenerCommandInput | DeleteEndpointGroupCommandInput | DeleteListenerCommandInput | DenyCustomRoutingTrafficCommandInput | DeprovisionByoipCidrCommandInput | DescribeAcceleratorAttributesCommandInput | DescribeAcceleratorCommandInput | DescribeCustomRoutingAcceleratorAttributesCommandInput | DescribeCustomRoutingAcceleratorCommandInput | DescribeCustomRoutingEndpointGroupCommandInput | DescribeCustomRoutingListenerCommandInput | DescribeEndpointGroupCommandInput | DescribeListenerCommandInput | ListAcceleratorsCommandInput | ListByoipCidrsCommandInput | ListCustomRoutingAcceleratorsCommandInput | ListCustomRoutingEndpointGroupsCommandInput | ListCustomRoutingListenersCommandInput | ListCustomRoutingPortMappingsByDestinationCommandInput | ListCustomRoutingPortMappingsCommandInput | ListEndpointGroupsCommandInput | ListListenersCommandInput | ListTagsForResourceCommandInput | ProvisionByoipCidrCommandInput | RemoveCustomRoutingEndpointsCommandInput | RemoveEndpointsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAcceleratorAttributesCommandInput | UpdateAcceleratorCommandInput | UpdateCustomRoutingAcceleratorAttributesCommandInput | UpdateCustomRoutingAcceleratorCommandInput | UpdateCustomRoutingListenerCommandInput | UpdateEndpointGroupCommandInput | UpdateListenerCommandInput | WithdrawByoipCidrCommandInput;
73
+ export type ServiceInputTypes = AddCustomRoutingEndpointsCommandInput | AddEndpointsCommandInput | AdvertiseByoipCidrCommandInput | AllowCustomRoutingTrafficCommandInput | CreateAcceleratorCommandInput | CreateCrossAccountAttachmentCommandInput | CreateCustomRoutingAcceleratorCommandInput | CreateCustomRoutingEndpointGroupCommandInput | CreateCustomRoutingListenerCommandInput | CreateEndpointGroupCommandInput | CreateListenerCommandInput | DeleteAcceleratorCommandInput | DeleteCrossAccountAttachmentCommandInput | DeleteCustomRoutingAcceleratorCommandInput | DeleteCustomRoutingEndpointGroupCommandInput | DeleteCustomRoutingListenerCommandInput | DeleteEndpointGroupCommandInput | DeleteListenerCommandInput | DenyCustomRoutingTrafficCommandInput | DeprovisionByoipCidrCommandInput | DescribeAcceleratorAttributesCommandInput | DescribeAcceleratorCommandInput | DescribeCrossAccountAttachmentCommandInput | DescribeCustomRoutingAcceleratorAttributesCommandInput | DescribeCustomRoutingAcceleratorCommandInput | DescribeCustomRoutingEndpointGroupCommandInput | DescribeCustomRoutingListenerCommandInput | DescribeEndpointGroupCommandInput | DescribeListenerCommandInput | ListAcceleratorsCommandInput | ListByoipCidrsCommandInput | ListCrossAccountAttachmentsCommandInput | ListCrossAccountResourceAccountsCommandInput | ListCrossAccountResourcesCommandInput | ListCustomRoutingAcceleratorsCommandInput | ListCustomRoutingEndpointGroupsCommandInput | ListCustomRoutingListenersCommandInput | ListCustomRoutingPortMappingsByDestinationCommandInput | ListCustomRoutingPortMappingsCommandInput | ListEndpointGroupsCommandInput | ListListenersCommandInput | ListTagsForResourceCommandInput | ProvisionByoipCidrCommandInput | RemoveCustomRoutingEndpointsCommandInput | RemoveEndpointsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAcceleratorAttributesCommandInput | UpdateAcceleratorCommandInput | UpdateCrossAccountAttachmentCommandInput | UpdateCustomRoutingAcceleratorAttributesCommandInput | UpdateCustomRoutingAcceleratorCommandInput | UpdateCustomRoutingListenerCommandInput | UpdateEndpointGroupCommandInput | UpdateListenerCommandInput | WithdrawByoipCidrCommandInput;
67
74
  /**
68
75
  * @public
69
76
  */
70
- export type ServiceOutputTypes = AddCustomRoutingEndpointsCommandOutput | AddEndpointsCommandOutput | AdvertiseByoipCidrCommandOutput | AllowCustomRoutingTrafficCommandOutput | CreateAcceleratorCommandOutput | CreateCustomRoutingAcceleratorCommandOutput | CreateCustomRoutingEndpointGroupCommandOutput | CreateCustomRoutingListenerCommandOutput | CreateEndpointGroupCommandOutput | CreateListenerCommandOutput | DeleteAcceleratorCommandOutput | DeleteCustomRoutingAcceleratorCommandOutput | DeleteCustomRoutingEndpointGroupCommandOutput | DeleteCustomRoutingListenerCommandOutput | DeleteEndpointGroupCommandOutput | DeleteListenerCommandOutput | DenyCustomRoutingTrafficCommandOutput | DeprovisionByoipCidrCommandOutput | DescribeAcceleratorAttributesCommandOutput | DescribeAcceleratorCommandOutput | DescribeCustomRoutingAcceleratorAttributesCommandOutput | DescribeCustomRoutingAcceleratorCommandOutput | DescribeCustomRoutingEndpointGroupCommandOutput | DescribeCustomRoutingListenerCommandOutput | DescribeEndpointGroupCommandOutput | DescribeListenerCommandOutput | ListAcceleratorsCommandOutput | ListByoipCidrsCommandOutput | ListCustomRoutingAcceleratorsCommandOutput | ListCustomRoutingEndpointGroupsCommandOutput | ListCustomRoutingListenersCommandOutput | ListCustomRoutingPortMappingsByDestinationCommandOutput | ListCustomRoutingPortMappingsCommandOutput | ListEndpointGroupsCommandOutput | ListListenersCommandOutput | ListTagsForResourceCommandOutput | ProvisionByoipCidrCommandOutput | RemoveCustomRoutingEndpointsCommandOutput | RemoveEndpointsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAcceleratorAttributesCommandOutput | UpdateAcceleratorCommandOutput | UpdateCustomRoutingAcceleratorAttributesCommandOutput | UpdateCustomRoutingAcceleratorCommandOutput | UpdateCustomRoutingListenerCommandOutput | UpdateEndpointGroupCommandOutput | UpdateListenerCommandOutput | WithdrawByoipCidrCommandOutput;
77
+ export type ServiceOutputTypes = AddCustomRoutingEndpointsCommandOutput | AddEndpointsCommandOutput | AdvertiseByoipCidrCommandOutput | AllowCustomRoutingTrafficCommandOutput | CreateAcceleratorCommandOutput | CreateCrossAccountAttachmentCommandOutput | CreateCustomRoutingAcceleratorCommandOutput | CreateCustomRoutingEndpointGroupCommandOutput | CreateCustomRoutingListenerCommandOutput | CreateEndpointGroupCommandOutput | CreateListenerCommandOutput | DeleteAcceleratorCommandOutput | DeleteCrossAccountAttachmentCommandOutput | DeleteCustomRoutingAcceleratorCommandOutput | DeleteCustomRoutingEndpointGroupCommandOutput | DeleteCustomRoutingListenerCommandOutput | DeleteEndpointGroupCommandOutput | DeleteListenerCommandOutput | DenyCustomRoutingTrafficCommandOutput | DeprovisionByoipCidrCommandOutput | DescribeAcceleratorAttributesCommandOutput | DescribeAcceleratorCommandOutput | DescribeCrossAccountAttachmentCommandOutput | DescribeCustomRoutingAcceleratorAttributesCommandOutput | DescribeCustomRoutingAcceleratorCommandOutput | DescribeCustomRoutingEndpointGroupCommandOutput | DescribeCustomRoutingListenerCommandOutput | DescribeEndpointGroupCommandOutput | DescribeListenerCommandOutput | ListAcceleratorsCommandOutput | ListByoipCidrsCommandOutput | ListCrossAccountAttachmentsCommandOutput | ListCrossAccountResourceAccountsCommandOutput | ListCrossAccountResourcesCommandOutput | ListCustomRoutingAcceleratorsCommandOutput | ListCustomRoutingEndpointGroupsCommandOutput | ListCustomRoutingListenersCommandOutput | ListCustomRoutingPortMappingsByDestinationCommandOutput | ListCustomRoutingPortMappingsCommandOutput | ListEndpointGroupsCommandOutput | ListListenersCommandOutput | ListTagsForResourceCommandOutput | ProvisionByoipCidrCommandOutput | RemoveCustomRoutingEndpointsCommandOutput | RemoveEndpointsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAcceleratorAttributesCommandOutput | UpdateAcceleratorCommandOutput | UpdateCrossAccountAttachmentCommandOutput | UpdateCustomRoutingAcceleratorAttributesCommandOutput | UpdateCustomRoutingAcceleratorCommandOutput | UpdateCustomRoutingListenerCommandOutput | UpdateEndpointGroupCommandOutput | UpdateListenerCommandOutput | WithdrawByoipCidrCommandOutput;
71
78
  /**
72
79
  * @public
73
80
  */
@@ -228,7 +235,7 @@ export interface GlobalAcceleratorClientResolvedConfig extends GlobalAccelerator
228
235
  * are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,
229
236
  * Global Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses.
230
237
  * With a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure
231
- * these entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP). </p>
238
+ * these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator (BYOIP). </p>
232
239
  * <p>For a standard accelerator,
233
240
  * they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases
234
241
  * the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers,
@@ -44,6 +44,7 @@ export interface AddCustomRoutingEndpointsCommandOutput extends AddCustomRouting
44
44
  * EndpointConfigurations: [ // CustomRoutingEndpointConfigurations // required
45
45
  * { // CustomRoutingEndpointConfiguration
46
46
  * EndpointId: "STRING_VALUE",
47
+ * AttachmentArn: "STRING_VALUE",
47
48
  * },
48
49
  * ],
49
50
  * EndpointGroupArn: "STRING_VALUE", // required
@@ -55,6 +55,7 @@ export interface AddEndpointsCommandOutput extends AddEndpointsResponse, __Metad
55
55
  * EndpointId: "STRING_VALUE",
56
56
  * Weight: Number("int"),
57
57
  * ClientIPPreservationEnabled: true || false,
58
+ * AttachmentArn: "STRING_VALUE",
58
59
  * },
59
60
  * ],
60
61
  * EndpointGroupArn: "STRING_VALUE", // required
@@ -0,0 +1,126 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlobalAcceleratorClient";
5
+ import { CreateCrossAccountAttachmentRequest, CreateCrossAccountAttachmentResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateCrossAccountAttachmentCommand}.
14
+ */
15
+ export interface CreateCrossAccountAttachmentCommandInput extends CreateCrossAccountAttachmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateCrossAccountAttachmentCommand}.
21
+ */
22
+ export interface CreateCrossAccountAttachmentCommandOutput extends CreateCrossAccountAttachmentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to
27
+ * specify the <i>principals</i> who have permission to add to accelerators in their own
28
+ * account the resources in your account that you also list in the attachment.</p>
29
+ * <p>A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an
30
+ * accelerator. For account numbers that are listed as principals, to add a resource listed in the attachment to an accelerator,
31
+ * you must sign in to an account specified as a principal. Then you can add the resources that are listed
32
+ * to any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal,
33
+ * anyone with permission to make updates to the accelerator can add as endpoints resources that are listed in the
34
+ * attachment. </p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { GlobalAcceleratorClient, CreateCrossAccountAttachmentCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
39
+ * // const { GlobalAcceleratorClient, CreateCrossAccountAttachmentCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
40
+ * const client = new GlobalAcceleratorClient(config);
41
+ * const input = { // CreateCrossAccountAttachmentRequest
42
+ * Name: "STRING_VALUE", // required
43
+ * Principals: [ // Principals
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * Resources: [ // Resources
47
+ * { // Resource
48
+ * EndpointId: "STRING_VALUE", // required
49
+ * Region: "STRING_VALUE",
50
+ * },
51
+ * ],
52
+ * IdempotencyToken: "STRING_VALUE", // required
53
+ * Tags: [ // Tags
54
+ * { // Tag
55
+ * Key: "STRING_VALUE", // required
56
+ * Value: "STRING_VALUE", // required
57
+ * },
58
+ * ],
59
+ * };
60
+ * const command = new CreateCrossAccountAttachmentCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // CreateCrossAccountAttachmentResponse
63
+ * // CrossAccountAttachment: { // Attachment
64
+ * // AttachmentArn: "STRING_VALUE",
65
+ * // Name: "STRING_VALUE",
66
+ * // Principals: [ // Principals
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // Resources: [ // Resources
70
+ * // { // Resource
71
+ * // EndpointId: "STRING_VALUE", // required
72
+ * // Region: "STRING_VALUE",
73
+ * // },
74
+ * // ],
75
+ * // LastModifiedTime: new Date("TIMESTAMP"),
76
+ * // CreatedTime: new Date("TIMESTAMP"),
77
+ * // },
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param CreateCrossAccountAttachmentCommandInput - {@link CreateCrossAccountAttachmentCommandInput}
83
+ * @returns {@link CreateCrossAccountAttachmentCommandOutput}
84
+ * @see {@link CreateCrossAccountAttachmentCommandInput} for command's `input` shape.
85
+ * @see {@link CreateCrossAccountAttachmentCommandOutput} for command's `response` shape.
86
+ * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>You don't have access permission.</p>
90
+ *
91
+ * @throws {@link InternalServiceErrorException} (server fault)
92
+ * <p>There was an internal error for Global Accelerator.</p>
93
+ *
94
+ * @throws {@link InvalidArgumentException} (client fault)
95
+ * <p>An argument that you specified is invalid.</p>
96
+ *
97
+ * @throws {@link LimitExceededException} (client fault)
98
+ * <p>Processing your request would cause you to exceed an Global Accelerator limit.</p>
99
+ *
100
+ * @throws {@link TransactionInProgressException} (client fault)
101
+ * <p>There's already a transaction in progress. Another transaction can't be processed.</p>
102
+ *
103
+ * @throws {@link GlobalAcceleratorServiceException}
104
+ * <p>Base exception class for all service exceptions from GlobalAccelerator service.</p>
105
+ *
106
+ */
107
+ export declare class CreateCrossAccountAttachmentCommand extends $Command<CreateCrossAccountAttachmentCommandInput, CreateCrossAccountAttachmentCommandOutput, GlobalAcceleratorClientResolvedConfig> {
108
+ readonly input: CreateCrossAccountAttachmentCommandInput;
109
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
110
+ /**
111
+ * @public
112
+ */
113
+ constructor(input: CreateCrossAccountAttachmentCommandInput);
114
+ /**
115
+ * @internal
116
+ */
117
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCrossAccountAttachmentCommandInput, CreateCrossAccountAttachmentCommandOutput>;
118
+ /**
119
+ * @internal
120
+ */
121
+ private serialize;
122
+ /**
123
+ * @internal
124
+ */
125
+ private deserialize;
126
+ }
@@ -42,6 +42,7 @@ export interface CreateEndpointGroupCommandOutput extends CreateEndpointGroupRes
42
42
  * EndpointId: "STRING_VALUE",
43
43
  * Weight: Number("int"),
44
44
  * ClientIPPreservationEnabled: true || false,
45
+ * AttachmentArn: "STRING_VALUE",
45
46
  * },
46
47
  * ],
47
48
  * TrafficDialPercentage: Number("float"),
@@ -0,0 +1,103 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlobalAcceleratorClient";
5
+ import { DeleteCrossAccountAttachmentRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteCrossAccountAttachmentCommand}.
14
+ */
15
+ export interface DeleteCrossAccountAttachmentCommandInput extends DeleteCrossAccountAttachmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteCrossAccountAttachmentCommand}.
21
+ */
22
+ export interface DeleteCrossAccountAttachmentCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission
27
+ * to use the resources in the attachment from all principals in the list of principals. Global Accelerator
28
+ * revokes the permission for specific resources by doing the following:</p>
29
+ * <ul>
30
+ * <li>
31
+ * <p>If the principal is an account ID, Global Accelerator reviews every accelerator in the account
32
+ * and removes cross-account endpoints from all accelerators.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>If the principal is an accelerator, Global Accelerator reviews just that accelerator
36
+ * and removes cross-account endpoints from it.</p>
37
+ * </li>
38
+ * </ul>
39
+ * <p>If there are overlapping permissions provided by multiple cross-account attachments,
40
+ * Global Accelerator only removes endpoints if there are no current cross-account attachments that provide
41
+ * access permission. For example, if you delete a cross-account attachment that lists an
42
+ * accelerator as a principal, but another cross-account attachment includes the account ID
43
+ * that owns that accelerator, endpoints will not be removed from the accelerator.</p>
44
+ * @example
45
+ * Use a bare-bones client and the command you need to make an API call.
46
+ * ```javascript
47
+ * import { GlobalAcceleratorClient, DeleteCrossAccountAttachmentCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
48
+ * // const { GlobalAcceleratorClient, DeleteCrossAccountAttachmentCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
49
+ * const client = new GlobalAcceleratorClient(config);
50
+ * const input = { // DeleteCrossAccountAttachmentRequest
51
+ * AttachmentArn: "STRING_VALUE", // required
52
+ * };
53
+ * const command = new DeleteCrossAccountAttachmentCommand(input);
54
+ * const response = await client.send(command);
55
+ * // {};
56
+ *
57
+ * ```
58
+ *
59
+ * @param DeleteCrossAccountAttachmentCommandInput - {@link DeleteCrossAccountAttachmentCommandInput}
60
+ * @returns {@link DeleteCrossAccountAttachmentCommandOutput}
61
+ * @see {@link DeleteCrossAccountAttachmentCommandInput} for command's `input` shape.
62
+ * @see {@link DeleteCrossAccountAttachmentCommandOutput} for command's `response` shape.
63
+ * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have access permission.</p>
67
+ *
68
+ * @throws {@link AttachmentNotFoundException} (client fault)
69
+ * <p>No cross-account attachment was found.</p>
70
+ *
71
+ * @throws {@link InternalServiceErrorException} (server fault)
72
+ * <p>There was an internal error for Global Accelerator.</p>
73
+ *
74
+ * @throws {@link InvalidArgumentException} (client fault)
75
+ * <p>An argument that you specified is invalid.</p>
76
+ *
77
+ * @throws {@link TransactionInProgressException} (client fault)
78
+ * <p>There's already a transaction in progress. Another transaction can't be processed.</p>
79
+ *
80
+ * @throws {@link GlobalAcceleratorServiceException}
81
+ * <p>Base exception class for all service exceptions from GlobalAccelerator service.</p>
82
+ *
83
+ */
84
+ export declare class DeleteCrossAccountAttachmentCommand extends $Command<DeleteCrossAccountAttachmentCommandInput, DeleteCrossAccountAttachmentCommandOutput, GlobalAcceleratorClientResolvedConfig> {
85
+ readonly input: DeleteCrossAccountAttachmentCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: DeleteCrossAccountAttachmentCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCrossAccountAttachmentCommandInput, DeleteCrossAccountAttachmentCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -0,0 +1,99 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlobalAcceleratorClient";
5
+ import { DescribeCrossAccountAttachmentRequest, DescribeCrossAccountAttachmentResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeCrossAccountAttachmentCommand}.
14
+ */
15
+ export interface DescribeCrossAccountAttachmentCommandInput extends DescribeCrossAccountAttachmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeCrossAccountAttachmentCommand}.
21
+ */
22
+ export interface DescribeCrossAccountAttachmentCommandOutput extends DescribeCrossAccountAttachmentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Gets configuration information about a cross-account attachment.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { GlobalAcceleratorClient, DescribeCrossAccountAttachmentCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
31
+ * // const { GlobalAcceleratorClient, DescribeCrossAccountAttachmentCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
32
+ * const client = new GlobalAcceleratorClient(config);
33
+ * const input = { // DescribeCrossAccountAttachmentRequest
34
+ * AttachmentArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DescribeCrossAccountAttachmentCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DescribeCrossAccountAttachmentResponse
39
+ * // CrossAccountAttachment: { // Attachment
40
+ * // AttachmentArn: "STRING_VALUE",
41
+ * // Name: "STRING_VALUE",
42
+ * // Principals: [ // Principals
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // Resources: [ // Resources
46
+ * // { // Resource
47
+ * // EndpointId: "STRING_VALUE", // required
48
+ * // Region: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // LastModifiedTime: new Date("TIMESTAMP"),
52
+ * // CreatedTime: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param DescribeCrossAccountAttachmentCommandInput - {@link DescribeCrossAccountAttachmentCommandInput}
59
+ * @returns {@link DescribeCrossAccountAttachmentCommandOutput}
60
+ * @see {@link DescribeCrossAccountAttachmentCommandInput} for command's `input` shape.
61
+ * @see {@link DescribeCrossAccountAttachmentCommandOutput} for command's `response` shape.
62
+ * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You don't have access permission.</p>
66
+ *
67
+ * @throws {@link AttachmentNotFoundException} (client fault)
68
+ * <p>No cross-account attachment was found.</p>
69
+ *
70
+ * @throws {@link InternalServiceErrorException} (server fault)
71
+ * <p>There was an internal error for Global Accelerator.</p>
72
+ *
73
+ * @throws {@link InvalidArgumentException} (client fault)
74
+ * <p>An argument that you specified is invalid.</p>
75
+ *
76
+ * @throws {@link GlobalAcceleratorServiceException}
77
+ * <p>Base exception class for all service exceptions from GlobalAccelerator service.</p>
78
+ *
79
+ */
80
+ export declare class DescribeCrossAccountAttachmentCommand extends $Command<DescribeCrossAccountAttachmentCommandInput, DescribeCrossAccountAttachmentCommandOutput, GlobalAcceleratorClientResolvedConfig> {
81
+ readonly input: DescribeCrossAccountAttachmentCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: DescribeCrossAccountAttachmentCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeCrossAccountAttachmentCommandInput, DescribeCrossAccountAttachmentCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -0,0 +1,103 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlobalAcceleratorClient";
5
+ import { ListCrossAccountAttachmentsRequest, ListCrossAccountAttachmentsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCrossAccountAttachmentsCommand}.
14
+ */
15
+ export interface ListCrossAccountAttachmentsCommandInput extends ListCrossAccountAttachmentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCrossAccountAttachmentsCommand}.
21
+ */
22
+ export interface ListCrossAccountAttachmentsCommandOutput extends ListCrossAccountAttachmentsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List the cross-account attachments that have been created in Global Accelerator.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { GlobalAcceleratorClient, ListCrossAccountAttachmentsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
31
+ * // const { GlobalAcceleratorClient, ListCrossAccountAttachmentsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
32
+ * const client = new GlobalAcceleratorClient(config);
33
+ * const input = { // ListCrossAccountAttachmentsRequest
34
+ * MaxResults: Number("int"),
35
+ * NextToken: "STRING_VALUE",
36
+ * };
37
+ * const command = new ListCrossAccountAttachmentsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListCrossAccountAttachmentsResponse
40
+ * // CrossAccountAttachments: [ // Attachments
41
+ * // { // Attachment
42
+ * // AttachmentArn: "STRING_VALUE",
43
+ * // Name: "STRING_VALUE",
44
+ * // Principals: [ // Principals
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // Resources: [ // Resources
48
+ * // { // Resource
49
+ * // EndpointId: "STRING_VALUE", // required
50
+ * // Region: "STRING_VALUE",
51
+ * // },
52
+ * // ],
53
+ * // LastModifiedTime: new Date("TIMESTAMP"),
54
+ * // CreatedTime: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListCrossAccountAttachmentsCommandInput - {@link ListCrossAccountAttachmentsCommandInput}
63
+ * @returns {@link ListCrossAccountAttachmentsCommandOutput}
64
+ * @see {@link ListCrossAccountAttachmentsCommandInput} for command's `input` shape.
65
+ * @see {@link ListCrossAccountAttachmentsCommandOutput} for command's `response` shape.
66
+ * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You don't have access permission.</p>
70
+ *
71
+ * @throws {@link InternalServiceErrorException} (server fault)
72
+ * <p>There was an internal error for Global Accelerator.</p>
73
+ *
74
+ * @throws {@link InvalidArgumentException} (client fault)
75
+ * <p>An argument that you specified is invalid.</p>
76
+ *
77
+ * @throws {@link InvalidNextTokenException} (client fault)
78
+ * <p>There isn't another item to return.</p>
79
+ *
80
+ * @throws {@link GlobalAcceleratorServiceException}
81
+ * <p>Base exception class for all service exceptions from GlobalAccelerator service.</p>
82
+ *
83
+ */
84
+ export declare class ListCrossAccountAttachmentsCommand extends $Command<ListCrossAccountAttachmentsCommandInput, ListCrossAccountAttachmentsCommandOutput, GlobalAcceleratorClientResolvedConfig> {
85
+ readonly input: ListCrossAccountAttachmentsCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: ListCrossAccountAttachmentsCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCrossAccountAttachmentsCommandInput, ListCrossAccountAttachmentsCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -0,0 +1,79 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlobalAcceleratorClient";
5
+ import { ListCrossAccountResourceAccountsRequest, ListCrossAccountResourceAccountsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCrossAccountResourceAccountsCommand}.
14
+ */
15
+ export interface ListCrossAccountResourceAccountsCommandInput extends ListCrossAccountResourceAccountsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCrossAccountResourceAccountsCommand}.
21
+ */
22
+ export interface ListCrossAccountResourceAccountsCommandOutput extends ListCrossAccountResourceAccountsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List the accounts that have cross-account endpoints.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { GlobalAcceleratorClient, ListCrossAccountResourceAccountsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
31
+ * // const { GlobalAcceleratorClient, ListCrossAccountResourceAccountsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
32
+ * const client = new GlobalAcceleratorClient(config);
33
+ * const input = {};
34
+ * const command = new ListCrossAccountResourceAccountsCommand(input);
35
+ * const response = await client.send(command);
36
+ * // { // ListCrossAccountResourceAccountsResponse
37
+ * // ResourceOwnerAwsAccountIds: [ // AwsAccountIds
38
+ * // "STRING_VALUE",
39
+ * // ],
40
+ * // };
41
+ *
42
+ * ```
43
+ *
44
+ * @param ListCrossAccountResourceAccountsCommandInput - {@link ListCrossAccountResourceAccountsCommandInput}
45
+ * @returns {@link ListCrossAccountResourceAccountsCommandOutput}
46
+ * @see {@link ListCrossAccountResourceAccountsCommandInput} for command's `input` shape.
47
+ * @see {@link ListCrossAccountResourceAccountsCommandOutput} for command's `response` shape.
48
+ * @see {@link GlobalAcceleratorClientResolvedConfig | config} for GlobalAcceleratorClient's `config` shape.
49
+ *
50
+ * @throws {@link AccessDeniedException} (client fault)
51
+ * <p>You don't have access permission.</p>
52
+ *
53
+ * @throws {@link InternalServiceErrorException} (server fault)
54
+ * <p>There was an internal error for Global Accelerator.</p>
55
+ *
56
+ * @throws {@link GlobalAcceleratorServiceException}
57
+ * <p>Base exception class for all service exceptions from GlobalAccelerator service.</p>
58
+ *
59
+ */
60
+ export declare class ListCrossAccountResourceAccountsCommand extends $Command<ListCrossAccountResourceAccountsCommandInput, ListCrossAccountResourceAccountsCommandOutput, GlobalAcceleratorClientResolvedConfig> {
61
+ readonly input: ListCrossAccountResourceAccountsCommandInput;
62
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
63
+ /**
64
+ * @public
65
+ */
66
+ constructor(input: ListCrossAccountResourceAccountsCommandInput);
67
+ /**
68
+ * @internal
69
+ */
70
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlobalAcceleratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCrossAccountResourceAccountsCommandInput, ListCrossAccountResourceAccountsCommandOutput>;
71
+ /**
72
+ * @internal
73
+ */
74
+ private serialize;
75
+ /**
76
+ * @internal
77
+ */
78
+ private deserialize;
79
+ }