@aws-sdk/client-identitystore 3.171.0 → 3.174.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.174.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.173.0...v3.174.0) (2022-09-19)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-identitystore
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-identitystore
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmailFilterSensitiveLog = exports.ListGroupMembershipsForMemberResponseFilterSensitiveLog = exports.ListGroupMembershipsForMemberRequestFilterSensitiveLog = exports.IsMemberInGroupsResponseFilterSensitiveLog = exports.GroupMembershipExistenceResultFilterSensitiveLog = exports.IsMemberInGroupsRequestFilterSensitiveLog = exports.UpdateGroupResponseFilterSensitiveLog = exports.UpdateGroupRequestFilterSensitiveLog = exports.ListGroupsResponseFilterSensitiveLog = exports.GroupFilterSensitiveLog = exports.ListGroupsRequestFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DescribeGroupResponseFilterSensitiveLog = exports.DescribeGroupRequestFilterSensitiveLog = exports.DeleteGroupResponseFilterSensitiveLog = exports.DeleteGroupRequestFilterSensitiveLog = exports.CreateGroupResponseFilterSensitiveLog = exports.CreateGroupRequestFilterSensitiveLog = exports.ListGroupMembershipsResponseFilterSensitiveLog = exports.GroupMembershipFilterSensitiveLog = exports.ListGroupMembershipsRequestFilterSensitiveLog = exports.DescribeGroupMembershipResponseFilterSensitiveLog = exports.DescribeGroupMembershipRequestFilterSensitiveLog = exports.DeleteGroupMembershipResponseFilterSensitiveLog = exports.DeleteGroupMembershipRequestFilterSensitiveLog = exports.CreateGroupMembershipResponseFilterSensitiveLog = exports.CreateGroupMembershipRequestFilterSensitiveLog = exports.GetUserIdResponseFilterSensitiveLog = exports.GetUserIdRequestFilterSensitiveLog = exports.GetGroupMembershipIdResponseFilterSensitiveLog = exports.GetGroupMembershipIdRequestFilterSensitiveLog = exports.MemberIdFilterSensitiveLog = exports.GetGroupIdResponseFilterSensitiveLog = exports.GetGroupIdRequestFilterSensitiveLog = exports.AttributeOperationFilterSensitiveLog = exports.AlternateIdentifierFilterSensitiveLog = exports.UniqueAttributeFilterSensitiveLog = exports.ExternalIdFilterSensitiveLog = exports.AddressFilterSensitiveLog = exports.ThrottlingException = exports.InternalServerException = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ConflictExceptionReason = exports.MemberId = exports.ValidationException = exports.ResourceNotFoundException = exports.ResourceType = exports.AlternateIdentifier = exports.AccessDeniedException = void 0;
3
+ exports.EmailFilterSensitiveLog = exports.ListGroupMembershipsForMemberResponseFilterSensitiveLog = exports.ListGroupMembershipsForMemberRequestFilterSensitiveLog = exports.IsMemberInGroupsResponseFilterSensitiveLog = exports.GroupMembershipExistenceResultFilterSensitiveLog = exports.IsMemberInGroupsRequestFilterSensitiveLog = exports.UpdateGroupResponseFilterSensitiveLog = exports.UpdateGroupRequestFilterSensitiveLog = exports.ListGroupsResponseFilterSensitiveLog = exports.GroupFilterSensitiveLog = exports.ListGroupsRequestFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DescribeGroupResponseFilterSensitiveLog = exports.DescribeGroupRequestFilterSensitiveLog = exports.DeleteGroupResponseFilterSensitiveLog = exports.DeleteGroupRequestFilterSensitiveLog = exports.CreateGroupResponseFilterSensitiveLog = exports.CreateGroupRequestFilterSensitiveLog = exports.ListGroupMembershipsResponseFilterSensitiveLog = exports.GroupMembershipFilterSensitiveLog = exports.ListGroupMembershipsRequestFilterSensitiveLog = exports.DescribeGroupMembershipResponseFilterSensitiveLog = exports.DescribeGroupMembershipRequestFilterSensitiveLog = exports.DeleteGroupMembershipResponseFilterSensitiveLog = exports.DeleteGroupMembershipRequestFilterSensitiveLog = exports.CreateGroupMembershipResponseFilterSensitiveLog = exports.CreateGroupMembershipRequestFilterSensitiveLog = exports.GetUserIdResponseFilterSensitiveLog = exports.GetUserIdRequestFilterSensitiveLog = exports.GetGroupMembershipIdResponseFilterSensitiveLog = exports.GetGroupMembershipIdRequestFilterSensitiveLog = exports.MemberIdFilterSensitiveLog = exports.GetGroupIdResponseFilterSensitiveLog = exports.GetGroupIdRequestFilterSensitiveLog = exports.AttributeOperationFilterSensitiveLog = exports.AlternateIdentifierFilterSensitiveLog = exports.UniqueAttributeFilterSensitiveLog = exports.ExternalIdFilterSensitiveLog = exports.AddressFilterSensitiveLog = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ConflictExceptionReason = exports.MemberId = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.AlternateIdentifier = exports.AccessDeniedException = void 0;
4
4
  exports.UpdateUserResponseFilterSensitiveLog = exports.UpdateUserRequestFilterSensitiveLog = exports.ListUsersResponseFilterSensitiveLog = exports.UserFilterSensitiveLog = exports.ListUsersRequestFilterSensitiveLog = exports.DescribeUserResponseFilterSensitiveLog = exports.DescribeUserRequestFilterSensitiveLog = exports.DeleteUserResponseFilterSensitiveLog = exports.DeleteUserRequestFilterSensitiveLog = exports.CreateUserResponseFilterSensitiveLog = exports.CreateUserRequestFilterSensitiveLog = exports.PhoneNumberFilterSensitiveLog = exports.NameFilterSensitiveLog = void 0;
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const IdentitystoreServiceException_1 = require("./IdentitystoreServiceException");
@@ -29,6 +29,23 @@ var AlternateIdentifier;
29
29
  return visitor._(value.$unknown[0], value.$unknown[1]);
