@aws-sdk/client-mpa 3.933.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 +94 -93
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +93 -0
- package/dist-es/models/errors.js +130 -0
- package/dist-es/models/models_0.js +1 -223
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +213 -0
- package/dist-types/models/errors.d.ts +161 -0
- package/dist-types/models/models_0.d.ts +1 -374
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +118 -0
- package/dist-types/ts3.4/models/errors.d.ts +74 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -192
- 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
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionCompletionStrategy: {
|
|
6
|
+
readonly AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type ActionCompletionStrategy = (typeof ActionCompletionStrategy)[keyof typeof ActionCompletionStrategy];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const IdentityStatus: {
|
|
17
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
18
|
+
readonly INVALID: "INVALID";
|
|
19
|
+
readonly PENDING: "PENDING";
|
|
20
|
+
readonly REJECTED: "REJECTED";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type IdentityStatus = (typeof IdentityStatus)[keyof typeof IdentityStatus];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const ApprovalTeamStatus: {
|
|
31
|
+
readonly ACTIVE: "ACTIVE";
|
|
32
|
+
readonly DELETING: "DELETING";
|
|
33
|
+
readonly INACTIVE: "INACTIVE";
|
|
34
|
+
readonly PENDING: "PENDING";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type ApprovalTeamStatus = (typeof ApprovalTeamStatus)[keyof typeof ApprovalTeamStatus];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @enum
|
|
43
|
+
*/
|
|
44
|
+
export declare const ApprovalTeamStatusCode: {
|
|
45
|
+
readonly DELETE_FAILED_APPROVAL: "DELETE_FAILED_APPROVAL";
|
|
46
|
+
readonly DELETE_FAILED_VALIDATION: "DELETE_FAILED_VALIDATION";
|
|
47
|
+
readonly DELETE_PENDING_APPROVAL: "DELETE_PENDING_APPROVAL";
|
|
48
|
+
readonly FAILED_ACTIVATION: "FAILED_ACTIVATION";
|
|
49
|
+
readonly FAILED_VALIDATION: "FAILED_VALIDATION";
|
|
50
|
+
readonly PENDING_ACTIVATION: "PENDING_ACTIVATION";
|
|
51
|
+
readonly UPDATE_FAILED_ACTIVATION: "UPDATE_FAILED_ACTIVATION";
|
|
52
|
+
readonly UPDATE_FAILED_APPROVAL: "UPDATE_FAILED_APPROVAL";
|
|
53
|
+
readonly UPDATE_FAILED_VALIDATION: "UPDATE_FAILED_VALIDATION";
|
|
54
|
+
readonly UPDATE_PENDING_ACTIVATION: "UPDATE_PENDING_ACTIVATION";
|
|
55
|
+
readonly UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL";
|
|
56
|
+
readonly VALIDATING: "VALIDATING";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export type ApprovalTeamStatusCode = (typeof ApprovalTeamStatusCode)[keyof typeof ApprovalTeamStatusCode];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const PolicyType: {
|
|
67
|
+
readonly AWS_MANAGED: "AWS_MANAGED";
|
|
68
|
+
readonly AWS_RAM: "AWS_RAM";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const PolicyStatus: {
|
|
79
|
+
readonly ATTACHABLE: "ATTACHABLE";
|
|
80
|
+
readonly DEPRECATED: "DEPRECATED";
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export type PolicyStatus = (typeof PolicyStatus)[keyof typeof PolicyStatus];
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* @enum
|
|
89
|
+
*/
|
|
90
|
+
export declare const IdentitySourceType: {
|
|
91
|
+
readonly IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER";
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export type IdentitySourceType = (typeof IdentitySourceType)[keyof typeof IdentitySourceType];
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* @enum
|
|
100
|
+
*/
|
|
101
|
+
export declare const IdentitySourceStatus: {
|
|
102
|
+
readonly ACTIVE: "ACTIVE";
|
|
103
|
+
readonly CREATING: "CREATING";
|
|
104
|
+
readonly DELETING: "DELETING";
|
|
105
|
+
readonly ERROR: "ERROR";
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export type IdentitySourceStatus = (typeof IdentitySourceStatus)[keyof typeof IdentitySourceStatus];
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* @enum
|
|
114
|
+
*/
|
|
115
|
+
export declare const IdentitySourceStatusCode: {
|
|
116
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
117
|
+
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
118
|
+
readonly IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND";
|
|
119
|
+
readonly IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type IdentitySourceStatusCode = (typeof IdentitySourceStatusCode)[keyof typeof IdentitySourceStatusCode];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const SessionResponse: {
|
|
130
|
+
readonly APPROVED: "APPROVED";
|
|
131
|
+
readonly NO_RESPONSE: "NO_RESPONSE";
|
|
132
|
+
readonly REJECTED: "REJECTED";
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export type SessionResponse = (typeof SessionResponse)[keyof typeof SessionResponse];
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @enum
|
|
141
|
+
*/
|
|
142
|
+
export declare const SessionExecutionStatus: {
|
|
143
|
+
readonly EXECUTED: "EXECUTED";
|
|
144
|
+
readonly FAILED: "FAILED";
|
|
145
|
+
readonly PENDING: "PENDING";
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export type SessionExecutionStatus = (typeof SessionExecutionStatus)[keyof typeof SessionExecutionStatus];
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
* @enum
|
|
154
|
+
*/
|
|
155
|
+
export declare const SessionStatus: {
|
|
156
|
+
readonly APPROVED: "APPROVED";
|
|
157
|
+
readonly CANCELLED: "CANCELLED";
|
|
158
|
+
readonly CREATING: "CREATING";
|
|
159
|
+
readonly FAILED: "FAILED";
|
|
160
|
+
readonly PENDING: "PENDING";
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* @enum
|
|
169
|
+
*/
|
|
170
|
+
export declare const SessionStatusCode: {
|
|
171
|
+
readonly CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED";
|
|
172
|
+
readonly EXPIRED: "EXPIRED";
|
|
173
|
+
readonly REJECTED: "REJECTED";
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export type SessionStatusCode = (typeof SessionStatusCode)[keyof typeof SessionStatusCode];
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
* @enum
|
|
182
|
+
*/
|
|
183
|
+
export declare const FilterField: {
|
|
184
|
+
readonly ACTION_NAME: "ActionName";
|
|
185
|
+
readonly APPROVAL_TEAM_NAME: "ApprovalTeamName";
|
|
186
|
+
readonly INITIATION_TIME: "InitiationTime";
|
|
187
|
+
readonly SESSION_STATUS: "SessionStatus";
|
|
188
|
+
readonly VOTE: "Vote";
|
|
189
|
+
readonly VOTING_TIME: "VotingTime";
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export type FilterField = (typeof FilterField)[keyof typeof FilterField];
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
* @enum
|
|
198
|
+
*/
|
|
199
|
+
export declare const Operator: {
|
|
200
|
+
readonly BETWEEN: "BETWEEN";
|
|
201
|
+
readonly CONTAINS: "CONTAINS";
|
|
202
|
+
readonly DOES_NOT_CONTAIN: "NOT_CONTAINS";
|
|
203
|
+
readonly EQUALS: "EQ";
|
|
204
|
+
readonly GREATER_THAN: "GT";
|
|
205
|
+
readonly GREATER_THAN_OR_EQUAL_TO: "GTE";
|
|
206
|
+
readonly LESS_THAN: "LT";
|
|
207
|
+
readonly LESS_THAN_OR_EQUAL_TO: "LTE";
|
|
208
|
+
readonly NOT_EQUALS: "NE";
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
export type Operator = (typeof Operator)[keyof typeof Operator];
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { MPAServiceException as __BaseException } from "./MPAServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* <p>Message for the <code>AccessDeniedException</code> error.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
Message: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>The request cannot be completed because it conflicts with the current state of a resource.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class ConflictException extends __BaseException {
|
|
25
|
+
readonly name: "ConflictException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
/**
|
|
28
|
+
* <p>Message for the <code>ConflictException</code> error.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
Message: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class InternalServerException extends __BaseException {
|
|
42
|
+
readonly name: "InternalServerException";
|
|
43
|
+
readonly $fault: "server";
|
|
44
|
+
$retryable: {};
|
|
45
|
+
/**
|
|
46
|
+
* <p>Message for the <code>InternalServerException</code> error.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
Message: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The request exceeds the service quota for your account. Request a quota increase or reduce your request size.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
+
readonly name: "ServiceQuotaExceededException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* <p>Message for the <code>ServiceQuotaExceededException</code> error.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
Message: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* <p>The request was denied due to request throttling.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class ThrottlingException extends __BaseException {
|
|
77
|
+
readonly name: "ThrottlingException";
|
|
78
|
+
readonly $fault: "client";
|
|
79
|
+
/**
|
|
80
|
+
* <p>Message for the <code>ThrottlingException</code> error.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
Message: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ValidationException extends __BaseException {
|
|
94
|
+
readonly name: "ValidationException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
/**
|
|
97
|
+
* <p>Message for the <code>ValidationException</code> error.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
Message: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
111
|
+
readonly name: "ResourceNotFoundException";
|
|
112
|
+
readonly $fault: "client";
|
|
113
|
+
/**
|
|
114
|
+
* <p>Message for the <code>ResourceNotFoundException</code> error.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
Message: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* <p>The request contains an invalid parameter value.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
128
|
+
readonly name: "InvalidParameterException";
|
|
129
|
+
readonly $fault: "client";
|
|
130
|
+
/**
|
|
131
|
+
* <p>Message for the <code>InvalidParameterException</code> error.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
Message: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>The request exceeds the maximum number of tags allowed for this resource. Remove some tags, and try again.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
145
|
+
readonly name: "TooManyTagsException";
|
|
146
|
+
readonly $fault: "client";
|
|
147
|
+
/**
|
|
148
|
+
* <p>Message for the <code>TooManyTagsException</code> error.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
Message: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>Name of the resource for the <code>TooManyTagsException</code> error.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
ResourceName?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
161
|
+
}
|