@aws-sdk/client-cognito-identity-provider 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/CognitoIdentityProviderClient.js +12 -12
- package/dist-cjs/commands/AddCustomAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +4 -4
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +4 -4
- package/dist-cjs/commands/AdminCreateUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminDeleteUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminDisableUserCommand.js +4 -4
- package/dist-cjs/commands/AdminEnableUserCommand.js +4 -4
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +4 -4
- package/dist-cjs/commands/AdminGetDeviceCommand.js +4 -4
- package/dist-cjs/commands/AdminGetUserCommand.js +4 -4
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +4 -4
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminListDevicesCommand.js +4 -4
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +4 -4
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +4 -4
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +4 -4
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +4 -4
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +4 -4
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +4 -4
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +4 -4
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +4 -4
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +4 -4
- package/dist-cjs/commands/ChangePasswordCommand.js +3 -3
- package/dist-cjs/commands/ConfirmDeviceCommand.js +4 -4
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +3 -3
- package/dist-cjs/commands/ConfirmSignUpCommand.js +3 -3
- package/dist-cjs/commands/CreateGroupCommand.js +4 -4
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/CreateResourceServerCommand.js +4 -4
- package/dist-cjs/commands/CreateUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolCommand.js +4 -4
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/DeleteGroupCommand.js +4 -4
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/DeleteResourceServerCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserCommand.js +3 -3
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserPoolCommand.js +4 -4
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/DescribeResourceServerCommand.js +4 -4
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolCommand.js +4 -4
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/ForgetDeviceCommand.js +4 -4
- package/dist-cjs/commands/ForgotPasswordCommand.js +3 -3
- package/dist-cjs/commands/GetCSVHeaderCommand.js +4 -4
- package/dist-cjs/commands/GetDeviceCommand.js +4 -4
- package/dist-cjs/commands/GetGroupCommand.js +4 -4
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +4 -4
- package/dist-cjs/commands/GetSigningCertificateCommand.js +4 -4
- package/dist-cjs/commands/GetUICustomizationCommand.js +4 -4
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +3 -3
- package/dist-cjs/commands/GetUserCommand.js +3 -3
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +4 -4
- package/dist-cjs/commands/GlobalSignOutCommand.js +4 -4
- package/dist-cjs/commands/InitiateAuthCommand.js +3 -3
- package/dist-cjs/commands/ListDevicesCommand.js +4 -4
- package/dist-cjs/commands/ListGroupsCommand.js +4 -4
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +4 -4
- package/dist-cjs/commands/ListResourceServersCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/ListUserImportJobsCommand.js +4 -4
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +4 -4
- package/dist-cjs/commands/ListUserPoolsCommand.js +4 -4
- package/dist-cjs/commands/ListUsersCommand.js +4 -4
- package/dist-cjs/commands/ListUsersInGroupCommand.js +4 -4
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +3 -3
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +3 -3
- package/dist-cjs/commands/RevokeTokenCommand.js +4 -4
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +4 -4
- package/dist-cjs/commands/SetUICustomizationCommand.js +4 -4
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +4 -4
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +4 -4
- package/dist-cjs/commands/SetUserSettingsCommand.js +3 -3
- package/dist-cjs/commands/SignUpCommand.js +3 -3
- package/dist-cjs/commands/StartUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/StopUserImportJobCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +4 -4
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +4 -4
- package/dist-cjs/commands/UpdateGroupCommand.js +4 -4
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +4 -4
- package/dist-cjs/commands/UpdateResourceServerCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserPoolCommand.js +4 -4
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +4 -4
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +4 -4
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +447 -448
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CognitoIdentityProvider.js +101 -101
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +4 -4
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +4 -4
- package/dist-es/pagination/ListGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +4 -4
- package/dist-es/pagination/ListResourceServersPaginator.js +4 -4
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +4 -4
- package/dist-es/pagination/ListUserPoolsPaginator.js +4 -4
- package/dist-es/pagination/ListUsersInGroupPaginator.js +4 -4
- package/dist-es/pagination/ListUsersPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +7 -10
- package/dist-types/CognitoIdentityProvider.d.ts +261 -250
- package/dist-types/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/commands/AdminCreateUserCommand.d.ts +18 -16
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +7 -4
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +17 -16
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +17 -17
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +17 -16
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +17 -16
- package/dist-types/commands/CreateUserPoolCommand.d.ts +17 -17
- package/dist-types/commands/ForgotPasswordCommand.d.ts +17 -17
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +17 -17
- package/dist-types/commands/InitiateAuthCommand.d.ts +17 -16
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +17 -17
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +17 -16
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -14
- package/dist-types/commands/SignUpCommand.d.ts +17 -17
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +17 -17
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -17
- package/dist-types/models/models_0.d.ts +352 -213
- package/dist-types/models/models_1.d.ts +21 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new AdminListGroupsForUserCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new AdminListGroupsForUserCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.adminListGroupsForUser.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.adminListGroupsForUser.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateAdminListGroupsForUser(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["Limit"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new AdminListUserAuthEventsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new AdminListUserAuthEventsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.adminListUserAuthEvents.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.adminListUserAuthEvents.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateAdminListUserAuthEvents(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListGroupsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListGroupsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListGroups(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["Limit"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListIdentityProvidersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListIdentityProvidersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listIdentityProviders.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listIdentityProviders.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListIdentityProviders(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListResourceServersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListResourceServersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listResourceServers.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listResourceServers.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListResourceServers(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListUserPoolClientsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUserPoolClientsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listUserPoolClients.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listUserPoolClients.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListUserPoolClients(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListUserPoolsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUserPoolsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listUserPools.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listUserPools.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListUserPools(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersInGroupCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersInGroupCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listUsersInGroup.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listUsersInGroup.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListUsersInGroup(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["Limit"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listUsers.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listUsers.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListUsers(config, input) {
|
|
|
48
48
|
input.PaginationToken = token;
|
|
49
49
|
input["Limit"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof CognitoIdentityProvider)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof CognitoIdentityProviderClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -5384,12 +5384,10 @@ var deserializeAws_json1_1ForgotPasswordCommandError = function (output, context
|
|
|
5384
5384
|
case "com.amazonaws.cognitoidentityprovider#UnexpectedLambdaException": return [3, 24];
|
|
5385
5385
|
case "UserLambdaValidationException": return [3, 26];
|
|
5386
5386
|
case "com.amazonaws.cognitoidentityprovider#UserLambdaValidationException": return [3, 26];
|
|
5387
|
-
case "
|
|
5388
|
-
case "com.amazonaws.cognitoidentityprovider#
|
|
5389
|
-
case "UserNotFoundException": return [3, 30];
|
|
5390
|
-
case "com.amazonaws.cognitoidentityprovider#UserNotFoundException": return [3, 30];
|
|
5387
|
+
case "UserNotFoundException": return [3, 28];
|
|
5388
|
+
case "com.amazonaws.cognitoidentityprovider#UserNotFoundException": return [3, 28];
|
|
5391
5389
|
}
|
|
5392
|
-
return [3,
|
|
5390
|
+
return [3, 30];
|
|
5393
5391
|
case 2: return [4, deserializeAws_json1_1CodeDeliveryFailureExceptionResponse(parsedOutput, context)];
|
|
5394
5392
|
case 3: throw _d.sent();
|
|
5395
5393
|
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
@@ -5416,11 +5414,9 @@ var deserializeAws_json1_1ForgotPasswordCommandError = function (output, context
|
|
|
5416
5414
|
case 25: throw _d.sent();
|
|
5417
5415
|
case 26: return [4, deserializeAws_json1_1UserLambdaValidationExceptionResponse(parsedOutput, context)];
|
|
5418
5416
|
case 27: throw _d.sent();
|
|
5419
|
-
case 28: return [4,
|
|
5417
|
+
case 28: return [4, deserializeAws_json1_1UserNotFoundExceptionResponse(parsedOutput, context)];
|
|
5420
5418
|
case 29: throw _d.sent();
|
|
5421
|
-
case 30:
|
|
5422
|
-
case 31: throw _d.sent();
|
|
5423
|
-
case 32:
|
|
5419
|
+
case 30:
|
|
5424
5420
|
parsedBody = parsedOutput.body;
|
|
5425
5421
|
response = new __BaseException({
|
|
5426
5422
|
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
@@ -10206,7 +10202,7 @@ var serializeAws_json1_1SkippedIPRangeListType = function (input, context) {
|
|
|
10206
10202
|
});
|
|
10207
10203
|
};
|
|
10208
10204
|
var serializeAws_json1_1SmsConfigurationType = function (input, context) {
|
|
10209
|
-
return __assign(__assign({}, (input.ExternalId !== undefined && input.ExternalId !== null && { ExternalId: input.ExternalId })), (input.SnsCallerArn !== undefined && input.SnsCallerArn !== null && { SnsCallerArn: input.SnsCallerArn }));
|
|
10205
|
+
return __assign(__assign(__assign({}, (input.ExternalId !== undefined && input.ExternalId !== null && { ExternalId: input.ExternalId })), (input.SnsCallerArn !== undefined && input.SnsCallerArn !== null && { SnsCallerArn: input.SnsCallerArn })), (input.SnsRegion !== undefined && input.SnsRegion !== null && { SnsRegion: input.SnsRegion }));
|
|
10210
10206
|
};
|
|
10211
10207
|
var serializeAws_json1_1SmsMfaConfigType = function (input, context) {
|
|
10212
10208
|
return __assign(__assign({}, (input.SmsAuthenticationMessage !== undefined &&
|
|
@@ -11754,6 +11750,7 @@ var deserializeAws_json1_1SmsConfigurationType = function (output, context) {
|
|
|
11754
11750
|
return {
|
|
11755
11751
|
ExternalId: __expectString(output.ExternalId),
|
|
11756
11752
|
SnsCallerArn: __expectString(output.SnsCallerArn),
|
|
11753
|
+
SnsRegion: __expectString(output.SnsRegion),
|
|
11757
11754
|
};
|
|
11758
11755
|
};
|
|
11759
11756
|
var deserializeAws_json1_1SmsMfaConfigType = function (output, context) {
|