30
30
  };
31
31
  })(AlternateIdentifier = exports.AlternateIdentifier || (exports.AlternateIdentifier = {}));
32
+ class InternalServerException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
33
+ constructor(opts) {
34
+ super({
35
+ name: "InternalServerException",
36
+ $fault: "server",
37
+ ...opts,
38
+ });
39
+ this.name = "InternalServerException";
40
+ this.$fault = "server";
41
+ this.$retryable = {};
42
+ Object.setPrototypeOf(this, InternalServerException.prototype);
43
+ this.Message = opts.Message;
44
+ this.RequestId = opts.RequestId;
45
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
46
+ }
47
+ }
48
+ exports.InternalServerException = InternalServerException;
32
49
  var ResourceType;
33
50
  (function (ResourceType) {
34
51
  ResourceType["GROUP"] = "GROUP";
@@ -53,6 +70,25 @@ class ResourceNotFoundException extends IdentitystoreServiceException_1.Identity
53
70
  }
54
71
  }
55
72
  exports.ResourceNotFoundException = ResourceNotFoundException;
73
+ class ThrottlingException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "ThrottlingException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ this.name = "ThrottlingException";
81
+ this.$fault = "client";
82
+ this.$retryable = {
83
+ throttling: true,
84
+ };
85
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
86
+ this.Message = opts.Message;
87
+ this.RequestId = opts.RequestId;
88
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
89
+ }
90
+ }
91
+ exports.ThrottlingException = ThrottlingException;
56
92
  class ValidationException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
