@aws-sdk/client-account 3.934.0 → 3.935.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/index.js +0 -24
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +91 -0
- package/dist-es/models/models_0.js +0 -91
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +114 -0
- package/dist-types/models/models_0.d.ts +0 -113
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +57 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -53
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,10 +117,6 @@ let AccountServiceException$1 = class AccountServiceException extends smithyClie
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const PrimaryEmailUpdateStatus = {
|
|
121
|
-
ACCEPTED: "ACCEPTED",
|
|
122
|
-
PENDING: "PENDING",
|
|
123
|
-
};
|
|
124
120
|
let AccessDeniedException$1 = class AccessDeniedException extends AccountServiceException$1 {
|
|
125
121
|
name = "AccessDeniedException";
|
|
126
122
|
$fault = "client";
|
|
@@ -195,10 +191,6 @@ let TooManyRequestsException$1 = class TooManyRequestsException extends AccountS
|
|
|
195
191
|
this.errorType = opts.errorType;
|
|
196
192
|
}
|
|
197
193
|
};
|
|
198
|
-
const ValidationExceptionReason = {
|
|
199
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
200
|
-
INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
|
|
201
|
-
};
|
|
202
194
|
let ValidationException$1 = class ValidationException extends AccountServiceException$1 {
|
|
203
195
|
name = "ValidationException";
|
|
204
196
|
$fault = "client";
|
|
@@ -215,18 +207,6 @@ let ValidationException$1 = class ValidationException extends AccountServiceExce
|
|
|
215
207
|
this.fieldList = opts.fieldList;
|
|
216
208
|
}
|
|
217
209
|
};
|
|
218
|
-
const AlternateContactType = {
|
|
219
|
-
BILLING: "BILLING",
|
|
220
|
-
OPERATIONS: "OPERATIONS",
|
|
221
|
-
SECURITY: "SECURITY",
|
|
222
|
-
};
|
|
223
|
-
const RegionOptStatus = {
|
|
224
|
-
DISABLED: "DISABLED",
|
|
225
|
-
DISABLING: "DISABLING",
|
|
226
|
-
ENABLED: "ENABLED",
|
|
227
|
-
ENABLED_BY_DEFAULT: "ENABLED_BY_DEFAULT",
|
|
228
|
-
ENABLING: "ENABLING",
|
|
229
|
-
};
|
|
230
210
|
|
|
231
211
|
const _AC = "AlternateContact";
|
|
232
212
|
const _ACD = "AccountCreatedDate";
|
|
@@ -910,7 +890,6 @@ exports.AccessDeniedException = AccessDeniedException$1;
|
|
|
910
890
|
exports.Account = Account;
|
|
911
891
|
exports.AccountClient = AccountClient;
|
|
912
892
|
exports.AccountServiceException = AccountServiceException$1;
|
|
913
|
-
exports.AlternateContactType = AlternateContactType;
|
|
914
893
|
exports.ConflictException = ConflictException$1;
|
|
915
894
|
exports.DeleteAlternateContactCommand = DeleteAlternateContactCommand;
|
|
916
895
|
exports.DisableRegionCommand = DisableRegionCommand;
|
|
@@ -922,14 +901,11 @@ exports.GetPrimaryEmailCommand = GetPrimaryEmailCommand;
|
|
|
922
901
|
exports.GetRegionOptStatusCommand = GetRegionOptStatusCommand;
|
|
923
902
|
exports.InternalServerException = InternalServerException$1;
|
|
924
903
|
exports.ListRegionsCommand = ListRegionsCommand;
|
|
925
|
-
exports.PrimaryEmailUpdateStatus = PrimaryEmailUpdateStatus;
|
|
926
904
|
exports.PutAccountNameCommand = PutAccountNameCommand;
|
|
927
905
|
exports.PutAlternateContactCommand = PutAlternateContactCommand;
|
|
928
906
|
exports.PutContactInformationCommand = PutContactInformationCommand;
|
|
929
|
-
exports.RegionOptStatus = RegionOptStatus;
|
|
930
907
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
931
908
|
exports.StartPrimaryEmailUpdateCommand = StartPrimaryEmailUpdateCommand;
|
|
932
909
|
exports.TooManyRequestsException = TooManyRequestsException$1;
|
|
933
910
|
exports.ValidationException = ValidationException$1;
|
|
934
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
935
911
|
exports.paginateListRegions = paginateListRegions;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
errorType;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.errorType = opts.errorType;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ConflictException extends __BaseException {
|
|
17
|
+
name = "ConflictException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
errorType;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ConflictException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
27
|
+
this.errorType = opts.errorType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
errorType;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.errorType = opts.errorType;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
errorType;
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ResourceNotFoundException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
56
|
+
this.errorType = opts.errorType;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class TooManyRequestsException extends __BaseException {
|
|
60
|
+
name = "TooManyRequestsException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
$retryable = {
|
|
63
|
+
throttling: true,
|
|
64
|
+
};
|
|
65
|
+
errorType;
|
|
66
|
+
constructor(opts) {
|
|
67
|
+
super({
|
|
68
|
+
name: "TooManyRequestsException",
|
|
69
|
+
$fault: "client",
|
|
70
|
+
...opts,
|
|
71
|
+
});
|
|
72
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
73
|
+
this.errorType = opts.errorType;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export class ValidationException extends __BaseException {
|
|
77
|
+
name = "ValidationException";
|
|
78
|
+
$fault = "client";
|
|
79
|
+
reason;
|
|
80
|
+
fieldList;
|
|
81
|
+
constructor(opts) {
|
|
82
|
+
super({
|
|
83
|
+
name: "ValidationException",
|
|
84
|
+
$fault: "client",
|
|
85
|
+
...opts,
|
|
86
|
+
});
|
|
87
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
88
|
+
this.reason = opts.reason;
|
|
89
|
+
this.fieldList = opts.fieldList;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1,102 +1,11 @@
|
|
|
1
|
-
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
2
1
|
export const PrimaryEmailUpdateStatus = {
|
|
3
2
|
ACCEPTED: "ACCEPTED",
|
|
4
3
|
PENDING: "PENDING",
|
|
5
4
|
};
|
|
6
|
-
export class AccessDeniedException extends __BaseException {
|
|
7
|
-
name = "AccessDeniedException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
errorType;
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "AccessDeniedException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
-
this.errorType = opts.errorType;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export class ConflictException extends __BaseException {
|
|
21
|
-
name = "ConflictException";
|
|
22
|
-
$fault = "client";
|
|
23
|
-
errorType;
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "ConflictException",
|
|
27
|
-
$fault: "client",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
|
-
this.errorType = opts.errorType;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
export class InternalServerException extends __BaseException {
|
|
35
|
-
name = "InternalServerException";
|
|
36
|
-
$fault = "server";
|
|
37
|
-
$retryable = {};
|
|
38
|
-
errorType;
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "InternalServerException",
|
|
42
|
-
$fault: "server",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
-
this.errorType = opts.errorType;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
50
|
-
name = "ResourceNotFoundException";
|
|
51
|
-
$fault = "client";
|
|
52
|
-
errorType;
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ResourceNotFoundException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
-
this.errorType = opts.errorType;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export class TooManyRequestsException extends __BaseException {
|
|
64
|
-
name = "TooManyRequestsException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
$retryable = {
|
|
67
|
-
throttling: true,
|
|
68
|
-
};
|
|
69
|
-
errorType;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "TooManyRequestsException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
77
|
-
this.errorType = opts.errorType;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
5
|
export const ValidationExceptionReason = {
|
|
81
6
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
82
7
|
INVALID_REGION_OPT_TARGET: "invalidRegionOptTarget",
|
|
83
8
|
};
|
|
84
|
-
export class ValidationException extends __BaseException {
|
|
85
|
-
name = "ValidationException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
reason;
|
|
88
|
-
fieldList;
|
|
89
|
-
constructor(opts) {
|
|
90
|
-
super({
|
|
91
|
-
name: "ValidationException",
|
|
92
|
-
$fault: "client",
|
|
93
|
-
...opts,
|
|
94
|
-
});
|
|
95
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
|
-
this.reason = opts.reason;
|
|
97
|
-
this.fieldList = opts.fieldList;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
9
|
export const AlternateContactType = {
|
|
101
10
|
BILLING: "BILLING",
|
|
102
11
|
OPERATIONS: "OPERATIONS",
|
|
@@ -94,7 +94,7 @@ const _xaE = "x-amzn-ErrorType";
|
|
|
94
94
|
const n0 = "com.amazonaws.account";
|
|
95
95
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
96
96
|
import { AccountServiceException as __AccountServiceException } from "../models/AccountServiceException";
|
|
97
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/
|
|
97
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/errors";
|
|
98
98
|
export var AccountName = [0, n0, _AN, 8, 0];
|
|
99
99
|
export var AddressLine = [0, n0, _AL, 8, 0];
|
|
100
100
|
export var City = [0, n0, _C, 8, 0];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { AccountExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { AccountServiceException } from "./models/AccountServiceException";
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The operation failed because the calling identity doesn't have the minimum required permissions.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
errorType?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING) or if you try to change an account’s root user email to an email address which is already in use.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class ConflictException extends __BaseException {
|
|
26
|
+
readonly name: "ConflictException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
/**
|
|
29
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
errorType?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
$retryable: {};
|
|
46
|
+
/**
|
|
47
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
errorType?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>The operation failed because it specified a resource that can't be found.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
errorType?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* <p>The operation failed because it was called too frequently and exceeded a throttle limit.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
78
|
+
readonly name: "TooManyRequestsException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
$retryable: {
|
|
81
|
+
throttling: boolean;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
errorType?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>The operation failed because one of the input parameters was invalid.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ValidationException extends __BaseException {
|
|
98
|
+
readonly name: "ValidationException";
|
|
99
|
+
readonly $fault: "client";
|
|
100
|
+
/**
|
|
101
|
+
* <p>The reason that validation failed.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
reason?: ValidationExceptionReason | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>The field where the invalid entry was detected.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
114
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
3
1
|
/**
|
|
4
2
|
* @public
|
|
5
3
|
*/
|
|
@@ -42,95 +40,6 @@ export interface AcceptPrimaryEmailUpdateResponse {
|
|
|
42
40
|
*/
|
|
43
41
|
Status?: PrimaryEmailUpdateStatus | undefined;
|
|
44
42
|
}
|
|
45
|
-
/**
|
|
46
|
-
* <p>The operation failed because the calling identity doesn't have the minimum required permissions.</p>
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
50
|
-
readonly name: "AccessDeniedException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
/**
|
|
53
|
-
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
54
|
-
* @public
|
|
55
|
-
*/
|
|
56
|
-
errorType?: string | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* <p>The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING) or if you try to change an account’s root user email to an email address which is already in use.</p>
|
|
64
|
-
* @public
|
|
65
|
-
*/
|
|
66
|
-
export declare class ConflictException extends __BaseException {
|
|
67
|
-
readonly name: "ConflictException";
|
|
68
|
-
readonly $fault: "client";
|
|
69
|
-
/**
|
|
70
|
-
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
71
|
-
* @public
|
|
72
|
-
*/
|
|
73
|
-
errorType?: string | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p>
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
export declare class InternalServerException extends __BaseException {
|
|
84
|
-
readonly name: "InternalServerException";
|
|
85
|
-
readonly $fault: "server";
|
|
86
|
-
$retryable: {};
|
|
87
|
-
/**
|
|
88
|
-
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
errorType?: string | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* @internal
|
|
94
|
-
*/
|
|
95
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* <p>The operation failed because it specified a resource that can't be found.</p>
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
102
|
-
readonly name: "ResourceNotFoundException";
|
|
103
|
-
readonly $fault: "client";
|
|
104
|
-
/**
|
|
105
|
-
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
106
|
-
* @public
|
|
107
|
-
*/
|
|
108
|
-
errorType?: string | undefined;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* <p>The operation failed because it was called too frequently and exceeded a throttle limit.</p>
|
|
116
|
-
* @public
|
|
117
|
-
*/
|
|
118
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
119
|
-
readonly name: "TooManyRequestsException";
|
|
120
|
-
readonly $fault: "client";
|
|
121
|
-
$retryable: {
|
|
122
|
-
throttling: boolean;
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>
|
|
126
|
-
* @public
|
|
127
|
-
*/
|
|
128
|
-
errorType?: string | undefined;
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
*/
|
|
132
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
133
|
-
}
|
|
134
43
|
/**
|
|
135
44
|
* <p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>
|
|
136
45
|
* @public
|
|
@@ -159,28 +68,6 @@ export declare const ValidationExceptionReason: {
|
|
|
159
68
|
* @public
|
|
160
69
|
*/
|
|
161
70
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
162
|
-
/**
|
|
163
|
-
* <p>The operation failed because one of the input parameters was invalid.</p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
export declare class ValidationException extends __BaseException {
|
|
167
|
-
readonly name: "ValidationException";
|
|
168
|
-
readonly $fault: "client";
|
|
169
|
-
/**
|
|
170
|
-
* <p>The reason that validation failed.</p>
|
|
171
|
-
* @public
|
|
172
|
-
*/
|
|
173
|
-
reason?: ValidationExceptionReason | undefined;
|
|
174
|
-
/**
|
|
175
|
-
* <p>The field where the invalid entry was detected.</p>
|
|
176
|
-
* @public
|
|
177
|
-
*/
|
|
178
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
179
|
-
/**
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
183
|
-
}
|
|
184
71
|
/**
|
|
185
72
|
* @public
|
|
186
73
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { AccountExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { AccountServiceException } from "./models/AccountServiceException";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ValidationExceptionField,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
errorType?: string | undefined;
|
|
11
|
+
constructor(
|
|
12
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
export declare class ConflictException extends __BaseException {
|
|
16
|
+
readonly name: "ConflictException";
|
|
17
|
+
readonly $fault: "client";
|
|
18
|
+
errorType?: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
errorType?: string | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
readonly name: "ResourceNotFoundException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
errorType?: string | undefined;
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
39
|
+
readonly name: "TooManyRequestsException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
$retryable: {
|
|
42
|
+
throttling: boolean;
|
|
43
|
+
};
|
|
44
|
+
errorType?: string | undefined;
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export declare class ValidationException extends __BaseException {
|
|
50
|
+
readonly name: "ValidationException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
reason?: ValidationExceptionReason | undefined;
|
|
53
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AccountServiceException as __BaseException } from "./AccountServiceException";
|
|
3
1
|
export interface AcceptPrimaryEmailUpdateRequest {
|
|
4
2
|
AccountId: string | undefined;
|
|
5
3
|
PrimaryEmail: string | undefined;
|
|
@@ -14,48 +12,6 @@ export type PrimaryEmailUpdateStatus =
|
|
|
14
12
|
export interface AcceptPrimaryEmailUpdateResponse {
|
|
15
13
|
Status?: PrimaryEmailUpdateStatus | undefined;
|
|
16
14
|
}
|
|
17
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
18
|
-
readonly name: "AccessDeniedException";
|
|
19
|
-
readonly $fault: "client";
|
|
20
|
-
errorType?: string | undefined;
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
export declare class ConflictException extends __BaseException {
|
|
26
|
-
readonly name: "ConflictException";
|
|
27
|
-
readonly $fault: "client";
|
|
28
|
-
errorType?: string | undefined;
|
|
29
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
30
|
-
}
|
|
31
|
-
export declare class InternalServerException extends __BaseException {
|
|
32
|
-
readonly name: "InternalServerException";
|
|
33
|
-
readonly $fault: "server";
|
|
34
|
-
$retryable: {};
|
|
35
|
-
errorType?: string | undefined;
|
|
36
|
-
constructor(
|
|
37
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
41
|
-
readonly name: "ResourceNotFoundException";
|
|
42
|
-
readonly $fault: "client";
|
|
43
|
-
errorType?: string | undefined;
|
|
44
|
-
constructor(
|
|
45
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
49
|
-
readonly name: "TooManyRequestsException";
|
|
50
|
-
readonly $fault: "client";
|
|
51
|
-
$retryable: {
|
|
52
|
-
throttling: boolean;
|
|
53
|
-
};
|
|
54
|
-
errorType?: string | undefined;
|
|
55
|
-
constructor(
|
|
56
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
15
|
export interface ValidationExceptionField {
|
|
60
16
|
name: string | undefined;
|
|
61
17
|
message: string | undefined;
|
|
@@ -66,15 +22,6 @@ export declare const ValidationExceptionReason: {
|
|
|
66
22
|
};
|
|
67
23
|
export type ValidationExceptionReason =
|
|
68
24
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
69
|
-
export declare class ValidationException extends __BaseException {
|
|
70
|
-
readonly name: "ValidationException";
|
|
71
|
-
readonly $fault: "client";
|
|
72
|
-
reason?: ValidationExceptionReason | undefined;
|
|
73
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
25
|
export interface GetAccountInformationRequest {
|
|
79
26
|
AccountId?: string | undefined;
|
|
80
27
|
}
|
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.935.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,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|