@aws-sdk/client-identitystore 3.901.0 → 3.906.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 +1337 -1550
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,1605 +1,1392 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
CreateGroupRequestFilterSensitiveLog: () => CreateGroupRequestFilterSensitiveLog,
|
|
33
|
-
CreateUserCommand: () => CreateUserCommand,
|
|
34
|
-
CreateUserRequestFilterSensitiveLog: () => CreateUserRequestFilterSensitiveLog,
|
|
35
|
-
DeleteGroupCommand: () => DeleteGroupCommand,
|
|
36
|
-
DeleteGroupMembershipCommand: () => DeleteGroupMembershipCommand,
|
|
37
|
-
DeleteUserCommand: () => DeleteUserCommand,
|
|
38
|
-
DescribeGroupCommand: () => DescribeGroupCommand,
|
|
39
|
-
DescribeGroupMembershipCommand: () => DescribeGroupMembershipCommand,
|
|
40
|
-
DescribeGroupResponseFilterSensitiveLog: () => DescribeGroupResponseFilterSensitiveLog,
|
|
41
|
-
DescribeUserCommand: () => DescribeUserCommand,
|
|
42
|
-
DescribeUserResponseFilterSensitiveLog: () => DescribeUserResponseFilterSensitiveLog,
|
|
43
|
-
EmailFilterSensitiveLog: () => EmailFilterSensitiveLog,
|
|
44
|
-
ExternalIdFilterSensitiveLog: () => ExternalIdFilterSensitiveLog,
|
|
45
|
-
FilterFilterSensitiveLog: () => FilterFilterSensitiveLog,
|
|
46
|
-
GetGroupIdCommand: () => GetGroupIdCommand,
|
|
47
|
-
GetGroupIdRequestFilterSensitiveLog: () => GetGroupIdRequestFilterSensitiveLog,
|
|
48
|
-
GetGroupMembershipIdCommand: () => GetGroupMembershipIdCommand,
|
|
49
|
-
GetUserIdCommand: () => GetUserIdCommand,
|
|
50
|
-
GetUserIdRequestFilterSensitiveLog: () => GetUserIdRequestFilterSensitiveLog,
|
|
51
|
-
GroupFilterSensitiveLog: () => GroupFilterSensitiveLog,
|
|
52
|
-
GroupMembershipExistenceResultFilterSensitiveLog: () => GroupMembershipExistenceResultFilterSensitiveLog,
|
|
53
|
-
Identitystore: () => Identitystore,
|
|
54
|
-
IdentitystoreClient: () => IdentitystoreClient,
|
|
55
|
-
IdentitystoreServiceException: () => IdentitystoreServiceException,
|
|
56
|
-
InternalServerException: () => InternalServerException,
|
|
57
|
-
IsMemberInGroupsCommand: () => IsMemberInGroupsCommand,
|
|
58
|
-
IsMemberInGroupsResponseFilterSensitiveLog: () => IsMemberInGroupsResponseFilterSensitiveLog,
|
|
59
|
-
ListGroupMembershipsCommand: () => ListGroupMembershipsCommand,
|
|
60
|
-
ListGroupMembershipsForMemberCommand: () => ListGroupMembershipsForMemberCommand,
|
|
61
|
-
ListGroupsCommand: () => ListGroupsCommand,
|
|
62
|
-
ListGroupsRequestFilterSensitiveLog: () => ListGroupsRequestFilterSensitiveLog,
|
|
63
|
-
ListGroupsResponseFilterSensitiveLog: () => ListGroupsResponseFilterSensitiveLog,
|
|
64
|
-
ListUsersCommand: () => ListUsersCommand,
|
|
65
|
-
ListUsersRequestFilterSensitiveLog: () => ListUsersRequestFilterSensitiveLog,
|
|
66
|
-
ListUsersResponseFilterSensitiveLog: () => ListUsersResponseFilterSensitiveLog,
|
|
67
|
-
MemberId: () => MemberId,
|
|
68
|
-
NameFilterSensitiveLog: () => NameFilterSensitiveLog,
|
|
69
|
-
PhoneNumberFilterSensitiveLog: () => PhoneNumberFilterSensitiveLog,
|
|
70
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
71
|
-
ResourceType: () => ResourceType,
|
|
72
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
73
|
-
ThrottlingException: () => ThrottlingException,
|
|
74
|
-
UpdateGroupCommand: () => UpdateGroupCommand,
|
|
75
|
-
UpdateUserCommand: () => UpdateUserCommand,
|
|
76
|
-
UserFilterSensitiveLog: () => UserFilterSensitiveLog,
|
|
77
|
-
ValidationException: () => ValidationException,
|
|
78
|
-
__Client: () => import_smithy_client.Client,
|
|
79
|
-
paginateListGroupMemberships: () => paginateListGroupMemberships,
|
|
80
|
-
paginateListGroupMembershipsForMember: () => paginateListGroupMembershipsForMember,
|
|
81
|
-
paginateListGroups: () => paginateListGroups,
|
|
82
|
-
paginateListUsers: () => paginateListUsers
|
|
83
|
-
});
|
|
84
|
-
module.exports = __toCommonJS(index_exports);
|
|
85
|
-
|
|
86
|
-
// src/IdentitystoreClient.ts
|
|
87
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
88
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
89
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
90
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
91
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
92
|
-
var import_core = require("@smithy/core");
|
|
93
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
94
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
95
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
96
|
-
|
|
97
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
98
|
-
|
|
99
|
-
// src/endpoint/EndpointParameters.ts
|
|
100
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
101
|
-
return Object.assign(options, {
|
|
102
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
103
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
104
|
-
defaultSigningName: "identitystore"
|
|
105
|
-
});
|
|
106
|
-
}, "resolveClientEndpointParameters");
|
|
107
|
-
var commonParams = {
|
|
108
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
109
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
110
|
-
Region: { type: "builtInParams", name: "region" },
|
|
111
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "identitystore",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
112
32
|
};
|
|
113
33
|
|
|
114
|
-
|
|
115
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
116
72
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
121
78
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
79
|
+
class IdentitystoreClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultIdentitystoreHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
150
107
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
156
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
157
|
-
credentials: config.credentials()
|
|
158
|
-
};
|
|
159
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
160
112
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
168
|
-
);
|
|
169
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
170
|
-
return Object.assign(
|
|
171
|
-
runtimeConfig,
|
|
172
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
173
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
174
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
175
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
176
|
-
);
|
|
177
|
-
}, "resolveRuntimeExtensions");
|
|
113
|
+
class IdentitystoreServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, IdentitystoreServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
178
119
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
120
|
+
class AccessDeniedException extends IdentitystoreServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
RequestId;
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "AccessDeniedException",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
|
+
this.Message = opts.Message;
|
|
133
|
+
this.RequestId = opts.RequestId;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.AlternateIdentifier = void 0;
|
|
137
|
+
(function (AlternateIdentifier) {
|
|
138
|
+
AlternateIdentifier.visit = (value, visitor) => {
|
|
139
|
+
if (value.ExternalId !== undefined)
|
|
140
|
+
return visitor.ExternalId(value.ExternalId);
|
|
141
|
+
if (value.UniqueAttribute !== undefined)
|
|
142
|
+
return visitor.UniqueAttribute(value.UniqueAttribute);
|
|
143
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
144
|
+
};
|
|
145
|
+
})(exports.AlternateIdentifier || (exports.AlternateIdentifier = {}));
|
|
146
|
+
class InternalServerException extends IdentitystoreServiceException {
|
|
147
|
+
name = "InternalServerException";
|
|
148
|
+
$fault = "server";
|
|
149
|
+
$retryable = {};
|
|
150
|
+
Message;
|
|
151
|
+
RequestId;
|
|
152
|
+
RetryAfterSeconds;
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "InternalServerException",
|
|
156
|
+
$fault: "server",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
160
|
+
this.Message = opts.Message;
|
|
161
|
+
this.RequestId = opts.RequestId;
|
|
162
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
const ResourceType = {
|
|
166
|
+
GROUP: "GROUP",
|
|
167
|
+
GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP",
|
|
168
|
+
IDENTITY_STORE: "IDENTITY_STORE",
|
|
169
|
+
USER: "USER",
|
|
225
170
|
};
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
171
|
+
class ResourceNotFoundException extends IdentitystoreServiceException {
|
|
172
|
+
name = "ResourceNotFoundException";
|
|
173
|
+
$fault = "client";
|
|
174
|
+
ResourceType;
|
|
175
|
+
ResourceId;
|
|
176
|
+
Message;
|
|
177
|
+
RequestId;
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "ResourceNotFoundException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
185
|
+
this.ResourceType = opts.ResourceType;
|
|
186
|
+
this.ResourceId = opts.ResourceId;
|
|
187
|
+
this.Message = opts.Message;
|
|
188
|
+
this.RequestId = opts.RequestId;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
class ThrottlingException extends IdentitystoreServiceException {
|
|
192
|
+
name = "ThrottlingException";
|
|
193
|
+
$fault = "client";
|
|
194
|
+
$retryable = {
|
|
195
|
+
throttling: true,
|
|
196
|
+
};
|
|
197
|
+
Message;
|
|
198
|
+
RequestId;
|
|
199
|
+
RetryAfterSeconds;
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "ThrottlingException",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
207
|
+
this.Message = opts.Message;
|
|
208
|
+
this.RequestId = opts.RequestId;
|
|
209
|
+
this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
class ValidationException extends IdentitystoreServiceException {
|
|
213
|
+
name = "ValidationException";
|
|
214
|
+
$fault = "client";
|
|
215
|
+
Message;
|
|
216
|
+
RequestId;
|
|
217
|
+
constructor(opts) {
|
|
218
|
+
super({
|
|
219
|
+
name: "ValidationException",
|
|
220
|
+
$fault: "client",
|
|
221
|
+
...opts,
|
|
222
|
+
});
|
|
223
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
224
|
+
this.Message = opts.Message;
|
|
225
|
+
this.RequestId = opts.RequestId;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.MemberId = void 0;
|
|
229
|
+
(function (MemberId) {
|
|
230
|
+
MemberId.visit = (value, visitor) => {
|
|
231
|
+
if (value.UserId !== undefined)
|
|
232
|
+
return visitor.UserId(value.UserId);
|
|
233
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
234
|
+
};
|
|
235
|
+
})(exports.MemberId || (exports.MemberId = {}));
|
|
236
|
+
const ConflictExceptionReason = {
|
|
237
|
+
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
238
|
+
UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION",
|
|
239
|
+
};
|
|
240
|
+
class ConflictException extends IdentitystoreServiceException {
|
|
241
|
+
name = "ConflictException";
|
|
242
|
+
$fault = "client";
|
|
243
|
+
Message;
|
|
244
|
+
RequestId;
|
|
245
|
+
Reason;
|
|
246
|
+
constructor(opts) {
|
|
247
|
+
super({
|
|
248
|
+
name: "ConflictException",
|
|
249
|
+
$fault: "client",
|
|
250
|
+
...opts,
|
|
251
|
+
});
|
|
252
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
253
|
+
this.Message = opts.Message;
|
|
254
|
+
this.RequestId = opts.RequestId;
|
|
255
|
+
this.Reason = opts.Reason;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
class ServiceQuotaExceededException extends IdentitystoreServiceException {
|
|
259
|
+
name = "ServiceQuotaExceededException";
|
|
260
|
+
$fault = "client";
|
|
261
|
+
Message;
|
|
262
|
+
RequestId;
|
|
263
|
+
constructor(opts) {
|
|
264
|
+
super({
|
|
265
|
+
name: "ServiceQuotaExceededException",
|
|
266
|
+
$fault: "client",
|
|
267
|
+
...opts,
|
|
268
|
+
});
|
|
269
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
270
|
+
this.Message = opts.Message;
|
|
271
|
+
this.RequestId = opts.RequestId;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
const AddressFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
...(obj.StreetAddress && { StreetAddress: smithyClient.SENSITIVE_STRING }),
|
|
277
|
+
...(obj.Locality && { Locality: smithyClient.SENSITIVE_STRING }),
|
|
278
|
+
...(obj.Region && { Region: smithyClient.SENSITIVE_STRING }),
|
|
279
|
+
...(obj.PostalCode && { PostalCode: smithyClient.SENSITIVE_STRING }),
|
|
280
|
+
...(obj.Country && { Country: smithyClient.SENSITIVE_STRING }),
|
|
281
|
+
...(obj.Formatted && { Formatted: smithyClient.SENSITIVE_STRING }),
|
|
282
|
+
...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
|
|
283
|
+
...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
|
|
284
|
+
});
|
|
285
|
+
const ExternalIdFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.Issuer && { Issuer: smithyClient.SENSITIVE_STRING }),
|
|
288
|
+
...(obj.Id && { Id: smithyClient.SENSITIVE_STRING }),
|
|
289
|
+
});
|
|
290
|
+
const AlternateIdentifierFilterSensitiveLog = (obj) => {
|
|
291
|
+
if (obj.ExternalId !== undefined)
|
|
292
|
+
return { ExternalId: ExternalIdFilterSensitiveLog(obj.ExternalId) };
|
|
293
|
+
if (obj.UniqueAttribute !== undefined)
|
|
294
|
+
return { UniqueAttribute: obj.UniqueAttribute };
|
|
295
|
+
if (obj.$unknown !== undefined)
|
|
296
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
251
297
|
};
|
|
298
|
+
const GetGroupIdRequestFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
...(obj.AlternateIdentifier && {
|
|
301
|
+
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
|
|
302
|
+
}),
|
|
303
|
+
});
|
|
304
|
+
const GetUserIdRequestFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
...(obj.AlternateIdentifier && {
|
|
307
|
+
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier),
|
|
308
|
+
}),
|
|
309
|
+
});
|
|
310
|
+
const CreateGroupRequestFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
|
|
313
|
+
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
314
|
+
});
|
|
315
|
+
const DescribeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
|
|
318
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
319
|
+
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
320
|
+
});
|
|
321
|
+
const FilterFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
...(obj.AttributeValue && { AttributeValue: smithyClient.SENSITIVE_STRING }),
|
|
324
|
+
});
|
|
325
|
+
const ListGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
|
|
328
|
+
});
|
|
329
|
+
const GroupFilterSensitiveLog = (obj) => ({
|
|
330
|
+
...obj,
|
|
331
|
+
...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
|
|
332
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
333
|
+
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
334
|
+
});
|
|
335
|
+
const ListGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
338
|
+
});
|
|
339
|
+
const GroupMembershipExistenceResultFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.MemberId && { MemberId: obj.MemberId }),
|
|
342
|
+
...(obj.MembershipExists && { MembershipExists: smithyClient.SENSITIVE_STRING }),
|
|
343
|
+
});
|
|
344
|
+
const IsMemberInGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
...(obj.Results && { Results: obj.Results.map((item) => GroupMembershipExistenceResultFilterSensitiveLog(item)) }),
|
|
347
|
+
});
|
|
348
|
+
const EmailFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
351
|
+
...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
|
|
352
|
+
...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
|
|
353
|
+
});
|
|
354
|
+
const NameFilterSensitiveLog = (obj) => ({
|
|
355
|
+
...obj,
|
|
356
|
+
...(obj.Formatted && { Formatted: smithyClient.SENSITIVE_STRING }),
|
|
357
|
+
...(obj.FamilyName && { FamilyName: smithyClient.SENSITIVE_STRING }),
|
|
358
|
+
...(obj.GivenName && { GivenName: smithyClient.SENSITIVE_STRING }),
|
|
359
|
+
...(obj.MiddleName && { MiddleName: smithyClient.SENSITIVE_STRING }),
|
|
360
|
+
...(obj.HonorificPrefix && { HonorificPrefix: smithyClient.SENSITIVE_STRING }),
|
|
361
|
+
...(obj.HonorificSuffix && { HonorificSuffix: smithyClient.SENSITIVE_STRING }),
|
|
362
|
+
});
|
|
363
|
+
const PhoneNumberFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
...(obj.Value && { Value: smithyClient.SENSITIVE_STRING }),
|
|
366
|
+
...(obj.Type && { Type: smithyClient.SENSITIVE_STRING }),
|
|
367
|
+
...(obj.Primary && { Primary: smithyClient.SENSITIVE_STRING }),
|
|
368
|
+
});
|
|
369
|
+
const CreateUserRequestFilterSensitiveLog = (obj) => ({
|
|
370
|
+
...obj,
|
|
371
|
+
...(obj.UserName && { UserName: smithyClient.SENSITIVE_STRING }),
|
|
372
|
+
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
373
|
+
...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
|
|
374
|
+
...(obj.NickName && { NickName: smithyClient.SENSITIVE_STRING }),
|
|
375
|
+
...(obj.ProfileUrl && { ProfileUrl: smithyClient.SENSITIVE_STRING }),
|
|
376
|
+
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
377
|
+
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
378
|
+
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
379
|
+
...(obj.UserType && { UserType: smithyClient.SENSITIVE_STRING }),
|
|
380
|
+
...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
|
|
381
|
+
...(obj.PreferredLanguage && { PreferredLanguage: smithyClient.SENSITIVE_STRING }),
|
|
382
|
+
...(obj.Locale && { Locale: smithyClient.SENSITIVE_STRING }),
|
|
383
|
+
...(obj.Timezone && { Timezone: smithyClient.SENSITIVE_STRING }),
|
|
384
|
+
});
|
|
385
|
+
const DescribeUserResponseFilterSensitiveLog = (obj) => ({
|
|
386
|
+
...obj,
|
|
387
|
+
...(obj.UserName && { UserName: smithyClient.SENSITIVE_STRING }),
|
|
388
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
389
|
+
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
390
|
+
...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
|
|
391
|
+
...(obj.NickName && { NickName: smithyClient.SENSITIVE_STRING }),
|
|
392
|
+
...(obj.ProfileUrl && { ProfileUrl: smithyClient.SENSITIVE_STRING }),
|
|
393
|
+
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
394
|
+
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
395
|
+
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
396
|
+
...(obj.UserType && { UserType: smithyClient.SENSITIVE_STRING }),
|
|
397
|
+
...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
|
|
398
|
+
...(obj.PreferredLanguage && { PreferredLanguage: smithyClient.SENSITIVE_STRING }),
|
|
399
|
+
...(obj.Locale && { Locale: smithyClient.SENSITIVE_STRING }),
|
|
400
|
+
...(obj.Timezone && { Timezone: smithyClient.SENSITIVE_STRING }),
|
|
401
|
+
});
|
|
402
|
+
const ListUsersRequestFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
...(obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }),
|
|
405
|
+
});
|
|
406
|
+
const UserFilterSensitiveLog = (obj) => ({
|
|
407
|
+
...obj,
|
|
408
|
+
...(obj.UserName && { UserName: smithyClient.SENSITIVE_STRING }),
|
|
409
|
+
...(obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }),
|
|
410
|
+
...(obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }),
|
|
411
|
+
...(obj.DisplayName && { DisplayName: smithyClient.SENSITIVE_STRING }),
|
|
412
|
+
...(obj.NickName && { NickName: smithyClient.SENSITIVE_STRING }),
|
|
413
|
+
...(obj.ProfileUrl && { ProfileUrl: smithyClient.SENSITIVE_STRING }),
|
|
414
|
+
...(obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }),
|
|
415
|
+
...(obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }),
|
|
416
|
+
...(obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }),
|
|
417
|
+
...(obj.UserType && { UserType: smithyClient.SENSITIVE_STRING }),
|
|
418
|
+
...(obj.Title && { Title: smithyClient.SENSITIVE_STRING }),
|
|
419
|
+
...(obj.PreferredLanguage && { PreferredLanguage: smithyClient.SENSITIVE_STRING }),
|
|
420
|
+
...(obj.Locale && { Locale: smithyClient.SENSITIVE_STRING }),
|
|
421
|
+
...(obj.Timezone && { Timezone: smithyClient.SENSITIVE_STRING }),
|
|
422
|
+
});
|
|
423
|
+
const ListUsersResponseFilterSensitiveLog = (obj) => ({
|
|
424
|
+
...obj,
|
|
425
|
+
...(obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }),
|
|
426
|
+
});
|
|
252
427
|
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
return
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
428
|
+
const se_CreateGroupCommand = async (input, context) => {
|
|
429
|
+
const headers = sharedHeaders("CreateGroup");
|
|
430
|
+
let body;
|
|
431
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
432
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
433
|
+
};
|
|
434
|
+
const se_CreateGroupMembershipCommand = async (input, context) => {
|
|
435
|
+
const headers = sharedHeaders("CreateGroupMembership");
|
|
436
|
+
let body;
|
|
437
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
438
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
439
|
+
};
|
|
440
|
+
const se_CreateUserCommand = async (input, context) => {
|
|
441
|
+
const headers = sharedHeaders("CreateUser");
|
|
442
|
+
let body;
|
|
443
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
444
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
445
|
+
};
|
|
446
|
+
const se_DeleteGroupCommand = async (input, context) => {
|
|
447
|
+
const headers = sharedHeaders("DeleteGroup");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
450
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
451
|
+
};
|
|
452
|
+
const se_DeleteGroupMembershipCommand = async (input, context) => {
|
|
453
|
+
const headers = sharedHeaders("DeleteGroupMembership");
|
|
454
|
+
let body;
|
|
455
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
456
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
|
+
};
|
|
458
|
+
const se_DeleteUserCommand = async (input, context) => {
|
|
459
|
+
const headers = sharedHeaders("DeleteUser");
|
|
460
|
+
let body;
|
|
461
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
462
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
463
|
+
};
|
|
464
|
+
const se_DescribeGroupCommand = async (input, context) => {
|
|
465
|
+
const headers = sharedHeaders("DescribeGroup");
|
|
466
|
+
let body;
|
|
467
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
468
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
469
|
+
};
|
|
470
|
+
const se_DescribeGroupMembershipCommand = async (input, context) => {
|
|
471
|
+
const headers = sharedHeaders("DescribeGroupMembership");
|
|
472
|
+
let body;
|
|
473
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
474
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
475
|
+
};
|
|
476
|
+
const se_DescribeUserCommand = async (input, context) => {
|
|
477
|
+
const headers = sharedHeaders("DescribeUser");
|
|
478
|
+
let body;
|
|
479
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
480
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
481
|
+
};
|
|
482
|
+
const se_GetGroupIdCommand = async (input, context) => {
|
|
483
|
+
const headers = sharedHeaders("GetGroupId");
|
|
484
|
+
let body;
|
|
485
|
+
body = JSON.stringify(se_GetGroupIdRequest(input));
|
|
486
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
487
|
+
};
|
|
488
|
+
const se_GetGroupMembershipIdCommand = async (input, context) => {
|
|
489
|
+
const headers = sharedHeaders("GetGroupMembershipId");
|
|
490
|
+
let body;
|
|
491
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
492
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
493
|
+
};
|
|
494
|
+
const se_GetUserIdCommand = async (input, context) => {
|
|
495
|
+
const headers = sharedHeaders("GetUserId");
|
|
496
|
+
let body;
|
|
497
|
+
body = JSON.stringify(se_GetUserIdRequest(input));
|
|
498
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
499
|
+
};
|
|
500
|
+
const se_IsMemberInGroupsCommand = async (input, context) => {
|
|
501
|
+
const headers = sharedHeaders("IsMemberInGroups");
|
|
502
|
+
let body;
|
|
503
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
504
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
505
|
+
};
|
|
506
|
+
const se_ListGroupMembershipsCommand = async (input, context) => {
|
|
507
|
+
const headers = sharedHeaders("ListGroupMemberships");
|
|
508
|
+
let body;
|
|
509
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
510
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
511
|
+
};
|
|
512
|
+
const se_ListGroupMembershipsForMemberCommand = async (input, context) => {
|
|
513
|
+
const headers = sharedHeaders("ListGroupMembershipsForMember");
|
|
514
|
+
let body;
|
|
515
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
516
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
517
|
+
};
|
|
518
|
+
const se_ListGroupsCommand = async (input, context) => {
|
|
519
|
+
const headers = sharedHeaders("ListGroups");
|
|
520
|
+
let body;
|
|
521
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
522
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
523
|
+
};
|
|
524
|
+
const se_ListUsersCommand = async (input, context) => {
|
|
525
|
+
const headers = sharedHeaders("ListUsers");
|
|
526
|
+
let body;
|
|
527
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
528
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
529
|
+
};
|
|
530
|
+
const se_UpdateGroupCommand = async (input, context) => {
|
|
531
|
+
const headers = sharedHeaders("UpdateGroup");
|
|
532
|
+
let body;
|
|
533
|
+
body = JSON.stringify(se_UpdateGroupRequest(input));
|
|
534
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
535
|
+
};
|
|
536
|
+
const se_UpdateUserCommand = async (input, context) => {
|
|
537
|
+
const headers = sharedHeaders("UpdateUser");
|
|
538
|
+
let body;
|
|
539
|
+
body = JSON.stringify(se_UpdateUserRequest(input));
|
|
540
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
541
|
+
};
|
|
542
|
+
const de_CreateGroupCommand = async (output, context) => {
|
|
543
|
+
if (output.statusCode >= 300) {
|
|
544
|
+
return de_CommandError(output, context);
|
|
545
|
+
}
|
|
546
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
547
|
+
let contents = {};
|
|
548
|
+
contents = smithyClient._json(data);
|
|
549
|
+
const response = {
|
|
550
|
+
$metadata: deserializeMetadata(output),
|
|
551
|
+
...contents,
|
|
552
|
+
};
|
|
553
|
+
return response;
|
|
554
|
+
};
|
|
555
|
+
const de_CreateGroupMembershipCommand = async (output, context) => {
|
|
556
|
+
if (output.statusCode >= 300) {
|
|
557
|
+
return de_CommandError(output, context);
|
|
558
|
+
}
|
|
559
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
560
|
+
let contents = {};
|
|
561
|
+
contents = smithyClient._json(data);
|
|
562
|
+
const response = {
|
|
563
|
+
$metadata: deserializeMetadata(output),
|
|
564
|
+
...contents,
|
|
565
|
+
};
|
|
566
|
+
return response;
|
|
567
|
+
};
|
|
568
|
+
const de_CreateUserCommand = async (output, context) => {
|
|
569
|
+
if (output.statusCode >= 300) {
|
|
570
|
+
return de_CommandError(output, context);
|
|
571
|
+
}
|
|
572
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
573
|
+
let contents = {};
|
|
574
|
+
contents = smithyClient._json(data);
|
|
575
|
+
const response = {
|
|
576
|
+
$metadata: deserializeMetadata(output),
|
|
577
|
+
...contents,
|
|
578
|
+
};
|
|
579
|
+
return response;
|
|
580
|
+
};
|
|
581
|
+
const de_DeleteGroupCommand = async (output, context) => {
|
|
582
|
+
if (output.statusCode >= 300) {
|
|
583
|
+
return de_CommandError(output, context);
|
|
584
|
+
}
|
|
585
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
586
|
+
let contents = {};
|
|
587
|
+
contents = smithyClient._json(data);
|
|
588
|
+
const response = {
|
|
589
|
+
$metadata: deserializeMetadata(output),
|
|
590
|
+
...contents,
|
|
591
|
+
};
|
|
592
|
+
return response;
|
|
593
|
+
};
|
|
594
|
+
const de_DeleteGroupMembershipCommand = async (output, context) => {
|
|
595
|
+
if (output.statusCode >= 300) {
|
|
596
|
+
return de_CommandError(output, context);
|
|
597
|
+
}
|
|
598
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
599
|
+
let contents = {};
|
|
600
|
+
contents = smithyClient._json(data);
|
|
601
|
+
const response = {
|
|
602
|
+
$metadata: deserializeMetadata(output),
|
|
603
|
+
...contents,
|
|
604
|
+
};
|
|
605
|
+
return response;
|
|
606
|
+
};
|
|
607
|
+
const de_DeleteUserCommand = async (output, context) => {
|
|
608
|
+
if (output.statusCode >= 300) {
|
|
609
|
+
return de_CommandError(output, context);
|
|
610
|
+
}
|
|
611
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
612
|
+
let contents = {};
|
|
613
|
+
contents = smithyClient._json(data);
|
|
614
|
+
const response = {
|
|
615
|
+
$metadata: deserializeMetadata(output),
|
|
616
|
+
...contents,
|
|
617
|
+
};
|
|
618
|
+
return response;
|
|
619
|
+
};
|
|
620
|
+
const de_DescribeGroupCommand = async (output, context) => {
|
|
621
|
+
if (output.statusCode >= 300) {
|
|
622
|
+
return de_CommandError(output, context);
|
|
623
|
+
}
|
|
624
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
625
|
+
let contents = {};
|
|
626
|
+
contents = smithyClient._json(data);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output),
|
|
629
|
+
...contents,
|
|
630
|
+
};
|
|
631
|
+
return response;
|
|
632
|
+
};
|
|
633
|
+
const de_DescribeGroupMembershipCommand = async (output, context) => {
|
|
634
|
+
if (output.statusCode >= 300) {
|
|
635
|
+
return de_CommandError(output, context);
|
|
636
|
+
}
|
|
637
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
638
|
+
let contents = {};
|
|
639
|
+
contents = smithyClient._json(data);
|
|
640
|
+
const response = {
|
|
641
|
+
$metadata: deserializeMetadata(output),
|
|
642
|
+
...contents,
|
|
643
|
+
};
|
|
644
|
+
return response;
|
|
645
|
+
};
|
|
646
|
+
const de_DescribeUserCommand = async (output, context) => {
|
|
647
|
+
if (output.statusCode >= 300) {
|
|
648
|
+
return de_CommandError(output, context);
|
|
649
|
+
}
|
|
650
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
651
|
+
let contents = {};
|
|
652
|
+
contents = smithyClient._json(data);
|
|
653
|
+
const response = {
|
|
654
|
+
$metadata: deserializeMetadata(output),
|
|
655
|
+
...contents,
|
|
656
|
+
};
|
|
657
|
+
return response;
|
|
658
|
+
};
|
|
659
|
+
const de_GetGroupIdCommand = async (output, context) => {
|
|
660
|
+
if (output.statusCode >= 300) {
|
|
661
|
+
return de_CommandError(output, context);
|
|
662
|
+
}
|
|
663
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
664
|
+
let contents = {};
|
|
665
|
+
contents = smithyClient._json(data);
|
|
666
|
+
const response = {
|
|
667
|
+
$metadata: deserializeMetadata(output),
|
|
668
|
+
...contents,
|
|
669
|
+
};
|
|
670
|
+
return response;
|
|
671
|
+
};
|
|
672
|
+
const de_GetGroupMembershipIdCommand = async (output, context) => {
|
|
673
|
+
if (output.statusCode >= 300) {
|
|
674
|
+
return de_CommandError(output, context);
|
|
675
|
+
}
|
|
676
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
677
|
+
let contents = {};
|
|
678
|
+
contents = smithyClient._json(data);
|
|
679
|
+
const response = {
|
|
680
|
+
$metadata: deserializeMetadata(output),
|
|
681
|
+
...contents,
|
|
682
|
+
};
|
|
683
|
+
return response;
|
|
684
|
+
};
|
|
685
|
+
const de_GetUserIdCommand = async (output, context) => {
|
|
686
|
+
if (output.statusCode >= 300) {
|
|
687
|
+
return de_CommandError(output, context);
|
|
688
|
+
}
|
|
689
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
690
|
+
let contents = {};
|
|
691
|
+
contents = smithyClient._json(data);
|
|
692
|
+
const response = {
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
...contents,
|
|
695
|
+
};
|
|
696
|
+
return response;
|
|
697
|
+
};
|
|
698
|
+
const de_IsMemberInGroupsCommand = async (output, context) => {
|
|
699
|
+
if (output.statusCode >= 300) {
|
|
700
|
+
return de_CommandError(output, context);
|
|
701
|
+
}
|
|
702
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
703
|
+
let contents = {};
|
|
704
|
+
contents = smithyClient._json(data);
|
|
705
|
+
const response = {
|
|
706
|
+
$metadata: deserializeMetadata(output),
|
|
707
|
+
...contents,
|
|
708
|
+
};
|
|
709
|
+
return response;
|
|
710
|
+
};
|
|
711
|
+
const de_ListGroupMembershipsCommand = async (output, context) => {
|
|
712
|
+
if (output.statusCode >= 300) {
|
|
713
|
+
return de_CommandError(output, context);
|
|
714
|
+
}
|
|
715
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
716
|
+
let contents = {};
|
|
717
|
+
contents = smithyClient._json(data);
|
|
718
|
+
const response = {
|
|
719
|
+
$metadata: deserializeMetadata(output),
|
|
720
|
+
...contents,
|
|
721
|
+
};
|
|
722
|
+
return response;
|
|
723
|
+
};
|
|
724
|
+
const de_ListGroupMembershipsForMemberCommand = async (output, context) => {
|
|
725
|
+
if (output.statusCode >= 300) {
|
|
726
|
+
return de_CommandError(output, context);
|
|
727
|
+
}
|
|
728
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
729
|
+
let contents = {};
|
|
730
|
+
contents = smithyClient._json(data);
|
|
731
|
+
const response = {
|
|
732
|
+
$metadata: deserializeMetadata(output),
|
|
733
|
+
...contents,
|
|
734
|
+
};
|
|
735
|
+
return response;
|
|
736
|
+
};
|
|
737
|
+
const de_ListGroupsCommand = async (output, context) => {
|
|
738
|
+
if (output.statusCode >= 300) {
|
|
739
|
+
return de_CommandError(output, context);
|
|
740
|
+
}
|
|
741
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
742
|
+
let contents = {};
|
|
743
|
+
contents = smithyClient._json(data);
|
|
744
|
+
const response = {
|
|
745
|
+
$metadata: deserializeMetadata(output),
|
|
746
|
+
...contents,
|
|
747
|
+
};
|
|
748
|
+
return response;
|
|
749
|
+
};
|
|
750
|
+
const de_ListUsersCommand = async (output, context) => {
|
|
751
|
+
if (output.statusCode >= 300) {
|
|
752
|
+
return de_CommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
755
|
+
let contents = {};
|
|
756
|
+
contents = smithyClient._json(data);
|
|
757
|
+
const response = {
|
|
758
|
+
$metadata: deserializeMetadata(output),
|
|
759
|
+
...contents,
|
|
760
|
+
};
|
|
761
|
+
return response;
|
|
762
|
+
};
|
|
763
|
+
const de_UpdateGroupCommand = async (output, context) => {
|
|
764
|
+
if (output.statusCode >= 300) {
|
|
765
|
+
return de_CommandError(output, context);
|
|
766
|
+
}
|
|
767
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
768
|
+
let contents = {};
|
|
769
|
+
contents = smithyClient._json(data);
|
|
770
|
+
const response = {
|
|
771
|
+
$metadata: deserializeMetadata(output),
|
|
772
|
+
...contents,
|
|
773
|
+
};
|
|
774
|
+
return response;
|
|
775
|
+
};
|
|
776
|
+
const de_UpdateUserCommand = async (output, context) => {
|
|
777
|
+
if (output.statusCode >= 300) {
|
|
778
|
+
return de_CommandError(output, context);
|
|
779
|
+
}
|
|
780
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
781
|
+
let contents = {};
|
|
782
|
+
contents = smithyClient._json(data);
|
|
783
|
+
const response = {
|
|
784
|
+
$metadata: deserializeMetadata(output),
|
|
785
|
+
...contents,
|
|
786
|
+
};
|
|
787
|
+
return response;
|
|
788
|
+
};
|
|
789
|
+
const de_CommandError = async (output, context) => {
|
|
790
|
+
const parsedOutput = {
|
|
791
|
+
...output,
|
|
792
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
793
|
+
};
|
|
794
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
795
|
+
switch (errorCode) {
|
|
796
|
+
case "AccessDeniedException":
|
|
797
|
+
case "com.amazonaws.identitystore#AccessDeniedException":
|
|
798
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
799
|
+
case "ConflictException":
|
|
800
|
+
case "com.amazonaws.identitystore#ConflictException":
|
|
801
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
802
|
+
case "InternalServerException":
|
|
803
|
+
case "com.amazonaws.identitystore#InternalServerException":
|
|
804
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
805
|
+
case "ResourceNotFoundException":
|
|
806
|
+
case "com.amazonaws.identitystore#ResourceNotFoundException":
|
|
807
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
808
|
+
case "ServiceQuotaExceededException":
|
|
809
|
+
case "com.amazonaws.identitystore#ServiceQuotaExceededException":
|
|
810
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
811
|
+
case "ThrottlingException":
|
|
812
|
+
case "com.amazonaws.identitystore#ThrottlingException":
|
|
813
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
814
|
+
case "ValidationException":
|
|
815
|
+
case "com.amazonaws.identitystore#ValidationException":
|
|
816
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
817
|
+
default:
|
|
818
|
+
const parsedBody = parsedOutput.body;
|
|
819
|
+
return throwDefaultError({
|
|
820
|
+
output,
|
|
821
|
+
parsedBody,
|
|
822
|
+
errorCode,
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
};
|
|
826
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
827
|
+
const body = parsedOutput.body;
|
|
828
|
+
const deserialized = smithyClient._json(body);
|
|
829
|
+
const exception = new AccessDeniedException({
|
|
830
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
831
|
+
...deserialized,
|
|
401
832
|
});
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
__name(this, "ValidationException");
|
|
411
|
-
}
|
|
412
|
-
name = "ValidationException";
|
|
413
|
-
$fault = "client";
|
|
414
|
-
Message;
|
|
415
|
-
/**
|
|
416
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by
|
|
417
|
-
* the identity store service for each sent request, and is then returned inside the exception
|
|
418
|
-
* if the request fails.</p>
|
|
419
|
-
* @public
|
|
420
|
-
*/
|
|
421
|
-
RequestId;
|
|
422
|
-
/**
|
|
423
|
-
* @internal
|
|
424
|
-
*/
|
|
425
|
-
constructor(opts) {
|
|
426
|
-
super({
|
|
427
|
-
name: "ValidationException",
|
|
428
|
-
$fault: "client",
|
|
429
|
-
...opts
|
|
833
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
834
|
+
};
|
|
835
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
836
|
+
const body = parsedOutput.body;
|
|
837
|
+
const deserialized = smithyClient._json(body);
|
|
838
|
+
const exception = new ConflictException({
|
|
839
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
840
|
+
...deserialized,
|
|
430
841
|
});
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
(
|
|
438
|
-
|
|
439
|
-
if (value.UserId !== void 0) return visitor.UserId(value.UserId);
|
|
440
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
441
|
-
}, "visit");
|
|
442
|
-
})(MemberId || (MemberId = {}));
|
|
443
|
-
var ConflictExceptionReason = {
|
|
444
|
-
CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION",
|
|
445
|
-
UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION"
|
|
446
|
-
};
|
|
447
|
-
var ConflictException = class _ConflictException extends IdentitystoreServiceException {
|
|
448
|
-
static {
|
|
449
|
-
__name(this, "ConflictException");
|
|
450
|
-
}
|
|
451
|
-
name = "ConflictException";
|
|
452
|
-
$fault = "client";
|
|
453
|
-
Message;
|
|
454
|
-
/**
|
|
455
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
456
|
-
* @public
|
|
457
|
-
*/
|
|
458
|
-
RequestId;
|
|
459
|
-
/**
|
|
460
|
-
* <p>This request cannot be completed for one of the following reasons:</p>
|
|
461
|
-
* <ul>
|
|
462
|
-
* <li>
|
|
463
|
-
* <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p>
|
|
464
|
-
* </li>
|
|
465
|
-
* <li>
|
|
466
|
-
* <p>The requested resource was being concurrently modified by another request.</p>
|
|
467
|
-
* </li>
|
|
468
|
-
* </ul>
|
|
469
|
-
* @public
|
|
470
|
-
*/
|
|
471
|
-
Reason;
|
|
472
|
-
/**
|
|
473
|
-
* @internal
|
|
474
|
-
*/
|
|
475
|
-
constructor(opts) {
|
|
476
|
-
super({
|
|
477
|
-
name: "ConflictException",
|
|
478
|
-
$fault: "client",
|
|
479
|
-
...opts
|
|
842
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
843
|
+
};
|
|
844
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
845
|
+
const body = parsedOutput.body;
|
|
846
|
+
const deserialized = smithyClient._json(body);
|
|
847
|
+
const exception = new InternalServerException({
|
|
848
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
849
|
+
...deserialized,
|
|
480
850
|
});
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
__name(this, "ServiceQuotaExceededException");
|
|
490
|
-
}
|
|
491
|
-
name = "ServiceQuotaExceededException";
|
|
492
|
-
$fault = "client";
|
|
493
|
-
Message;
|
|
494
|
-
/**
|
|
495
|
-
* <p>The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.</p>
|
|
496
|
-
* @public
|
|
497
|
-
*/
|
|
498
|
-
RequestId;
|
|
499
|
-
/**
|
|
500
|
-
* @internal
|
|
501
|
-
*/
|
|
502
|
-
constructor(opts) {
|
|
503
|
-
super({
|
|
504
|
-
name: "ServiceQuotaExceededException",
|
|
505
|
-
$fault: "client",
|
|
506
|
-
...opts
|
|
851
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
852
|
+
};
|
|
853
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
854
|
+
const body = parsedOutput.body;
|
|
855
|
+
const deserialized = smithyClient._json(body);
|
|
856
|
+
const exception = new ResourceNotFoundException({
|
|
857
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
858
|
+
...deserialized,
|
|
507
859
|
});
|
|
508
|
-
|
|
509
|
-
this.Message = opts.Message;
|
|
510
|
-
this.RequestId = opts.RequestId;
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
var AddressFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
514
|
-
...obj,
|
|
515
|
-
...obj.StreetAddress && { StreetAddress: import_smithy_client.SENSITIVE_STRING },
|
|
516
|
-
...obj.Locality && { Locality: import_smithy_client.SENSITIVE_STRING },
|
|
517
|
-
...obj.Region && { Region: import_smithy_client.SENSITIVE_STRING },
|
|
518
|
-
...obj.PostalCode && { PostalCode: import_smithy_client.SENSITIVE_STRING },
|
|
519
|
-
...obj.Country && { Country: import_smithy_client.SENSITIVE_STRING },
|
|
520
|
-
...obj.Formatted && { Formatted: import_smithy_client.SENSITIVE_STRING },
|
|
521
|
-
...obj.Type && { Type: import_smithy_client.SENSITIVE_STRING },
|
|
522
|
-
...obj.Primary && { Primary: import_smithy_client.SENSITIVE_STRING }
|
|
523
|
-
}), "AddressFilterSensitiveLog");
|
|
524
|
-
var ExternalIdFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
525
|
-
...obj,
|
|
526
|
-
...obj.Issuer && { Issuer: import_smithy_client.SENSITIVE_STRING },
|
|
527
|
-
...obj.Id && { Id: import_smithy_client.SENSITIVE_STRING }
|
|
528
|
-
}), "ExternalIdFilterSensitiveLog");
|
|
529
|
-
var AlternateIdentifierFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
530
|
-
if (obj.ExternalId !== void 0) return { ExternalId: ExternalIdFilterSensitiveLog(obj.ExternalId) };
|
|
531
|
-
if (obj.UniqueAttribute !== void 0) return { UniqueAttribute: obj.UniqueAttribute };
|
|
532
|
-
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
533
|
-
}, "AlternateIdentifierFilterSensitiveLog");
|
|
534
|
-
var GetGroupIdRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
535
|
-
...obj,
|
|
536
|
-
...obj.AlternateIdentifier && {
|
|
537
|
-
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier)
|
|
538
|
-
}
|
|
539
|
-
}), "GetGroupIdRequestFilterSensitiveLog");
|
|
540
|
-
var GetUserIdRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
541
|
-
...obj,
|
|
542
|
-
...obj.AlternateIdentifier && {
|
|
543
|
-
AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier)
|
|
544
|
-
}
|
|
545
|
-
}), "GetUserIdRequestFilterSensitiveLog");
|
|
546
|
-
var CreateGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
547
|
-
...obj,
|
|
548
|
-
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
|
|
549
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
550
|
-
}), "CreateGroupRequestFilterSensitiveLog");
|
|
551
|
-
var DescribeGroupResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
552
|
-
...obj,
|
|
553
|
-
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
|
|
554
|
-
...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) },
|
|
555
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
556
|
-
}), "DescribeGroupResponseFilterSensitiveLog");
|
|
557
|
-
var FilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
558
|
-
...obj,
|
|
559
|
-
...obj.AttributeValue && { AttributeValue: import_smithy_client.SENSITIVE_STRING }
|
|
560
|
-
}), "FilterFilterSensitiveLog");
|
|
561
|
-
var ListGroupsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
562
|
-
...obj,
|
|
563
|
-
...obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }
|
|
564
|
-
}), "ListGroupsRequestFilterSensitiveLog");
|
|
565
|
-
var GroupFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
566
|
-
...obj,
|
|
567
|
-
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
|
|
568
|
-
...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) },
|
|
569
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
570
|
-
}), "GroupFilterSensitiveLog");
|
|
571
|
-
var ListGroupsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
572
|
-
...obj,
|
|
573
|
-
...obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }
|
|
574
|
-
}), "ListGroupsResponseFilterSensitiveLog");
|
|
575
|
-
var GroupMembershipExistenceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
...obj.MemberId && { MemberId: obj.MemberId },
|
|
578
|
-
...obj.MembershipExists && { MembershipExists: import_smithy_client.SENSITIVE_STRING }
|
|
579
|
-
}), "GroupMembershipExistenceResultFilterSensitiveLog");
|
|
580
|
-
var IsMemberInGroupsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
581
|
-
...obj,
|
|
582
|
-
...obj.Results && { Results: obj.Results.map((item) => GroupMembershipExistenceResultFilterSensitiveLog(item)) }
|
|
583
|
-
}), "IsMemberInGroupsResponseFilterSensitiveLog");
|
|
584
|
-
var EmailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
585
|
-
...obj,
|
|
586
|
-
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING },
|
|
587
|
-
...obj.Type && { Type: import_smithy_client.SENSITIVE_STRING },
|
|
588
|
-
...obj.Primary && { Primary: import_smithy_client.SENSITIVE_STRING }
|
|
589
|
-
}), "EmailFilterSensitiveLog");
|
|
590
|
-
var NameFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
591
|
-
...obj,
|
|
592
|
-
...obj.Formatted && { Formatted: import_smithy_client.SENSITIVE_STRING },
|
|
593
|
-
...obj.FamilyName && { FamilyName: import_smithy_client.SENSITIVE_STRING },
|
|
594
|
-
...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING },
|
|
595
|
-
...obj.MiddleName && { MiddleName: import_smithy_client.SENSITIVE_STRING },
|
|
596
|
-
...obj.HonorificPrefix && { HonorificPrefix: import_smithy_client.SENSITIVE_STRING },
|
|
597
|
-
...obj.HonorificSuffix && { HonorificSuffix: import_smithy_client.SENSITIVE_STRING }
|
|
598
|
-
}), "NameFilterSensitiveLog");
|
|
599
|
-
var PhoneNumberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
600
|
-
...obj,
|
|
601
|
-
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING },
|
|
602
|
-
...obj.Type && { Type: import_smithy_client.SENSITIVE_STRING },
|
|
603
|
-
...obj.Primary && { Primary: import_smithy_client.SENSITIVE_STRING }
|
|
604
|
-
}), "PhoneNumberFilterSensitiveLog");
|
|
605
|
-
var CreateUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
606
|
-
...obj,
|
|
607
|
-
...obj.UserName && { UserName: import_smithy_client.SENSITIVE_STRING },
|
|
608
|
-
...obj.Name && { Name: NameFilterSensitiveLog(obj.Name) },
|
|
609
|
-
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
|
|
610
|
-
...obj.NickName && { NickName: import_smithy_client.SENSITIVE_STRING },
|
|
611
|
-
...obj.ProfileUrl && { ProfileUrl: import_smithy_client.SENSITIVE_STRING },
|
|
612
|
-
...obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) },
|
|
613
|
-
...obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) },
|
|
614
|
-
...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) },
|
|
615
|
-
...obj.UserType && { UserType: import_smithy_client.SENSITIVE_STRING },
|
|
616
|
-
...obj.Title && { Title: import_smithy_client.SENSITIVE_STRING },
|
|
617
|
-
...obj.PreferredLanguage && { PreferredLanguage: import_smithy_client.SENSITIVE_STRING },
|
|
618
|
-
...obj.Locale && { Locale: import_smithy_client.SENSITIVE_STRING },
|
|
619
|
-
...obj.Timezone && { Timezone: import_smithy_client.SENSITIVE_STRING }
|
|
620
|
-
}), "CreateUserRequestFilterSensitiveLog");
|
|
621
|
-
var DescribeUserResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
622
|
-
...obj,
|
|
623
|
-
...obj.UserName && { UserName: import_smithy_client.SENSITIVE_STRING },
|
|
624
|
-
...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) },
|
|
625
|
-
...obj.Name && { Name: NameFilterSensitiveLog(obj.Name) },
|
|
626
|
-
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
|
|
627
|
-
...obj.NickName && { NickName: import_smithy_client.SENSITIVE_STRING },
|
|
628
|
-
...obj.ProfileUrl && { ProfileUrl: import_smithy_client.SENSITIVE_STRING },
|
|
629
|
-
...obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) },
|
|
630
|
-
...obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) },
|
|
631
|
-
...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) },
|
|
632
|
-
...obj.UserType && { UserType: import_smithy_client.SENSITIVE_STRING },
|
|
633
|
-
...obj.Title && { Title: import_smithy_client.SENSITIVE_STRING },
|
|
634
|
-
...obj.PreferredLanguage && { PreferredLanguage: import_smithy_client.SENSITIVE_STRING },
|
|
635
|
-
...obj.Locale && { Locale: import_smithy_client.SENSITIVE_STRING },
|
|
636
|
-
...obj.Timezone && { Timezone: import_smithy_client.SENSITIVE_STRING }
|
|
637
|
-
}), "DescribeUserResponseFilterSensitiveLog");
|
|
638
|
-
var ListUsersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
639
|
-
...obj,
|
|
640
|
-
...obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }
|
|
641
|
-
}), "ListUsersRequestFilterSensitiveLog");
|
|
642
|
-
var UserFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
643
|
-
...obj,
|
|
644
|
-
...obj.UserName && { UserName: import_smithy_client.SENSITIVE_STRING },
|
|
645
|
-
...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) },
|
|
646
|
-
...obj.Name && { Name: NameFilterSensitiveLog(obj.Name) },
|
|
647
|
-
...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },
|
|
648
|
-
...obj.NickName && { NickName: import_smithy_client.SENSITIVE_STRING },
|
|
649
|
-
...obj.ProfileUrl && { ProfileUrl: import_smithy_client.SENSITIVE_STRING },
|
|
650
|
-
...obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) },
|
|
651
|
-
...obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) },
|
|
652
|
-
...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) },
|
|
653
|
-
...obj.UserType && { UserType: import_smithy_client.SENSITIVE_STRING },
|
|
654
|
-
...obj.Title && { Title: import_smithy_client.SENSITIVE_STRING },
|
|
655
|
-
...obj.PreferredLanguage && { PreferredLanguage: import_smithy_client.SENSITIVE_STRING },
|
|
656
|
-
...obj.Locale && { Locale: import_smithy_client.SENSITIVE_STRING },
|
|
657
|
-
...obj.Timezone && { Timezone: import_smithy_client.SENSITIVE_STRING }
|
|
658
|
-
}), "UserFilterSensitiveLog");
|
|
659
|
-
var ListUsersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
660
|
-
...obj,
|
|
661
|
-
...obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }
|
|
662
|
-
}), "ListUsersResponseFilterSensitiveLog");
|
|
663
|
-
|
|
664
|
-
// src/protocols/Aws_json1_1.ts
|
|
665
|
-
var import_core2 = require("@aws-sdk/core");
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
|
-
const headers = sharedHeaders("CreateGroup");
|
|
670
|
-
let body;
|
|
671
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
672
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
673
|
-
}, "se_CreateGroupCommand");
|
|
674
|
-
var se_CreateGroupMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
-
const headers = sharedHeaders("CreateGroupMembership");
|
|
676
|
-
let body;
|
|
677
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
678
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
679
|
-
}, "se_CreateGroupMembershipCommand");
|
|
680
|
-
var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
681
|
-
const headers = sharedHeaders("CreateUser");
|
|
682
|
-
let body;
|
|
683
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
684
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
685
|
-
}, "se_CreateUserCommand");
|
|
686
|
-
var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
687
|
-
const headers = sharedHeaders("DeleteGroup");
|
|
688
|
-
let body;
|
|
689
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
690
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
691
|
-
}, "se_DeleteGroupCommand");
|
|
692
|
-
var se_DeleteGroupMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
693
|
-
const headers = sharedHeaders("DeleteGroupMembership");
|
|
694
|
-
let body;
|
|
695
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
696
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
697
|
-
}, "se_DeleteGroupMembershipCommand");
|
|
698
|
-
var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
699
|
-
const headers = sharedHeaders("DeleteUser");
|
|
700
|
-
let body;
|
|
701
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
702
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
703
|
-
}, "se_DeleteUserCommand");
|
|
704
|
-
var se_DescribeGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
705
|
-
const headers = sharedHeaders("DescribeGroup");
|
|
706
|
-
let body;
|
|
707
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
708
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
709
|
-
}, "se_DescribeGroupCommand");
|
|
710
|
-
var se_DescribeGroupMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
711
|
-
const headers = sharedHeaders("DescribeGroupMembership");
|
|
712
|
-
let body;
|
|
713
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
714
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
715
|
-
}, "se_DescribeGroupMembershipCommand");
|
|
716
|
-
var se_DescribeUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
717
|
-
const headers = sharedHeaders("DescribeUser");
|
|
718
|
-
let body;
|
|
719
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
720
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
721
|
-
}, "se_DescribeUserCommand");
|
|
722
|
-
var se_GetGroupIdCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
723
|
-
const headers = sharedHeaders("GetGroupId");
|
|
724
|
-
let body;
|
|
725
|
-
body = JSON.stringify(se_GetGroupIdRequest(input, context));
|
|
726
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
727
|
-
}, "se_GetGroupIdCommand");
|
|
728
|
-
var se_GetGroupMembershipIdCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
729
|
-
const headers = sharedHeaders("GetGroupMembershipId");
|
|
730
|
-
let body;
|
|
731
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
732
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
733
|
-
}, "se_GetGroupMembershipIdCommand");
|
|
734
|
-
var se_GetUserIdCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
735
|
-
const headers = sharedHeaders("GetUserId");
|
|
736
|
-
let body;
|
|
737
|
-
body = JSON.stringify(se_GetUserIdRequest(input, context));
|
|
738
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
739
|
-
}, "se_GetUserIdCommand");
|
|
740
|
-
var se_IsMemberInGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
741
|
-
const headers = sharedHeaders("IsMemberInGroups");
|
|
742
|
-
let body;
|
|
743
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
744
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
745
|
-
}, "se_IsMemberInGroupsCommand");
|
|
746
|
-
var se_ListGroupMembershipsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
747
|
-
const headers = sharedHeaders("ListGroupMemberships");
|
|
748
|
-
let body;
|
|
749
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
750
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
751
|
-
}, "se_ListGroupMembershipsCommand");
|
|
752
|
-
var se_ListGroupMembershipsForMemberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
753
|
-
const headers = sharedHeaders("ListGroupMembershipsForMember");
|
|
754
|
-
let body;
|
|
755
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
756
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
757
|
-
}, "se_ListGroupMembershipsForMemberCommand");
|
|
758
|
-
var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
759
|
-
const headers = sharedHeaders("ListGroups");
|
|
760
|
-
let body;
|
|
761
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
762
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
763
|
-
}, "se_ListGroupsCommand");
|
|
764
|
-
var se_ListUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
765
|
-
const headers = sharedHeaders("ListUsers");
|
|
766
|
-
let body;
|
|
767
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
768
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
769
|
-
}, "se_ListUsersCommand");
|
|
770
|
-
var se_UpdateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
-
const headers = sharedHeaders("UpdateGroup");
|
|
772
|
-
let body;
|
|
773
|
-
body = JSON.stringify(se_UpdateGroupRequest(input, context));
|
|
774
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
775
|
-
}, "se_UpdateGroupCommand");
|
|
776
|
-
var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
777
|
-
const headers = sharedHeaders("UpdateUser");
|
|
778
|
-
let body;
|
|
779
|
-
body = JSON.stringify(se_UpdateUserRequest(input, context));
|
|
780
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
781
|
-
}, "se_UpdateUserCommand");
|
|
782
|
-
var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
783
|
-
if (output.statusCode >= 300) {
|
|
784
|
-
return de_CommandError(output, context);
|
|
785
|
-
}
|
|
786
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
787
|
-
let contents = {};
|
|
788
|
-
contents = (0, import_smithy_client._json)(data);
|
|
789
|
-
const response = {
|
|
790
|
-
$metadata: deserializeMetadata(output),
|
|
791
|
-
...contents
|
|
792
|
-
};
|
|
793
|
-
return response;
|
|
794
|
-
}, "de_CreateGroupCommand");
|
|
795
|
-
var de_CreateGroupMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
796
|
-
if (output.statusCode >= 300) {
|
|
797
|
-
return de_CommandError(output, context);
|
|
798
|
-
}
|
|
799
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
800
|
-
let contents = {};
|
|
801
|
-
contents = (0, import_smithy_client._json)(data);
|
|
802
|
-
const response = {
|
|
803
|
-
$metadata: deserializeMetadata(output),
|
|
804
|
-
...contents
|
|
805
|
-
};
|
|
806
|
-
return response;
|
|
807
|
-
}, "de_CreateGroupMembershipCommand");
|
|
808
|
-
var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
809
|
-
if (output.statusCode >= 300) {
|
|
810
|
-
return de_CommandError(output, context);
|
|
811
|
-
}
|
|
812
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
813
|
-
let contents = {};
|
|
814
|
-
contents = (0, import_smithy_client._json)(data);
|
|
815
|
-
const response = {
|
|
816
|
-
$metadata: deserializeMetadata(output),
|
|
817
|
-
...contents
|
|
818
|
-
};
|
|
819
|
-
return response;
|
|
820
|
-
}, "de_CreateUserCommand");
|
|
821
|
-
var de_DeleteGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
822
|
-
if (output.statusCode >= 300) {
|
|
823
|
-
return de_CommandError(output, context);
|
|
824
|
-
}
|
|
825
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
826
|
-
let contents = {};
|
|
827
|
-
contents = (0, import_smithy_client._json)(data);
|
|
828
|
-
const response = {
|
|
829
|
-
$metadata: deserializeMetadata(output),
|
|
830
|
-
...contents
|
|
831
|
-
};
|
|
832
|
-
return response;
|
|
833
|
-
}, "de_DeleteGroupCommand");
|
|
834
|
-
var de_DeleteGroupMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
835
|
-
if (output.statusCode >= 300) {
|
|
836
|
-
return de_CommandError(output, context);
|
|
837
|
-
}
|
|
838
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
839
|
-
let contents = {};
|
|
840
|
-
contents = (0, import_smithy_client._json)(data);
|
|
841
|
-
const response = {
|
|
842
|
-
$metadata: deserializeMetadata(output),
|
|
843
|
-
...contents
|
|
844
|
-
};
|
|
845
|
-
return response;
|
|
846
|
-
}, "de_DeleteGroupMembershipCommand");
|
|
847
|
-
var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
848
|
-
if (output.statusCode >= 300) {
|
|
849
|
-
return de_CommandError(output, context);
|
|
850
|
-
}
|
|
851
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
852
|
-
let contents = {};
|
|
853
|
-
contents = (0, import_smithy_client._json)(data);
|
|
854
|
-
const response = {
|
|
855
|
-
$metadata: deserializeMetadata(output),
|
|
856
|
-
...contents
|
|
857
|
-
};
|
|
858
|
-
return response;
|
|
859
|
-
}, "de_DeleteUserCommand");
|
|
860
|
-
var de_DescribeGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
861
|
-
if (output.statusCode >= 300) {
|
|
862
|
-
return de_CommandError(output, context);
|
|
863
|
-
}
|
|
864
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
865
|
-
let contents = {};
|
|
866
|
-
contents = (0, import_smithy_client._json)(data);
|
|
867
|
-
const response = {
|
|
868
|
-
$metadata: deserializeMetadata(output),
|
|
869
|
-
...contents
|
|
870
|
-
};
|
|
871
|
-
return response;
|
|
872
|
-
}, "de_DescribeGroupCommand");
|
|
873
|
-
var de_DescribeGroupMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
874
|
-
if (output.statusCode >= 300) {
|
|
875
|
-
return de_CommandError(output, context);
|
|
876
|
-
}
|
|
877
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
878
|
-
let contents = {};
|
|
879
|
-
contents = (0, import_smithy_client._json)(data);
|
|
880
|
-
const response = {
|
|
881
|
-
$metadata: deserializeMetadata(output),
|
|
882
|
-
...contents
|
|
883
|
-
};
|
|
884
|
-
return response;
|
|
885
|
-
}, "de_DescribeGroupMembershipCommand");
|
|
886
|
-
var de_DescribeUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
887
|
-
if (output.statusCode >= 300) {
|
|
888
|
-
return de_CommandError(output, context);
|
|
889
|
-
}
|
|
890
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
891
|
-
let contents = {};
|
|
892
|
-
contents = (0, import_smithy_client._json)(data);
|
|
893
|
-
const response = {
|
|
894
|
-
$metadata: deserializeMetadata(output),
|
|
895
|
-
...contents
|
|
896
|
-
};
|
|
897
|
-
return response;
|
|
898
|
-
}, "de_DescribeUserCommand");
|
|
899
|
-
var de_GetGroupIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
900
|
-
if (output.statusCode >= 300) {
|
|
901
|
-
return de_CommandError(output, context);
|
|
902
|
-
}
|
|
903
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
904
|
-
let contents = {};
|
|
905
|
-
contents = (0, import_smithy_client._json)(data);
|
|
906
|
-
const response = {
|
|
907
|
-
$metadata: deserializeMetadata(output),
|
|
908
|
-
...contents
|
|
909
|
-
};
|
|
910
|
-
return response;
|
|
911
|
-
}, "de_GetGroupIdCommand");
|
|
912
|
-
var de_GetGroupMembershipIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
913
|
-
if (output.statusCode >= 300) {
|
|
914
|
-
return de_CommandError(output, context);
|
|
915
|
-
}
|
|
916
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
917
|
-
let contents = {};
|
|
918
|
-
contents = (0, import_smithy_client._json)(data);
|
|
919
|
-
const response = {
|
|
920
|
-
$metadata: deserializeMetadata(output),
|
|
921
|
-
...contents
|
|
922
|
-
};
|
|
923
|
-
return response;
|
|
924
|
-
}, "de_GetGroupMembershipIdCommand");
|
|
925
|
-
var de_GetUserIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
926
|
-
if (output.statusCode >= 300) {
|
|
927
|
-
return de_CommandError(output, context);
|
|
928
|
-
}
|
|
929
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
930
|
-
let contents = {};
|
|
931
|
-
contents = (0, import_smithy_client._json)(data);
|
|
932
|
-
const response = {
|
|
933
|
-
$metadata: deserializeMetadata(output),
|
|
934
|
-
...contents
|
|
935
|
-
};
|
|
936
|
-
return response;
|
|
937
|
-
}, "de_GetUserIdCommand");
|
|
938
|
-
var de_IsMemberInGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
939
|
-
if (output.statusCode >= 300) {
|
|
940
|
-
return de_CommandError(output, context);
|
|
941
|
-
}
|
|
942
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
943
|
-
let contents = {};
|
|
944
|
-
contents = (0, import_smithy_client._json)(data);
|
|
945
|
-
const response = {
|
|
946
|
-
$metadata: deserializeMetadata(output),
|
|
947
|
-
...contents
|
|
948
|
-
};
|
|
949
|
-
return response;
|
|
950
|
-
}, "de_IsMemberInGroupsCommand");
|
|
951
|
-
var de_ListGroupMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
952
|
-
if (output.statusCode >= 300) {
|
|
953
|
-
return de_CommandError(output, context);
|
|
954
|
-
}
|
|
955
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
956
|
-
let contents = {};
|
|
957
|
-
contents = (0, import_smithy_client._json)(data);
|
|
958
|
-
const response = {
|
|
959
|
-
$metadata: deserializeMetadata(output),
|
|
960
|
-
...contents
|
|
961
|
-
};
|
|
962
|
-
return response;
|
|
963
|
-
}, "de_ListGroupMembershipsCommand");
|
|
964
|
-
var de_ListGroupMembershipsForMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
965
|
-
if (output.statusCode >= 300) {
|
|
966
|
-
return de_CommandError(output, context);
|
|
967
|
-
}
|
|
968
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
969
|
-
let contents = {};
|
|
970
|
-
contents = (0, import_smithy_client._json)(data);
|
|
971
|
-
const response = {
|
|
972
|
-
$metadata: deserializeMetadata(output),
|
|
973
|
-
...contents
|
|
974
|
-
};
|
|
975
|
-
return response;
|
|
976
|
-
}, "de_ListGroupMembershipsForMemberCommand");
|
|
977
|
-
var de_ListGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
|
-
if (output.statusCode >= 300) {
|
|
979
|
-
return de_CommandError(output, context);
|
|
980
|
-
}
|
|
981
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
982
|
-
let contents = {};
|
|
983
|
-
contents = (0, import_smithy_client._json)(data);
|
|
984
|
-
const response = {
|
|
985
|
-
$metadata: deserializeMetadata(output),
|
|
986
|
-
...contents
|
|
987
|
-
};
|
|
988
|
-
return response;
|
|
989
|
-
}, "de_ListGroupsCommand");
|
|
990
|
-
var de_ListUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
991
|
-
if (output.statusCode >= 300) {
|
|
992
|
-
return de_CommandError(output, context);
|
|
993
|
-
}
|
|
994
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
995
|
-
let contents = {};
|
|
996
|
-
contents = (0, import_smithy_client._json)(data);
|
|
997
|
-
const response = {
|
|
998
|
-
$metadata: deserializeMetadata(output),
|
|
999
|
-
...contents
|
|
1000
|
-
};
|
|
1001
|
-
return response;
|
|
1002
|
-
}, "de_ListUsersCommand");
|
|
1003
|
-
var de_UpdateGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1004
|
-
if (output.statusCode >= 300) {
|
|
1005
|
-
return de_CommandError(output, context);
|
|
1006
|
-
}
|
|
1007
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1008
|
-
let contents = {};
|
|
1009
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1010
|
-
const response = {
|
|
1011
|
-
$metadata: deserializeMetadata(output),
|
|
1012
|
-
...contents
|
|
1013
|
-
};
|
|
1014
|
-
return response;
|
|
1015
|
-
}, "de_UpdateGroupCommand");
|
|
1016
|
-
var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1017
|
-
if (output.statusCode >= 300) {
|
|
1018
|
-
return de_CommandError(output, context);
|
|
1019
|
-
}
|
|
1020
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1021
|
-
let contents = {};
|
|
1022
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1023
|
-
const response = {
|
|
1024
|
-
$metadata: deserializeMetadata(output),
|
|
1025
|
-
...contents
|
|
1026
|
-
};
|
|
1027
|
-
return response;
|
|
1028
|
-
}, "de_UpdateUserCommand");
|
|
1029
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1030
|
-
const parsedOutput = {
|
|
1031
|
-
...output,
|
|
1032
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1033
|
-
};
|
|
1034
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1035
|
-
switch (errorCode) {
|
|
1036
|
-
case "AccessDeniedException":
|
|
1037
|
-
case "com.amazonaws.identitystore#AccessDeniedException":
|
|
1038
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1039
|
-
case "ConflictException":
|
|
1040
|
-
case "com.amazonaws.identitystore#ConflictException":
|
|
1041
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1042
|
-
case "InternalServerException":
|
|
1043
|
-
case "com.amazonaws.identitystore#InternalServerException":
|
|
1044
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1045
|
-
case "ResourceNotFoundException":
|
|
1046
|
-
case "com.amazonaws.identitystore#ResourceNotFoundException":
|
|
1047
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1048
|
-
case "ServiceQuotaExceededException":
|
|
1049
|
-
case "com.amazonaws.identitystore#ServiceQuotaExceededException":
|
|
1050
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1051
|
-
case "ThrottlingException":
|
|
1052
|
-
case "com.amazonaws.identitystore#ThrottlingException":
|
|
1053
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1054
|
-
case "ValidationException":
|
|
1055
|
-
case "com.amazonaws.identitystore#ValidationException":
|
|
1056
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1057
|
-
default:
|
|
1058
|
-
const parsedBody = parsedOutput.body;
|
|
1059
|
-
return throwDefaultError({
|
|
1060
|
-
output,
|
|
1061
|
-
parsedBody,
|
|
1062
|
-
errorCode
|
|
1063
|
-
});
|
|
1064
|
-
}
|
|
1065
|
-
}, "de_CommandError");
|
|
1066
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1067
|
-
const body = parsedOutput.body;
|
|
1068
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1069
|
-
const exception = new AccessDeniedException({
|
|
1070
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1071
|
-
...deserialized
|
|
1072
|
-
});
|
|
1073
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1074
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1075
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1076
|
-
const body = parsedOutput.body;
|
|
1077
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1078
|
-
const exception = new ConflictException({
|
|
1079
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1080
|
-
...deserialized
|
|
1081
|
-
});
|
|
1082
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1083
|
-
}, "de_ConflictExceptionRes");
|
|
1084
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1085
|
-
const body = parsedOutput.body;
|
|
1086
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1087
|
-
const exception = new InternalServerException({
|
|
1088
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1089
|
-
...deserialized
|
|
1090
|
-
});
|
|
1091
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1092
|
-
}, "de_InternalServerExceptionRes");
|
|
1093
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1094
|
-
const body = parsedOutput.body;
|
|
1095
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1096
|
-
const exception = new ResourceNotFoundException({
|
|
1097
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1098
|
-
...deserialized
|
|
1099
|
-
});
|
|
1100
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1101
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1102
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1103
|
-
const body = parsedOutput.body;
|
|
1104
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1105
|
-
const exception = new ServiceQuotaExceededException({
|
|
1106
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1107
|
-
...deserialized
|
|
1108
|
-
});
|
|
1109
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1110
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1111
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1112
|
-
const body = parsedOutput.body;
|
|
1113
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1114
|
-
const exception = new ThrottlingException({
|
|
1115
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1116
|
-
...deserialized
|
|
1117
|
-
});
|
|
1118
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1119
|
-
}, "de_ThrottlingExceptionRes");
|
|
1120
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1121
|
-
const body = parsedOutput.body;
|
|
1122
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
1123
|
-
const exception = new ValidationException({
|
|
1124
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1125
|
-
...deserialized
|
|
1126
|
-
});
|
|
1127
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1128
|
-
}, "de_ValidationExceptionRes");
|
|
1129
|
-
var se_AlternateIdentifier = /* @__PURE__ */ __name((input, context) => {
|
|
1130
|
-
return AlternateIdentifier.visit(input, {
|
|
1131
|
-
ExternalId: /* @__PURE__ */ __name((value) => ({ ExternalId: (0, import_smithy_client._json)(value) }), "ExternalId"),
|
|
1132
|
-
UniqueAttribute: /* @__PURE__ */ __name((value) => ({ UniqueAttribute: se_UniqueAttribute(value, context) }), "UniqueAttribute"),
|
|
1133
|
-
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1134
|
-
});
|
|
1135
|
-
}, "se_AlternateIdentifier");
|
|
1136
|
-
var se_AttributeOperation = /* @__PURE__ */ __name((input, context) => {
|
|
1137
|
-
return (0, import_smithy_client.take)(input, {
|
|
1138
|
-
AttributePath: [],
|
|
1139
|
-
AttributeValue: /* @__PURE__ */ __name((_) => se_AttributeValue(_, context), "AttributeValue")
|
|
1140
|
-
});
|
|
1141
|
-
}, "se_AttributeOperation");
|
|
1142
|
-
var se_AttributeOperations = /* @__PURE__ */ __name((input, context) => {
|
|
1143
|
-
return input.filter((e) => e != null).map((entry) => {
|
|
1144
|
-
return se_AttributeOperation(entry, context);
|
|
1145
|
-
});
|
|
1146
|
-
}, "se_AttributeOperations");
|
|
1147
|
-
var se_AttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
1148
|
-
return input;
|
|
1149
|
-
}, "se_AttributeValue");
|
|
1150
|
-
var se_GetGroupIdRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1151
|
-
return (0, import_smithy_client.take)(input, {
|
|
1152
|
-
AlternateIdentifier: /* @__PURE__ */ __name((_) => se_AlternateIdentifier(_, context), "AlternateIdentifier"),
|
|
1153
|
-
IdentityStoreId: []
|
|
1154
|
-
});
|
|
1155
|
-
}, "se_GetGroupIdRequest");
|
|
1156
|
-
var se_GetUserIdRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1157
|
-
return (0, import_smithy_client.take)(input, {
|
|
1158
|
-
AlternateIdentifier: /* @__PURE__ */ __name((_) => se_AlternateIdentifier(_, context), "AlternateIdentifier"),
|
|
1159
|
-
IdentityStoreId: []
|
|
1160
|
-
});
|
|
1161
|
-
}, "se_GetUserIdRequest");
|
|
1162
|
-
var se_UniqueAttribute = /* @__PURE__ */ __name((input, context) => {
|
|
1163
|
-
return (0, import_smithy_client.take)(input, {
|
|
1164
|
-
AttributePath: [],
|
|
1165
|
-
AttributeValue: /* @__PURE__ */ __name((_) => se_AttributeValue(_, context), "AttributeValue")
|
|
1166
|
-
});
|
|
1167
|
-
}, "se_UniqueAttribute");
|
|
1168
|
-
var se_UpdateGroupRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1169
|
-
return (0, import_smithy_client.take)(input, {
|
|
1170
|
-
GroupId: [],
|
|
1171
|
-
IdentityStoreId: [],
|
|
1172
|
-
Operations: /* @__PURE__ */ __name((_) => se_AttributeOperations(_, context), "Operations")
|
|
1173
|
-
});
|
|
1174
|
-
}, "se_UpdateGroupRequest");
|
|
1175
|
-
var se_UpdateUserRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1176
|
-
return (0, import_smithy_client.take)(input, {
|
|
1177
|
-
IdentityStoreId: [],
|
|
1178
|
-
Operations: /* @__PURE__ */ __name((_) => se_AttributeOperations(_, context), "Operations"),
|
|
1179
|
-
UserId: []
|
|
1180
|
-
});
|
|
1181
|
-
}, "se_UpdateUserRequest");
|
|
1182
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1183
|
-
httpStatusCode: output.statusCode,
|
|
1184
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1185
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1186
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1187
|
-
}), "deserializeMetadata");
|
|
1188
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(IdentitystoreServiceException);
|
|
1189
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1190
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1191
|
-
const contents = {
|
|
1192
|
-
protocol,
|
|
1193
|
-
hostname,
|
|
1194
|
-
port,
|
|
1195
|
-
method: "POST",
|
|
1196
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1197
|
-
headers
|
|
1198
|
-
};
|
|
1199
|
-
if (resolvedHostname !== void 0) {
|
|
1200
|
-
contents.hostname = resolvedHostname;
|
|
1201
|
-
}
|
|
1202
|
-
if (body !== void 0) {
|
|
1203
|
-
contents.body = body;
|
|
1204
|
-
}
|
|
1205
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1206
|
-
}, "buildHttpRpcRequest");
|
|
1207
|
-
function sharedHeaders(operation) {
|
|
1208
|
-
return {
|
|
1209
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1210
|
-
"x-amz-target": `AWSIdentityStore.${operation}`
|
|
1211
|
-
};
|
|
1212
|
-
}
|
|
1213
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1214
|
-
|
|
1215
|
-
// src/commands/CreateGroupCommand.ts
|
|
1216
|
-
var CreateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1217
|
-
return [
|
|
1218
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1219
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1220
|
-
];
|
|
1221
|
-
}).s("AWSIdentityStore", "CreateGroup", {}).n("IdentitystoreClient", "CreateGroupCommand").f(CreateGroupRequestFilterSensitiveLog, void 0).ser(se_CreateGroupCommand).de(de_CreateGroupCommand).build() {
|
|
1222
|
-
static {
|
|
1223
|
-
__name(this, "CreateGroupCommand");
|
|
1224
|
-
}
|
|
860
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1225
861
|
};
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1235
|
-
];
|
|
1236
|
-
}).s("AWSIdentityStore", "CreateGroupMembership", {}).n("IdentitystoreClient", "CreateGroupMembershipCommand").f(void 0, void 0).ser(se_CreateGroupMembershipCommand).de(de_CreateGroupMembershipCommand).build() {
|
|
1237
|
-
static {
|
|
1238
|
-
__name(this, "CreateGroupMembershipCommand");
|
|
1239
|
-
}
|
|
862
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
863
|
+
const body = parsedOutput.body;
|
|
864
|
+
const deserialized = smithyClient._json(body);
|
|
865
|
+
const exception = new ServiceQuotaExceededException({
|
|
866
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
867
|
+
...deserialized,
|
|
868
|
+
});
|
|
869
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1240
870
|
};
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1250
|
-
];
|
|
1251
|
-
}).s("AWSIdentityStore", "CreateUser", {}).n("IdentitystoreClient", "CreateUserCommand").f(CreateUserRequestFilterSensitiveLog, void 0).ser(se_CreateUserCommand).de(de_CreateUserCommand).build() {
|
|
1252
|
-
static {
|
|
1253
|
-
__name(this, "CreateUserCommand");
|
|
1254
|
-
}
|
|
871
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
872
|
+
const body = parsedOutput.body;
|
|
873
|
+
const deserialized = smithyClient._json(body);
|
|
874
|
+
const exception = new ThrottlingException({
|
|
875
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
876
|
+
...deserialized,
|
|
877
|
+
});
|
|
878
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1255
879
|
};
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1265
|
-
];
|
|
1266
|
-
}).s("AWSIdentityStore", "DeleteGroup", {}).n("IdentitystoreClient", "DeleteGroupCommand").f(void 0, void 0).ser(se_DeleteGroupCommand).de(de_DeleteGroupCommand).build() {
|
|
1267
|
-
static {
|
|
1268
|
-
__name(this, "DeleteGroupCommand");
|
|
1269
|
-
}
|
|
880
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
881
|
+
const body = parsedOutput.body;
|
|
882
|
+
const deserialized = smithyClient._json(body);
|
|
883
|
+
const exception = new ValidationException({
|
|
884
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
885
|
+
...deserialized,
|
|
886
|
+
});
|
|
887
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1270
888
|
};
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
return [
|
|
1278
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1279
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1280
|
-
];
|
|
1281
|
-
}).s("AWSIdentityStore", "DeleteGroupMembership", {}).n("IdentitystoreClient", "DeleteGroupMembershipCommand").f(void 0, void 0).ser(se_DeleteGroupMembershipCommand).de(de_DeleteGroupMembershipCommand).build() {
|
|
1282
|
-
static {
|
|
1283
|
-
__name(this, "DeleteGroupMembershipCommand");
|
|
1284
|
-
}
|
|
889
|
+
const se_AlternateIdentifier = (input, context) => {
|
|
890
|
+
return exports.AlternateIdentifier.visit(input, {
|
|
891
|
+
ExternalId: (value) => ({ ExternalId: smithyClient._json(value) }),
|
|
892
|
+
UniqueAttribute: (value) => ({ UniqueAttribute: se_UniqueAttribute(value) }),
|
|
893
|
+
_: (name, value) => ({ [name]: value }),
|
|
894
|
+
});
|
|
1285
895
|
};
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
var DeleteUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1292
|
-
return [
|
|
1293
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1294
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1295
|
-
];
|
|
1296
|
-
}).s("AWSIdentityStore", "DeleteUser", {}).n("IdentitystoreClient", "DeleteUserCommand").f(void 0, void 0).ser(se_DeleteUserCommand).de(de_DeleteUserCommand).build() {
|
|
1297
|
-
static {
|
|
1298
|
-
__name(this, "DeleteUserCommand");
|
|
1299
|
-
}
|
|
896
|
+
const se_AttributeOperation = (input, context) => {
|
|
897
|
+
return smithyClient.take(input, {
|
|
898
|
+
AttributePath: [],
|
|
899
|
+
AttributeValue: (_) => se_AttributeValue(_),
|
|
900
|
+
});
|
|
1300
901
|
};
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
return [
|
|
1308
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1309
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1310
|
-
];
|
|
1311
|
-
}).s("AWSIdentityStore", "DescribeGroup", {}).n("IdentitystoreClient", "DescribeGroupCommand").f(void 0, DescribeGroupResponseFilterSensitiveLog).ser(se_DescribeGroupCommand).de(de_DescribeGroupCommand).build() {
|
|
1312
|
-
static {
|
|
1313
|
-
__name(this, "DescribeGroupCommand");
|
|
1314
|
-
}
|
|
902
|
+
const se_AttributeOperations = (input, context) => {
|
|
903
|
+
return input
|
|
904
|
+
.filter((e) => e != null)
|
|
905
|
+
.map((entry) => {
|
|
906
|
+
return se_AttributeOperation(entry);
|
|
907
|
+
});
|
|
1315
908
|
};
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
var DescribeGroupMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1322
|
-
return [
|
|
1323
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1324
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1325
|
-
];
|
|
1326
|
-
}).s("AWSIdentityStore", "DescribeGroupMembership", {}).n("IdentitystoreClient", "DescribeGroupMembershipCommand").f(void 0, void 0).ser(se_DescribeGroupMembershipCommand).de(de_DescribeGroupMembershipCommand).build() {
|
|
1327
|
-
static {
|
|
1328
|
-
__name(this, "DescribeGroupMembershipCommand");
|
|
1329
|
-
}
|
|
909
|
+
const se_AttributeValue = (input, context) => {
|
|
910
|
+
return input;
|
|
1330
911
|
};
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
var DescribeUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1337
|
-
return [
|
|
1338
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1339
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1340
|
-
];
|
|
1341
|
-
}).s("AWSIdentityStore", "DescribeUser", {}).n("IdentitystoreClient", "DescribeUserCommand").f(void 0, DescribeUserResponseFilterSensitiveLog).ser(se_DescribeUserCommand).de(de_DescribeUserCommand).build() {
|
|
1342
|
-
static {
|
|
1343
|
-
__name(this, "DescribeUserCommand");
|
|
1344
|
-
}
|
|
912
|
+
const se_GetGroupIdRequest = (input, context) => {
|
|
913
|
+
return smithyClient.take(input, {
|
|
914
|
+
AlternateIdentifier: (_) => se_AlternateIdentifier(_),
|
|
915
|
+
IdentityStoreId: [],
|
|
916
|
+
});
|
|
1345
917
|
};
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
var GetGroupIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1352
|
-
return [
|
|
1353
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1354
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1355
|
-
];
|
|
1356
|
-
}).s("AWSIdentityStore", "GetGroupId", {}).n("IdentitystoreClient", "GetGroupIdCommand").f(GetGroupIdRequestFilterSensitiveLog, void 0).ser(se_GetGroupIdCommand).de(de_GetGroupIdCommand).build() {
|
|
1357
|
-
static {
|
|
1358
|
-
__name(this, "GetGroupIdCommand");
|
|
1359
|
-
}
|
|
918
|
+
const se_GetUserIdRequest = (input, context) => {
|
|
919
|
+
return smithyClient.take(input, {
|
|
920
|
+
AlternateIdentifier: (_) => se_AlternateIdentifier(_),
|
|
921
|
+
IdentityStoreId: [],
|
|
922
|
+
});
|
|
1360
923
|
};
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
var GetGroupMembershipIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1367
|
-
return [
|
|
1368
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1369
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1370
|
-
];
|
|
1371
|
-
}).s("AWSIdentityStore", "GetGroupMembershipId", {}).n("IdentitystoreClient", "GetGroupMembershipIdCommand").f(void 0, void 0).ser(se_GetGroupMembershipIdCommand).de(de_GetGroupMembershipIdCommand).build() {
|
|
1372
|
-
static {
|
|
1373
|
-
__name(this, "GetGroupMembershipIdCommand");
|
|
1374
|
-
}
|
|
924
|
+
const se_UniqueAttribute = (input, context) => {
|
|
925
|
+
return smithyClient.take(input, {
|
|
926
|
+
AttributePath: [],
|
|
927
|
+
AttributeValue: (_) => se_AttributeValue(_),
|
|
928
|
+
});
|
|
1375
929
|
};
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
return [
|
|
1383
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1384
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1385
|
-
];
|
|
1386
|
-
}).s("AWSIdentityStore", "GetUserId", {}).n("IdentitystoreClient", "GetUserIdCommand").f(GetUserIdRequestFilterSensitiveLog, void 0).ser(se_GetUserIdCommand).de(de_GetUserIdCommand).build() {
|
|
1387
|
-
static {
|
|
1388
|
-
__name(this, "GetUserIdCommand");
|
|
1389
|
-
}
|
|
930
|
+
const se_UpdateGroupRequest = (input, context) => {
|
|
931
|
+
return smithyClient.take(input, {
|
|
932
|
+
GroupId: [],
|
|
933
|
+
IdentityStoreId: [],
|
|
934
|
+
Operations: (_) => se_AttributeOperations(_),
|
|
935
|
+
});
|
|
1390
936
|
};
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
return [
|
|
1398
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1399
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1400
|
-
];
|
|
1401
|
-
}).s("AWSIdentityStore", "IsMemberInGroups", {}).n("IdentitystoreClient", "IsMemberInGroupsCommand").f(void 0, IsMemberInGroupsResponseFilterSensitiveLog).ser(se_IsMemberInGroupsCommand).de(de_IsMemberInGroupsCommand).build() {
|
|
1402
|
-
static {
|
|
1403
|
-
__name(this, "IsMemberInGroupsCommand");
|
|
1404
|
-
}
|
|
937
|
+
const se_UpdateUserRequest = (input, context) => {
|
|
938
|
+
return smithyClient.take(input, {
|
|
939
|
+
IdentityStoreId: [],
|
|
940
|
+
Operations: (_) => se_AttributeOperations(_),
|
|
941
|
+
UserId: [],
|
|
942
|
+
});
|
|
1405
943
|
};
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
944
|
+
const deserializeMetadata = (output) => ({
|
|
945
|
+
httpStatusCode: output.statusCode,
|
|
946
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
947
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
948
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
949
|
+
});
|
|
950
|
+
const throwDefaultError = smithyClient.withBaseException(IdentitystoreServiceException);
|
|
951
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
952
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
953
|
+
const contents = {
|
|
954
|
+
protocol,
|
|
955
|
+
hostname,
|
|
956
|
+
port,
|
|
957
|
+
method: "POST",
|
|
958
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
959
|
+
headers,
|
|
960
|
+
};
|
|
961
|
+
if (body !== undefined) {
|
|
962
|
+
contents.body = body;
|
|
963
|
+
}
|
|
964
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1420
965
|
};
|
|
966
|
+
function sharedHeaders(operation) {
|
|
967
|
+
return {
|
|
968
|
+
"content-type": "application/x-amz-json-1.1",
|
|
969
|
+
"x-amz-target": `AWSIdentityStore.${operation}`,
|
|
970
|
+
};
|
|
971
|
+
}
|
|
1421
972
|
|
|
1422
|
-
|
|
973
|
+
class CreateGroupCommand extends smithyClient.Command
|
|
974
|
+
.classBuilder()
|
|
975
|
+
.ep(commonParams)
|
|
976
|
+
.m(function (Command, cs, config, o) {
|
|
977
|
+
return [
|
|
978
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
979
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
980
|
+
];
|
|
981
|
+
})
|
|
982
|
+
.s("AWSIdentityStore", "CreateGroup", {})
|
|
983
|
+
.n("IdentitystoreClient", "CreateGroupCommand")
|
|
984
|
+
.f(CreateGroupRequestFilterSensitiveLog, void 0)
|
|
985
|
+
.ser(se_CreateGroupCommand)
|
|
986
|
+
.de(de_CreateGroupCommand)
|
|
987
|
+
.build() {
|
|
988
|
+
}
|
|
1423
989
|
|
|
990
|
+
class CreateGroupMembershipCommand extends smithyClient.Command
|
|
991
|
+
.classBuilder()
|
|
992
|
+
.ep(commonParams)
|
|
993
|
+
.m(function (Command, cs, config, o) {
|
|
994
|
+
return [
|
|
995
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
996
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
997
|
+
];
|
|
998
|
+
})
|
|
999
|
+
.s("AWSIdentityStore", "CreateGroupMembership", {})
|
|
1000
|
+
.n("IdentitystoreClient", "CreateGroupMembershipCommand")
|
|
1001
|
+
.f(void 0, void 0)
|
|
1002
|
+
.ser(se_CreateGroupMembershipCommand)
|
|
1003
|
+
.de(de_CreateGroupMembershipCommand)
|
|
1004
|
+
.build() {
|
|
1005
|
+
}
|
|
1424
1006
|
|
|
1007
|
+
class CreateUserCommand extends smithyClient.Command
|
|
1008
|
+
.classBuilder()
|
|
1009
|
+
.ep(commonParams)
|
|
1010
|
+
.m(function (Command, cs, config, o) {
|
|
1011
|
+
return [
|
|
1012
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1013
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1014
|
+
];
|
|
1015
|
+
})
|
|
1016
|
+
.s("AWSIdentityStore", "CreateUser", {})
|
|
1017
|
+
.n("IdentitystoreClient", "CreateUserCommand")
|
|
1018
|
+
.f(CreateUserRequestFilterSensitiveLog, void 0)
|
|
1019
|
+
.ser(se_CreateUserCommand)
|
|
1020
|
+
.de(de_CreateUserCommand)
|
|
1021
|
+
.build() {
|
|
1022
|
+
}
|
|
1425
1023
|
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
(
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
}
|
|
1024
|
+
class DeleteGroupCommand extends smithyClient.Command
|
|
1025
|
+
.classBuilder()
|
|
1026
|
+
.ep(commonParams)
|
|
1027
|
+
.m(function (Command, cs, config, o) {
|
|
1028
|
+
return [
|
|
1029
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1030
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1031
|
+
];
|
|
1032
|
+
})
|
|
1033
|
+
.s("AWSIdentityStore", "DeleteGroup", {})
|
|
1034
|
+
.n("IdentitystoreClient", "DeleteGroupCommand")
|
|
1035
|
+
.f(void 0, void 0)
|
|
1036
|
+
.ser(se_DeleteGroupCommand)
|
|
1037
|
+
.de(de_DeleteGroupCommand)
|
|
1038
|
+
.build() {
|
|
1039
|
+
}
|
|
1436
1040
|
|
|
1437
|
-
|
|
1041
|
+
class DeleteGroupMembershipCommand extends smithyClient.Command
|
|
1042
|
+
.classBuilder()
|
|
1043
|
+
.ep(commonParams)
|
|
1044
|
+
.m(function (Command, cs, config, o) {
|
|
1045
|
+
return [
|
|
1046
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1047
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1048
|
+
];
|
|
1049
|
+
})
|
|
1050
|
+
.s("AWSIdentityStore", "DeleteGroupMembership", {})
|
|
1051
|
+
.n("IdentitystoreClient", "DeleteGroupMembershipCommand")
|
|
1052
|
+
.f(void 0, void 0)
|
|
1053
|
+
.ser(se_DeleteGroupMembershipCommand)
|
|
1054
|
+
.de(de_DeleteGroupMembershipCommand)
|
|
1055
|
+
.build() {
|
|
1056
|
+
}
|
|
1438
1057
|
|
|
1058
|
+
class DeleteUserCommand extends smithyClient.Command
|
|
1059
|
+
.classBuilder()
|
|
1060
|
+
.ep(commonParams)
|
|
1061
|
+
.m(function (Command, cs, config, o) {
|
|
1062
|
+
return [
|
|
1063
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1064
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1065
|
+
];
|
|
1066
|
+
})
|
|
1067
|
+
.s("AWSIdentityStore", "DeleteUser", {})
|
|
1068
|
+
.n("IdentitystoreClient", "DeleteUserCommand")
|
|
1069
|
+
.f(void 0, void 0)
|
|
1070
|
+
.ser(se_DeleteUserCommand)
|
|
1071
|
+
.de(de_DeleteUserCommand)
|
|
1072
|
+
.build() {
|
|
1073
|
+
}
|
|
1439
1074
|
|
|
1075
|
+
class DescribeGroupCommand extends smithyClient.Command
|
|
1076
|
+
.classBuilder()
|
|
1077
|
+
.ep(commonParams)
|
|
1078
|
+
.m(function (Command, cs, config, o) {
|
|
1079
|
+
return [
|
|
1080
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1081
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1082
|
+
];
|
|
1083
|
+
})
|
|
1084
|
+
.s("AWSIdentityStore", "DescribeGroup", {})
|
|
1085
|
+
.n("IdentitystoreClient", "DescribeGroupCommand")
|
|
1086
|
+
.f(void 0, DescribeGroupResponseFilterSensitiveLog)
|
|
1087
|
+
.ser(se_DescribeGroupCommand)
|
|
1088
|
+
.de(de_DescribeGroupCommand)
|
|
1089
|
+
.build() {
|
|
1090
|
+
}
|
|
1440
1091
|
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
(
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
}
|
|
1092
|
+
class DescribeGroupMembershipCommand extends smithyClient.Command
|
|
1093
|
+
.classBuilder()
|
|
1094
|
+
.ep(commonParams)
|
|
1095
|
+
.m(function (Command, cs, config, o) {
|
|
1096
|
+
return [
|
|
1097
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1098
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1099
|
+
];
|
|
1100
|
+
})
|
|
1101
|
+
.s("AWSIdentityStore", "DescribeGroupMembership", {})
|
|
1102
|
+
.n("IdentitystoreClient", "DescribeGroupMembershipCommand")
|
|
1103
|
+
.f(void 0, void 0)
|
|
1104
|
+
.ser(se_DescribeGroupMembershipCommand)
|
|
1105
|
+
.de(de_DescribeGroupMembershipCommand)
|
|
1106
|
+
.build() {
|
|
1107
|
+
}
|
|
1451
1108
|
|
|
1452
|
-
|
|
1109
|
+
class DescribeUserCommand extends smithyClient.Command
|
|
1110
|
+
.classBuilder()
|
|
1111
|
+
.ep(commonParams)
|
|
1112
|
+
.m(function (Command, cs, config, o) {
|
|
1113
|
+
return [
|
|
1114
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1115
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1116
|
+
];
|
|
1117
|
+
})
|
|
1118
|
+
.s("AWSIdentityStore", "DescribeUser", {})
|
|
1119
|
+
.n("IdentitystoreClient", "DescribeUserCommand")
|
|
1120
|
+
.f(void 0, DescribeUserResponseFilterSensitiveLog)
|
|
1121
|
+
.ser(se_DescribeUserCommand)
|
|
1122
|
+
.de(de_DescribeUserCommand)
|
|
1123
|
+
.build() {
|
|
1124
|
+
}
|
|
1453
1125
|
|
|
1126
|
+
class GetGroupIdCommand extends smithyClient.Command
|
|
1127
|
+
.classBuilder()
|
|
1128
|
+
.ep(commonParams)
|
|
1129
|
+
.m(function (Command, cs, config, o) {
|
|
1130
|
+
return [
|
|
1131
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1132
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1133
|
+
];
|
|
1134
|
+
})
|
|
1135
|
+
.s("AWSIdentityStore", "GetGroupId", {})
|
|
1136
|
+
.n("IdentitystoreClient", "GetGroupIdCommand")
|
|
1137
|
+
.f(GetGroupIdRequestFilterSensitiveLog, void 0)
|
|
1138
|
+
.ser(se_GetGroupIdCommand)
|
|
1139
|
+
.de(de_GetGroupIdCommand)
|
|
1140
|
+
.build() {
|
|
1141
|
+
}
|
|
1454
1142
|
|
|
1143
|
+
class GetGroupMembershipIdCommand extends smithyClient.Command
|
|
1144
|
+
.classBuilder()
|
|
1145
|
+
.ep(commonParams)
|
|
1146
|
+
.m(function (Command, cs, config, o) {
|
|
1147
|
+
return [
|
|
1148
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1149
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1150
|
+
];
|
|
1151
|
+
})
|
|
1152
|
+
.s("AWSIdentityStore", "GetGroupMembershipId", {})
|
|
1153
|
+
.n("IdentitystoreClient", "GetGroupMembershipIdCommand")
|
|
1154
|
+
.f(void 0, void 0)
|
|
1155
|
+
.ser(se_GetGroupMembershipIdCommand)
|
|
1156
|
+
.de(de_GetGroupMembershipIdCommand)
|
|
1157
|
+
.build() {
|
|
1158
|
+
}
|
|
1455
1159
|
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
(
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
}
|
|
1160
|
+
class GetUserIdCommand extends smithyClient.Command
|
|
1161
|
+
.classBuilder()
|
|
1162
|
+
.ep(commonParams)
|
|
1163
|
+
.m(function (Command, cs, config, o) {
|
|
1164
|
+
return [
|
|
1165
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1166
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1167
|
+
];
|
|
1168
|
+
})
|
|
1169
|
+
.s("AWSIdentityStore", "GetUserId", {})
|
|
1170
|
+
.n("IdentitystoreClient", "GetUserIdCommand")
|
|
1171
|
+
.f(GetUserIdRequestFilterSensitiveLog, void 0)
|
|
1172
|
+
.ser(se_GetUserIdCommand)
|
|
1173
|
+
.de(de_GetUserIdCommand)
|
|
1174
|
+
.build() {
|
|
1175
|
+
}
|
|
1466
1176
|
|
|
1467
|
-
|
|
1177
|
+
class IsMemberInGroupsCommand extends smithyClient.Command
|
|
1178
|
+
.classBuilder()
|
|
1179
|
+
.ep(commonParams)
|
|
1180
|
+
.m(function (Command, cs, config, o) {
|
|
1181
|
+
return [
|
|
1182
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1183
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1184
|
+
];
|
|
1185
|
+
})
|
|
1186
|
+
.s("AWSIdentityStore", "IsMemberInGroups", {})
|
|
1187
|
+
.n("IdentitystoreClient", "IsMemberInGroupsCommand")
|
|
1188
|
+
.f(void 0, IsMemberInGroupsResponseFilterSensitiveLog)
|
|
1189
|
+
.ser(se_IsMemberInGroupsCommand)
|
|
1190
|
+
.de(de_IsMemberInGroupsCommand)
|
|
1191
|
+
.build() {
|
|
1192
|
+
}
|
|
1468
1193
|
|
|
1194
|
+
class ListGroupMembershipsCommand extends smithyClient.Command
|
|
1195
|
+
.classBuilder()
|
|
1196
|
+
.ep(commonParams)
|
|
1197
|
+
.m(function (Command, cs, config, o) {
|
|
1198
|
+
return [
|
|
1199
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1200
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1201
|
+
];
|
|
1202
|
+
})
|
|
1203
|
+
.s("AWSIdentityStore", "ListGroupMemberships", {})
|
|
1204
|
+
.n("IdentitystoreClient", "ListGroupMembershipsCommand")
|
|
1205
|
+
.f(void 0, void 0)
|
|
1206
|
+
.ser(se_ListGroupMembershipsCommand)
|
|
1207
|
+
.de(de_ListGroupMembershipsCommand)
|
|
1208
|
+
.build() {
|
|
1209
|
+
}
|
|
1469
1210
|
|
|
1211
|
+
class ListGroupMembershipsForMemberCommand extends smithyClient.Command
|
|
1212
|
+
.classBuilder()
|
|
1213
|
+
.ep(commonParams)
|
|
1214
|
+
.m(function (Command, cs, config, o) {
|
|
1215
|
+
return [
|
|
1216
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1217
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1218
|
+
];
|
|
1219
|
+
})
|
|
1220
|
+
.s("AWSIdentityStore", "ListGroupMembershipsForMember", {})
|
|
1221
|
+
.n("IdentitystoreClient", "ListGroupMembershipsForMemberCommand")
|
|
1222
|
+
.f(void 0, void 0)
|
|
1223
|
+
.ser(se_ListGroupMembershipsForMemberCommand)
|
|
1224
|
+
.de(de_ListGroupMembershipsForMemberCommand)
|
|
1225
|
+
.build() {
|
|
1226
|
+
}
|
|
1470
1227
|
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
(
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
}
|
|
1228
|
+
class ListGroupsCommand extends smithyClient.Command
|
|
1229
|
+
.classBuilder()
|
|
1230
|
+
.ep(commonParams)
|
|
1231
|
+
.m(function (Command, cs, config, o) {
|
|
1232
|
+
return [
|
|
1233
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1234
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1235
|
+
];
|
|
1236
|
+
})
|
|
1237
|
+
.s("AWSIdentityStore", "ListGroups", {})
|
|
1238
|
+
.n("IdentitystoreClient", "ListGroupsCommand")
|
|
1239
|
+
.f(ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog)
|
|
1240
|
+
.ser(se_ListGroupsCommand)
|
|
1241
|
+
.de(de_ListGroupsCommand)
|
|
1242
|
+
.build() {
|
|
1243
|
+
}
|
|
1481
1244
|
|
|
1482
|
-
|
|
1245
|
+
class ListUsersCommand extends smithyClient.Command
|
|
1246
|
+
.classBuilder()
|
|
1247
|
+
.ep(commonParams)
|
|
1248
|
+
.m(function (Command, cs, config, o) {
|
|
1249
|
+
return [
|
|
1250
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1251
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1252
|
+
];
|
|
1253
|
+
})
|
|
1254
|
+
.s("AWSIdentityStore", "ListUsers", {})
|
|
1255
|
+
.n("IdentitystoreClient", "ListUsersCommand")
|
|
1256
|
+
.f(ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog)
|
|
1257
|
+
.ser(se_ListUsersCommand)
|
|
1258
|
+
.de(de_ListUsersCommand)
|
|
1259
|
+
.build() {
|
|
1260
|
+
}
|
|
1483
1261
|
|
|
1262
|
+
class UpdateGroupCommand extends smithyClient.Command
|
|
1263
|
+
.classBuilder()
|
|
1264
|
+
.ep(commonParams)
|
|
1265
|
+
.m(function (Command, cs, config, o) {
|
|
1266
|
+
return [
|
|
1267
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1268
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1269
|
+
];
|
|
1270
|
+
})
|
|
1271
|
+
.s("AWSIdentityStore", "UpdateGroup", {})
|
|
1272
|
+
.n("IdentitystoreClient", "UpdateGroupCommand")
|
|
1273
|
+
.f(void 0, void 0)
|
|
1274
|
+
.ser(se_UpdateGroupCommand)
|
|
1275
|
+
.de(de_UpdateGroupCommand)
|
|
1276
|
+
.build() {
|
|
1277
|
+
}
|
|
1484
1278
|
|
|
1279
|
+
class UpdateUserCommand extends smithyClient.Command
|
|
1280
|
+
.classBuilder()
|
|
1281
|
+
.ep(commonParams)
|
|
1282
|
+
.m(function (Command, cs, config, o) {
|
|
1283
|
+
return [
|
|
1284
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1285
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1286
|
+
];
|
|
1287
|
+
})
|
|
1288
|
+
.s("AWSIdentityStore", "UpdateUser", {})
|
|
1289
|
+
.n("IdentitystoreClient", "UpdateUserCommand")
|
|
1290
|
+
.f(void 0, void 0)
|
|
1291
|
+
.ser(se_UpdateUserCommand)
|
|
1292
|
+
.de(de_UpdateUserCommand)
|
|
1293
|
+
.build() {
|
|
1294
|
+
}
|
|
1485
1295
|
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1296
|
+
const commands = {
|
|
1297
|
+
CreateGroupCommand,
|
|
1298
|
+
CreateGroupMembershipCommand,
|
|
1299
|
+
CreateUserCommand,
|
|
1300
|
+
DeleteGroupCommand,
|
|
1301
|
+
DeleteGroupMembershipCommand,
|
|
1302
|
+
DeleteUserCommand,
|
|
1303
|
+
DescribeGroupCommand,
|
|
1304
|
+
DescribeGroupMembershipCommand,
|
|
1305
|
+
DescribeUserCommand,
|
|
1306
|
+
GetGroupIdCommand,
|
|
1307
|
+
GetGroupMembershipIdCommand,
|
|
1308
|
+
GetUserIdCommand,
|
|
1309
|
+
IsMemberInGroupsCommand,
|
|
1310
|
+
ListGroupMembershipsCommand,
|
|
1311
|
+
ListGroupMembershipsForMemberCommand,
|
|
1312
|
+
ListGroupsCommand,
|
|
1313
|
+
ListUsersCommand,
|
|
1314
|
+
UpdateGroupCommand,
|
|
1315
|
+
UpdateUserCommand,
|
|
1495
1316
|
};
|
|
1317
|
+
class Identitystore extends IdentitystoreClient {
|
|
1318
|
+
}
|
|
1319
|
+
smithyClient.createAggregatedClient(commands, Identitystore);
|
|
1496
1320
|
|
|
1497
|
-
|
|
1498
|
-
var commands = {
|
|
1499
|
-
CreateGroupCommand,
|
|
1500
|
-
CreateGroupMembershipCommand,
|
|
1501
|
-
CreateUserCommand,
|
|
1502
|
-
DeleteGroupCommand,
|
|
1503
|
-
DeleteGroupMembershipCommand,
|
|
1504
|
-
DeleteUserCommand,
|
|
1505
|
-
DescribeGroupCommand,
|
|
1506
|
-
DescribeGroupMembershipCommand,
|
|
1507
|
-
DescribeUserCommand,
|
|
1508
|
-
GetGroupIdCommand,
|
|
1509
|
-
GetGroupMembershipIdCommand,
|
|
1510
|
-
GetUserIdCommand,
|
|
1511
|
-
IsMemberInGroupsCommand,
|
|
1512
|
-
ListGroupMembershipsCommand,
|
|
1513
|
-
ListGroupMembershipsForMemberCommand,
|
|
1514
|
-
ListGroupsCommand,
|
|
1515
|
-
ListUsersCommand,
|
|
1516
|
-
UpdateGroupCommand,
|
|
1517
|
-
UpdateUserCommand
|
|
1518
|
-
};
|
|
1519
|
-
var Identitystore = class extends IdentitystoreClient {
|
|
1520
|
-
static {
|
|
1521
|
-
__name(this, "Identitystore");
|
|
1522
|
-
}
|
|
1523
|
-
};
|
|
1524
|
-
(0, import_smithy_client.createAggregatedClient)(commands, Identitystore);
|
|
1525
|
-
|
|
1526
|
-
// src/pagination/ListGroupMembershipsForMemberPaginator.ts
|
|
1527
|
-
|
|
1528
|
-
var paginateListGroupMembershipsForMember = (0, import_core.createPaginator)(IdentitystoreClient, ListGroupMembershipsForMemberCommand, "NextToken", "NextToken", "MaxResults");
|
|
1529
|
-
|
|
1530
|
-
// src/pagination/ListGroupMembershipsPaginator.ts
|
|
1531
|
-
|
|
1532
|
-
var paginateListGroupMemberships = (0, import_core.createPaginator)(IdentitystoreClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1533
|
-
|
|
1534
|
-
// src/pagination/ListGroupsPaginator.ts
|
|
1321
|
+
const paginateListGroupMembershipsForMember = core.createPaginator(IdentitystoreClient, ListGroupMembershipsForMemberCommand, "NextToken", "NextToken", "MaxResults");
|
|
1535
1322
|
|
|
1536
|
-
|
|
1323
|
+
const paginateListGroupMemberships = core.createPaginator(IdentitystoreClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1537
1324
|
|
|
1538
|
-
|
|
1325
|
+
const paginateListGroups = core.createPaginator(IdentitystoreClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1539
1326
|
|
|
1540
|
-
|
|
1541
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1327
|
+
const paginateListUsers = core.createPaginator(IdentitystoreClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1542
1328
|
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
IdentitystoreClient,
|
|
1547
|
-
Identitystore,
|
|
1548
|
-
$Command,
|
|
1549
|
-
CreateGroupCommand,
|
|
1550
|
-
CreateGroupMembershipCommand,
|
|
1551
|
-
CreateUserCommand,
|
|
1552
|
-
DeleteGroupCommand,
|
|
1553
|
-
DeleteGroupMembershipCommand,
|
|
1554
|
-
DeleteUserCommand,
|
|
1555
|
-
DescribeGroupCommand,
|
|
1556
|
-
DescribeGroupMembershipCommand,
|
|
1557
|
-
DescribeUserCommand,
|
|
1558
|
-
GetGroupIdCommand,
|
|
1559
|
-
GetGroupMembershipIdCommand,
|
|
1560
|
-
GetUserIdCommand,
|
|
1561
|
-
IsMemberInGroupsCommand,
|
|
1562
|
-
ListGroupMembershipsCommand,
|
|
1563
|
-
ListGroupMembershipsForMemberCommand,
|
|
1564
|
-
ListGroupsCommand,
|
|
1565
|
-
ListUsersCommand,
|
|
1566
|
-
UpdateGroupCommand,
|
|
1567
|
-
UpdateUserCommand,
|
|
1568
|
-
paginateListGroupMembershipsForMember,
|
|
1569
|
-
paginateListGroupMemberships,
|
|
1570
|
-
paginateListGroups,
|
|
1571
|
-
paginateListUsers,
|
|
1572
|
-
AccessDeniedException,
|
|
1573
|
-
AlternateIdentifier,
|
|
1574
|
-
InternalServerException,
|
|
1575
|
-
ResourceType,
|
|
1576
|
-
ResourceNotFoundException,
|
|
1577
|
-
ThrottlingException,
|
|
1578
|
-
ValidationException,
|
|
1579
|
-
MemberId,
|
|
1580
|
-
ConflictExceptionReason,
|
|
1581
|
-
ConflictException,
|
|
1582
|
-
ServiceQuotaExceededException,
|
|
1583
|
-
AddressFilterSensitiveLog,
|
|
1584
|
-
ExternalIdFilterSensitiveLog,
|
|
1585
|
-
AlternateIdentifierFilterSensitiveLog,
|
|
1586
|
-
GetGroupIdRequestFilterSensitiveLog,
|
|
1587
|
-
GetUserIdRequestFilterSensitiveLog,
|
|
1588
|
-
CreateGroupRequestFilterSensitiveLog,
|
|
1589
|
-
DescribeGroupResponseFilterSensitiveLog,
|
|
1590
|
-
FilterFilterSensitiveLog,
|
|
1591
|
-
ListGroupsRequestFilterSensitiveLog,
|
|
1592
|
-
GroupFilterSensitiveLog,
|
|
1593
|
-
ListGroupsResponseFilterSensitiveLog,
|
|
1594
|
-
GroupMembershipExistenceResultFilterSensitiveLog,
|
|
1595
|
-
IsMemberInGroupsResponseFilterSensitiveLog,
|
|
1596
|
-
EmailFilterSensitiveLog,
|
|
1597
|
-
NameFilterSensitiveLog,
|
|
1598
|
-
PhoneNumberFilterSensitiveLog,
|
|
1599
|
-
CreateUserRequestFilterSensitiveLog,
|
|
1600
|
-
DescribeUserResponseFilterSensitiveLog,
|
|
1601
|
-
ListUsersRequestFilterSensitiveLog,
|
|
1602
|
-
UserFilterSensitiveLog,
|
|
1603
|
-
ListUsersResponseFilterSensitiveLog
|
|
1329
|
+
Object.defineProperty(exports, "$Command", {
|
|
1330
|
+
enumerable: true,
|
|
1331
|
+
get: function () { return smithyClient.Command; }
|
|
1604
1332
|
});
|
|
1605
|
-
|
|
1333
|
+
Object.defineProperty(exports, "__Client", {
|
|
1334
|
+
enumerable: true,
|
|
1335
|
+
get: function () { return smithyClient.Client; }
|
|
1336
|
+
});
|
|
1337
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1338
|
+
exports.AddressFilterSensitiveLog = AddressFilterSensitiveLog;
|
|
1339
|
+
exports.AlternateIdentifierFilterSensitiveLog = AlternateIdentifierFilterSensitiveLog;
|
|
1340
|
+
exports.ConflictException = ConflictException;
|
|
1341
|
+
exports.ConflictExceptionReason = ConflictExceptionReason;
|
|
1342
|
+
exports.CreateGroupCommand = CreateGroupCommand;
|
|
1343
|
+
exports.CreateGroupMembershipCommand = CreateGroupMembershipCommand;
|
|
1344
|
+
exports.CreateGroupRequestFilterSensitiveLog = CreateGroupRequestFilterSensitiveLog;
|
|
1345
|
+
exports.CreateUserCommand = CreateUserCommand;
|
|
1346
|
+
exports.CreateUserRequestFilterSensitiveLog = CreateUserRequestFilterSensitiveLog;
|
|
1347
|
+
exports.DeleteGroupCommand = DeleteGroupCommand;
|
|
1348
|
+
exports.DeleteGroupMembershipCommand = DeleteGroupMembershipCommand;
|
|
1349
|
+
exports.DeleteUserCommand = DeleteUserCommand;
|
|
1350
|
+
exports.DescribeGroupCommand = DescribeGroupCommand;
|
|
1351
|
+
exports.DescribeGroupMembershipCommand = DescribeGroupMembershipCommand;
|
|
1352
|
+
exports.DescribeGroupResponseFilterSensitiveLog = DescribeGroupResponseFilterSensitiveLog;
|
|
1353
|
+
exports.DescribeUserCommand = DescribeUserCommand;
|
|
1354
|
+
exports.DescribeUserResponseFilterSensitiveLog = DescribeUserResponseFilterSensitiveLog;
|
|
1355
|
+
exports.EmailFilterSensitiveLog = EmailFilterSensitiveLog;
|
|
1356
|
+
exports.ExternalIdFilterSensitiveLog = ExternalIdFilterSensitiveLog;
|
|
1357
|
+
exports.FilterFilterSensitiveLog = FilterFilterSensitiveLog;
|
|
1358
|
+
exports.GetGroupIdCommand = GetGroupIdCommand;
|
|
1359
|
+
exports.GetGroupIdRequestFilterSensitiveLog = GetGroupIdRequestFilterSensitiveLog;
|
|
1360
|
+
exports.GetGroupMembershipIdCommand = GetGroupMembershipIdCommand;
|
|
1361
|
+
exports.GetUserIdCommand = GetUserIdCommand;
|
|
1362
|
+
exports.GetUserIdRequestFilterSensitiveLog = GetUserIdRequestFilterSensitiveLog;
|
|
1363
|
+
exports.GroupFilterSensitiveLog = GroupFilterSensitiveLog;
|
|
1364
|
+
exports.GroupMembershipExistenceResultFilterSensitiveLog = GroupMembershipExistenceResultFilterSensitiveLog;
|
|
1365
|
+
exports.Identitystore = Identitystore;
|
|
1366
|
+
exports.IdentitystoreClient = IdentitystoreClient;
|
|
1367
|
+
exports.IdentitystoreServiceException = IdentitystoreServiceException;
|
|
1368
|
+
exports.InternalServerException = InternalServerException;
|
|
1369
|
+
exports.IsMemberInGroupsCommand = IsMemberInGroupsCommand;
|
|
1370
|
+
exports.IsMemberInGroupsResponseFilterSensitiveLog = IsMemberInGroupsResponseFilterSensitiveLog;
|
|
1371
|
+
exports.ListGroupMembershipsCommand = ListGroupMembershipsCommand;
|
|
1372
|
+
exports.ListGroupMembershipsForMemberCommand = ListGroupMembershipsForMemberCommand;
|
|
1373
|
+
exports.ListGroupsCommand = ListGroupsCommand;
|
|
1374
|
+
exports.ListGroupsRequestFilterSensitiveLog = ListGroupsRequestFilterSensitiveLog;
|
|
1375
|
+
exports.ListGroupsResponseFilterSensitiveLog = ListGroupsResponseFilterSensitiveLog;
|
|
1376
|
+
exports.ListUsersCommand = ListUsersCommand;
|
|
1377
|
+
exports.ListUsersRequestFilterSensitiveLog = ListUsersRequestFilterSensitiveLog;
|
|
1378
|
+
exports.ListUsersResponseFilterSensitiveLog = ListUsersResponseFilterSensitiveLog;
|
|
1379
|
+
exports.NameFilterSensitiveLog = NameFilterSensitiveLog;
|
|
1380
|
+
exports.PhoneNumberFilterSensitiveLog = PhoneNumberFilterSensitiveLog;
|
|
1381
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1382
|
+
exports.ResourceType = ResourceType;
|
|
1383
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1384
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1385
|
+
exports.UpdateGroupCommand = UpdateGroupCommand;
|
|
1386
|
+
exports.UpdateUserCommand = UpdateUserCommand;
|
|
1387
|
+
exports.UserFilterSensitiveLog = UserFilterSensitiveLog;
|
|
1388
|
+
exports.ValidationException = ValidationException;
|
|
1389
|
+
exports.paginateListGroupMemberships = paginateListGroupMemberships;
|
|
1390
|
+
exports.paginateListGroupMembershipsForMember = paginateListGroupMembershipsForMember;
|
|
1391
|
+
exports.paginateListGroups = paginateListGroups;
|
|
1392
|
+
exports.paginateListUsers = paginateListUsers;
|