57
93
  constructor(opts) {
58
94
  super({
@@ -112,42 +148,6 @@ class ServiceQuotaExceededException extends IdentitystoreServiceException_1.Iden
112
148
  }
113
149
  }
114
150
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
115
- class InternalServerException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
116
- constructor(opts) {
117
- super({
118
- name: "InternalServerException",
119
- $fault: "server",
120
- ...opts,
121
- });
122
- this.name = "InternalServerException";
123
- this.$fault = "server";
124
- this.$retryable = {};
125
- Object.setPrototypeOf(this, InternalServerException.prototype);
126
- this.Message = opts.Message;
127
- this.RequestId = opts.RequestId;
128
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
129
- }
130
- }
131
- exports.InternalServerException = InternalServerException;
132
- class ThrottlingException extends IdentitystoreServiceException_1.IdentitystoreServiceException {
133
- constructor(opts) {
134
- super({
135
- name: "ThrottlingException",
136
- $fault: "client",
137
- ...opts,
138
- });
139
- this.name = "ThrottlingException";
140
- this.$fault = "client";
141
- this.$retryable = {
142
- throttling: true,
143
- };
144
- Object.setPrototypeOf(this, ThrottlingException.prototype);
145
- this.Message = opts.Message;
146
- this.RequestId = opts.RequestId;
147
- this.RetryAfterSeconds = opts.RetryAfterSeconds;
148
- }
149
- }
150
- exports.ThrottlingException = ThrottlingException;
151
151
  const AddressFilterSensitiveLog = (obj) => ({
152
152
  ...obj,
153
153
  ...(obj.StreetAddress && { StreetAddress: smithy_client_1.SENSITIVE_STRING }),
@@ -25,6 +25,22 @@ export var AlternateIdentifier;
25
25
  return visitor._(value.$unknown[0], value.$unknown[1]);
26
26
  };
27
27
  })(AlternateIdentifier || (AlternateIdentifier = {}));
28
+ var InternalServerException = (function (_super) {
29
+ __extends(InternalServerException, _super);
30
+ function InternalServerException(opts) {
31
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
32
+ _this.name = "InternalServerException";
33
+ _this.$fault = "server";
34
+ _this.$retryable = {};
35
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
36
+ _this.Message = opts.Message;
37
+ _this.RequestId = opts.RequestId;
38
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
39
+ return _this;
40
+ }
41
+ return InternalServerException;
42
+ }(__BaseException));
43
+ export { InternalServerException };
28
44
  export var ResourceType;
29
45
  (function (ResourceType) {
30
46
  ResourceType["GROUP"] = "GROUP";
@@ -48,6 +64,24 @@ var ResourceNotFoundException = (function (_super) {
48
64
  return ResourceNotFoundException;
49
65
  }(__BaseException));
50
66
  export { ResourceNotFoundException };
67
+ var ThrottlingException = (function (_super) {
68
+ __extends(ThrottlingException, _super);
69
+ function ThrottlingException(opts) {
70
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
71
+ _this.name = "ThrottlingException";
72
+ _this.$fault = "client";
73
+ _this.$retryable = {
74
+ throttling: true,
75
+ };
76
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
77
+ _this.Message = opts.Message;
78
+ _this.RequestId = opts.RequestId;
79
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
80
+ return _this;
81
+ }
82
+ return ThrottlingException;
83
+ }(__BaseException));
84
+ export { ThrottlingException };
51
85
  var ValidationException = (function (_super) {
52
86
  __extends(ValidationException, _super);
53
87
  function ValidationException(opts) {
@@ -104,40 +138,6 @@ var ServiceQuotaExceededException = (function (_super) {
104
138
  return ServiceQuotaExceededException;
105
139
  }(__BaseException));
106
140
  export { ServiceQuotaExceededException };
107
- var InternalServerException = (function (_super) {
108
- __extends(InternalServerException, _super);
109
- function InternalServerException(opts) {
110
- var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
111
- _this.name = "InternalServerException";
112
- _this.$fault = "server";
113
- _this.$retryable = {};
114
- Object.setPrototypeOf(_this, InternalServerException.prototype);
115
- _this.Message = opts.Message;
116
- _this.RequestId = opts.RequestId;
117
- _this.RetryAfterSeconds = opts.RetryAfterSeconds;
118
- return _this;
119
- }
120
- return InternalServerException;
121
- }(__BaseException));
122
- export { InternalServerException };
123
- var ThrottlingException = (function (_super) {
124
- __extends(ThrottlingException, _super);
125
- function ThrottlingException(opts) {
126
- var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
127
- _this.name = "ThrottlingException";
128
- _this.$fault = "client";
129
- _this.$retryable = {
130
- throttling: true,
131
- };
132
- Object.setPrototypeOf(_this, ThrottlingException.prototype);
133
- _this.Message = opts.Message;
134
- _this.RequestId = opts.RequestId;
135
- _this.RetryAfterSeconds = opts.RetryAfterSeconds;
136
- return _this;
137
- }
138
- return ThrottlingException;
139
- }(__BaseException));
140
- export { ThrottlingException };
141
141
  export var AddressFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.StreetAddress && { StreetAddress: SENSITIVE_STRING })), (obj.Locality && { Locality: SENSITIVE_STRING })), (obj.Region && { Region: SENSITIVE_STRING })), (obj.PostalCode && { PostalCode: SENSITIVE_STRING })), (obj.Country && { Country: SENSITIVE_STRING })), (obj.Formatted && { Formatted: SENSITIVE_STRING })), (obj.Type && { Type: SENSITIVE_STRING })), (obj.Primary && { Primary: SENSITIVE_STRING }))); };
