/var/runtime/node_modules/@aws-sdk/client-identitystore/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AccessDeniedException: () => AccessDeniedException, AddressFilterSensitiveLog: () => AddressFilterSensitiveLog, AlternateIdentifier: () => AlternateIdentifier, AlternateIdentifierFilterSensitiveLog: () => AlternateIdentifierFilterSensitiveLog, ConflictException: () => ConflictException, ConflictExceptionReason: () => ConflictExceptionReason, CreateGroupCommand: () => CreateGroupCommand, CreateGroupMembershipCommand: () => CreateGroupMembershipCommand, CreateGroupRequestFilterSensitiveLog: () => CreateGroupRequestFilterSensitiveLog, CreateUserCommand: () => CreateUserCommand, CreateUserRequestFilterSensitiveLog: () => CreateUserRequestFilterSensitiveLog, DeleteGroupCommand: () => DeleteGroupCommand, DeleteGroupMembershipCommand: () => DeleteGroupMembershipCommand, DeleteUserCommand: () => DeleteUserCommand, DescribeGroupCommand: () => DescribeGroupCommand, DescribeGroupMembershipCommand: () => DescribeGroupMembershipCommand, DescribeGroupResponseFilterSensitiveLog: () => DescribeGroupResponseFilterSensitiveLog, DescribeUserCommand: () => DescribeUserCommand, DescribeUserResponseFilterSensitiveLog: () => DescribeUserResponseFilterSensitiveLog, EmailFilterSensitiveLog: () => EmailFilterSensitiveLog, ExternalIdFilterSensitiveLog: () => ExternalIdFilterSensitiveLog, FilterFilterSensitiveLog: () => FilterFilterSensitiveLog, GetGroupIdCommand: () => GetGroupIdCommand, GetGroupIdRequestFilterSensitiveLog: () => GetGroupIdRequestFilterSensitiveLog, GetGroupMembershipIdCommand: () => GetGroupMembershipIdCommand, GetUserIdCommand: () => GetUserIdCommand, GetUserIdRequestFilterSensitiveLog: () => GetUserIdRequestFilterSensitiveLog, GroupFilterSensitiveLog: () => GroupFilterSensitiveLog, GroupMembershipExistenceResultFilterSensitiveLog: () => GroupMembershipExistenceResultFilterSensitiveLog, Identitystore: () => Identitystore, IdentitystoreClient: () => IdentitystoreClient, IdentitystoreServiceException: () => IdentitystoreServiceException, InternalServerException: () => InternalServerException, IsMemberInGroupsCommand: () => IsMemberInGroupsCommand, IsMemberInGroupsResponseFilterSensitiveLog: () => IsMemberInGroupsResponseFilterSensitiveLog, ListGroupMembershipsCommand: () => ListGroupMembershipsCommand, ListGroupMembershipsForMemberCommand: () => ListGroupMembershipsForMemberCommand, ListGroupsCommand: () => ListGroupsCommand, ListGroupsRequestFilterSensitiveLog: () => ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog: () => ListGroupsResponseFilterSensitiveLog, ListUsersCommand: () => ListUsersCommand, ListUsersRequestFilterSensitiveLog: () => ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog: () => ListUsersResponseFilterSensitiveLog, MemberId: () => MemberId, NameFilterSensitiveLog: () => NameFilterSensitiveLog, PhoneNumberFilterSensitiveLog: () => PhoneNumberFilterSensitiveLog, ResourceNotFoundException: () => ResourceNotFoundException, ResourceType: () => ResourceType, ServiceQuotaExceededException: () => ServiceQuotaExceededException, ThrottlingException: () => ThrottlingException, UpdateGroupCommand: () => UpdateGroupCommand, UpdateUserCommand: () => UpdateUserCommand, UserFilterSensitiveLog: () => UserFilterSensitiveLog, ValidationException: () => ValidationException, __Client: () => import_smithy_client.Client, paginateListGroupMemberships: () => paginateListGroupMemberships, paginateListGroupMembershipsForMember: () => paginateListGroupMembershipsForMember, paginateListGroups: () => paginateListGroups, paginateListUsers: () => paginateListUsers});module.exports = __toCommonJS(index_exports); // src/IdentitystoreClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "identitystore" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/IdentitystoreClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/IdentitystoreClient.tsvar IdentitystoreClient = class extends import_smithy_client.Client { static { __name(this, "IdentitystoreClient"); } /** * The resolved configuration of IdentitystoreClient class. This is resolved and normalized from the {@link IdentitystoreClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIdentitystoreHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/Identitystore.ts // src/commands/CreateGroupCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/models/models_0.ts // src/models/IdentitystoreServiceException.ts var IdentitystoreServiceException = class _IdentitystoreServiceException extends import_smithy_client.ServiceException { static { __name(this, "IdentitystoreServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _IdentitystoreServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends IdentitystoreServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; Message; /** * <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> * @public */ RequestId; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; this.RequestId = opts.RequestId; }};var AlternateIdentifier;((AlternateIdentifier2) => { AlternateIdentifier2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.ExternalId !== void 0) return visitor.ExternalId(value.ExternalId); if (value.UniqueAttribute !== void 0) return visitor.UniqueAttribute(value.UniqueAttribute); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(AlternateIdentifier || (AlternateIdentifier = {}));var InternalServerException = class _InternalServerException extends IdentitystoreServiceException { static { __name(this, "InternalServerException"); } name = "InternalServerException"; $fault = "server"; $retryable = {}; Message; /** * <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> * @public */ RequestId; /** * <p>The number of seconds to wait before retrying the next request.</p> * @public */ RetryAfterSeconds; /** * @internal */ constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); this.Message = opts.Message; this.RequestId = opts.RequestId; this.RetryAfterSeconds = opts.RetryAfterSeconds; }};var ResourceType = { GROUP: "GROUP", GROUP_MEMBERSHIP: "GROUP_MEMBERSHIP", IDENTITY_STORE: "IDENTITY_STORE", USER: "USER"};var ResourceNotFoundException = class _ResourceNotFoundException extends IdentitystoreServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * <p>An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.</p> * @public */ ResourceType; /** * <p>The identifier for a resource in the identity store that can be used as <code>UserId</code> or <code>GroupId</code>. The format for <code>ResourceId</code> is either <code>UUID</code> or <code>1234567890-UUID</code>, where <code>UUID</code> is a randomly generated value for each resource when it is created and <code>1234567890</code> represents the <code>IdentityStoreId</code> string value. In the case that the identity store is migrated from a legacy SSO identity store, the <code>ResourceId</code> for that identity store will be in the format of <code>UUID</code>. Otherwise, it will be in the <code>1234567890-UUID</code> format.</p> * @public */ ResourceId; Message; /** * <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> * @public */ RequestId; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.ResourceType = opts.ResourceType; this.ResourceId = opts.ResourceId; this.Message = opts.Message; this.RequestId = opts.RequestId; }};var ThrottlingException = class _ThrottlingException extends IdentitystoreServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; $retryable = { throttling: true }; Message; /** * <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> * @public */ RequestId; /** * <p>The number of seconds to wait before retrying the next request.</p> * @public */ RetryAfterSeconds; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); this.Message = opts.Message; this.RequestId = opts.RequestId; this.RetryAfterSeconds = opts.RetryAfterSeconds; }};var ValidationException = class _ValidationException extends IdentitystoreServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; Message; /** * <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> * @public */ RequestId; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.Message = opts.Message; this.RequestId = opts.RequestId; }};var MemberId;((MemberId3) => { MemberId3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.UserId !== void 0) return visitor.UserId(value.UserId); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(MemberId || (MemberId = {}));var ConflictExceptionReason = { CONCURRENT_MODIFICATION: "CONCURRENT_MODIFICATION", UNIQUENESS_CONSTRAINT_VIOLATION: "UNIQUENESS_CONSTRAINT_VIOLATION"};var ConflictException = class _ConflictException extends IdentitystoreServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; Message; /** * <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> * @public */ RequestId; /** * <p>This request cannot be completed for one of the following reasons:</p> * <ul> * <li> * <p>Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.</p> * </li> * <li> * <p>The requested resource was being concurrently modified by another request.</p> * </li> * </ul> * @public */ Reason; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.Message = opts.Message; this.RequestId = opts.RequestId; this.Reason = opts.Reason; }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IdentitystoreServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; Message; /** * <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> * @public */ RequestId; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.Message = opts.Message; this.RequestId = opts.RequestId; }};var AddressFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.StreetAddress && { StreetAddress: import_smithy_client.SENSITIVE_STRING }, ...obj.Locality && { Locality: import_smithy_client.SENSITIVE_STRING }, ...obj.Region && { Region: import_smithy_client.SENSITIVE_STRING }, ...obj.PostalCode && { PostalCode: import_smithy_client.SENSITIVE_STRING }, ...obj.Country && { Country: import_smithy_client.SENSITIVE_STRING }, ...obj.Formatted && { Formatted: import_smithy_client.SENSITIVE_STRING }, ...obj.Type && { Type: import_smithy_client.SENSITIVE_STRING }, ...obj.Primary && { Primary: import_smithy_client.SENSITIVE_STRING }}), "AddressFilterSensitiveLog");var ExternalIdFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Issuer && { Issuer: import_smithy_client.SENSITIVE_STRING }, ...obj.Id && { Id: import_smithy_client.SENSITIVE_STRING }}), "ExternalIdFilterSensitiveLog");var AlternateIdentifierFilterSensitiveLog = /* @__PURE__ */ __name((obj) => { if (obj.ExternalId !== void 0) return { ExternalId: ExternalIdFilterSensitiveLog(obj.ExternalId) }; if (obj.UniqueAttribute !== void 0) return { UniqueAttribute: obj.UniqueAttribute }; if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };}, "AlternateIdentifierFilterSensitiveLog");var GetGroupIdRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.AlternateIdentifier && { AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier) }}), "GetGroupIdRequestFilterSensitiveLog");var GetUserIdRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.AlternateIdentifier && { AlternateIdentifier: AlternateIdentifierFilterSensitiveLog(obj.AlternateIdentifier) }}), "GetUserIdRequestFilterSensitiveLog");var CreateGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }, ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "CreateGroupRequestFilterSensitiveLog");var DescribeGroupResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }, ...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }, ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "DescribeGroupResponseFilterSensitiveLog");var FilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.AttributeValue && { AttributeValue: import_smithy_client.SENSITIVE_STRING }}), "FilterFilterSensitiveLog");var ListGroupsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }}), "ListGroupsRequestFilterSensitiveLog");var GroupFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }, ...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }, ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "GroupFilterSensitiveLog");var ListGroupsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }}), "ListGroupsResponseFilterSensitiveLog");var GroupMembershipExistenceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.MemberId && { MemberId: obj.MemberId }, ...obj.MembershipExists && { MembershipExists: import_smithy_client.SENSITIVE_STRING }}), "GroupMembershipExistenceResultFilterSensitiveLog");var IsMemberInGroupsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Results && { Results: obj.Results.map((item) => GroupMembershipExistenceResultFilterSensitiveLog(item)) }}), "IsMemberInGroupsResponseFilterSensitiveLog");var EmailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }, ...obj.Type && { Type: import_smithy_client.SENSITIVE_STRING }, ...obj.Primary && { Primary: import_smithy_client.SENSITIVE_STRING }}), "EmailFilterSensitiveLog");var NameFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Formatted && { Formatted: import_smithy_client.SENSITIVE_STRING }, ...obj.FamilyName && { FamilyName: import_smithy_client.SENSITIVE_STRING }, ...obj.GivenName && { GivenName: import_smithy_client.SENSITIVE_STRING }, ...obj.MiddleName && { MiddleName: import_smithy_client.SENSITIVE_STRING }, ...obj.HonorificPrefix && { HonorificPrefix: import_smithy_client.SENSITIVE_STRING }, ...obj.HonorificSuffix && { HonorificSuffix: import_smithy_client.SENSITIVE_STRING }}), "NameFilterSensitiveLog");var PhoneNumberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }, ...obj.Type && { Type: import_smithy_client.SENSITIVE_STRING }, ...obj.Primary && { Primary: import_smithy_client.SENSITIVE_STRING }}), "PhoneNumberFilterSensitiveLog");var CreateUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.UserName && { UserName: import_smithy_client.SENSITIVE_STRING }, ...obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }, ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }, ...obj.NickName && { NickName: import_smithy_client.SENSITIVE_STRING }, ...obj.ProfileUrl && { ProfileUrl: import_smithy_client.SENSITIVE_STRING }, ...obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }, ...obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }, ...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }, ...obj.UserType && { UserType: import_smithy_client.SENSITIVE_STRING }, ...obj.Title && { Title: import_smithy_client.SENSITIVE_STRING }, ...obj.PreferredLanguage && { PreferredLanguage: import_smithy_client.SENSITIVE_STRING }, ...obj.Locale && { Locale: import_smithy_client.SENSITIVE_STRING }, ...obj.Timezone && { Timezone: import_smithy_client.SENSITIVE_STRING }}), "CreateUserRequestFilterSensitiveLog");var DescribeUserResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.UserName && { UserName: import_smithy_client.SENSITIVE_STRING }, ...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }, ...obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }, ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }, ...obj.NickName && { NickName: import_smithy_client.SENSITIVE_STRING }, ...obj.ProfileUrl && { ProfileUrl: import_smithy_client.SENSITIVE_STRING }, ...obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }, ...obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }, ...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }, ...obj.UserType && { UserType: import_smithy_client.SENSITIVE_STRING }, ...obj.Title && { Title: import_smithy_client.SENSITIVE_STRING }, ...obj.PreferredLanguage && { PreferredLanguage: import_smithy_client.SENSITIVE_STRING }, ...obj.Locale && { Locale: import_smithy_client.SENSITIVE_STRING }, ...obj.Timezone && { Timezone: import_smithy_client.SENSITIVE_STRING }}), "DescribeUserResponseFilterSensitiveLog");var ListUsersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Filters && { Filters: obj.Filters.map((item) => FilterFilterSensitiveLog(item)) }}), "ListUsersRequestFilterSensitiveLog");var UserFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.UserName && { UserName: import_smithy_client.SENSITIVE_STRING }, ...obj.ExternalIds && { ExternalIds: obj.ExternalIds.map((item) => ExternalIdFilterSensitiveLog(item)) }, ...obj.Name && { Name: NameFilterSensitiveLog(obj.Name) }, ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }, ...obj.NickName && { NickName: import_smithy_client.SENSITIVE_STRING }, ...obj.ProfileUrl && { ProfileUrl: import_smithy_client.SENSITIVE_STRING }, ...obj.Emails && { Emails: obj.Emails.map((item) => EmailFilterSensitiveLog(item)) }, ...obj.Addresses && { Addresses: obj.Addresses.map((item) => AddressFilterSensitiveLog(item)) }, ...obj.PhoneNumbers && { PhoneNumbers: obj.PhoneNumbers.map((item) => PhoneNumberFilterSensitiveLog(item)) }, ...obj.UserType && { UserType: import_smithy_client.SENSITIVE_STRING }, ...obj.Title && { Title: import_smithy_client.SENSITIVE_STRING }, ...obj.PreferredLanguage && { PreferredLanguage: import_smithy_client.SENSITIVE_STRING }, ...obj.Locale && { Locale: import_smithy_client.SENSITIVE_STRING }, ...obj.Timezone && { Timezone: import_smithy_client.SENSITIVE_STRING }}), "UserFilterSensitiveLog");var ListUsersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.Users && { Users: obj.Users.map((item) => UserFilterSensitiveLog(item)) }}), "ListUsersResponseFilterSensitiveLog"); // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core"); var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateGroupCommand");var se_CreateGroupMembershipCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateGroupMembership"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateGroupMembershipCommand");var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateUser"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateUserCommand");var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteGroupCommand");var se_DeleteGroupMembershipCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteGroupMembership"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteGroupMembershipCommand");var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteUser"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteUserCommand");var se_DescribeGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeGroupCommand");var se_DescribeGroupMembershipCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeGroupMembership"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeGroupMembershipCommand");var se_DescribeUserCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeUser"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeUserCommand");var se_GetGroupIdCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetGroupId"); let body; body = JSON.stringify(se_GetGroupIdRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetGroupIdCommand");var se_GetGroupMembershipIdCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetGroupMembershipId"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetGroupMembershipIdCommand");var se_GetUserIdCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetUserId"); let body; body = JSON.stringify(se_GetUserIdRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetUserIdCommand");var se_IsMemberInGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("IsMemberInGroups"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_IsMemberInGroupsCommand");var se_ListGroupMembershipsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListGroupMemberships"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListGroupMembershipsCommand");var se_ListGroupMembershipsForMemberCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListGroupMembershipsForMember"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListGroupMembershipsForMemberCommand");var se_ListGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListGroups"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListGroupsCommand");var se_ListUsersCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListUsers"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListUsersCommand");var se_UpdateGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateGroup"); let body; body = JSON.stringify(se_UpdateGroupRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateGroupCommand");var se_UpdateUserCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateUser"); let body; body = JSON.stringify(se_UpdateUserRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateUserCommand");var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateGroupCommand");var de_CreateGroupMembershipCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateGroupMembershipCommand");var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateUserCommand");var de_DeleteGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteGroupCommand");var de_DeleteGroupMembershipCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteGroupMembershipCommand");var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteUserCommand");var de_DescribeGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeGroupCommand");var de_DescribeGroupMembershipCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeGroupMembershipCommand");var de_DescribeUserCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeUserCommand");var de_GetGroupIdCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetGroupIdCommand");var de_GetGroupMembershipIdCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetGroupMembershipIdCommand");var de_GetUserIdCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetUserIdCommand");var de_IsMemberInGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_IsMemberInGroupsCommand");var de_ListGroupMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListGroupMembershipsCommand");var de_ListGroupMembershipsForMemberCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListGroupMembershipsForMemberCommand");var de_ListGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListGroupsCommand");var de_ListUsersCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListUsersCommand");var de_UpdateGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateGroupCommand");var de_UpdateUserCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateUserCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "AccessDeniedException": case "com.amazonaws.identitystore#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.identitystore#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServerException": case "com.amazonaws.identitystore#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.identitystore#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.identitystore#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.identitystore#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.identitystore#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InternalServerException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalServerExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ServiceQuotaExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ValidationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ValidationExceptionRes");var se_AlternateIdentifier = /* @__PURE__ */ __name((input, context) => { return AlternateIdentifier.visit(input, { ExternalId: /* @__PURE__ */ __name((value) => ({ ExternalId: (0, import_smithy_client._json)(value) }), "ExternalId"), UniqueAttribute: /* @__PURE__ */ __name((value) => ({ UniqueAttribute: se_UniqueAttribute(value, context) }), "UniqueAttribute"), _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_") });}, "se_AlternateIdentifier");var se_AttributeOperation = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributePath: [], AttributeValue: /* @__PURE__ */ __name((_) => se_AttributeValue(_, context), "AttributeValue") });}, "se_AttributeOperation");var se_AttributeOperations = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_AttributeOperation(entry, context); });}, "se_AttributeOperations");var se_AttributeValue = /* @__PURE__ */ __name((input, context) => { return input;}, "se_AttributeValue");var se_GetGroupIdRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AlternateIdentifier: /* @__PURE__ */ __name((_) => se_AlternateIdentifier(_, context), "AlternateIdentifier"), IdentityStoreId: [] });}, "se_GetGroupIdRequest");var se_GetUserIdRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AlternateIdentifier: /* @__PURE__ */ __name((_) => se_AlternateIdentifier(_, context), "AlternateIdentifier"), IdentityStoreId: [] });}, "se_GetUserIdRequest");var se_UniqueAttribute = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AttributePath: [], AttributeValue: /* @__PURE__ */ __name((_) => se_AttributeValue(_, context), "AttributeValue") });}, "se_UniqueAttribute");var se_UpdateGroupRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { GroupId: [], IdentityStoreId: [], Operations: /* @__PURE__ */ __name((_) => se_AttributeOperations(_, context), "Operations") });}, "se_UpdateGroupRequest");var se_UpdateUserRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { IdentityStoreId: [], Operations: /* @__PURE__ */ __name((_) => se_AttributeOperations(_, context), "Operations"), UserId: [] });}, "se_UpdateUserRequest");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var throwDefaultError = (0, import_smithy_client.withBaseException)(IdentitystoreServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); const contents = { protocol, hostname, port, method: "POST", path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, headers }; if (resolvedHostname !== void 0) { contents.hostname = resolvedHostname; } if (body !== void 0) { contents.body = body; } return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) { return { "content-type": "application/x-amz-json-1.1", "x-amz-target": `AWSIdentityStore.${operation}` };}__name(sharedHeaders, "sharedHeaders"); // src/commands/CreateGroupCommand.tsvar CreateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "CreateGroup", {}).n("IdentitystoreClient", "CreateGroupCommand").f(CreateGroupRequestFilterSensitiveLog, void 0).ser(se_CreateGroupCommand).de(de_CreateGroupCommand).build() { static { __name(this, "CreateGroupCommand"); }}; // src/commands/CreateGroupMembershipCommand.ts var CreateGroupMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "CreateGroupMembership", {}).n("IdentitystoreClient", "CreateGroupMembershipCommand").f(void 0, void 0).ser(se_CreateGroupMembershipCommand).de(de_CreateGroupMembershipCommand).build() { static { __name(this, "CreateGroupMembershipCommand"); }}; // src/commands/CreateUserCommand.ts var CreateUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "CreateUser", {}).n("IdentitystoreClient", "CreateUserCommand").f(CreateUserRequestFilterSensitiveLog, void 0).ser(se_CreateUserCommand).de(de_CreateUserCommand).build() { static { __name(this, "CreateUserCommand"); }}; // src/commands/DeleteGroupCommand.ts var DeleteGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "DeleteGroup", {}).n("IdentitystoreClient", "DeleteGroupCommand").f(void 0, void 0).ser(se_DeleteGroupCommand).de(de_DeleteGroupCommand).build() { static { __name(this, "DeleteGroupCommand"); }}; // src/commands/DeleteGroupMembershipCommand.ts var DeleteGroupMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "DeleteGroupMembership", {}).n("IdentitystoreClient", "DeleteGroupMembershipCommand").f(void 0, void 0).ser(se_DeleteGroupMembershipCommand).de(de_DeleteGroupMembershipCommand).build() { static { __name(this, "DeleteGroupMembershipCommand"); }}; // src/commands/DeleteUserCommand.ts var DeleteUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "DeleteUser", {}).n("IdentitystoreClient", "DeleteUserCommand").f(void 0, void 0).ser(se_DeleteUserCommand).de(de_DeleteUserCommand).build() { static { __name(this, "DeleteUserCommand"); }}; // src/commands/DescribeGroupCommand.ts var DescribeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "DescribeGroup", {}).n("IdentitystoreClient", "DescribeGroupCommand").f(void 0, DescribeGroupResponseFilterSensitiveLog).ser(se_DescribeGroupCommand).de(de_DescribeGroupCommand).build() { static { __name(this, "DescribeGroupCommand"); }}; // src/commands/DescribeGroupMembershipCommand.ts var DescribeGroupMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "DescribeGroupMembership", {}).n("IdentitystoreClient", "DescribeGroupMembershipCommand").f(void 0, void 0).ser(se_DescribeGroupMembershipCommand).de(de_DescribeGroupMembershipCommand).build() { static { __name(this, "DescribeGroupMembershipCommand"); }}; // src/commands/DescribeUserCommand.ts var DescribeUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "DescribeUser", {}).n("IdentitystoreClient", "DescribeUserCommand").f(void 0, DescribeUserResponseFilterSensitiveLog).ser(se_DescribeUserCommand).de(de_DescribeUserCommand).build() { static { __name(this, "DescribeUserCommand"); }}; // src/commands/GetGroupIdCommand.ts var GetGroupIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "GetGroupId", {}).n("IdentitystoreClient", "GetGroupIdCommand").f(GetGroupIdRequestFilterSensitiveLog, void 0).ser(se_GetGroupIdCommand).de(de_GetGroupIdCommand).build() { static { __name(this, "GetGroupIdCommand"); }}; // src/commands/GetGroupMembershipIdCommand.ts var GetGroupMembershipIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "GetGroupMembershipId", {}).n("IdentitystoreClient", "GetGroupMembershipIdCommand").f(void 0, void 0).ser(se_GetGroupMembershipIdCommand).de(de_GetGroupMembershipIdCommand).build() { static { __name(this, "GetGroupMembershipIdCommand"); }}; // src/commands/GetUserIdCommand.ts var GetUserIdCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "GetUserId", {}).n("IdentitystoreClient", "GetUserIdCommand").f(GetUserIdRequestFilterSensitiveLog, void 0).ser(se_GetUserIdCommand).de(de_GetUserIdCommand).build() { static { __name(this, "GetUserIdCommand"); }}; // src/commands/IsMemberInGroupsCommand.ts var IsMemberInGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "IsMemberInGroups", {}).n("IdentitystoreClient", "IsMemberInGroupsCommand").f(void 0, IsMemberInGroupsResponseFilterSensitiveLog).ser(se_IsMemberInGroupsCommand).de(de_IsMemberInGroupsCommand).build() { static { __name(this, "IsMemberInGroupsCommand"); }}; // src/commands/ListGroupMembershipsCommand.ts var ListGroupMembershipsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "ListGroupMemberships", {}).n("IdentitystoreClient", "ListGroupMembershipsCommand").f(void 0, void 0).ser(se_ListGroupMembershipsCommand).de(de_ListGroupMembershipsCommand).build() { static { __name(this, "ListGroupMembershipsCommand"); }}; // src/commands/ListGroupMembershipsForMemberCommand.ts var ListGroupMembershipsForMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "ListGroupMembershipsForMember", {}).n("IdentitystoreClient", "ListGroupMembershipsForMemberCommand").f(void 0, void 0).ser(se_ListGroupMembershipsForMemberCommand).de(de_ListGroupMembershipsForMemberCommand).build() { static { __name(this, "ListGroupMembershipsForMemberCommand"); }}; // src/commands/ListGroupsCommand.ts var ListGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "ListGroups", {}).n("IdentitystoreClient", "ListGroupsCommand").f(ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog).ser(se_ListGroupsCommand).de(de_ListGroupsCommand).build() { static { __name(this, "ListGroupsCommand"); }}; // src/commands/ListUsersCommand.ts var ListUsersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "ListUsers", {}).n("IdentitystoreClient", "ListUsersCommand").f(ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog).ser(se_ListUsersCommand).de(de_ListUsersCommand).build() { static { __name(this, "ListUsersCommand"); }}; // src/commands/UpdateGroupCommand.ts var UpdateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "UpdateGroup", {}).n("IdentitystoreClient", "UpdateGroupCommand").f(void 0, void 0).ser(se_UpdateGroupCommand).de(de_UpdateGroupCommand).build() { static { __name(this, "UpdateGroupCommand"); }}; // src/commands/UpdateUserCommand.ts var UpdateUserCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSIdentityStore", "UpdateUser", {}).n("IdentitystoreClient", "UpdateUserCommand").f(void 0, void 0).ser(se_UpdateUserCommand).de(de_UpdateUserCommand).build() { static { __name(this, "UpdateUserCommand"); }}; // src/Identitystore.tsvar commands = { CreateGroupCommand, CreateGroupMembershipCommand, CreateUserCommand, DeleteGroupCommand, DeleteGroupMembershipCommand, DeleteUserCommand, DescribeGroupCommand, DescribeGroupMembershipCommand, DescribeUserCommand, GetGroupIdCommand, GetGroupMembershipIdCommand, GetUserIdCommand, IsMemberInGroupsCommand, ListGroupMembershipsCommand, ListGroupMembershipsForMemberCommand, ListGroupsCommand, ListUsersCommand, UpdateGroupCommand, UpdateUserCommand};var Identitystore = class extends IdentitystoreClient { static { __name(this, "Identitystore"); }};(0, import_smithy_client.createAggregatedClient)(commands, Identitystore); // src/pagination/ListGroupMembershipsForMemberPaginator.ts var paginateListGroupMembershipsForMember = (0, import_core.createPaginator)(IdentitystoreClient, ListGroupMembershipsForMemberCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListGroupMembershipsPaginator.ts var paginateListGroupMemberships = (0, import_core.createPaginator)(IdentitystoreClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListGroupsPaginator.ts var paginateListGroups = (0, import_core.createPaginator)(IdentitystoreClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListUsersPaginator.ts var paginateListUsers = (0, import_core.createPaginator)(IdentitystoreClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { IdentitystoreServiceException, __Client, IdentitystoreClient, Identitystore, $Command, CreateGroupCommand, CreateGroupMembershipCommand, CreateUserCommand, DeleteGroupCommand, DeleteGroupMembershipCommand, DeleteUserCommand, DescribeGroupCommand, DescribeGroupMembershipCommand, DescribeUserCommand, GetGroupIdCommand, GetGroupMembershipIdCommand, GetUserIdCommand, IsMemberInGroupsCommand, ListGroupMembershipsCommand, ListGroupMembershipsForMemberCommand, ListGroupsCommand, ListUsersCommand, UpdateGroupCommand, UpdateUserCommand, paginateListGroupMembershipsForMember, paginateListGroupMemberships, paginateListGroups, paginateListUsers, AccessDeniedException, AlternateIdentifier, InternalServerException, ResourceType, ResourceNotFoundException, ThrottlingException, ValidationException, MemberId, ConflictExceptionReason, ConflictException, ServiceQuotaExceededException, AddressFilterSensitiveLog, ExternalIdFilterSensitiveLog, AlternateIdentifierFilterSensitiveLog, GetGroupIdRequestFilterSensitiveLog, GetUserIdRequestFilterSensitiveLog, CreateGroupRequestFilterSensitiveLog, DescribeGroupResponseFilterSensitiveLog, FilterFilterSensitiveLog, ListGroupsRequestFilterSensitiveLog, GroupFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog, GroupMembershipExistenceResultFilterSensitiveLog, IsMemberInGroupsResponseFilterSensitiveLog, EmailFilterSensitiveLog, NameFilterSensitiveLog, PhoneNumberFilterSensitiveLog, CreateUserRequestFilterSensitiveLog, DescribeUserResponseFilterSensitiveLog, ListUsersRequestFilterSensitiveLog, UserFilterSensitiveLog, ListUsersResponseFilterSensitiveLog});