@aws-sdk/client-identitystore 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.
@@ -45,13 +45,12 @@ class InternalServerException extends IdentitystoreServiceException_1.Identityst
45
45
  }
46
46
  }
47
47
  exports.InternalServerException = InternalServerException;
48
- var ResourceType;
49
- (function (ResourceType) {
50
- ResourceType["GROUP"] = "GROUP";
51
- ResourceType["GROUP_MEMBERSHIP"] = "GROUP_MEMBERSHIP";
52
- ResourceType["IDENTITY_STORE"] = "IDENTITY_STORE";
53
- ResourceType["USER"] = "USER";
54
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
48
+ exports.ResourceType = {
49
+ GROUP: "GROUP",
50
+ GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
51
+ IDENTITY_STORE: "IDENTITY_STORE",
52
+ USER: "USER",
53
+ };
55
54
  class ResourceNotFoundException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
56
55
  constructor(opts) {
57
56
  super({
@@ -111,11 +110,10 @@ var MemberId;
111
110
  return visitor._(value.$unknown[0], value.$unknown[1]);
112
111
  };
113
112
  })(MemberId = exports.MemberId || (exports.MemberId = {}));
114
- var ConflictExceptionReason;
115
- (function (ConflictExceptionReason) {
116
- ConflictExceptionReason["CONCURRENT_MODIFICATION"] = "CONCURRENT_MODIFICATION";
117
- ConflictExceptionReason["UNIQUENESS_CONSTRAINT_VIOLATION"] = "UNIQUENESS_CONSTRAINT_VIOLATION";
118
- })(ConflictExceptionReason = exports.ConflictExceptionReason || (exports.ConflictExceptionReason = {}));
113
+ exports.ConflictExceptionReason = {
114
+ CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
115
+ UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION",
116
+ };
119
117
  class ConflictException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
120
118
  constructor(opts) {
121
119
  super({
@@ -40,13 +40,12 @@ export class InternalServerException extends __BaseException {
40
40
  this.RetryAfterSeconds = opts.RetryAfterSeconds;
41
41
  }
42
42
  }
43
- export var ResourceType;
44
- (function (ResourceType) {
45
- ResourceType["GROUP"] = "GROUP";
46
- ResourceType["GROUP_MEMBERSHIP"] = "GROUP_MEMBERSHIP";
47
- ResourceType["IDENTITY_STORE"] = "IDENTITY_STORE";
48
- ResourceType["USER"] = "USER";
49
- })(ResourceType || (ResourceType = {}));
43
+ export const ResourceType = {
44
+ GROUP: "GROUP",
45
+ GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
46
+ IDENTITY_STORE: "IDENTITY_STORE",
47
+ USER: "USER",
48
+ };
50
49
  export class ResourceNotFoundException extends __BaseException {
51
50
  constructor(opts) {
52
51
  super({
@@ -103,11 +102,10 @@ export var MemberId;
103
102
  return visitor._(value.$unknown[0], value.$unknown[1]);
104
103
  };
105
104
  })(MemberId || (MemberId = {}));
106
- export var ConflictExceptionReason;
107
- (function (ConflictExceptionReason) {
108
- ConflictExceptionReason["CONCURRENT_MODIFICATION"] = "CONCURRENT_MODIFICATION";
109
- ConflictExceptionReason["UNIQUENESS_CONSTRAINT_VIOLATION"] = "UNIQUENESS_CONSTRAINT_VIOLATION";
110
- })(ConflictExceptionReason || (ConflictExceptionReason = {}));
105
+ export const ConflictExceptionReason = {
106
+ CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
107
+ UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION",
108
+ };
111
109
  export class ConflictException extends __BaseException {
112
110
  constructor(opts) {
113
111
  super({
@@ -205,13 +205,18 @@ export declare class InternalServerException extends __BaseException {
205
205
  }
206
206
  /**
207
207
  * @public
208
+ * @enum
208
209
  */
209
- export declare enum ResourceType {
210
- GROUP = "GROUP",
211
- GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
212
- IDENTITY_STORE = "IDENTITY_STORE",
213
- USER = "USER"
214
- }
210
+ export declare const ResourceType: {
211
+ readonly GROUP: "GROUP";
212
+ readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
213
+ readonly IDENTITY_STORE: "IDENTITY_STORE";
214
+ readonly USER: "USER";
215
+ };
216
+ /**
217
+ * @public
218
+ */
219
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
215
220
  /**
216
221
  * @public
217
222
  * <p>Indicates that a requested resource is not found.</p>
@@ -371,11 +376,16 @@ export interface GetUserIdResponse {
371
376
  }
372
377
  /**
373
378
  * @public
379
+ * @enum
374
380
  */
375
- export declare enum ConflictExceptionReason {
376
- CONCURRENT_MODIFICATION = "CONCURRENT_MODIFICATION",
377
- UNIQUENESS_CONSTRAINT_VIOLATION = "UNIQUENESS_CONSTRAINT_VIOLATION"
378
- }
381
+ export declare const ConflictExceptionReason: {
382
+ readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
383
+ readonly UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION";
384
+ };
385
+ /**
386
+ * @public
387
+ */
388
+ export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
379
389
  /**
380
390
  * @public
381
391
  * <p>This request cannot be completed for one of the following reasons:</p>
@@ -78,12 +78,13 @@ export declare class InternalServerException extends __BaseException {
78
78
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
79
79
  );
80
80
  }
81
- export declare enum ResourceType {
82
- GROUP = "GROUP",
83
- GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
84
- IDENTITY_STORE = "IDENTITY_STORE",
85
- USER = "USER",
86
- }
81
+ export declare const ResourceType: {
82
+ readonly GROUP: "GROUP";
83
+ readonly GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP";
84
+ readonly IDENTITY_STORE: "IDENTITY_STORE";
85
+ readonly USER: "USER";
86
+ };
87
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
87
88
  export declare class ResourceNotFoundException extends __BaseException {
88
89
  readonly name: "ResourceNotFoundException";
89
90
  readonly $fault: "client";
@@ -150,10 +151,12 @@ export interface GetUserIdResponse {
150
151
  UserId: string | undefined;
151
152
  IdentityStoreId: string | undefined;
152
153
  }
153
- export declare enum ConflictExceptionReason {
154
- CONCURRENT_MODIFICATION = "CONCURRENT_MODIFICATION",
155
- UNIQUENESS_CONSTRAINT_VIOLATION = "UNIQUENESS_CONSTRAINT_VIOLATION",
156
- }
154
+ export declare const ConflictExceptionReason: {
155
+ readonly CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION";
156
+ readonly UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION";
157
+ };
158
+ export type ConflictExceptionReason =
159
+ (typeof ConflictExceptionReason)[keyof typeof ConflictExceptionReason];
157
160
  export declare class ConflictException extends __BaseException {
158
161
  readonly name: "ConflictException";
159
162
  readonly $fault: "client";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-identitystore",
3
3
  "description": "AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
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.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
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.295.0",
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",