@aws-sdk/client-account 3.301.0 → 3.303.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/models/models_0.js +16 -19
- package/dist-es/models/models_0.js +16 -19
- package/dist-types/models/models_0.d.ts +31 -16
- package/dist-types/ts3.4/models/models_0.d.ts +22 -16
- package/package.json +34 -34
|
@@ -16,12 +16,11 @@ class AccessDeniedException extends AccountServiceException_1.AccountServiceExce
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(AlternateContactType = exports.AlternateContactType || (exports.AlternateContactType = {}));
|
|
19
|
+
exports.AlternateContactType = {
|
|
20
|
+
BILLING: "BILLING",
|
|
21
|
+
OPERATIONS: "OPERATIONS",
|
|
22
|
+
SECURITY: "SECURITY",
|
|
23
|
+
};
|
|
25
24
|
class InternalServerException extends AccountServiceException_1.AccountServiceException {
|
|
26
25
|
constructor(opts) {
|
|
27
26
|
super({
|
|
@@ -65,11 +64,10 @@ class TooManyRequestsException extends AccountServiceException_1.AccountServiceE
|
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
exports.TooManyRequestsException = TooManyRequestsException;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
67
|
+
exports.ValidationExceptionReason = {
|
|
68
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
69
|
+
INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
|
|
70
|
+
};
|
|
73
71
|
class ValidationException extends AccountServiceException_1.AccountServiceException {
|
|
74
72
|
constructor(opts) {
|
|
75
73
|
super({
|
|
@@ -98,14 +96,13 @@ class ConflictException extends AccountServiceException_1.AccountServiceExceptio
|
|
|
98
96
|
}
|
|
99
97
|
}
|
|
100
98
|
exports.ConflictException = ConflictException;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
})(RegionOptStatus = exports.RegionOptStatus || (exports.RegionOptStatus = {}));
|
|
99
|
+
exports.RegionOptStatus = {
|
|
100
|
+
DISABLED: "DISABLED",
|
|
101
|
+
DISABLING: "DISABLING",
|
|
102
|
+
ENABLED: "ENABLED",
|
|
103
|
+
ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT",
|
|
104
|
+
ENABLING: "ENABLING",
|
|
105
|
+
};
|
|
109
106
|
const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
110
107
|
...obj,
|
|
111
108
|
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -12,12 +12,11 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})(AlternateContactType || (AlternateContactType = {}));
|
|
15
|
+
export const AlternateContactType = {
|
|
16
|
+
BILLING: "BILLING",
|
|
17
|
+
OPERATIONS: "OPERATIONS",
|
|
18
|
+
SECURITY: "SECURITY",
|
|
19
|
+
};
|
|
21
20
|
export class InternalServerException extends __BaseException {
|
|
22
21
|
constructor(opts) {
|
|
23
22
|
super({
|
|
@@ -58,11 +57,10 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
58
57
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
|
-
export
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
60
|
+
export const ValidationExceptionReason = {
|
|
61
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
62
|
+
INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
|
|
63
|
+
};
|
|
66
64
|
export class ValidationException extends __BaseException {
|
|
67
65
|
constructor(opts) {
|
|
68
66
|
super({
|
|
@@ -89,14 +87,13 @@ export class ConflictException extends __BaseException {
|
|
|
89
87
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
90
88
|
}
|
|
91
89
|
}
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
})(RegionOptStatus || (RegionOptStatus = {}));
|
|
90
|
+
export const RegionOptStatus = {
|
|
91
|
+
DISABLED: "DISABLED",
|
|
92
|
+
DISABLING: "DISABLING",
|
|
93
|
+
ENABLED: "ENABLED",
|
|
94
|
+
ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT",
|
|
95
|
+
ENABLING: "ENABLING",
|
|
96
|
+
};
|
|
100
97
|
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
101
98
|
...obj,
|
|
102
99
|
...(obj.message && { message: SENSITIVE_STRING }),
|
|
@@ -15,12 +15,17 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
|
+
* @enum
|
|
18
19
|
*/
|
|
19
|
-
export declare
|
|
20
|
-
BILLING
|
|
21
|
-
OPERATIONS
|
|
22
|
-
SECURITY
|
|
23
|
-
}
|
|
20
|
+
export declare const AlternateContactType: {
|
|
21
|
+
readonly BILLING: "BILLING";
|
|
22
|
+
readonly OPERATIONS: "OPERATIONS";
|
|
23
|
+
readonly SECURITY: "SECURITY";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type AlternateContactType = (typeof AlternateContactType)[keyof typeof AlternateContactType];
|
|
24
29
|
/**
|
|
25
30
|
* @public
|
|
26
31
|
*/
|
|
@@ -109,11 +114,16 @@ export interface ValidationExceptionField {
|
|
|
109
114
|
}
|
|
110
115
|
/**
|
|
111
116
|
* @public
|
|
117
|
+
* @enum
|
|
112
118
|
*/
|
|
113
|
-
export declare
|
|
114
|
-
FIELD_VALIDATION_FAILED
|
|
115
|
-
INVALID_REGION_OPT_TARGET
|
|
116
|
-
}
|
|
119
|
+
export declare const ValidationExceptionReason: {
|
|
120
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
121
|
+
readonly INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget";
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
117
127
|
/**
|
|
118
128
|
* @public
|
|
119
129
|
* <p>The operation failed because one of the input parameters was invalid.</p>
|
|
@@ -481,14 +491,19 @@ export interface GetRegionOptStatusRequest {
|
|
|
481
491
|
}
|
|
482
492
|
/**
|
|
483
493
|
* @public
|
|
494
|
+
* @enum
|
|
484
495
|
*/
|
|
485
|
-
export declare
|
|
486
|
-
DISABLED
|
|
487
|
-
DISABLING
|
|
488
|
-
ENABLED
|
|
489
|
-
ENABLED_BY_DEFAULT
|
|
490
|
-
ENABLING
|
|
491
|
-
}
|
|
496
|
+
export declare const RegionOptStatus: {
|
|
497
|
+
readonly DISABLED: "DISABLED";
|
|
498
|
+
readonly DISABLING: "DISABLING";
|
|
499
|
+
readonly ENABLED: "ENABLED";
|
|
500
|
+
readonly ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT";
|
|
501
|
+
readonly ENABLING: "ENABLING";
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
export type RegionOptStatus = (typeof RegionOptStatus)[keyof typeof RegionOptStatus];
|
|
492
507
|
/**
|
|
493
508
|
* @public
|
|
494
509
|
*/
|
|
@@ -7,11 +7,13 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
11
|
-
BILLING
|
|
12
|
-
OPERATIONS
|
|
13
|
-
SECURITY
|
|
14
|
-
}
|
|
10
|
+
export declare const AlternateContactType: {
|
|
11
|
+
readonly BILLING: "BILLING";
|
|
12
|
+
readonly OPERATIONS: "OPERATIONS";
|
|
13
|
+
readonly SECURITY: "SECURITY";
|
|
14
|
+
};
|
|
15
|
+
export type AlternateContactType =
|
|
16
|
+
(typeof AlternateContactType)[keyof typeof AlternateContactType];
|
|
15
17
|
export interface DeleteAlternateContactRequest {
|
|
16
18
|
AlternateContactType: AlternateContactType | string | undefined;
|
|
17
19
|
AccountId?: string;
|
|
@@ -45,10 +47,12 @@ export interface ValidationExceptionField {
|
|
|
45
47
|
name: string | undefined;
|
|
46
48
|
message: string | undefined;
|
|
47
49
|
}
|
|
48
|
-
export declare
|
|
49
|
-
FIELD_VALIDATION_FAILED
|
|
50
|
-
INVALID_REGION_OPT_TARGET
|
|
51
|
-
}
|
|
50
|
+
export declare const ValidationExceptionReason: {
|
|
51
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
52
|
+
readonly INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget";
|
|
53
|
+
};
|
|
54
|
+
export type ValidationExceptionReason =
|
|
55
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
52
56
|
export declare class ValidationException extends __BaseException {
|
|
53
57
|
readonly name: "ValidationException";
|
|
54
58
|
readonly $fault: "client";
|
|
@@ -121,13 +125,15 @@ export interface GetRegionOptStatusRequest {
|
|
|
121
125
|
AccountId?: string;
|
|
122
126
|
RegionName: string | undefined;
|
|
123
127
|
}
|
|
124
|
-
export declare
|
|
125
|
-
DISABLED
|
|
126
|
-
DISABLING
|
|
127
|
-
ENABLED
|
|
128
|
-
ENABLED_BY_DEFAULT
|
|
129
|
-
ENABLING
|
|
130
|
-
}
|
|
128
|
+
export declare const RegionOptStatus: {
|
|
129
|
+
readonly DISABLED: "DISABLED";
|
|
130
|
+
readonly DISABLING: "DISABLING";
|
|
131
|
+
readonly ENABLED: "ENABLED";
|
|
132
|
+
readonly ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT";
|
|
133
|
+
readonly ENABLING: "ENABLING";
|
|
134
|
+
};
|
|
135
|
+
export type RegionOptStatus =
|
|
136
|
+
(typeof RegionOptStatus)[keyof typeof RegionOptStatus];
|
|
131
137
|
export interface GetRegionOptStatusResponse {
|
|
132
138
|
RegionName?: string;
|
|
133
139
|
RegionOptStatus?: RegionOptStatus | string;
|
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.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|