@aws-sdk/client-account 3.477.0 → 3.481.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 (45) hide show
  1. package/dist-cjs/commands/DeleteAlternateContactCommand.js +18 -41
  2. package/dist-cjs/commands/DisableRegionCommand.js +18 -41
  3. package/dist-cjs/commands/EnableRegionCommand.js +18 -41
  4. package/dist-cjs/commands/GetAlternateContactCommand.js +18 -41
  5. package/dist-cjs/commands/GetContactInformationCommand.js +18 -41
  6. package/dist-cjs/commands/GetRegionOptStatusCommand.js +18 -41
  7. package/dist-cjs/commands/ListRegionsCommand.js +18 -41
  8. package/dist-cjs/commands/PutAlternateContactCommand.js +18 -41
  9. package/dist-cjs/commands/PutContactInformationCommand.js +18 -41
  10. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  11. package/dist-cjs/pagination/ListRegionsPaginator.js +2 -24
  12. package/dist-es/commands/DeleteAlternateContactCommand.js +18 -41
  13. package/dist-es/commands/DisableRegionCommand.js +18 -41
  14. package/dist-es/commands/EnableRegionCommand.js +18 -41
  15. package/dist-es/commands/GetAlternateContactCommand.js +18 -41
  16. package/dist-es/commands/GetContactInformationCommand.js +18 -41
  17. package/dist-es/commands/GetRegionOptStatusCommand.js +18 -41
  18. package/dist-es/commands/ListRegionsCommand.js +18 -41
  19. package/dist-es/commands/PutAlternateContactCommand.js +18 -41
  20. package/dist-es/commands/PutContactInformationCommand.js +18 -41
  21. package/dist-es/endpoint/EndpointParameters.js +6 -0
  22. package/dist-es/pagination/ListRegionsPaginator.js +2 -23
  23. package/dist-types/commands/DeleteAlternateContactCommand.d.ts +6 -21
  24. package/dist-types/commands/DisableRegionCommand.d.ts +6 -21
  25. package/dist-types/commands/EnableRegionCommand.d.ts +6 -21
  26. package/dist-types/commands/GetAlternateContactCommand.d.ts +6 -21
  27. package/dist-types/commands/GetContactInformationCommand.d.ts +6 -21
  28. package/dist-types/commands/GetRegionOptStatusCommand.d.ts +6 -21
  29. package/dist-types/commands/ListRegionsCommand.d.ts +6 -21
  30. package/dist-types/commands/PutAlternateContactCommand.d.ts +6 -21
  31. package/dist-types/commands/PutContactInformationCommand.d.ts +6 -21
  32. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  33. package/dist-types/pagination/ListRegionsPaginator.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/DeleteAlternateContactCommand.d.ts +12 -24
  35. package/dist-types/ts3.4/commands/DisableRegionCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/commands/EnableRegionCommand.d.ts +14 -23
  37. package/dist-types/ts3.4/commands/GetAlternateContactCommand.d.ts +14 -23
  38. package/dist-types/ts3.4/commands/GetContactInformationCommand.d.ts +12 -24
  39. package/dist-types/ts3.4/commands/GetRegionOptStatusCommand.d.ts +14 -23
  40. package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/PutAlternateContactCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/PutContactInformationCommand.d.ts +12 -24
  43. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  44. package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +3 -3
  45. package/package.json +11 -11
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "account",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { AccountClient } from "../AccountClient";
2
3
  import { ListRegionsCommand } from "../commands/ListRegionsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRegionsCommand(input), ...args);
