@aws-sdk/client-mpa 3.929.0 → 3.930.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 CHANGED
@@ -132,22 +132,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends MPAServiceExce
132
132
  const ActionCompletionStrategy = {
133
133
  AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
134
134
  };
135
- exports.ApprovalStrategy = void 0;
136
- (function (ApprovalStrategy) {
137
- ApprovalStrategy.visit = (value, visitor) => {
138
- if (value.MofN !== undefined)
139
- return visitor.MofN(value.MofN);
140
- return visitor._(value.$unknown[0], value.$unknown[1]);
141
- };
142
- })(exports.ApprovalStrategy || (exports.ApprovalStrategy = {}));
143
- exports.ApprovalStrategyResponse = void 0;
144
- (function (ApprovalStrategyResponse) {
145
- ApprovalStrategyResponse.visit = (value, visitor) => {
146
- if (value.MofN !== undefined)
147
- return visitor.MofN(value.MofN);
148
- return visitor._(value.$unknown[0], value.$unknown[1]);
149
- };
150
- })(exports.ApprovalStrategyResponse || (exports.ApprovalStrategyResponse = {}));
151
135
  let ConflictException$1 = class ConflictException extends MPAServiceException$1 {
152
136
  name = "ConflictException";
153
137
  $fault = "client";
@@ -284,14 +268,6 @@ let InvalidParameterException$1 = class InvalidParameterException extends MPASer
284
268
  const IdentitySourceType = {
285
269
  IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER",
286
270
  };
287
- exports.IdentitySourceParametersForGet = void 0;
288
- (function (IdentitySourceParametersForGet) {
289
- IdentitySourceParametersForGet.visit = (value, visitor) => {
290
- if (value.IamIdentityCenter !== undefined)
291
- return visitor.IamIdentityCenter(value.IamIdentityCenter);
292
- return visitor._(value.$unknown[0], value.$unknown[1]);
293
- };
294
- })(exports.IdentitySourceParametersForGet || (exports.IdentitySourceParametersForGet = {}));
295
271
  const IdentitySourceStatus = {
296
272
  ACTIVE: "ACTIVE",
297
273
  CREATING: "CREATING",
@@ -304,14 +280,6 @@ const IdentitySourceStatusCode = {
304
280
  IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND",
305
281
  IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID",
306
282
  };
307
- exports.IdentitySourceParametersForList = void 0;
308
- (function (IdentitySourceParametersForList) {
309
- IdentitySourceParametersForList.visit = (value, visitor) => {
310
- if (value.IamIdentityCenter !== undefined)
311
- return visitor.IamIdentityCenter(value.IamIdentityCenter);
312
- return visitor._(value.$unknown[0], value.$unknown[1]);
313
- };
314
- })(exports.IdentitySourceParametersForList || (exports.IdentitySourceParametersForList = {}));
315
283
  const SessionResponse = {
316
284
  APPROVED: "APPROVED",
317
285
  NO_RESPONSE: "NO_RESPONSE",
@@ -16,22 +16,6 @@ export class AccessDeniedException extends __BaseException {
16
16
  export const ActionCompletionStrategy = {
17
17
  AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
18
18
  };
19
- export var ApprovalStrategy;
20
- (function (ApprovalStrategy) {
21
- ApprovalStrategy.visit = (value, visitor) => {
22
- if (value.MofN !== undefined)
23
- return visitor.MofN(value.MofN);
24
- return visitor._(value.$unknown[0], value.$unknown[1]);
25
- };
26
- })(ApprovalStrategy || (ApprovalStrategy = {}));
27
- export var ApprovalStrategyResponse;
28
- (function (ApprovalStrategyResponse) {
29
- ApprovalStrategyResponse.visit = (value, visitor) => {
30
- if (value.MofN !== undefined)
31
- return visitor.MofN(value.MofN);
32
- return visitor._(value.$unknown[0], value.$unknown[1]);
33
- };
34
- })(ApprovalStrategyResponse || (ApprovalStrategyResponse = {}));
35
19
  export class ConflictException extends __BaseException {
36
20
  name = "ConflictException";
37
21
  $fault = "client";
@@ -168,14 +152,6 @@ export class InvalidParameterException extends __BaseException {
168
152
  export const IdentitySourceType = {
169
153
  IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER",
170
154
  };
171
- export var IdentitySourceParametersForGet;
172
- (function (IdentitySourceParametersForGet) {
173
- IdentitySourceParametersForGet.visit = (value, visitor) => {
174
- if (value.IamIdentityCenter !== undefined)
175
- return visitor.IamIdentityCenter(value.IamIdentityCenter);
176
- return visitor._(value.$unknown[0], value.$unknown[1]);
177
- };
178
- })(IdentitySourceParametersForGet || (IdentitySourceParametersForGet = {}));
179
155
  export const IdentitySourceStatus = {
180
156
  ACTIVE: "ACTIVE",
181
157
  CREATING: "CREATING",
@@ -188,14 +164,6 @@ export const IdentitySourceStatusCode = {
188
164
  IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND",
189
165
  IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID",
190
166
  };
191
- export var IdentitySourceParametersForList;
192
- (function (IdentitySourceParametersForList) {
193
- IdentitySourceParametersForList.visit = (value, visitor) => {
194
- if (value.IamIdentityCenter !== undefined)
195
- return visitor.IamIdentityCenter(value.IamIdentityCenter);
196
- return visitor._(value.$unknown[0], value.$unknown[1]);
197
- };
198
- })(IdentitySourceParametersForList || (IdentitySourceParametersForList = {}));
199
167
  export const SessionResponse = {
200
168
  APPROVED: "APPROVED",
201
169
  NO_RESPONSE: "NO_RESPONSE",
@@ -63,11 +63,14 @@ export declare namespace ApprovalStrategy {
63
63
  MofN?: never;
64
64
  $unknown: [string, any];
65
65
  }
66
+ /**
67
+ * @deprecated unused in schema-serde mode.
68
+ *
69
+ */
66
70
  interface Visitor<T> {
67
71
  MofN: (value: MofNApprovalStrategy) => T;
68
72
  _: (name: string, value: any) => T;
69
73
  }
70
- const visit: <T>(value: ApprovalStrategy, visitor: Visitor<T>) => T;
71
74
  }
72
75
  /**
73
76
  * <p>Contains details for how an approval team grants approval.</p>
@@ -93,11 +96,14 @@ export declare namespace ApprovalStrategyResponse {
93
96
  MofN?: never;
94
97
  $unknown: [string, any];
95
98
  }
99
+ /**
100
+ * @deprecated unused in schema-serde mode.
101
+ *
102
+ */
96
103
  interface Visitor<T> {
97
104
  MofN: (value: MofNApprovalStrategy) => T;
98
105
  _: (name: string, value: any) => T;
99
106
  }
100
- const visit: <T>(value: ApprovalStrategyResponse, visitor: Visitor<T>) => T;
101
107
  }
102
108
  /**
103
109
  * <p>The request cannot be completed because it conflicts with the current state of a resource.</p>
@@ -992,11 +998,14 @@ export declare namespace IdentitySourceParametersForGet {
992
998
  IamIdentityCenter?: never;
993
999
  $unknown: [string, any];
994
1000
  }
1001
+ /**
1002
+ * @deprecated unused in schema-serde mode.
1003
+ *
1004
+ */
995
1005
  interface Visitor<T> {
996
1006
  IamIdentityCenter: (value: IamIdentityCenterForGet) => T;
997
1007
  _: (name: string, value: any) => T;
998
1008
  }
999
- const visit: <T>(value: IdentitySourceParametersForGet, visitor: Visitor<T>) => T;
1000
1009
  }
1001
1010
  /**
1002
1011
  * @public
@@ -1126,11 +1135,14 @@ export declare namespace IdentitySourceParametersForList {
1126
1135
  IamIdentityCenter?: never;
1127
1136
  $unknown: [string, any];
1128
1137
  }
1138
+ /**
1139
+ * @deprecated unused in schema-serde mode.
1140
+ *
1141
+ */
1129
1142
  interface Visitor<T> {
1130
1143
  IamIdentityCenter: (value: IamIdentityCenterForList) => T;
1131
1144
  _: (name: string, value: any) => T;
1132
1145
  }
1133
- const visit: <T>(value: IdentitySourceParametersForList, visitor: Visitor<T>) => T;
1134
1146
  }
1135
1147
  /**
1136
1148
  * <p>Contains details for an identity source. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Identity source</a> in the <i>Multi-party approval User Guide</i>.</p>
@@ -32,7 +32,6 @@ export declare namespace ApprovalStrategy {
32
32
  MofN: (value: MofNApprovalStrategy) => T;
33
33
  _: (name: string, value: any) => T;
34
34
  }
35
- const visit: <T>(value: ApprovalStrategy, visitor: Visitor<T>) => T;
36
35
  }
37
36
  export type ApprovalStrategyResponse =
38
37
  | ApprovalStrategyResponse.MofNMember
@@ -50,7 +49,6 @@ export declare namespace ApprovalStrategyResponse {
50
49
  MofN: (value: MofNApprovalStrategy) => T;
51
50
  _: (name: string, value: any) => T;
52
51
  }
53
- const visit: <T>(value: ApprovalStrategyResponse, visitor: Visitor<T>) => T;
54
52
  }
55
53
  export declare class ConflictException extends __BaseException {
56
54
  readonly name: "ConflictException";
@@ -329,10 +327,6 @@ export declare namespace IdentitySourceParametersForGet {
329
327
  IamIdentityCenter: (value: IamIdentityCenterForGet) => T;
330
328
  _: (name: string, value: any) => T;
331
329
  }
332
- const visit: <T>(
333
- value: IdentitySourceParametersForGet,
334
- visitor: Visitor<T>
335
- ) => T;
336
330
  }
337
331
  export declare const IdentitySourceStatus: {
338
332
  readonly ACTIVE: "ACTIVE";
@@ -384,10 +378,6 @@ export declare namespace IdentitySourceParametersForList {
384
378
  IamIdentityCenter: (value: IamIdentityCenterForList) => T;
385
379
  _: (name: string, value: any) => T;
386
380
  }
387
- const visit: <T>(
388
- value: IdentitySourceParametersForList,
389
- visitor: Visitor<T>
390
- ) => T;
391
381
  }
392
382
  export interface IdentitySourceForList {
393
383
  IdentitySourceType?: IdentitySourceType | 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.929.0",
4
+ "version": "3.930.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,41 +20,41 @@
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.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
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",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
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.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },