@aws-sdk/client-cognito-identity-provider 3.36.1 → 3.40.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.
@@ -1,25 +1,65 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
- "fips-us-east-1": {
5
- hostname: "cognito-idp-fips.us-east-1.amazonaws.com",
6
- signingRegion: "us-east-1",
4
+ "us-east-1": {
5
+ variants: [
6
+ {
7
+ hostname: "cognito-idp.us-east-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ {
11
+ hostname: "cognito-idp-fips.us-east-1.amazonaws.com",
12
+ tags: ["fips"],
13
+ },
14
+ ],
7
15
  },
8
- "fips-us-east-2": {
9
- hostname: "cognito-idp-fips.us-east-2.amazonaws.com",
10
- signingRegion: "us-east-2",
16
+ "us-east-2": {
17
+ variants: [
18
+ {
19
+ hostname: "cognito-idp.us-east-2.amazonaws.com",
20
+ tags: [],
21
+ },
22
+ {
23
+ hostname: "cognito-idp-fips.us-east-2.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
11
27
  },
12
- "fips-us-gov-west-1": {
13
- hostname: "cognito-idp-fips.us-gov-west-1.amazonaws.com",
14
- signingRegion: "us-gov-west-1",
28
+ "us-gov-west-1": {
29
+ variants: [
30
+ {
31
+ hostname: "cognito-idp.us-gov-west-1.amazonaws.com",
32
+ tags: [],
33
+ },
34
+ {
35
+ hostname: "cognito-idp-fips.us-gov-west-1.amazonaws.com",
36
+ tags: ["fips"],
37
+ },
38
+ ],
15
39
  },
16
- "fips-us-west-1": {
17
- hostname: "cognito-idp-fips.us-west-1.amazonaws.com",
18
- signingRegion: "us-west-1",
40
+ "us-west-1": {
41
+ variants: [
42
+ {
43
+ hostname: "cognito-idp.us-west-1.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ {
47
+ hostname: "cognito-idp-fips.us-west-1.amazonaws.com",
48
+ tags: ["fips"],
49
+ },
50
+ ],
19
51
  },
20
- "fips-us-west-2": {
21
- hostname: "cognito-idp-fips.us-west-2.amazonaws.com",
22
- signingRegion: "us-west-2",
52
+ "us-west-2": {
53
+ variants: [
54
+ {
55
+ hostname: "cognito-idp.us-west-2.amazonaws.com",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "cognito-idp-fips.us-west-2.amazonaws.com",
60
+ tags: ["fips"],
61
+ },
62
+ ],
23
63
  },
24
64
  };
25
65
  var partitionHash = {
@@ -51,23 +91,89 @@ var partitionHash = {
51
91
  "us-west-1",
52
92
  "us-west-2",
53
93
  ],
54
- hostname: "cognito-idp.{region}.amazonaws.com",
94
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
95
+ variants: [
96
+ {
97
+ hostname: "cognito-idp.{region}.amazonaws.com",
98
+ tags: [],
99
+ },
100
+ {
101
+ hostname: "cognito-idp-fips.{region}.amazonaws.com",
102
+ tags: ["fips"],
103
+ },
104
+ {
105
+ hostname: "cognito-idp-fips.{region}.api.aws",
106
+ tags: ["dualstack", "fips"],
107
+ },
108
+ {
109
+ hostname: "cognito-idp.{region}.api.aws",
110
+ tags: ["dualstack"],
111
+ },
112
+ ],
55
113
  },
56
114
  "aws-cn": {
57
115
  regions: ["cn-north-1", "cn-northwest-1"],
58
- hostname: "cognito-idp.{region}.amazonaws.com.cn",
116
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
117
+ variants: [
118
+ {
119
+ hostname: "cognito-idp.{region}.amazonaws.com.cn",
120
+ tags: [],
121
+ },
122
+ {
123
+ hostname: "cognito-idp-fips.{region}.amazonaws.com.cn",
124
+ tags: ["fips"],
125
+ },
126
+ {
127
+ hostname: "cognito-idp-fips.{region}.api.amazonwebservices.com.cn",
128
+ tags: ["dualstack", "fips"],
129
+ },
130
+ {
131
+ hostname: "cognito-idp.{region}.api.amazonwebservices.com.cn",
132
+ tags: ["dualstack"],
133
+ },
134
+ ],
59
135
  },
60
136
  "aws-iso": {
61
- regions: ["us-iso-east-1"],
62
- hostname: "cognito-idp.{region}.c2s.ic.gov",
137
+ regions: ["us-iso-east-1", "us-iso-west-1"],
138
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
139
+ variants: [
140
+ {
141
+ hostname: "cognito-idp.{region}.c2s.ic.gov",
142
+ tags: [],
143
+ },
144
+ ],
63
145
  },
64
146
  "aws-iso-b": {
65
147
  regions: ["us-isob-east-1"],
66
- hostname: "cognito-idp.{region}.sc2s.sgov.gov",
148
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
149
+ variants: [
150
+ {
151
+ hostname: "cognito-idp.{region}.sc2s.sgov.gov",
152
+ tags: [],
153
+ },
154
+ ],
67
155
  },
68
156
  "aws-us-gov": {
69
157
  regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
70
- hostname: "cognito-idp.{region}.amazonaws.com",
158
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
159
+ variants: [
160
+ {
161
+ hostname: "cognito-idp.{region}.amazonaws.com",
162
+ tags: [],
163
+ },
164
+ {
165
+ hostname: "cognito-idp-fips.{region}.amazonaws.com",
166
+ tags: ["fips"],
167
+ },
168
+ {
169
+ hostname: "cognito-idp-fips.{region}.api.aws",
170
+ tags: ["dualstack", "fips"],
171
+ },
172
+ {
173
+ hostname: "cognito-idp.{region}.api.aws",
174
+ tags: ["dualstack"],
175
+ },
176
+ ],
71
177
  },
72
178
  };
73
179
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
package/dist-es/index.js CHANGED
@@ -1,114 +1,5 @@
1
- export * from "./CognitoIdentityProviderClient";
2
1
  export * from "./CognitoIdentityProvider";
3
- export * from "./commands/AddCustomAttributesCommand";
4
- export * from "./commands/AdminAddUserToGroupCommand";
5
- export * from "./commands/AdminConfirmSignUpCommand";
6
- export * from "./commands/AdminCreateUserCommand";
7
- export * from "./commands/AdminDeleteUserCommand";
8
- export * from "./commands/AdminDeleteUserAttributesCommand";
9
- export * from "./commands/AdminDisableProviderForUserCommand";
10
- export * from "./commands/AdminDisableUserCommand";
11
- export * from "./commands/AdminEnableUserCommand";
12
- export * from "./commands/AdminForgetDeviceCommand";
13
- export * from "./commands/AdminGetDeviceCommand";
14
- export * from "./commands/AdminGetUserCommand";
15
- export * from "./commands/AdminInitiateAuthCommand";
16
- export * from "./commands/AdminLinkProviderForUserCommand";
17
- export * from "./commands/AdminListDevicesCommand";
18
- export * from "./commands/AdminListGroupsForUserCommand";
19
- export * from "./pagination/AdminListGroupsForUserPaginator";
20
- export * from "./commands/AdminListUserAuthEventsCommand";
21
- export * from "./pagination/AdminListUserAuthEventsPaginator";
22
- export * from "./commands/AdminRemoveUserFromGroupCommand";
23
- export * from "./commands/AdminResetUserPasswordCommand";
24
- export * from "./commands/AdminRespondToAuthChallengeCommand";
25
- export * from "./commands/AdminSetUserMFAPreferenceCommand";
26
- export * from "./commands/AdminSetUserPasswordCommand";
27
- export * from "./commands/AdminSetUserSettingsCommand";
28
- export * from "./commands/AdminUpdateAuthEventFeedbackCommand";
29
- export * from "./commands/AdminUpdateDeviceStatusCommand";
30
- export * from "./commands/AdminUpdateUserAttributesCommand";
31
- export * from "./commands/AdminUserGlobalSignOutCommand";
32
- export * from "./commands/AssociateSoftwareTokenCommand";
33
- export * from "./commands/ChangePasswordCommand";
34
- export * from "./commands/ConfirmDeviceCommand";
35
- export * from "./commands/ConfirmForgotPasswordCommand";
36
- export * from "./commands/ConfirmSignUpCommand";
37
- export * from "./commands/CreateGroupCommand";
38
- export * from "./commands/CreateIdentityProviderCommand";
39
- export * from "./commands/CreateResourceServerCommand";
40
- export * from "./commands/CreateUserImportJobCommand";
41
- export * from "./commands/CreateUserPoolCommand";
42
- export * from "./commands/CreateUserPoolClientCommand";
43
- export * from "./commands/CreateUserPoolDomainCommand";
44
- export * from "./commands/DeleteGroupCommand";
45
- export * from "./commands/DeleteIdentityProviderCommand";
46
- export * from "./commands/DeleteResourceServerCommand";
47
- export * from "./commands/DeleteUserCommand";
48
- export * from "./commands/DeleteUserAttributesCommand";
49
- export * from "./commands/DeleteUserPoolCommand";
50
- export * from "./commands/DeleteUserPoolClientCommand";
51
- export * from "./commands/DeleteUserPoolDomainCommand";
52
- export * from "./commands/DescribeIdentityProviderCommand";
53
- export * from "./commands/DescribeResourceServerCommand";
54
- export * from "./commands/DescribeRiskConfigurationCommand";
55
- export * from "./commands/DescribeUserImportJobCommand";
56
- export * from "./commands/DescribeUserPoolCommand";
57
- export * from "./commands/DescribeUserPoolClientCommand";
58
- export * from "./commands/DescribeUserPoolDomainCommand";
59
- export * from "./commands/ForgetDeviceCommand";
60
- export * from "./commands/ForgotPasswordCommand";
61
- export * from "./commands/GetCSVHeaderCommand";
62
- export * from "./commands/GetDeviceCommand";
63
- export * from "./commands/GetGroupCommand";
64
- export * from "./commands/GetIdentityProviderByIdentifierCommand";
65
- export * from "./commands/GetSigningCertificateCommand";
66
- export * from "./commands/GetUICustomizationCommand";
67
- export * from "./commands/GetUserCommand";
68
- export * from "./commands/GetUserAttributeVerificationCodeCommand";
69
- export * from "./commands/GetUserPoolMfaConfigCommand";
70
- export * from "./commands/GlobalSignOutCommand";
71
- export * from "./commands/InitiateAuthCommand";
72
- export * from "./commands/ListDevicesCommand";
73
- export * from "./commands/ListGroupsCommand";
74
- export * from "./pagination/ListGroupsPaginator";
75
- export * from "./commands/ListIdentityProvidersCommand";
76
- export * from "./pagination/ListIdentityProvidersPaginator";
77
- export * from "./commands/ListResourceServersCommand";
78
- export * from "./pagination/ListResourceServersPaginator";
79
- export * from "./commands/ListTagsForResourceCommand";
80
- export * from "./commands/ListUserImportJobsCommand";
81
- export * from "./commands/ListUserPoolClientsCommand";
82
- export * from "./pagination/ListUserPoolClientsPaginator";
83
- export * from "./commands/ListUserPoolsCommand";
84
- export * from "./pagination/ListUserPoolsPaginator";
85
- export * from "./commands/ListUsersCommand";
86
- export * from "./pagination/ListUsersPaginator";
87
- export * from "./commands/ListUsersInGroupCommand";
88
- export * from "./pagination/ListUsersInGroupPaginator";
89
- export * from "./commands/ResendConfirmationCodeCommand";
90
- export * from "./commands/RespondToAuthChallengeCommand";
91
- export * from "./commands/RevokeTokenCommand";
92
- export * from "./commands/SetRiskConfigurationCommand";
93
- export * from "./commands/SetUICustomizationCommand";
94
- export * from "./commands/SetUserMFAPreferenceCommand";
95
- export * from "./commands/SetUserPoolMfaConfigCommand";
96
- export * from "./commands/SetUserSettingsCommand";
97
- export * from "./commands/SignUpCommand";
98
- export * from "./commands/StartUserImportJobCommand";
99
- export * from "./commands/StopUserImportJobCommand";
100
- export * from "./commands/TagResourceCommand";
101
- export * from "./commands/UntagResourceCommand";
102
- export * from "./commands/UpdateAuthEventFeedbackCommand";
103
- export * from "./commands/UpdateDeviceStatusCommand";
104
- export * from "./commands/UpdateGroupCommand";
105
- export * from "./commands/UpdateIdentityProviderCommand";
106
- export * from "./commands/UpdateResourceServerCommand";
107
- export * from "./commands/UpdateUserAttributesCommand";
108
- export * from "./commands/UpdateUserPoolCommand";
109
- export * from "./commands/UpdateUserPoolClientCommand";
110
- export * from "./commands/UpdateUserPoolDomainCommand";
111
- export * from "./commands/VerifySoftwareTokenCommand";
112
- export * from "./commands/VerifyUserAttributeCommand";
113
- export * from "./pagination/Interfaces";
114
- export * from "./models/index";
2
+ export * from "./CognitoIdentityProviderClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,10 @@
1
+ export * from "./AdminListGroupsForUserPaginator";
2
+ export * from "./AdminListUserAuthEventsPaginator";
3
+ export * from "./Interfaces";
4
+ export * from "./ListGroupsPaginator";
5
+ export * from "./ListIdentityProvidersPaginator";
6
+ export * from "./ListResourceServersPaginator";
7
+ export * from "./ListUserPoolClientsPaginator";
8
+ export * from "./ListUserPoolsPaginator";
9
+ export * from "./ListUsersInGroupPaginator";
10
+ export * from "./ListUsersPaginator";
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
16
17
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
21
  };
@@ -177,6 +177,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
177
177
  * Optional logger for logging debug/info/warn/error.
178
178
  */
179
179
  logger?: __Logger;
180
+ /**
181
+ * Enables IPv6/IPv4 dualstack endpoint.
182
+ */
183
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
184
+ /**
185
+ * Enables FIPS compatible endpoints.
186
+ */
187
+ useFipsEndpoint?: boolean | __Provider<boolean>;
180
188
  /**
181
189
  * Unique service identifier.
182
190
  * @internal
@@ -0,0 +1,101 @@
1
+ export * from "./AddCustomAttributesCommand";
2
+ export * from "./AdminAddUserToGroupCommand";
3
+ export * from "./AdminConfirmSignUpCommand";
4
+ export * from "./AdminCreateUserCommand";
5
+ export * from "./AdminDeleteUserAttributesCommand";
6
+ export * from "./AdminDeleteUserCommand";
7
+ export * from "./AdminDisableProviderForUserCommand";
8
+ export * from "./AdminDisableUserCommand";
9
+ export * from "./AdminEnableUserCommand";
10
+ export * from "./AdminForgetDeviceCommand";
11
+ export * from "./AdminGetDeviceCommand";
12
+ export * from "./AdminGetUserCommand";
13
+ export * from "./AdminInitiateAuthCommand";
14
+ export * from "./AdminLinkProviderForUserCommand";
15
+ export * from "./AdminListDevicesCommand";
16
+ export * from "./AdminListGroupsForUserCommand";
17
+ export * from "./AdminListUserAuthEventsCommand";
18
+ export * from "./AdminRemoveUserFromGroupCommand";
19
+ export * from "./AdminResetUserPasswordCommand";
20
+ export * from "./AdminRespondToAuthChallengeCommand";
21
+ export * from "./AdminSetUserMFAPreferenceCommand";
22
+ export * from "./AdminSetUserPasswordCommand";
23
+ export * from "./AdminSetUserSettingsCommand";
24
+ export * from "./AdminUpdateAuthEventFeedbackCommand";
25
+ export * from "./AdminUpdateDeviceStatusCommand";
26
+ export * from "./AdminUpdateUserAttributesCommand";
27
+ export * from "./AdminUserGlobalSignOutCommand";
28
+ export * from "./AssociateSoftwareTokenCommand";
29
+ export * from "./ChangePasswordCommand";
30
+ export * from "./ConfirmDeviceCommand";
31
+ export * from "./ConfirmForgotPasswordCommand";
32
+ export * from "./ConfirmSignUpCommand";
33
+ export * from "./CreateGroupCommand";
34
+ export * from "./CreateIdentityProviderCommand";
35
+ export * from "./CreateResourceServerCommand";
36
+ export * from "./CreateUserImportJobCommand";
37
+ export * from "./CreateUserPoolClientCommand";
38
+ export * from "./CreateUserPoolCommand";
39
+ export * from "./CreateUserPoolDomainCommand";
40
+ export * from "./DeleteGroupCommand";
41
+ export * from "./DeleteIdentityProviderCommand";
42
+ export * from "./DeleteResourceServerCommand";
43
+ export * from "./DeleteUserAttributesCommand";
44
+ export * from "./DeleteUserCommand";
45
+ export * from "./DeleteUserPoolClientCommand";
46
+ export * from "./DeleteUserPoolCommand";
47
+ export * from "./DeleteUserPoolDomainCommand";
48
+ export * from "./DescribeIdentityProviderCommand";
49
+ export * from "./DescribeResourceServerCommand";
50
+ export * from "./DescribeRiskConfigurationCommand";
51
+ export * from "./DescribeUserImportJobCommand";
52
+ export * from "./DescribeUserPoolClientCommand";
53
+ export * from "./DescribeUserPoolCommand";
54
+ export * from "./DescribeUserPoolDomainCommand";
55
+ export * from "./ForgetDeviceCommand";
56
+ export * from "./ForgotPasswordCommand";
57
+ export * from "./GetCSVHeaderCommand";
58
+ export * from "./GetDeviceCommand";
59
+ export * from "./GetGroupCommand";
60
+ export * from "./GetIdentityProviderByIdentifierCommand";
61
+ export * from "./GetSigningCertificateCommand";
62
+ export * from "./GetUICustomizationCommand";
63
+ export * from "./GetUserAttributeVerificationCodeCommand";
64
+ export * from "./GetUserCommand";
65
+ export * from "./GetUserPoolMfaConfigCommand";
66
+ export * from "./GlobalSignOutCommand";
67
+ export * from "./InitiateAuthCommand";
68
+ export * from "./ListDevicesCommand";
69
+ export * from "./ListGroupsCommand";
70
+ export * from "./ListIdentityProvidersCommand";
71
+ export * from "./ListResourceServersCommand";
72
+ export * from "./ListTagsForResourceCommand";
73
+ export * from "./ListUserImportJobsCommand";
74
+ export * from "./ListUserPoolClientsCommand";
75
+ export * from "./ListUserPoolsCommand";
76
+ export * from "./ListUsersCommand";
77
+ export * from "./ListUsersInGroupCommand";
78
+ export * from "./ResendConfirmationCodeCommand";
79
+ export * from "./RespondToAuthChallengeCommand";
80
+ export * from "./RevokeTokenCommand";
81
+ export * from "./SetRiskConfigurationCommand";
82
+ export * from "./SetUICustomizationCommand";
83
+ export * from "./SetUserMFAPreferenceCommand";
84
+ export * from "./SetUserPoolMfaConfigCommand";
85
+ export * from "./SetUserSettingsCommand";
86
+ export * from "./SignUpCommand";
87
+ export * from "./StartUserImportJobCommand";
88
+ export * from "./StopUserImportJobCommand";
89
+ export * from "./TagResourceCommand";
90
+ export * from "./UntagResourceCommand";
91
+ export * from "./UpdateAuthEventFeedbackCommand";
92
+ export * from "./UpdateDeviceStatusCommand";
93
+ export * from "./UpdateGroupCommand";
94
+ export * from "./UpdateIdentityProviderCommand";
95
+ export * from "./UpdateResourceServerCommand";
96
+ export * from "./UpdateUserAttributesCommand";
97
+ export * from "./UpdateUserPoolClientCommand";
98
+ export * from "./UpdateUserPoolCommand";
99
+ export * from "./UpdateUserPoolDomainCommand";
100
+ export * from "./VerifySoftwareTokenCommand";
101
+ export * from "./VerifyUserAttributeCommand";
@@ -1,114 +1,5 @@
1
- export * from "./CognitoIdentityProviderClient";
2
1
  export * from "./CognitoIdentityProvider";
3
- export * from "./commands/AddCustomAttributesCommand";
4
- export * from "./commands/AdminAddUserToGroupCommand";
5
- export * from "./commands/AdminConfirmSignUpCommand";
6
- export * from "./commands/AdminCreateUserCommand";
7
- export * from "./commands/AdminDeleteUserCommand";
8
- export * from "./commands/AdminDeleteUserAttributesCommand";
9
- export * from "./commands/AdminDisableProviderForUserCommand";
10
- export * from "./commands/AdminDisableUserCommand";
11
- export * from "./commands/AdminEnableUserCommand";
12
- export * from "./commands/AdminForgetDeviceCommand";
13
- export * from "./commands/AdminGetDeviceCommand";
14
- export * from "./commands/AdminGetUserCommand";
15
- export * from "./commands/AdminInitiateAuthCommand";
16
- export * from "./commands/AdminLinkProviderForUserCommand";
17
- export * from "./commands/AdminListDevicesCommand";
18
- export * from "./commands/AdminListGroupsForUserCommand";
19
- export * from "./pagination/AdminListGroupsForUserPaginator";
20
- export * from "./commands/AdminListUserAuthEventsCommand";
21
- export * from "./pagination/AdminListUserAuthEventsPaginator";
22
- export * from "./commands/AdminRemoveUserFromGroupCommand";
23
- export * from "./commands/AdminResetUserPasswordCommand";
24
- export * from "./commands/AdminRespondToAuthChallengeCommand";
25
- export * from "./commands/AdminSetUserMFAPreferenceCommand";
26
- export * from "./commands/AdminSetUserPasswordCommand";
27
- export * from "./commands/AdminSetUserSettingsCommand";
28
- export * from "./commands/AdminUpdateAuthEventFeedbackCommand";
29
- export * from "./commands/AdminUpdateDeviceStatusCommand";
30
- export * from "./commands/AdminUpdateUserAttributesCommand";
31
- export * from "./commands/AdminUserGlobalSignOutCommand";
32
- export * from "./commands/AssociateSoftwareTokenCommand";
33
- export * from "./commands/ChangePasswordCommand";
34
- export * from "./commands/ConfirmDeviceCommand";
35
- export * from "./commands/ConfirmForgotPasswordCommand";
36
- export * from "./commands/ConfirmSignUpCommand";
37
- export * from "./commands/CreateGroupCommand";
38
- export * from "./commands/CreateIdentityProviderCommand";
39
- export * from "./commands/CreateResourceServerCommand";
40
- export * from "./commands/CreateUserImportJobCommand";
41
- export * from "./commands/CreateUserPoolCommand";
42
- export * from "./commands/CreateUserPoolClientCommand";
43
- export * from "./commands/CreateUserPoolDomainCommand";
44
- export * from "./commands/DeleteGroupCommand";
45
- export * from "./commands/DeleteIdentityProviderCommand";
46
- export * from "./commands/DeleteResourceServerCommand";
47
- export * from "./commands/DeleteUserCommand";
48
- export * from "./commands/DeleteUserAttributesCommand";
49
- export * from "./commands/DeleteUserPoolCommand";
50
- export * from "./commands/DeleteUserPoolClientCommand";
51
- export * from "./commands/DeleteUserPoolDomainCommand";
52
- export * from "./commands/DescribeIdentityProviderCommand";
53
- export * from "./commands/DescribeResourceServerCommand";
54
- export * from "./commands/DescribeRiskConfigurationCommand";
55
- export * from "./commands/DescribeUserImportJobCommand";
56
- export * from "./commands/DescribeUserPoolCommand";
57
- export * from "./commands/DescribeUserPoolClientCommand";
58
- export * from "./commands/DescribeUserPoolDomainCommand";
59
- export * from "./commands/ForgetDeviceCommand";
60
- export * from "./commands/ForgotPasswordCommand";
61
- export * from "./commands/GetCSVHeaderCommand";
62
- export * from "./commands/GetDeviceCommand";
63
- export * from "./commands/GetGroupCommand";
64
- export * from "./commands/GetIdentityProviderByIdentifierCommand";
65
- export * from "./commands/GetSigningCertificateCommand";
66
- export * from "./commands/GetUICustomizationCommand";
67
- export * from "./commands/GetUserCommand";
68
- export * from "./commands/GetUserAttributeVerificationCodeCommand";
69
- export * from "./commands/GetUserPoolMfaConfigCommand";
70
- export * from "./commands/GlobalSignOutCommand";
71
- export * from "./commands/InitiateAuthCommand";
72
- export * from "./commands/ListDevicesCommand";
73
- export * from "./commands/ListGroupsCommand";
74
- export * from "./pagination/ListGroupsPaginator";
75
- export * from "./commands/ListIdentityProvidersCommand";
76
- export * from "./pagination/ListIdentityProvidersPaginator";
77
- export * from "./commands/ListResourceServersCommand";
78
- export * from "./pagination/ListResourceServersPaginator";
79
- export * from "./commands/ListTagsForResourceCommand";
80
- export * from "./commands/ListUserImportJobsCommand";
81
- export * from "./commands/ListUserPoolClientsCommand";
82
- export * from "./pagination/ListUserPoolClientsPaginator";
83
- export * from "./commands/ListUserPoolsCommand";
84
- export * from "./pagination/ListUserPoolsPaginator";
85
- export * from "./commands/ListUsersCommand";
86
- export * from "./pagination/ListUsersPaginator";
87
- export * from "./commands/ListUsersInGroupCommand";
88
- export * from "./pagination/ListUsersInGroupPaginator";
89
- export * from "./commands/ResendConfirmationCodeCommand";
90
- export * from "./commands/RespondToAuthChallengeCommand";
91
- export * from "./commands/RevokeTokenCommand";
92
- export * from "./commands/SetRiskConfigurationCommand";
93
- export * from "./commands/SetUICustomizationCommand";
94
- export * from "./commands/SetUserMFAPreferenceCommand";
95
- export * from "./commands/SetUserPoolMfaConfigCommand";
96
- export * from "./commands/SetUserSettingsCommand";
97
- export * from "./commands/SignUpCommand";
98
- export * from "./commands/StartUserImportJobCommand";
99
- export * from "./commands/StopUserImportJobCommand";
100
- export * from "./commands/TagResourceCommand";
101
- export * from "./commands/UntagResourceCommand";
102
- export * from "./commands/UpdateAuthEventFeedbackCommand";
103
- export * from "./commands/UpdateDeviceStatusCommand";
104
- export * from "./commands/UpdateGroupCommand";
105
- export * from "./commands/UpdateIdentityProviderCommand";
106
- export * from "./commands/UpdateResourceServerCommand";
107
- export * from "./commands/UpdateUserAttributesCommand";
108
- export * from "./commands/UpdateUserPoolCommand";
109
- export * from "./commands/UpdateUserPoolClientCommand";
110
- export * from "./commands/UpdateUserPoolDomainCommand";
111
- export * from "./commands/VerifySoftwareTokenCommand";
112
- export * from "./commands/VerifyUserAttributeCommand";
113
- export * from "./pagination/Interfaces";
114
- export * from "./models/index";
2
+ export * from "./CognitoIdentityProviderClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,10 @@
1
+ export * from "./AdminListGroupsForUserPaginator";
2
+ export * from "./AdminListUserAuthEventsPaginator";
3
+ export * from "./Interfaces";
4
+ export * from "./ListGroupsPaginator";
5
+ export * from "./ListIdentityProvidersPaginator";
6
+ export * from "./ListResourceServersPaginator";
7
+ export * from "./ListUserPoolClientsPaginator";
8
+ export * from "./ListUserPoolsPaginator";
9
+ export * from "./ListUsersInGroupPaginator";
10
+ export * from "./ListUsersPaginator";
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;
@@ -32,9 +34,6 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
32
34
  signingEscapePath?: boolean | undefined;
33
35
  systemClockOffset?: number | undefined;
34
36
  signingRegion?: string | undefined;
35
- /**
36
- * @internal
37
- */
38
37
  signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
39
38
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
40
39
  };
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
16
16
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
17
  sha256: import("@aws-sdk/types").HashConstructor;
18
18
  streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  utf8Decoder: import("@aws-sdk/types").Decoder;
20
22
  utf8Encoder: import("@aws-sdk/types").Encoder;
21
23
  apiVersion: string;