5
- };
6
- export async function* paginateListRegions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof AccountClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Account | AccountClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRegions = createPaginator(AccountClient, ListRegionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { DeleteAlternateContactRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteAlternateContactCommandInput extends DeleteAlternateConta
21
20
  */
22
21
  export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteAlternateContactCommand_base: {
24
+ new (input: DeleteAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
@@ -76,23 +79,5 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
76
79
  * <p>Base exception class for all service exceptions from Account service.</p>
77
80
  *
78
81
  */
79
- export declare class DeleteAlternateContactCommand extends $Command<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput, AccountClientResolvedConfig> {
80
- readonly input: DeleteAlternateContactCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: DeleteAlternateContactCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class DeleteAlternateContactCommand extends DeleteAlternateContactCommand_base {
98
83
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { DisableRegionRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DisableRegionCommandInput extends DisableRegionRequest {
21
20
  */
22
21
  export interface DisableRegionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DisableRegionCommand_base: {
24
+ new (input: DisableRegionCommandInput): import("@smithy/smithy-client").CommandImpl<DisableRegionCommandInput, DisableRegionCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Disables (opts-out) a particular Region for an account.</p>
@@ -70,23 +73,5 @@ export interface DisableRegionCommandOutput extends __MetadataBearer {
70
73
  * <p>Base exception class for all service exceptions from Account service.</p>
71
74
  *
72
75
  */
73
- export declare class DisableRegionCommand extends $Command<DisableRegionCommandInput, DisableRegionCommandOutput, AccountClientResolvedConfig> {
74
- readonly input: DisableRegionCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: DisableRegionCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableRegionCommandInput, DisableRegionCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class DisableRegionCommand extends DisableRegionCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { EnableRegionRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface EnableRegionCommandInput extends EnableRegionRequest {
21
20
  */
22
21
  export interface EnableRegionCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const EnableRegionCommand_base: {
24
+ new (input: EnableRegionCommandInput): import("@smithy/smithy-client").CommandImpl<EnableRegionCommandInput, EnableRegionCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Enables (opts-in) a particular Region for an account.</p>
@@ -70,23 +73,5 @@ export interface EnableRegionCommandOutput extends __MetadataBearer {
70
73
  * <p>Base exception class for all service exceptions from Account service.</p>
71
74
  *
72
75
  */
73
- export declare class EnableRegionCommand extends $Command<EnableRegionCommandInput, EnableRegionCommandOutput, AccountClientResolvedConfig> {
74
- readonly input: EnableRegionCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: EnableRegionCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableRegionCommandInput, EnableRegionCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class EnableRegionCommand extends EnableRegionCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { GetAlternateContactRequest, GetAlternateContactResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetAlternateContactCommandInput extends GetAlternateContactRequ
21
20
  */
22
21
  export interface GetAlternateContactCommandOutput extends GetAlternateContactResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetAlternateContactCommand_base: {
24
+ new (input: GetAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlternateContactCommandInput, GetAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p>
@@ -84,23 +87,5 @@ export interface GetAlternateContactCommandOutput extends GetAlternateContactRes
84
87
  * <p>Base exception class for all service exceptions from Account service.</p>
85
88
  *
86
89
  */
87
- export declare class GetAlternateContactCommand extends $Command<GetAlternateContactCommandInput, GetAlternateContactCommandOutput, AccountClientResolvedConfig> {
88
- readonly input: GetAlternateContactCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: GetAlternateContactCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAlternateContactCommandInput, GetAlternateContactCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class GetAlternateContactCommand extends GetAlternateContactCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { GetContactInformationRequest, GetContactInformationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetContactInformationCommandInput extends GetContactInformation
21
20
  */
22
21
  export interface GetContactInformationCommandOutput extends GetContactInformationResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetContactInformationCommand_base: {
24
+ new (input: GetContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the primary contact information of an Amazon Web Services account.</p>
@@ -84,23 +87,5 @@ export interface GetContactInformationCommandOutput extends GetContactInformatio
84
87
  * <p>Base exception class for all service exceptions from Account service.</p>
85
88
  *
86
89
  */
87
- export declare class GetContactInformationCommand extends $Command<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig> {
88
- readonly input: GetContactInformationCommandInput;
89
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
90
- /**
91
- * @public
92
- */
93
- constructor(input: GetContactInformationCommandInput);
94
- /**
95
- * @internal
96
- */
97
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetContactInformationCommandInput, GetContactInformationCommandOutput>;
98
- /**
99
- * @internal
100
- */
101
- private serialize;
102
- /**
103
- * @internal
104
- */
105
- private deserialize;
90
+ export declare class GetContactInformationCommand extends GetContactInformationCommand_base {
106
91
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { GetRegionOptStatusRequest, GetRegionOptStatusResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetRegionOptStatusCommandInput extends GetRegionOptStatusReques
21
20
  */
22
21
  export interface GetRegionOptStatusCommandOutput extends GetRegionOptStatusResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetRegionOptStatusCommand_base: {
24
+ new (input: GetRegionOptStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the opt-in status of a particular Region.</p>
@@ -68,23 +71,5 @@ export interface GetRegionOptStatusCommandOutput extends GetRegionOptStatusRespo
68
71
  * <p>Base exception class for all service exceptions from Account service.</p>
69
72
  *
70
73
  */
71
- export declare class GetRegionOptStatusCommand extends $Command<GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput, AccountClientResolvedConfig> {
72
- readonly input: GetRegionOptStatusCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: GetRegionOptStatusCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class GetRegionOptStatusCommand extends GetRegionOptStatusCommand_base {
90
75
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { ListRegionsRequest, ListRegionsResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListRegionsCommandInput extends ListRegionsRequest {
21
20
  */
22
21
  export interface ListRegionsCommandOutput extends ListRegionsResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListRegionsCommand_base: {
24
+ new (input: ListRegionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRegionsCommandInput, ListRegionsCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists all the Regions for a given account and their respective opt-in statuses.
@@ -79,23 +82,5 @@ export interface ListRegionsCommandOutput extends ListRegionsResponse, __Metadat
79
82
  * <p>Base exception class for all service exceptions from Account service.</p>
80
83
  *
81
84
  */
82
- export declare class ListRegionsCommand extends $Command<ListRegionsCommandInput, ListRegionsCommandOutput, AccountClientResolvedConfig> {
83
- readonly input: ListRegionsCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: ListRegionsCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRegionsCommandInput, ListRegionsCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class ListRegionsCommand extends ListRegionsCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { PutAlternateContactRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutAlternateContactCommandInput extends PutAlternateContactRequ
21
20
  */
22
21
  export interface PutAlternateContactCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutAlternateContactCommand_base: {
24
+ new (input: PutAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<PutAlternateContactCommandInput, PutAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p>
@@ -77,23 +80,5 @@ export interface PutAlternateContactCommandOutput extends __MetadataBearer {
77
80
  * <p>Base exception class for all service exceptions from Account service.</p>
78
81
  *
79
82
  */
80
- export declare class PutAlternateContactCommand extends $Command<PutAlternateContactCommandInput, PutAlternateContactCommandOutput, AccountClientResolvedConfig> {
81
- readonly input: PutAlternateContactCommandInput;
82
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
- /**
84
- * @public
85
- */
86
- constructor(input: PutAlternateContactCommandInput);
87
- /**
88
- * @internal
89
- */
90
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAlternateContactCommandInput, PutAlternateContactCommandOutput>;
91
- /**
92
- * @internal
93
- */
94
- private serialize;
95
- /**
96
- * @internal
97
- */
98
- private deserialize;
83
+ export declare class PutAlternateContactCommand extends PutAlternateContactCommand_base {
99
84
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient";
5
4
  import { PutContactInformationRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutContactInformationCommandInput extends PutContactInformation
21
20
  */
22
21
  export interface PutContactInformationCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const PutContactInformationCommand_base: {
24
+ new (input: PutContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates the primary contact information of an Amazon Web Services account.</p>
@@ -80,23 +83,5 @@ export interface PutContactInformationCommandOutput extends __MetadataBearer {
80
83
  * <p>Base exception class for all service exceptions from Account service.</p>
81
84
  *
82
85
  */
83
- export declare class PutContactInformationCommand extends $Command<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig> {
84
- readonly input: PutContactInformationCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- /**
87
- * @public
88
- */
89
- constructor(input: PutContactInformationCommandInput);
90
- /**
91
- * @internal
92
- */
93
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AccountClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutContactInformationCommandInput, PutContactInformationCommandOutput>;
94
- /**
95
- * @internal
96
- */
97
- private serialize;
98
- /**
99
- * @internal
100
- */
101
- private deserialize;
86
+ export declare class PutContactInformationCommand extends PutContactInformationCommand_base {
102
87
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -4,4 +4,4 @@ import { AccountPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListRegions(config: AccountPaginationConfiguration, input: ListRegionsCommandInput, ...additionalArguments: any): Paginator<ListRegionsCommandOutput>;
7
+ export declare const paginateListRegions: (config: AccountPaginationConfiguration, input: ListRegionsCommandInput, ...rest: any[]) => Paginator<ListRegionsCommandOutput>;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  AccountClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -16,22 +10,16 @@ export { __MetadataBearer, $Command };
16
10
  export interface DeleteAlternateContactCommandInput
17
11
  extends DeleteAlternateContactRequest {}
18
12
  export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {}
19
- export declare class DeleteAlternateContactCommand extends $Command<
20
- DeleteAlternateContactCommandInput,
21
- DeleteAlternateContactCommandOutput,
22
- AccountClientResolvedConfig
23
- > {
24
- readonly input: DeleteAlternateContactCommandInput;
25
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
- constructor(input: DeleteAlternateContactCommandInput);
27
- resolveMiddleware(
28
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
- configuration: AccountClientResolvedConfig,
30
- options?: __HttpHandlerOptions
31
- ): Handler<
13
+ declare const DeleteAlternateContactCommand_base: {
14
+ new (
15
+ input: DeleteAlternateContactCommandInput
16
+ ): import("@smithy/smithy-client").CommandImpl<
32
17
  DeleteAlternateContactCommandInput,
33
- DeleteAlternateContactCommandOutput
18
+ DeleteAlternateContactCommandOutput,
19
+ AccountClientResolvedConfig,
20
+ ServiceInputTypes,
21
+ ServiceOutputTypes
34
22
  >;
35
- private serialize;
36
- private deserialize;
37
- }
23
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
24
+ };
25
+ export declare class DeleteAlternateContactCommand extends DeleteAlternateContactCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  AccountClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -15,19 +9,16 @@ import { DisableRegionRequest } from "../models/models_0";
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface DisableRegionCommandInput extends DisableRegionRequest {}
17
11
  export interface DisableRegionCommandOutput extends __MetadataBearer {}
18
- export declare class DisableRegionCommand extends $Command<
19
- DisableRegionCommandInput,
20
- DisableRegionCommandOutput,
21
- AccountClientResolvedConfig
22
- > {
23
- readonly input: DisableRegionCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: DisableRegionCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: AccountClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<DisableRegionCommandInput, DisableRegionCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const DisableRegionCommand_base: {
13
+ new (
14
+ input: DisableRegionCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ DisableRegionCommandInput,
17
+ DisableRegionCommandOutput,
18
+ AccountClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class DisableRegionCommand extends DisableRegionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  AccountClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -15,19 +9,16 @@ import { EnableRegionRequest } from "../models/models_0";
15
9
  export { __MetadataBearer, $Command };
16
10
  export interface EnableRegionCommandInput extends EnableRegionRequest {}
17
11
  export interface EnableRegionCommandOutput extends __MetadataBearer {}
18
- export declare class EnableRegionCommand extends $Command<
19
- EnableRegionCommandInput,
20
- EnableRegionCommandOutput,
21
- AccountClientResolvedConfig
22
- > {
23
- readonly input: EnableRegionCommandInput;
24
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
- constructor(input: EnableRegionCommandInput);
26
- resolveMiddleware(
27
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
- configuration: AccountClientResolvedConfig,
29
- options?: __HttpHandlerOptions
30
- ): Handler<EnableRegionCommandInput, EnableRegionCommandOutput>;
31
- private serialize;
32
- private deserialize;
33
- }
12
+ declare const EnableRegionCommand_base: {
13
+ new (
14
+ input: EnableRegionCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ EnableRegionCommandInput,
17
+ EnableRegionCommandOutput,
18
+ AccountClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
23
+ };
24
+ export declare class EnableRegionCommand extends EnableRegionCommand_base {}