@aws-sdk/client-account 3.533.0 → 3.540.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/Account.d.ts +3 -1
- package/dist-types/AccountClient.d.ts +1 -1
- package/dist-types/commands/DeleteAlternateContactCommand.d.ts +2 -1
- package/dist-types/commands/DisableRegionCommand.d.ts +2 -1
- package/dist-types/commands/EnableRegionCommand.d.ts +2 -1
- package/dist-types/commands/GetAlternateContactCommand.d.ts +2 -1
- package/dist-types/commands/GetContactInformationCommand.d.ts +2 -1
- package/dist-types/commands/GetRegionOptStatusCommand.d.ts +2 -1
- package/dist-types/commands/ListRegionsCommand.d.ts +2 -1
- package/dist-types/commands/PutAlternateContactCommand.d.ts +2 -1
- package/dist-types/commands/PutContactInformationCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +62 -62
- package/dist-types/ts3.4/Account.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAlternateContactCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DisableRegionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/EnableRegionCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAlternateContactCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetContactInformationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRegionOptStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutAlternateContactCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/PutContactInformationCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -947,9 +947,6 @@ var Account = _Account;
|
|
|
947
947
|
// src/pagination/ListRegionsPaginator.ts
|
|
948
948
|
|
|
949
949
|
var paginateListRegions = (0, import_core.createPaginator)(AccountClient, ListRegionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
950
|
-
|
|
951
|
-
// src/index.ts
|
|
952
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
953
950
|
// Annotate the CommonJS export names for ESM import in node:
|
|
954
951
|
|
|
955
952
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
package/dist-types/Account.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export interface Account {
|
|
|
37
37
|
/**
|
|
38
38
|
* @see {@link GetContactInformationCommand}
|
|
39
39
|
*/
|
|
40
|
+
getContactInformation(): Promise<GetContactInformationCommandOutput>;
|
|
40
41
|
getContactInformation(args: GetContactInformationCommandInput, options?: __HttpHandlerOptions): Promise<GetContactInformationCommandOutput>;
|
|
41
42
|
getContactInformation(args: GetContactInformationCommandInput, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
42
43
|
getContactInformation(args: GetContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetContactInformationCommandOutput) => void): void;
|
|
@@ -49,6 +50,7 @@ export interface Account {
|
|
|
49
50
|
/**
|
|
50
51
|
* @see {@link ListRegionsCommand}
|
|
51
52
|
*/
|
|
53
|
+
listRegions(): Promise<ListRegionsCommandOutput>;
|
|
52
54
|
listRegions(args: ListRegionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRegionsCommandOutput>;
|
|
53
55
|
listRegions(args: ListRegionsCommandInput, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
|
|
54
56
|
listRegions(args: ListRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegionsCommandOutput) => void): void;
|
|
@@ -66,8 +68,8 @@ export interface Account {
|
|
|
66
68
|
putContactInformation(args: PutContactInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutContactInformationCommandOutput) => void): void;
|
|
67
69
|
}
|
|
68
70
|
/**
|
|
69
|
-
* @public
|
|
70
71
|
* <p>Operations for Amazon Web Services Account Management</p>
|
|
72
|
+
* @public
|
|
71
73
|
*/
|
|
72
74
|
export declare class Account extends AccountClient implements Account {
|
|
73
75
|
}
|
|
@@ -160,8 +160,8 @@ export type AccountClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
160
160
|
export interface AccountClientResolvedConfig extends AccountClientResolvedConfigType {
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>Operations for Amazon Web Services Account Management</p>
|
|
164
|
+
* @public
|
|
165
165
|
*/
|
|
166
166
|
export declare class AccountClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AccountClientResolvedConfig> {
|
|
167
167
|
/**
|
|
@@ -22,10 +22,10 @@ export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DeleteAlternateContactCommand_base: {
|
|
24
24
|
new (input: DeleteAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DeleteAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAlternateContactCommandInput, DeleteAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Deletes the specified alternate contact from an Amazon Web Services account.</p>
|
|
30
30
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
31
31
|
* updating the alternate contacts</a>.</p>
|
|
@@ -78,6 +78,7 @@ declare const DeleteAlternateContactCommand_base: {
|
|
|
78
78
|
* @throws {@link AccountServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
80
80
|
*
|
|
81
|
+
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class DeleteAlternateContactCommand extends DeleteAlternateContactCommand_base {
|
|
83
84
|
}
|
|
@@ -22,10 +22,10 @@ export interface DisableRegionCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const DisableRegionCommand_base: {
|
|
24
24
|
new (input: DisableRegionCommandInput): import("@smithy/smithy-client").CommandImpl<DisableRegionCommandInput, DisableRegionCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: DisableRegionCommandInput): import("@smithy/smithy-client").CommandImpl<DisableRegionCommandInput, DisableRegionCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Disables (opts-out) a particular Region for an account.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -72,6 +72,7 @@ declare const DisableRegionCommand_base: {
|
|
|
72
72
|
* @throws {@link AccountServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
74
74
|
*
|
|
75
|
+
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class DisableRegionCommand extends DisableRegionCommand_base {
|
|
77
78
|
}
|
|
@@ -22,10 +22,10 @@ export interface EnableRegionCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const EnableRegionCommand_base: {
|
|
24
24
|
new (input: EnableRegionCommandInput): import("@smithy/smithy-client").CommandImpl<EnableRegionCommandInput, EnableRegionCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: EnableRegionCommandInput): import("@smithy/smithy-client").CommandImpl<EnableRegionCommandInput, EnableRegionCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Enables (opts-in) a particular Region for an account.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -72,6 +72,7 @@ declare const EnableRegionCommand_base: {
|
|
|
72
72
|
* @throws {@link AccountServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
74
74
|
*
|
|
75
|
+
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class EnableRegionCommand extends EnableRegionCommand_base {
|
|
77
78
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetAlternateContactCommandOutput extends GetAlternateContactRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetAlternateContactCommand_base: {
|
|
24
24
|
new (input: GetAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlternateContactCommandInput, GetAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<GetAlternateContactCommandInput, GetAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
30
30
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
31
31
|
* updating the alternate contacts</a>.</p>
|
|
@@ -86,6 +86,7 @@ declare const GetAlternateContactCommand_base: {
|
|
|
86
86
|
* @throws {@link AccountServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
88
88
|
*
|
|
89
|
+
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class GetAlternateContactCommand extends GetAlternateContactCommand_base {
|
|
91
92
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetContactInformationCommandOutput extends GetContactInformatio
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetContactInformationCommand_base: {
|
|
24
24
|
new (input: GetContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetContactInformationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetContactInformationCommandInput, GetContactInformationCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves the primary contact information of an Amazon Web Services account.</p>
|
|
30
30
|
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
31
31
|
* the primary and alternate contact information</a>.</p>
|
|
@@ -86,6 +86,7 @@ declare const GetContactInformationCommand_base: {
|
|
|
86
86
|
* @throws {@link AccountServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
88
88
|
*
|
|
89
|
+
* @public
|
|
89
90
|
*/
|
|
90
91
|
export declare class GetContactInformationCommand extends GetContactInformationCommand_base {
|
|
91
92
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetRegionOptStatusCommandOutput extends GetRegionOptStatusRespo
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetRegionOptStatusCommand_base: {
|
|
24
24
|
new (input: GetRegionOptStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRegionOptStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetRegionOptStatusCommandInput, GetRegionOptStatusCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves the opt-in status of a particular Region.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -70,6 +70,7 @@ declare const GetRegionOptStatusCommand_base: {
|
|
|
70
70
|
* @throws {@link AccountServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
72
72
|
*
|
|
73
|
+
* @public
|
|
73
74
|
*/
|
|
74
75
|
export declare class GetRegionOptStatusCommand extends GetRegionOptStatusCommand_base {
|
|
75
76
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRegionsCommandOutput extends ListRegionsResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRegionsCommand_base: {
|
|
24
24
|
new (input: ListRegionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRegionsCommandInput, ListRegionsCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListRegionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRegionsCommandInput, ListRegionsCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Lists all the Regions for a given account and their respective opt-in statuses.
|
|
30
30
|
* Optionally, this list can be filtered by the <code>region-opt-status-contains</code>
|
|
31
31
|
* parameter. </p>
|
|
@@ -81,6 +81,7 @@ declare const ListRegionsCommand_base: {
|
|
|
81
81
|
* @throws {@link AccountServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
83
83
|
*
|
|
84
|
+
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ListRegionsCommand extends ListRegionsCommand_base {
|
|
86
87
|
}
|
|
@@ -22,10 +22,10 @@ export interface PutAlternateContactCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutAlternateContactCommand_base: {
|
|
24
24
|
new (input: PutAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<PutAlternateContactCommandInput, PutAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: PutAlternateContactCommandInput): import("@smithy/smithy-client").CommandImpl<PutAlternateContactCommandInput, PutAlternateContactCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p>
|
|
30
30
|
* <p>For complete details about how to use the alternate contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Access or
|
|
31
31
|
* updating the alternate contacts</a>.</p>
|
|
@@ -79,6 +79,7 @@ declare const PutAlternateContactCommand_base: {
|
|
|
79
79
|
* @throws {@link AccountServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
81
81
|
*
|
|
82
|
+
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class PutAlternateContactCommand extends PutAlternateContactCommand_base {
|
|
84
85
|
}
|
|
@@ -22,10 +22,10 @@ export interface PutContactInformationCommandOutput extends __MetadataBearer {
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutContactInformationCommand_base: {
|
|
24
24
|
new (input: PutContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: PutContactInformationCommandInput): import("@smithy/smithy-client").CommandImpl<PutContactInformationCommandInput, PutContactInformationCommandOutput, AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Updates the primary contact information of an Amazon Web Services account.</p>
|
|
30
30
|
* <p>For complete details about how to use the primary contact operations, see <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact.html">Update
|
|
31
31
|
* the primary and alternate contact information</a>.</p>
|
|
@@ -82,6 +82,7 @@ declare const PutContactInformationCommand_base: {
|
|
|
82
82
|
* @throws {@link AccountServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from Account service.</p>
|
|
84
84
|
*
|
|
85
|
+
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class PutContactInformationCommand extends PutContactInformationCommand_base {
|
|
87
88
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -11,5 +11,4 @@ export { AccountExtensionConfiguration } from "./extensionConfiguration";
|
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
13
|
export * from "./models";
|
|
14
|
-
import "@aws-sdk/util-endpoints";
|
|
15
14
|
export { AccountServiceException } from "./models/AccountServiceException";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>The operation failed because the calling identity doesn't have the minimum required
|
|
6
5
|
* permissions.</p>
|
|
6
|
+
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
9
9
|
readonly name: "AccessDeniedException";
|
|
@@ -31,12 +31,11 @@ export type AlternateContactType = (typeof AlternateContactType)[keyof typeof Al
|
|
|
31
31
|
*/
|
|
32
32
|
export interface DeleteAlternateContactRequest {
|
|
33
33
|
/**
|
|
34
|
-
* @public
|
|
35
34
|
* <p>Specifies which of the alternate contacts to delete. </p>
|
|
35
|
+
* @public
|
|
36
36
|
*/
|
|
37
37
|
AlternateContactType: AlternateContactType | undefined;
|
|
38
38
|
/**
|
|
39
|
-
* @public
|
|
40
39
|
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
|
|
41
40
|
* you want to access or modify with this operation.</p>
|
|
42
41
|
* <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the
|
|
@@ -55,13 +54,14 @@ export interface DeleteAlternateContactRequest {
|
|
|
55
54
|
* <p>To call this operation on an account that is not a member of an organization, then
|
|
56
55
|
* don't specify this parameter, and call the operation using an identity belonging to
|
|
57
56
|
* the account whose contacts you wish to retrieve or modify.</p>
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
AccountId?: string;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* @public
|
|
63
62
|
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again
|
|
64
63
|
* later.</p>
|
|
64
|
+
* @public
|
|
65
65
|
*/
|
|
66
66
|
export declare class InternalServerException extends __BaseException {
|
|
67
67
|
readonly name: "InternalServerException";
|
|
@@ -73,8 +73,8 @@ export declare class InternalServerException extends __BaseException {
|
|
|
73
73
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
|
-
* @public
|
|
77
76
|
* <p>The operation failed because it specified a resource that can't be found.</p>
|
|
77
|
+
* @public
|
|
78
78
|
*/
|
|
79
79
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
80
80
|
readonly name: "ResourceNotFoundException";
|
|
@@ -85,9 +85,9 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
85
85
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* @public
|
|
89
88
|
* <p>The operation failed because it was called too frequently and exceeded a throttle
|
|
90
89
|
* limit.</p>
|
|
90
|
+
* @public
|
|
91
91
|
*/
|
|
92
92
|
export declare class TooManyRequestsException extends __BaseException {
|
|
93
93
|
readonly name: "TooManyRequestsException";
|
|
@@ -101,18 +101,18 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
101
101
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
* @public
|
|
105
104
|
* <p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>
|
|
105
|
+
* @public
|
|
106
106
|
*/
|
|
107
107
|
export interface ValidationExceptionField {
|
|
108
108
|
/**
|
|
109
|
-
* @public
|
|
110
109
|
* <p>The field name where the invalid entry was detected.</p>
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
name: string | undefined;
|
|
113
113
|
/**
|
|
114
|
-
* @public
|
|
115
114
|
* <p>A message about the validation exception.</p>
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
message: string | undefined;
|
|
118
118
|
}
|
|
@@ -129,20 +129,20 @@ export declare const ValidationExceptionReason: {
|
|
|
129
129
|
*/
|
|
130
130
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
131
131
|
/**
|
|
132
|
-
* @public
|
|
133
132
|
* <p>The operation failed because one of the input parameters was invalid.</p>
|
|
133
|
+
* @public
|
|
134
134
|
*/
|
|
135
135
|
export declare class ValidationException extends __BaseException {
|
|
136
136
|
readonly name: "ValidationException";
|
|
137
137
|
readonly $fault: "client";
|
|
138
138
|
/**
|
|
139
|
-
* @public
|
|
140
139
|
* <p>The reason that validation failed.</p>
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
reason?: ValidationExceptionReason;
|
|
143
143
|
/**
|
|
144
|
-
* @public
|
|
145
144
|
* <p>The field where the invalid entry was detected.</p>
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
fieldList?: ValidationExceptionField[];
|
|
148
148
|
/**
|
|
@@ -155,12 +155,11 @@ export declare class ValidationException extends __BaseException {
|
|
|
155
155
|
*/
|
|
156
156
|
export interface GetAlternateContactRequest {
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>Specifies which alternate contact you want to retrieve.</p>
|
|
159
|
+
* @public
|
|
160
160
|
*/
|
|
161
161
|
AlternateContactType: AlternateContactType | undefined;
|
|
162
162
|
/**
|
|
163
|
-
* @public
|
|
164
163
|
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
|
|
165
164
|
* you want to access or modify with this operation.</p>
|
|
166
165
|
* <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the
|
|
@@ -179,38 +178,39 @@ export interface GetAlternateContactRequest {
|
|
|
179
178
|
* <p>To call this operation on an account that is not a member of an organization, then
|
|
180
179
|
* don't specify this parameter, and call the operation using an identity belonging to
|
|
181
180
|
* the account whose contacts you wish to retrieve or modify.</p>
|
|
181
|
+
* @public
|
|
182
182
|
*/
|
|
183
183
|
AccountId?: string;
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
|
-
* @public
|
|
187
186
|
* <p>A structure that contains the details of an alternate contact associated with an Amazon Web Services
|
|
188
187
|
* account</p>
|
|
188
|
+
* @public
|
|
189
189
|
*/
|
|
190
190
|
export interface AlternateContact {
|
|
191
191
|
/**
|
|
192
|
-
* @public
|
|
193
192
|
* <p>The name associated with this alternate contact.</p>
|
|
193
|
+
* @public
|
|
194
194
|
*/
|
|
195
195
|
Name?: string;
|
|
196
196
|
/**
|
|
197
|
-
* @public
|
|
198
197
|
* <p>The title associated with this alternate contact.</p>
|
|
198
|
+
* @public
|
|
199
199
|
*/
|
|
200
200
|
Title?: string;
|
|
201
201
|
/**
|
|
202
|
-
* @public
|
|
203
202
|
* <p>The email address associated with this alternate contact.</p>
|
|
203
|
+
* @public
|
|
204
204
|
*/
|
|
205
205
|
EmailAddress?: string;
|
|
206
206
|
/**
|
|
207
|
-
* @public
|
|
208
207
|
* <p>The phone number associated with this alternate contact.</p>
|
|
208
|
+
* @public
|
|
209
209
|
*/
|
|
210
210
|
PhoneNumber?: string;
|
|
211
211
|
/**
|
|
212
|
-
* @public
|
|
213
212
|
* <p>The type of alternate contact.</p>
|
|
213
|
+
* @public
|
|
214
214
|
*/
|
|
215
215
|
AlternateContactType?: AlternateContactType;
|
|
216
216
|
}
|
|
@@ -219,8 +219,8 @@ export interface AlternateContact {
|
|
|
219
219
|
*/
|
|
220
220
|
export interface GetAlternateContactResponse {
|
|
221
221
|
/**
|
|
222
|
-
* @public
|
|
223
222
|
* <p>A structure that contains the details for the specified alternate contact.</p>
|
|
223
|
+
* @public
|
|
224
224
|
*/
|
|
225
225
|
AlternateContact?: AlternateContact;
|
|
226
226
|
}
|
|
@@ -229,32 +229,31 @@ export interface GetAlternateContactResponse {
|
|
|
229
229
|
*/
|
|
230
230
|
export interface PutAlternateContactRequest {
|
|
231
231
|
/**
|
|
232
|
-
* @public
|
|
233
232
|
* <p>Specifies a name for the alternate contact.</p>
|
|
233
|
+
* @public
|
|
234
234
|
*/
|
|
235
235
|
Name: string | undefined;
|
|
236
236
|
/**
|
|
237
|
-
* @public
|
|
238
237
|
* <p>Specifies a title for the alternate contact.</p>
|
|
238
|
+
* @public
|
|
239
239
|
*/
|
|
240
240
|
Title: string | undefined;
|
|
241
241
|
/**
|
|
242
|
-
* @public
|
|
243
242
|
* <p>Specifies an email address for the alternate contact. </p>
|
|
243
|
+
* @public
|
|
244
244
|
*/
|
|
245
245
|
EmailAddress: string | undefined;
|
|
246
246
|
/**
|
|
247
|
-
* @public
|
|
248
247
|
* <p>Specifies a phone number for the alternate contact.</p>
|
|
248
|
+
* @public
|
|
249
249
|
*/
|
|
250
250
|
PhoneNumber: string | undefined;
|
|
251
251
|
/**
|
|
252
|
-
* @public
|
|
253
252
|
* <p>Specifies which alternate contact you want to create or update.</p>
|
|
253
|
+
* @public
|
|
254
254
|
*/
|
|
255
255
|
AlternateContactType: AlternateContactType | undefined;
|
|
256
256
|
/**
|
|
257
|
-
* @public
|
|
258
257
|
* <p>Specifies the 12 digit account ID number of the Amazon Web Services account that
|
|
259
258
|
* you want to access or modify with this operation.</p>
|
|
260
259
|
* <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the
|
|
@@ -273,6 +272,7 @@ export interface PutAlternateContactRequest {
|
|
|
273
272
|
* <p>To call this operation on an account that is not a member of an organization, then
|
|
274
273
|
* don't specify this parameter, and call the operation using an identity belonging to
|
|
275
274
|
* the account whose contacts you wish to retrieve or modify.</p>
|
|
275
|
+
* @public
|
|
276
276
|
*/
|
|
277
277
|
AccountId?: string;
|
|
278
278
|
}
|
|
@@ -281,7 +281,6 @@ export interface PutAlternateContactRequest {
|
|
|
281
281
|
*/
|
|
282
282
|
export interface GetContactInformationRequest {
|
|
283
283
|
/**
|
|
284
|
-
* @public
|
|
285
284
|
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
286
285
|
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
287
286
|
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
@@ -300,72 +299,73 @@ export interface GetContactInformationRequest {
|
|
|
300
299
|
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
301
300
|
* specify this parameter. Instead, call the operation using an identity belonging to
|
|
302
301
|
* the account whose contacts you wish to retrieve or modify.</p>
|
|
302
|
+
* @public
|
|
303
303
|
*/
|
|
304
304
|
AccountId?: string;
|
|
305
305
|
}
|
|
306
306
|
/**
|
|
307
|
-
* @public
|
|
308
307
|
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
308
|
+
* @public
|
|
309
309
|
*/
|
|
310
310
|
export interface ContactInformation {
|
|
311
311
|
/**
|
|
312
|
-
* @public
|
|
313
312
|
* <p>The full name of the primary contact address.</p>
|
|
313
|
+
* @public
|
|
314
314
|
*/
|
|
315
315
|
FullName: string | undefined;
|
|
316
316
|
/**
|
|
317
|
-
* @public
|
|
318
317
|
* <p>The first line of the primary contact address.</p>
|
|
318
|
+
* @public
|
|
319
319
|
*/
|
|
320
320
|
AddressLine1: string | undefined;
|
|
321
321
|
/**
|
|
322
|
-
* @public
|
|
323
322
|
* <p>The second line of the primary contact address, if any.</p>
|
|
323
|
+
* @public
|
|
324
324
|
*/
|
|
325
325
|
AddressLine2?: string;
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>The third line of the primary contact address, if any.</p>
|
|
328
|
+
* @public
|
|
329
329
|
*/
|
|
330
330
|
AddressLine3?: string;
|
|
331
331
|
/**
|
|
332
|
-
* @public
|
|
333
332
|
* <p>The city of the primary contact address.</p>
|
|
333
|
+
* @public
|
|
334
334
|
*/
|
|
335
335
|
City: string | undefined;
|
|
336
336
|
/**
|
|
337
|
-
* @public
|
|
338
337
|
* <p>The state or region of the primary contact address. This field is required in selected countries.</p>
|
|
338
|
+
* @public
|
|
339
339
|
*/
|
|
340
340
|
StateOrRegion?: string;
|
|
341
341
|
/**
|
|
342
|
-
* @public
|
|
343
342
|
* <p>The district or county of the primary contact address, if any.</p>
|
|
343
|
+
* @public
|
|
344
344
|
*/
|
|
345
345
|
DistrictOrCounty?: string;
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* <p>The postal code of the primary contact address.</p>
|
|
348
|
+
* @public
|
|
349
349
|
*/
|
|
350
350
|
PostalCode: string | undefined;
|
|
351
351
|
/**
|
|
352
|
-
* @public
|
|
353
352
|
* <p>The ISO-3166 two-letter country code for the primary contact address.</p>
|
|
353
|
+
* @public
|
|
354
354
|
*/
|
|
355
355
|
CountryCode: string | undefined;
|
|
356
356
|
/**
|
|
357
|
-
* @public
|
|
358
357
|
* <p>The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.</p>
|
|
358
|
+
* @public
|
|
359
359
|
*/
|
|
360
360
|
PhoneNumber: string | undefined;
|
|
361
361
|
/**
|
|
362
|
-
* @public
|
|
363
362
|
* <p>The name of the company associated with the primary contact information, if any.</p>
|
|
363
|
+
* @public
|
|
364
364
|
*/
|
|
365
365
|
CompanyName?: string;
|
|
366
366
|
/**
|
|
367
|
-
* @public
|
|
368
367
|
* <p>The URL of the website associated with the primary contact information, if any.</p>
|
|
368
|
+
* @public
|
|
369
369
|
*/
|
|
370
370
|
WebsiteUrl?: string;
|
|
371
371
|
}
|
|
@@ -374,8 +374,8 @@ export interface ContactInformation {
|
|
|
374
374
|
*/
|
|
375
375
|
export interface GetContactInformationResponse {
|
|
376
376
|
/**
|
|
377
|
-
* @public
|
|
378
377
|
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
378
|
+
* @public
|
|
379
379
|
*/
|
|
380
380
|
ContactInformation?: ContactInformation;
|
|
381
381
|
}
|
|
@@ -384,12 +384,11 @@ export interface GetContactInformationResponse {
|
|
|
384
384
|
*/
|
|
385
385
|
export interface PutContactInformationRequest {
|
|
386
386
|
/**
|
|
387
|
-
* @public
|
|
388
387
|
* <p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>
|
|
388
|
+
* @public
|
|
389
389
|
*/
|
|
390
390
|
ContactInformation: ContactInformation | undefined;
|
|
391
391
|
/**
|
|
392
|
-
* @public
|
|
393
392
|
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
394
393
|
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
395
394
|
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
@@ -408,14 +407,15 @@ export interface PutContactInformationRequest {
|
|
|
408
407
|
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
409
408
|
* specify this parameter. Instead, call the operation using an identity belonging to
|
|
410
409
|
* the account whose contacts you wish to retrieve or modify.</p>
|
|
410
|
+
* @public
|
|
411
411
|
*/
|
|
412
412
|
AccountId?: string;
|
|
413
413
|
}
|
|
414
414
|
/**
|
|
415
|
-
* @public
|
|
416
415
|
* <p>The request could not be processed because of a conflict in the current status of the
|
|
417
416
|
* resource. For example, this happens if you try to enable a Region that is currently being disabled
|
|
418
417
|
* (in a status of DISABLING).</p>
|
|
418
|
+
* @public
|
|
419
419
|
*/
|
|
420
420
|
export declare class ConflictException extends __BaseException {
|
|
421
421
|
readonly name: "ConflictException";
|
|
@@ -430,7 +430,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
430
430
|
*/
|
|
431
431
|
export interface DisableRegionRequest {
|
|
432
432
|
/**
|
|
433
|
-
* @public
|
|
434
433
|
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
435
434
|
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
436
435
|
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
@@ -449,15 +448,16 @@ export interface DisableRegionRequest {
|
|
|
449
448
|
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
450
449
|
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
451
450
|
* account whose contacts you wish to retrieve or modify.</p>
|
|
451
|
+
* @public
|
|
452
452
|
*/
|
|
453
453
|
AccountId?: string;
|
|
454
454
|
/**
|
|
455
|
-
* @public
|
|
456
455
|
* <p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When
|
|
457
456
|
* you disable a Region, Amazon Web Services performs actions to deactivate that Region in your account, such
|
|
458
457
|
* as destroying IAM resources in the Region. This process takes a few minutes for most
|
|
459
458
|
* accounts, but this can take several hours. You cannot enable the Region until the
|
|
460
459
|
* disabling process is fully completed.</p>
|
|
460
|
+
* @public
|
|
461
461
|
*/
|
|
462
462
|
RegionName: string | undefined;
|
|
463
463
|
}
|
|
@@ -466,7 +466,6 @@ export interface DisableRegionRequest {
|
|
|
466
466
|
*/
|
|
467
467
|
export interface EnableRegionRequest {
|
|
468
468
|
/**
|
|
469
|
-
* @public
|
|
470
469
|
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
471
470
|
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
472
471
|
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
@@ -485,16 +484,17 @@ export interface EnableRegionRequest {
|
|
|
485
484
|
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
486
485
|
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
487
486
|
* account whose contacts you wish to retrieve or modify.</p>
|
|
487
|
+
* @public
|
|
488
488
|
*/
|
|
489
489
|
AccountId?: string;
|
|
490
490
|
/**
|
|
491
|
-
* @public
|
|
492
491
|
* <p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When
|
|
493
492
|
* you enable a Region, Amazon Web Services performs actions to prepare your account in that Region, such
|
|
494
493
|
* as distributing your IAM resources to the Region. This process takes a few minutes for
|
|
495
494
|
* most accounts, but it can take several hours. You cannot use the Region until this
|
|
496
495
|
* process is complete. Furthermore, you cannot disable the Region until the enabling
|
|
497
496
|
* process is fully completed.</p>
|
|
497
|
+
* @public
|
|
498
498
|
*/
|
|
499
499
|
RegionName: string | undefined;
|
|
500
500
|
}
|
|
@@ -503,7 +503,6 @@ export interface EnableRegionRequest {
|
|
|
503
503
|
*/
|
|
504
504
|
export interface GetRegionOptStatusRequest {
|
|
505
505
|
/**
|
|
506
|
-
* @public
|
|
507
506
|
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
508
507
|
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
509
508
|
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
@@ -522,12 +521,13 @@ export interface GetRegionOptStatusRequest {
|
|
|
522
521
|
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
523
522
|
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
524
523
|
* account whose contacts you wish to retrieve or modify.</p>
|
|
524
|
+
* @public
|
|
525
525
|
*/
|
|
526
526
|
AccountId?: string;
|
|
527
527
|
/**
|
|
528
|
-
* @public
|
|
529
528
|
* <p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). This
|
|
530
529
|
* function will return the status of whatever Region you pass into this parameter. </p>
|
|
530
|
+
* @public
|
|
531
531
|
*/
|
|
532
532
|
RegionName: string | undefined;
|
|
533
533
|
}
|
|
@@ -551,14 +551,14 @@ export type RegionOptStatus = (typeof RegionOptStatus)[keyof typeof RegionOptSta
|
|
|
551
551
|
*/
|
|
552
552
|
export interface GetRegionOptStatusResponse {
|
|
553
553
|
/**
|
|
554
|
-
* @public
|
|
555
554
|
* <p>The Region code that was passed in.</p>
|
|
555
|
+
* @public
|
|
556
556
|
*/
|
|
557
557
|
RegionName?: string;
|
|
558
558
|
/**
|
|
559
|
-
* @public
|
|
560
559
|
* <p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled,
|
|
561
560
|
* Disabling, Enabled_By_Default).</p>
|
|
561
|
+
* @public
|
|
562
562
|
*/
|
|
563
563
|
RegionOptStatus?: RegionOptStatus;
|
|
564
564
|
}
|
|
@@ -567,7 +567,6 @@ export interface GetRegionOptStatusResponse {
|
|
|
567
567
|
*/
|
|
568
568
|
export interface ListRegionsRequest {
|
|
569
569
|
/**
|
|
570
|
-
* @public
|
|
571
570
|
* <p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access
|
|
572
571
|
* or modify with this operation. If you don't specify this parameter, it defaults to the
|
|
573
572
|
* Amazon Web Services account of the identity used to call the operation. To use this parameter, the
|
|
@@ -586,10 +585,10 @@ export interface ListRegionsRequest {
|
|
|
586
585
|
* <p>To call this operation on an account that is not a member of an organization, don't
|
|
587
586
|
* specify this parameter. Instead, call the operation using an identity belonging to the
|
|
588
587
|
* account whose contacts you wish to retrieve or modify.</p>
|
|
588
|
+
* @public
|
|
589
589
|
*/
|
|
590
590
|
AccountId?: string;
|
|
591
591
|
/**
|
|
592
|
-
* @public
|
|
593
592
|
* <p>The total number of items to return in the command’s output. If the total number of
|
|
594
593
|
* items available is more than the value specified, a <code>NextToken</code> is provided
|
|
595
594
|
* in the command’s output. To resume pagination, provide the <code>NextToken</code> value
|
|
@@ -597,39 +596,40 @@ export interface ListRegionsRequest {
|
|
|
597
596
|
* <code>NextToken</code> response element directly outside of the Amazon Web Services CLI. For usage
|
|
598
597
|
* examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the <i>Amazon Web Services Command Line Interface User
|
|
599
598
|
* Guide</i>. </p>
|
|
599
|
+
* @public
|
|
600
600
|
*/
|
|
601
601
|
MaxResults?: number;
|
|
602
602
|
/**
|
|
603
|
-
* @public
|
|
604
603
|
* <p>A token used to specify where to start paginating. This is the <code>NextToken</code>
|
|
605
604
|
* from a previously truncated response. For usage examples, see <a href="http://docs.aws.amazon.com/cli/latest/userguide/pagination.html">Pagination</a> in the
|
|
606
605
|
* <i>Amazon Web Services Command Line Interface User Guide</i>.</p>
|
|
606
|
+
* @public
|
|
607
607
|
*/
|
|
608
608
|
NextToken?: string;
|
|
609
609
|
/**
|
|
610
|
-
* @public
|
|
611
610
|
* <p>A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default)
|
|
612
611
|
* to use to filter the list of Regions for a given account. For example, passing in a
|
|
613
612
|
* value of ENABLING will only return a list of Regions with a Region status of
|
|
614
613
|
* ENABLING.</p>
|
|
614
|
+
* @public
|
|
615
615
|
*/
|
|
616
616
|
RegionOptStatusContains?: RegionOptStatus[];
|
|
617
617
|
}
|
|
618
618
|
/**
|
|
619
|
-
* @public
|
|
620
619
|
* <p>This is a structure that expresses the Region for a given account, consisting of a
|
|
621
620
|
* name and opt-in status.</p>
|
|
621
|
+
* @public
|
|
622
622
|
*/
|
|
623
623
|
export interface Region {
|
|
624
624
|
/**
|
|
625
|
-
* @public
|
|
626
625
|
* <p>The Region code of a given Region (for example, <code>us-east-1</code>).</p>
|
|
626
|
+
* @public
|
|
627
627
|
*/
|
|
628
628
|
RegionName?: string;
|
|
629
629
|
/**
|
|
630
|
-
* @public
|
|
631
630
|
* <p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling,
|
|
632
631
|
* Enabled_By_Default).</p>
|
|
632
|
+
* @public
|
|
633
633
|
*/
|
|
634
634
|
RegionOptStatus?: RegionOptStatus;
|
|
635
635
|
}
|
|
@@ -638,16 +638,16 @@ export interface Region {
|
|
|
638
638
|
*/
|
|
639
639
|
export interface ListRegionsResponse {
|
|
640
640
|
/**
|
|
641
|
-
* @public
|
|
642
641
|
* <p>If there is more data to be returned, this will be populated. It should be passed into
|
|
643
642
|
* the <code>next-token</code> request parameter of <code>list-regions</code>.</p>
|
|
643
|
+
* @public
|
|
644
644
|
*/
|
|
645
645
|
NextToken?: string;
|
|
646
646
|
/**
|
|
647
|
-
* @public
|
|
648
647
|
* <p>This is a list of Regions for a given account, or if the filtered parameter was used,
|
|
649
648
|
* a list of Regions that match the filter criteria set in the <code>filter</code>
|
|
650
649
|
* parameter.</p>
|
|
650
|
+
* @public
|
|
651
651
|
*/
|
|
652
652
|
Regions?: Region[];
|
|
653
653
|
}
|
|
@@ -89,6 +89,7 @@ export interface Account {
|
|
|
89
89
|
options: __HttpHandlerOptions,
|
|
90
90
|
cb: (err: any, data?: GetAlternateContactCommandOutput) => void
|
|
91
91
|
): void;
|
|
92
|
+
getContactInformation(): Promise<GetContactInformationCommandOutput>;
|
|
92
93
|
getContactInformation(
|
|
93
94
|
args: GetContactInformationCommandInput,
|
|
94
95
|
options?: __HttpHandlerOptions
|
|
@@ -115,6 +116,7 @@ export interface Account {
|
|
|
115
116
|
options: __HttpHandlerOptions,
|
|
116
117
|
cb: (err: any, data?: GetRegionOptStatusCommandOutput) => void
|
|
117
118
|
): void;
|
|
119
|
+
listRegions(): Promise<ListRegionsCommandOutput>;
|
|
118
120
|
listRegions(
|
|
119
121
|
args: ListRegionsCommandInput,
|
|
120
122
|
options?: __HttpHandlerOptions
|
|
@@ -20,6 +20,15 @@ declare const DeleteAlternateContactCommand_base: {
|
|
|
20
20
|
ServiceInputTypes,
|
|
21
21
|
ServiceOutputTypes
|
|
22
22
|
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: DeleteAlternateContactCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
DeleteAlternateContactCommandInput,
|
|
27
|
+
DeleteAlternateContactCommandOutput,
|
|
28
|
+
AccountClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
23
32
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
24
33
|
};
|
|
25
34
|
export declare class DeleteAlternateContactCommand extends DeleteAlternateContactCommand_base {}
|
|
@@ -19,6 +19,15 @@ declare const DisableRegionCommand_base: {
|
|
|
19
19
|
ServiceInputTypes,
|
|
20
20
|
ServiceOutputTypes
|
|
21
21
|
>;
|
|
22
|
+
new (
|
|
23
|
+
__0_0: DisableRegionCommandInput
|
|
24
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
25
|
+
DisableRegionCommandInput,
|
|
26
|
+
DisableRegionCommandOutput,
|
|
27
|
+
AccountClientResolvedConfig,
|
|
28
|
+
ServiceInputTypes,
|
|
29
|
+
ServiceOutputTypes
|
|
30
|
+
>;
|
|
22
31
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
23
32
|
};
|
|
24
33
|
export declare class DisableRegionCommand extends DisableRegionCommand_base {}
|
|
@@ -19,6 +19,15 @@ declare const EnableRegionCommand_base: {
|
|
|
19
19
|
ServiceInputTypes,
|
|
20
20
|
ServiceOutputTypes
|
|
21
21
|
>;
|
|
22
|
+
new (
|
|
23
|
+
__0_0: EnableRegionCommandInput
|
|
24
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
25
|
+
EnableRegionCommandInput,
|
|
26
|
+
EnableRegionCommandOutput,
|
|
27
|
+
AccountClientResolvedConfig,
|
|
28
|
+
ServiceInputTypes,
|
|
29
|
+
ServiceOutputTypes
|
|
30
|
+
>;
|
|
22
31
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
23
32
|
};
|
|
24
33
|
export declare class EnableRegionCommand extends EnableRegionCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const GetAlternateContactCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetAlternateContactCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetAlternateContactCommandInput,
|
|
32
|
+
GetAlternateContactCommandOutput,
|
|
33
|
+
AccountClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetAlternateContactCommand extends GetAlternateContactCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const GetContactInformationCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [GetContactInformationCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetContactInformationCommandInput,
|
|
32
|
+
GetContactInformationCommandOutput,
|
|
33
|
+
AccountClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetContactInformationCommand extends GetContactInformationCommand_base {}
|
|
@@ -25,6 +25,15 @@ declare const GetRegionOptStatusCommand_base: {
|
|
|
25
25
|
ServiceInputTypes,
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: GetRegionOptStatusCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetRegionOptStatusCommandInput,
|
|
32
|
+
GetRegionOptStatusCommandOutput,
|
|
33
|
+
AccountClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
28
37
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
38
|
};
|
|
30
39
|
export declare class GetRegionOptStatusCommand extends GetRegionOptStatusCommand_base {}
|
|
@@ -21,6 +21,15 @@ declare const ListRegionsCommand_base: {
|
|
|
21
21
|
ServiceInputTypes,
|
|
22
22
|
ServiceOutputTypes
|
|
23
23
|
>;
|
|
24
|
+
new (
|
|
25
|
+
...[input]: [] | [ListRegionsCommandInput]
|
|
26
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
27
|
+
ListRegionsCommandInput,
|
|
28
|
+
ListRegionsCommandOutput,
|
|
29
|
+
AccountClientResolvedConfig,
|
|
30
|
+
ServiceInputTypes,
|
|
31
|
+
ServiceOutputTypes
|
|
32
|
+
>;
|
|
24
33
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
34
|
};
|
|
26
35
|
export declare class ListRegionsCommand extends ListRegionsCommand_base {}
|
|
@@ -20,6 +20,15 @@ declare const PutAlternateContactCommand_base: {
|
|
|
20
20
|
ServiceInputTypes,
|
|
21
21
|
ServiceOutputTypes
|
|
22
22
|
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: PutAlternateContactCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
PutAlternateContactCommandInput,
|
|
27
|
+
PutAlternateContactCommandOutput,
|
|
28
|
+
AccountClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
23
32
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
24
33
|
};
|
|
25
34
|
export declare class PutAlternateContactCommand extends PutAlternateContactCommand_base {}
|
|
@@ -20,6 +20,15 @@ declare const PutContactInformationCommand_base: {
|
|
|
20
20
|
ServiceInputTypes,
|
|
21
21
|
ServiceOutputTypes
|
|
22
22
|
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: PutContactInformationCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
PutContactInformationCommandInput,
|
|
27
|
+
PutContactInformationCommandOutput,
|
|
28
|
+
AccountClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
23
32
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
24
33
|
};
|
|
25
34
|
export declare class PutContactInformationCommand extends PutContactInformationCommand_base {}
|
|
@@ -6,5 +6,4 @@ export { AccountExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
8
|
export * from "./models";
|
|
9
|
-
import "@aws-sdk/util-endpoints";
|
|
10
9
|
export { AccountServiceException } from "./models/AccountServiceException";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account",
|
|
3
3
|
"description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.540.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-account",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.540.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.540.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|