@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.
@@ -1,18 +1,20 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MPAServiceException as __BaseException } from "./MPAServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- Message: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const ActionCompletionStrategy: {
12
- readonly AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL";
13
- };
14
- export type ActionCompletionStrategy =
15
- (typeof ActionCompletionStrategy)[keyof typeof ActionCompletionStrategy];
1
+ import {
2
+ ActionCompletionStrategy,
3
+ ApprovalTeamStatus,
4
+ ApprovalTeamStatusCode,
5
+ FilterField,
6
+ IdentitySourceStatus,
7
+ IdentitySourceStatusCode,
8
+ IdentitySourceType,
9
+ IdentityStatus,
10
+ Operator,
11
+ PolicyStatus,
12
+ PolicyType,
13
+ SessionExecutionStatus,
14
+ SessionResponse,
15
+ SessionStatus,
16
+ SessionStatusCode,
17
+ } from "./enums";
16
18
  export interface MofNApprovalStrategy {
17
19
  MinApprovalsRequired: number | undefined;
18
20
  }
@@ -50,12 +52,6 @@ export declare namespace ApprovalStrategyResponse {
50
52
  _: (name: string, value: any) => T;
51
53
  }
52
54
  }
53
- export declare class ConflictException extends __BaseException {
54
- readonly name: "ConflictException";
55
- readonly $fault: "client";
56
- Message: string | undefined;
57
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
58
- }
59
55
  export interface ApprovalTeamRequestApprover {
60
56
  PrimaryIdentityId: string | undefined;
61
57
  PrimaryIdentitySourceArn: string | undefined;
@@ -78,63 +74,14 @@ export interface CreateApprovalTeamResponse {
78
74
  Name?: string | undefined;
79
75
  VersionId?: string | undefined;
80
76
  }
81
- export declare class InternalServerException extends __BaseException {
82
- readonly name: "InternalServerException";
83
- readonly $fault: "server";
84
- $retryable: {};
85
- Message: string | undefined;
86
- constructor(
87
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
88
- );
89
- }
90
- export declare class ServiceQuotaExceededException extends __BaseException {
91
- readonly name: "ServiceQuotaExceededException";
92
- readonly $fault: "client";
93
- Message: string | undefined;
94
- constructor(
95
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
96
- );
97
- }
98
- export declare class ThrottlingException extends __BaseException {
99
- readonly name: "ThrottlingException";
100
- readonly $fault: "client";
101
- Message: string | undefined;
102
- constructor(
103
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
104
- );
105
- }
106
- export declare class ValidationException extends __BaseException {
107
- readonly name: "ValidationException";
108
- readonly $fault: "client";
109
- Message: string | undefined;
110
- constructor(
111
- opts: __ExceptionOptionType<ValidationException, __BaseException>
112
- );
113
- }
114
77
  export interface DeleteInactiveApprovalTeamVersionRequest {
115
78
  Arn: string | undefined;
116
79
  VersionId: string | undefined;
117
80
  }
118
81
  export interface DeleteInactiveApprovalTeamVersionResponse {}
119
- export declare class ResourceNotFoundException extends __BaseException {
120
- readonly name: "ResourceNotFoundException";
121
- readonly $fault: "client";
122
- Message: string | undefined;
123
- constructor(
124
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
125
- );
126
- }
127
82
  export interface GetApprovalTeamRequest {
128
83
  Arn: string | undefined;
129
84
  }
130
- export declare const IdentityStatus: {
131
- readonly ACCEPTED: "ACCEPTED";
132
- readonly INVALID: "INVALID";
133
- readonly PENDING: "PENDING";
134
- readonly REJECTED: "REJECTED";
135
- };
136
- export type IdentityStatus =
137
- (typeof IdentityStatus)[keyof typeof IdentityStatus];
138
85
  export interface GetApprovalTeamResponseApprover {
139
86
  ApproverId?: string | undefined;
140
87
  ResponseTime?: Date | undefined;
@@ -142,30 +89,6 @@ export interface GetApprovalTeamResponseApprover {
142
89
  PrimaryIdentitySourceArn?: string | undefined;
143
90
  PrimaryIdentityStatus?: IdentityStatus | undefined;
144
91
  }
145
- export declare const ApprovalTeamStatus: {
146
- readonly ACTIVE: "ACTIVE";
147
- readonly DELETING: "DELETING";
148
- readonly INACTIVE: "INACTIVE";
149
- readonly PENDING: "PENDING";
150
- };
151
- export type ApprovalTeamStatus =
152
- (typeof ApprovalTeamStatus)[keyof typeof ApprovalTeamStatus];
153
- export declare const ApprovalTeamStatusCode: {
154
- readonly DELETE_FAILED_APPROVAL: "DELETE_FAILED_APPROVAL";
155
- readonly DELETE_FAILED_VALIDATION: "DELETE_FAILED_VALIDATION";
156
- readonly DELETE_PENDING_APPROVAL: "DELETE_PENDING_APPROVAL";
157
- readonly FAILED_ACTIVATION: "FAILED_ACTIVATION";
158
- readonly FAILED_VALIDATION: "FAILED_VALIDATION";
159
- readonly PENDING_ACTIVATION: "PENDING_ACTIVATION";
160
- readonly UPDATE_FAILED_ACTIVATION: "UPDATE_FAILED_ACTIVATION";
161
- readonly UPDATE_FAILED_APPROVAL: "UPDATE_FAILED_APPROVAL";
162
- readonly UPDATE_FAILED_VALIDATION: "UPDATE_FAILED_VALIDATION";
163
- readonly UPDATE_PENDING_ACTIVATION: "UPDATE_PENDING_ACTIVATION";
164
- readonly UPDATE_PENDING_APPROVAL: "UPDATE_PENDING_APPROVAL";
165
- readonly VALIDATING: "VALIDATING";
166
- };
167
- export type ApprovalTeamStatusCode =
168
- (typeof ApprovalTeamStatusCode)[keyof typeof ApprovalTeamStatusCode];
169
92
  export interface PendingUpdate {
170
93
  VersionId?: string | undefined;
171
94
  Description?: string | undefined;
@@ -233,16 +156,6 @@ export interface UpdateApprovalTeamResponse {
233
156
  export interface GetPolicyVersionRequest {
234
157
  PolicyVersionArn: string | undefined;
235
158
  }
236
- export declare const PolicyType: {
237
- readonly AWS_MANAGED: "AWS_MANAGED";
238
- readonly AWS_RAM: "AWS_RAM";
239
- };
240
- export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
241
- export declare const PolicyStatus: {
242
- readonly ATTACHABLE: "ATTACHABLE";
243
- readonly DEPRECATED: "DEPRECATED";
244
- };
245
- export type PolicyStatus = (typeof PolicyStatus)[keyof typeof PolicyStatus];
246
159
  export interface PolicyVersion {
247
160
  Arn: string | undefined;
248
161
  PolicyArn: string | undefined;
@@ -270,14 +183,6 @@ export interface GetResourcePolicyResponse {
270
183
  PolicyName: string | undefined;
271
184
  PolicyDocument: string | undefined;
272
185
  }
273
- export declare class InvalidParameterException extends __BaseException {
274
- readonly name: "InvalidParameterException";
275
- readonly $fault: "client";
276
- Message: string | undefined;
277
- constructor(
278
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
279
- );
280
- }
281
186
  export interface IamIdentityCenter {
282
187
  InstanceArn: string | undefined;
283
188
  Region: string | undefined;
@@ -290,11 +195,6 @@ export interface CreateIdentitySourceRequest {
290
195
  ClientToken?: string | undefined;
291
196
  Tags?: Record<string, string> | undefined;
292
197
  }
293
- export declare const IdentitySourceType: {
294
- readonly IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER";
295
- };
296
- export type IdentitySourceType =
297
- (typeof IdentitySourceType)[keyof typeof IdentitySourceType];
298
198
  export interface CreateIdentitySourceResponse {
299
199
  IdentitySourceType?: IdentitySourceType | undefined;
300
200
  IdentitySourceArn?: string | undefined;
@@ -328,22 +228,6 @@ export declare namespace IdentitySourceParametersForGet {
328
228
  _: (name: string, value: any) => T;
329
229
  }
330
230
  }
331
- export declare const IdentitySourceStatus: {
332
- readonly ACTIVE: "ACTIVE";
333
- readonly CREATING: "CREATING";
334
- readonly DELETING: "DELETING";
335
- readonly ERROR: "ERROR";
336
- };
337
- export type IdentitySourceStatus =
338
- (typeof IdentitySourceStatus)[keyof typeof IdentitySourceStatus];
339
- export declare const IdentitySourceStatusCode: {
340
- readonly ACCESS_DENIED: "ACCESS_DENIED";
341
- readonly DELETION_FAILED: "DELETION_FAILED";
342
- readonly IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND";
343
- readonly IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID";
344
- };
345
- export type IdentitySourceStatusCode =
346
- (typeof IdentitySourceStatusCode)[keyof typeof IdentitySourceStatusCode];
347
231
  export interface GetIdentitySourceResponse {
348
232
  IdentitySourceType?: IdentitySourceType | undefined;
349
233
  IdentitySourceParameters?: IdentitySourceParametersForGet | undefined;
@@ -453,13 +337,6 @@ export interface CancelSessionResponse {}
453
337
  export interface GetSessionRequest {
454
338
  SessionArn: string | undefined;
455
339
  }
456
- export declare const SessionResponse: {
457
- readonly APPROVED: "APPROVED";
458
- readonly NO_RESPONSE: "NO_RESPONSE";
459
- readonly REJECTED: "REJECTED";
460
- };
461
- export type SessionResponse =
462
- (typeof SessionResponse)[keyof typeof SessionResponse];
463
340
  export interface GetSessionResponseApproverResponse {
464
341
  ApproverId?: string | undefined;
465
342
  IdentitySourceArn?: string | undefined;
@@ -467,28 +344,6 @@ export interface GetSessionResponseApproverResponse {
467
344
  Response?: SessionResponse | undefined;
468
345
  ResponseTime?: Date | undefined;
469
346
  }
470
- export declare const SessionExecutionStatus: {
471
- readonly EXECUTED: "EXECUTED";
472
- readonly FAILED: "FAILED";
473
- readonly PENDING: "PENDING";
474
- };
475
- export type SessionExecutionStatus =
476
- (typeof SessionExecutionStatus)[keyof typeof SessionExecutionStatus];
477
- export declare const SessionStatus: {
478
- readonly APPROVED: "APPROVED";
479
- readonly CANCELLED: "CANCELLED";
480
- readonly CREATING: "CREATING";
481
- readonly FAILED: "FAILED";
482
- readonly PENDING: "PENDING";
483
- };
484
- export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus];
485
- export declare const SessionStatusCode: {
486
- readonly CONFIGURATION_CHANGED: "CONFIGURATION_CHANGED";
487
- readonly EXPIRED: "EXPIRED";
488
- readonly REJECTED: "REJECTED";
489
- };
490
- export type SessionStatusCode =
491
- (typeof SessionStatusCode)[keyof typeof SessionStatusCode];
492
347
  export interface GetSessionResponse {
493
348
  SessionArn?: string | undefined;
494
349
  ApprovalTeamArn?: string | undefined;
@@ -514,27 +369,6 @@ export interface GetSessionResponse {
514
369
  ActionCompletionStrategy?: ActionCompletionStrategy | undefined;
515
370
  ApproverResponses?: GetSessionResponseApproverResponse[] | undefined;
516
371
  }
517
- export declare const FilterField: {
518
- readonly ACTION_NAME: "ActionName";
519
- readonly APPROVAL_TEAM_NAME: "ApprovalTeamName";
520
- readonly INITIATION_TIME: "InitiationTime";
521
- readonly SESSION_STATUS: "SessionStatus";
522
- readonly VOTE: "Vote";
523
- readonly VOTING_TIME: "VotingTime";
524
- };
525
- export type FilterField = (typeof FilterField)[keyof typeof FilterField];
526
- export declare const Operator: {
527
- readonly BETWEEN: "BETWEEN";
528
- readonly CONTAINS: "CONTAINS";
529
- readonly DOES_NOT_CONTAIN: "NOT_CONTAINS";
530
- readonly EQUALS: "EQ";
531
- readonly GREATER_THAN: "GT";
532
- readonly GREATER_THAN_OR_EQUAL_TO: "GTE";
533
- readonly LESS_THAN: "LT";
534
- readonly LESS_THAN_OR_EQUAL_TO: "LTE";
535
- readonly NOT_EQUALS: "NE";
536
- };
537
- export type Operator = (typeof Operator)[keyof typeof Operator];
538
372
  export interface Filter {
539
373
  FieldName?: FilterField | undefined;
540
374
  Operator?: Operator | undefined;
@@ -574,15 +408,6 @@ export interface TagResourceRequest {
574
408
  Tags: Record<string, string> | undefined;
575
409
  }
576
410
  export interface TagResourceResponse {}
577
- export declare class TooManyTagsException extends __BaseException {
578
- readonly name: "TooManyTagsException";
579
- readonly $fault: "client";
580
- Message: string | undefined;
581
- ResourceName?: string | undefined;
582
- constructor(
583
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
584
- );
585
- }
586
411
  export interface UntagResourceRequest {
587
412
  ResourceArn: string | undefined;
588
413
  TagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mpa",
3
3
  "description": "AWS SDK for JavaScript Mpa Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
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-mpa",
@@ -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.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
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.932.0",
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.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
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.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
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.5",
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.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
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",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";