@aws-sdk/client-identitystore 3.186.0 → 3.188.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 +8 -0
- package/dist-es/Identitystore.js +78 -85
- package/dist-es/IdentitystoreClient.js +22 -28
- package/dist-es/commands/CreateGroupCommand.js +21 -28
- package/dist-es/commands/CreateGroupMembershipCommand.js +21 -28
- package/dist-es/commands/CreateUserCommand.js +21 -28
- package/dist-es/commands/DeleteGroupCommand.js +21 -28
- package/dist-es/commands/DeleteGroupMembershipCommand.js +21 -28
- package/dist-es/commands/DeleteUserCommand.js +21 -28
- package/dist-es/commands/DescribeGroupCommand.js +21 -28
- package/dist-es/commands/DescribeGroupMembershipCommand.js +21 -28
- package/dist-es/commands/DescribeUserCommand.js +21 -28
- package/dist-es/commands/GetGroupIdCommand.js +21 -28
- package/dist-es/commands/GetGroupMembershipIdCommand.js +21 -28
- package/dist-es/commands/GetUserIdCommand.js +21 -28
- package/dist-es/commands/IsMemberInGroupsCommand.js +21 -28
- package/dist-es/commands/ListGroupMembershipsCommand.js +21 -28
- package/dist-es/commands/ListGroupMembershipsForMemberCommand.js +21 -28
- package/dist-es/commands/ListGroupsCommand.js +21 -28
- package/dist-es/commands/ListUsersCommand.js +21 -28
- package/dist-es/commands/UpdateGroupCommand.js +21 -28
- package/dist-es/commands/UpdateUserCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IdentitystoreServiceException.js +5 -10
- package/dist-es/models/models_0.js +351 -165
- package/dist-es/pagination/ListGroupMembershipsForMemberPaginator.js +25 -68
- package/dist-es/pagination/ListGroupMembershipsPaginator.js +25 -68
- package/dist-es/pagination/ListGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListUsersPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +1444 -1818
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { IdentitystoreServiceException as __BaseException } from "./IdentitystoreServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
this.RequestId = opts.RequestId;
|
|
14
15
|
}
|
|
15
|
-
|
|
16
|
-
}(__BaseException));
|
|
17
|
-
export { AccessDeniedException };
|
|
16
|
+
}
|
|
18
17
|
export var AlternateIdentifier;
|
|
19
18
|
(function (AlternateIdentifier) {
|
|
20
|
-
AlternateIdentifier.visit =
|
|
19
|
+
AlternateIdentifier.visit = (value, visitor) => {
|
|
21
20
|
if (value.ExternalId !== undefined)
|
|
22
21
|
return visitor.ExternalId(value.ExternalId);
|
|
23
22
|
if (value.UniqueAttribute !== undefined)
|
|
@@ -25,22 +24,22 @@ export var AlternateIdentifier;
|
|
|
25
24
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
26
25
|
};
|
|
27
26
|
})(AlternateIdentifier || (AlternateIdentifier = {}));
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
export class InternalServerException extends __BaseException {
|
|
28
|
+
constructor(opts) {
|
|
29
|
+
super({
|
|
30
|
+
name: "InternalServerException",
|
|
31
|
+
$fault: "server",
|
|
32
|
+
...opts,
|
|
33
|
+
});
|
|
34
|
+
this.name = "InternalServerException";
|
|
35
|
+
this.$fault = "server";
|
|
36
|
+
this.$retryable = {};
|
|
37
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
38
|
+
this.Message = opts.Message;
|
|
39
|
+
this.RequestId = opts.RequestId;
|
|
40
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
}(__BaseException));
|
|
43
|
-
export { InternalServerException };
|
|
42
|
+
}
|
|
44
43
|
export var ResourceType;
|
|
45
44
|
(function (ResourceType) {
|
|
46
45
|
ResourceType["GROUP"] = "GROUP";
|
|
@@ -48,57 +47,57 @@ export var ResourceType;
|
|
|
48
47
|
ResourceType["IDENTITY_STORE"] = "IDENTITY_STORE";
|
|
49
48
|
ResourceType["USER"] = "USER";
|
|
50
49
|
})(ResourceType || (ResourceType = {}));
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
50
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "ResourceNotFoundException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "ResourceNotFoundException";
|
|
58
|
+
this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
|
+
this.ResourceType = opts.ResourceType;
|
|
61
|
+
this.ResourceId = opts.ResourceId;
|
|
62
|
+
this.Message = opts.Message;
|
|
63
|
+
this.RequestId = opts.RequestId;
|
|
63
64
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
}
|
|
66
|
+
export class ThrottlingException extends __BaseException {
|
|
67
|
+
constructor(opts) {
|
|
68
|
+
super({
|
|
69
|
+
name: "ThrottlingException",
|
|
70
|
+
$fault: "client",
|
|
71
|
+
...opts,
|
|
72
|
+
});
|
|
73
|
+
this.name = "ThrottlingException";
|
|
74
|
+
this.$fault = "client";
|
|
75
|
+
this.$retryable = {
|
|
74
76
|
throttling: true,
|
|
75
77
|
};
|
|
76
|
-
Object.setPrototypeOf(
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return _this;
|
|
78
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
this.RequestId = opts.RequestId;
|
|
81
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
81
82
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
83
|
+
}
|
|
84
|
+
export class ValidationException extends __BaseException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ValidationException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "ValidationException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
94
|
+
this.Message = opts.Message;
|
|
95
|
+
this.RequestId = opts.RequestId;
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
}(__BaseException));
|
|
98
|
-
export { ValidationException };
|
|
97
|
+
}
|
|
99
98
|
export var MemberId;
|
|
100
99
|
(function (MemberId) {
|
|
101
|
-
MemberId.visit =
|
|
100
|
+
MemberId.visit = (value, visitor) => {
|
|
102
101
|
if (value.UserId !== undefined)
|
|
103
102
|
return visitor.UserId(value.UserId);
|
|
104
103
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -109,106 +108,293 @@ export var ConflictExceptionReason;
|
|
|
109
108
|
ConflictExceptionReason["CONCURRENT_MODIFICATION"] = "CONCURRENT_MODIFICATION";
|
|
110
109
|
ConflictExceptionReason["UNIQUENESS_CONSTRAINT_VIOLATION"] = "UNIQUENESS_CONSTRAINT_VIOLATION";
|
|
111
110
|
})(ConflictExceptionReason || (ConflictExceptionReason = {}));
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
111
|
+
export class ConflictException extends __BaseException {
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ConflictException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
this.name = "ConflictException";
|
|
119
|
+
this.$fault = "client";
|
|
120
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
this.RequestId = opts.RequestId;
|
|
123
|
+
this.Reason = opts.Reason;
|
|
123
124
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
125
|
+
}
|
|
126
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "ServiceQuotaExceededException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
this.name = "ServiceQuotaExceededException";
|
|
134
|
+
this.$fault = "client";
|
|
135
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
136
|
+
this.Message = opts.Message;
|
|
137
|
+
this.RequestId = opts.RequestId;
|
|
137
138
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
139
|
+
}
|
|
140
|
+
export const AddressFilterSensitiveLog = (obj) => ({
|
|
141
|
+
...obj,
|
|
142
|
+
...(obj.StreetAddress && { StreetAddress: SENSITIVE_STRING }),
|
|
143
|
+
...(obj.Locality && { Locality: SENSITIVE_STRING }),
|
|
144
|
+
...(obj.Region && { Region: SENSITIVE_STRING }),
|
|
145
|
+
...(obj.PostalCode && { PostalCode: SENSITIVE_STRING }),
|
|
146
|
+
...(obj.Country && { Country: SENSITIVE_STRING }),
|
|
147
|
+
...(obj.Formatted && { Formatted: SENSITIVE_STRING }),
|
|
148
|
+
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
149
|
+
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
150
|
+
});
|
|
151
|
+
export const ExternalIdFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
...(obj.Issuer && { Issuer: SENSITIVE_STRING }),
|
|
154
|
+
...(obj.Id && { Id: SENSITIVE_STRING }),
|
|
155
|
+
});
|
|
156
|
+
export const UniqueAttributeFilterSensitiveLog = (obj) => ({
|
|
157
|
+
...obj,
|
|
158
|
+
});
|
|
159
|
+
export const AlternateIdentifierFilterSensitiveLog = (obj) => {
|
|
146
160
|
if (obj.ExternalId !== undefined)
|
|
147
161
|
return { ExternalId: ExternalIdFilterSensitiveLog(obj.ExternalId) };
|
|
148
162
|
if (obj.UniqueAttribute !== undefined)
|
|
149
163
|
return { UniqueAttribute: UniqueAttributeFilterSensitiveLog(obj.UniqueAttribute) };
|
|
150
164
|
if (obj.$unknown !== undefined)
|
|
151
|
-
return
|
|
165
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
152
166
|
};
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
167
|
+
export const AttributeOperationFilterSensitiveLog = (obj) => ({
|
|
168
|
+
...obj,
|
|
169
|
+
});
|
|
170
|
+
export const GetGroupIdRequestFilterSensitiveLog = (obj) => ({
|
|
171
|
+
...obj,
|
|
172
|
+
...(obj.AlternateIdentifier && {
|
|
173
|
+
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
|
|
174
|
+
}),
|
|
175
|
+
});
|
|
176
|
+
export const GetGroupIdResponseFilterSensitiveLog = (obj) => ({
|
|
177
|
+
...obj,
|
|
178
|
+
});
|
|
179
|
+
export const MemberIdFilterSensitiveLog = (obj) => {
|
|
160
180
|
if (obj.UserId !== undefined)
|
|
161
181
|
return { UserId: obj.UserId };
|
|
162
182
|
if (obj.$unknown !== undefined)
|
|
163
|
-
return
|
|
183
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
164
184
|
};
|
|
165
|
-
export
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
export
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
export
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
export
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
export
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
})
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
export
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
export
|
|
185
|
+
export const GetGroupMembershipIdRequestFilterSensitiveLog = (obj) => ({
|
|
186
|
+
...obj,
|
|
187
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
188
|
+
});
|
|
189
|
+
export const GetGroupMembershipIdResponseFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
export const GetUserIdRequestFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
...(obj.AlternateIdentifier && {
|
|
195
|
+
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
|
|
196
|
+
}),
|
|
197
|
+
});
|
|
198
|
+
export const GetUserIdResponseFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
201
|
+
export const CreateGroupMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
204
|
+
});
|
|
205
|
+
export const CreateGroupMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
206
|
+
...obj,
|
|
207
|
+
});
|
|
208
|
+
export const DeleteGroupMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
export const DeleteGroupMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
export const DescribeGroupMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
export const DescribeGroupMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
220
|
+
});
|
|
221
|
+
export const ListGroupMembershipsRequestFilterSensitiveLog = (obj) => ({
|
|
222
|
+
...obj,
|
|
223
|
+
});
|
|
224
|
+
export const GroupMembershipFilterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
227
|
+
});
|
|
228
|
+
export const ListGroupMembershipsResponseFilterSensitiveLog = (obj) => ({
|
|
229
|
+
...obj,
|
|
230
|
+
...(obj.GroupMemberships && {
|
|
231
|
+
GroupMemberships: obj.GroupMemberships.map((item) => GroupMembershipFilterSensitiveLog(item)),
|
|
232
|
+
}),
|
|
233
|
+
});
|
|
234
|
+
export const CreateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
235
|
+
...obj,
|
|
236
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
237
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
238
|
+
});
|
|
239
|
+
export const CreateGroupResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
});
|
|
242
|
+
export const DeleteGroupRequestFilterSensitiveLog = (obj) => ({
|
|
243
|
+
...obj,
|
|
244
|
+
});
|
|
245
|
+
export const DeleteGroupResponseFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
});
|
|
248
|
+
export const DescribeGroupRequestFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
});
|
|
251
|
+
export const DescribeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
254
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
255
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
256
|
+
});
|
|
257
|
+
export const FilterFilterSensitiveLog = (obj) => ({
|
|
258
|
+
...obj,
|
|
259
|
+
...(obj.AttributeValue && { AttributeValue: SENSITIVE_STRING }),
|
|
260
|
+
});
|
|
261
|
+
export const ListGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
262
|
+
...obj,
|
|
263
|
+
...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
|
|
264
|
+
});
|
|
265
|
+
export const GroupFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
268
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
269
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
270
|
+
});
|
|
271
|
+
export const ListGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
274
|
+
});
|
|
275
|
+
export const UpdateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
export const UpdateGroupResponseFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
});
|
|
281
|
+
export const IsMemberInGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
284
|
+
});
|
|
285
|
+
export const GroupMembershipExistenceResultFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
288
|
+
...(obj.MembershipExists && { MembershipExists: SENSITIVE_STRING }),
|
|
289
|
+
});
|
|
290
|
+
export const IsMemberInGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
...(obj.Results && { Results: obj.Results.map((item) => GroupMembershipExistenceResultFilterSensitiveLog(item)) }),
|
|
293
|
+
});
|
|
294
|
+
export const ListGroupMembershipsForMemberRequestFilterSensitiveLog = (obj) => ({
|
|
295
|
+
...obj,
|
|
296
|
+
...(obj.MemberId && { MemberId: MemberIdFilterSensitiveLog(obj.MemberId) }),
|
|
297
|
+
});
|
|
298
|
+
export const ListGroupMembershipsForMemberResponseFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
...(obj.GroupMemberships && {
|
|
301
|
+
GroupMemberships: obj.GroupMemberships.map((item) => GroupMembershipFilterSensitiveLog(item)),
|
|
302
|
+
}),
|
|
303
|
+
});
|
|
304
|
+
export const EmailFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
307
|
+
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
308
|
+
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
309
|
+
});
|
|
310
|
+
export const NameFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
...(obj.Formatted && { Formatted: SENSITIVE_STRING }),
|
|
313
|
+
...(obj.FamilyName && { FamilyName: SENSITIVE_STRING }),
|
|
314
|
+
...(obj.GivenName && { GivenName: SENSITIVE_STRING }),
|
|
315
|
+
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
316
|
+
...(obj.HonorificPrefix && { HonorificPrefix: SENSITIVE_STRING }),
|
|
317
|
+
...(obj.HonorificSuffix && { HonorificSuffix: SENSITIVE_STRING }),
|
|
318
|
+
});
|
|
319
|
+
export const PhoneNumberFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
322
|
+
...(obj.Type && { Type: SENSITIVE_STRING }),
|
|
323
|
+
...(obj.Primary && { Primary: SENSITIVE_STRING }),
|
|
324
|
+
});
|
|
325
|
+
export const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
328
|
+
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
329
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
330
|
+
...(obj.NickName && { NickName: SENSITIVE_STRING }),
|
|
331
|
+
...(obj.ProfileUrl && { ProfileUrl: SENSITIVE_STRING }),
|
|
332
|
+
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
333
|
+
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
334
|
+
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
335
|
+
...(obj.UserType && { UserType: SENSITIVE_STRING }),
|
|
336
|
+
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
337
|
+
...(obj.PreferredLanguage && { PreferredLanguage: SENSITIVE_STRING }),
|
|
338
|
+
...(obj.Locale && { Locale: SENSITIVE_STRING }),
|
|
339
|
+
...(obj.Timezone && { Timezone: SENSITIVE_STRING }),
|
|
340
|
+
});
|
|
341
|
+
export const CreateUserResponseFilterSensitiveLog = (obj) => ({
|
|
342
|
+
...obj,
|
|
343
|
+
});
|
|
344
|
+
export const DeleteUserRequestFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
});
|
|
347
|
+
export const DeleteUserResponseFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
});
|
|
350
|
+
export const DescribeUserRequestFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
});
|
|
353
|
+
export const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
354
|
+
...obj,
|
|
355
|
+
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
356
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
357
|
+
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
358
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
359
|
+
...(obj.NickName && { NickName: SENSITIVE_STRING }),
|
|
360
|
+
...(obj.ProfileUrl && { ProfileUrl: SENSITIVE_STRING }),
|
|
361
|
+
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
362
|
+
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
363
|
+
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
364
|
+
...(obj.UserType && { UserType: SENSITIVE_STRING }),
|
|
365
|
+
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
366
|
+
...(obj.PreferredLanguage && { PreferredLanguage: SENSITIVE_STRING }),
|
|
367
|
+
...(obj.Locale && { Locale: SENSITIVE_STRING }),
|
|
368
|
+
...(obj.Timezone && { Timezone: SENSITIVE_STRING }),
|
|
369
|
+
});
|
|
370
|
+
export const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
371
|
+
...obj,
|
|
372
|
+
...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
|
|
373
|
+
});
|
|
374
|
+
export const UserFilterSensitiveLog = (obj) => ({
|
|
375
|
+
...obj,
|
|
376
|
+
...(obj.UserName && { UserName: SENSITIVE_STRING }),
|
|
377
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
378
|
+
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
379
|
+
...(obj.DisplayName && { DisplayName: SENSITIVE_STRING }),
|
|
380
|
+
...(obj.NickName && { NickName: SENSITIVE_STRING }),
|
|
381
|
+
...(obj.ProfileUrl && { ProfileUrl: SENSITIVE_STRING }),
|
|
382
|
+
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
383
|
+
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
384
|
+
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
385
|
+
...(obj.UserType && { UserType: SENSITIVE_STRING }),
|
|
386
|
+
...(obj.Title && { Title: SENSITIVE_STRING }),
|
|
387
|
+
...(obj.PreferredLanguage && { PreferredLanguage: SENSITIVE_STRING }),
|
|
388
|
+
...(obj.Locale && { Locale: SENSITIVE_STRING }),
|
|
389
|
+
...(obj.Timezone && { Timezone: SENSITIVE_STRING }),
|
|
390
|
+
});
|
|
391
|
+
export const ListUsersResponseFilterSensitiveLog = (obj) => ({
|
|
392
|
+
...obj,
|
|
393
|
+
...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
|
|
394
|
+
});
|
|
395
|
+
export const UpdateUserRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
+
...obj,
|
|
397
|
+
});
|
|
398
|
+
export const UpdateUserResponseFilterSensitiveLog = (obj) => ({
|
|
399
|
+
...obj,
|
|
400
|
+
});
|