142
142
  export var ExternalIdFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Issuer && { Issuer: SENSITIVE_STRING })), (obj.Id && { Id: SENSITIVE_STRING }))); };
143
143
  export var UniqueAttributeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -164,6 +164,29 @@ export interface GetGroupIdResponse {
164
164
  */
165
165
  IdentityStoreId: string | undefined;
166
166
  }
167
+ /**
168
+ * <p>The request processing has failed because of an unknown error, exception or failure with an internal server.</p>
169
+ */
170
+ export declare class InternalServerException extends __BaseException {
171
+ readonly name: "InternalServerException";
172
+ readonly $fault: "server";
173
+ $retryable: {};
174
+ Message?: string;
175
+ /**
176
+ * <p>The identifier for each request. This value is a globally unique ID that is generated by
177
+ * the identity store service for each sent request, and is then returned inside the exception
178
+ * if the request fails.</p>
179
+ */
180
+ RequestId?: string;
181
+ /**
182
+ * <p>The number of seconds that you would like to wait before retrying the next request.</p>
183
+ */
184
+ RetryAfterSeconds?: number;
185
+ /**
186
+ * @internal
187
+ */
188
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
189
+ }
167
190
  export declare enum ResourceType {
168
191
  GROUP = "GROUP",
169
192
  GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
@@ -196,6 +219,32 @@ export declare class ResourceNotFoundException extends __BaseException {
196
219
  */
197
220
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
198
221
  }
222
+ /**
223
+ * <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
224
+ */
225
+ export declare class ThrottlingException extends __BaseException {
226
+ readonly name: "ThrottlingException";
227
+ readonly $fault: "client";
228
+ $retryable: {
229
+ throttling: boolean;
230
+ };
231
+ Message?: string;
232
+ /**
233
+ * <p>The identifier for each request. This value is a globally unique ID that is generated by
234
+ * the identity store service for each sent request, and is then returned inside the exception
235
+ * if the request fails.</p>
236
+ */
237
+ RequestId?: string;
238
+ /**
239
+ * <p>The number of seconds that you would like to wait before retrying the next
240
+ * request.</p>
241
+ */
242
+ RetryAfterSeconds?: number;
243
+ /**
244
+ * @internal
245
+ */
246
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
247
+ }
199
248
  /**
200
249
  * <p>The request failed because it contains a syntax error.</p>
201
250
  */
@@ -639,29 +688,6 @@ export interface UpdateGroupRequest {
639
688
  }
640
689
  export interface UpdateGroupResponse {
641
690
  }
642
- /**
643
- * <p>The request processing has failed because of an unknown error, exception or failure with an internal server.</p>
644
- */
645
- export declare class InternalServerException extends __BaseException {
646
- readonly name: "InternalServerException";
647
- readonly $fault: "server";
648
- $retryable: {};
649
- Message?: string;
650
- /**
651
- * <p>The identifier for each request. This value is a globally unique ID that is generated by
652
- * the identity store service for each sent request, and is then returned inside the exception
653
- * if the request fails.</p>
654
- */
655
- RequestId?: string;
656
- /**
657
- * <p>The number of seconds that you would like to wait before retrying the next request.</p>
658
- */
659
- RetryAfterSeconds?: number;
660
- /**
661
- * @internal
662
- */
663
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
664
- }
665
691
  export interface IsMemberInGroupsRequest {
666
692
  /**
667
693
  * <p>The globally unique identifier for the identity store.</p>
@@ -728,32 +754,6 @@ export interface ListGroupMembershipsForMemberResponse {
728
754
  */
729
755
  NextToken?: string;
730
756
  }
731
- /**
732
- * <p>Indicates that the principal has crossed the throttling limits of the API operations.</p>
733
- */
734
- export declare class ThrottlingException extends __BaseException {
735
- readonly name: "ThrottlingException";
736
- readonly $fault: "client";
737
- $retryable: {
738
- throttling: boolean;
739
- };
740
- Message?: string;
741
- /**
742
- * <p>The identifier for each request. This value is a globally unique ID that is generated by
743
- * the identity store service for each sent request, and is then returned inside the exception
744
- * if the request fails.</p>
745
- */
746
- RequestId?: string;
747
- /**
748
- * <p>The number of seconds that you would like to wait before retrying the next
749
- * request.</p>
750
- */
751
- RetryAfterSeconds?: number;
752
- /**
753
- * @internal
754
- */
755
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
756
- }
757
757
  /**
758
758
  * <p>The email address associated with the user.</p>
759
759
  */
@@ -67,6 +67,17 @@ export interface GetGroupIdResponse {
67
67
  GroupId: string | undefined;
68
68
  IdentityStoreId: string | undefined;
69
69
  }
70
+ export declare class InternalServerException extends __BaseException {
71
+ readonly name: "InternalServerException";
72
+ readonly $fault: "server";
73
+ $retryable: {};
74
+ Message?: string;
75
+ RequestId?: string;
76
+ RetryAfterSeconds?: number;
77
+ constructor(
78
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
79
+ );
80
+ }
70
81
  export declare enum ResourceType {
71
82
  GROUP = "GROUP",
72
83
  GROUP_MEMBERSHIP = "GROUP_MEMBERSHIP",
@@ -84,6 +95,19 @@ export declare class ResourceNotFoundException extends __BaseException {
84
95
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
85
96
  );
86
97
  }
98
+ export declare class ThrottlingException extends __BaseException {
99
+ readonly name: "ThrottlingException";
100
+ readonly $fault: "client";
101
+ $retryable: {
102
+ throttling: boolean;
103
+ };
104
+ Message?: string;
105
+ RequestId?: string;
106
+ RetryAfterSeconds?: number;
107
+ constructor(
108
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
109
+ );
110
+ }
87
111
  export declare class ValidationException extends __BaseException {
88
112
  readonly name: "ValidationException";
89
113
  readonly $fault: "client";
@@ -239,17 +263,6 @@ export interface UpdateGroupRequest {
239
263
  Operations: AttributeOperation[] | undefined;
240
264
  }
241
265
  export interface UpdateGroupResponse {}
242
- export declare class InternalServerException extends __BaseException {
243
- readonly name: "InternalServerException";
244
- readonly $fault: "server";
245
- $retryable: {};
246
- Message?: string;
247
- RequestId?: string;
248
- RetryAfterSeconds?: number;
249
- constructor(
250
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
251
- );
252
- }
253
266
  export interface IsMemberInGroupsRequest {
254
267
  IdentityStoreId: string | undefined;
255
268
  MemberId: MemberId | undefined;
@@ -273,19 +286,6 @@ export interface ListGroupMembershipsForMemberResponse {
273
286
  GroupMemberships: GroupMembership[] | undefined;
274
287
  NextToken?: string;
275
288
  }
276
- export declare class ThrottlingException extends __BaseException {
277
- readonly name: "ThrottlingException";
278
- readonly $fault: "client";
279
- $retryable: {
280
- throttling: boolean;
281
- };
282
- Message?: string;
283
- RequestId?: string;
284
- RetryAfterSeconds?: number;
285
- constructor(
286
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
287
- );
288
- }
289
289
  export interface Email {
290
290
  Value?: string;
291
291
  Type?: string;
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.171.0",
4
+ "version": "3.174.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",