@aws-sdk/client-cognito-identity-provider 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/CognitoIdentityProvider.js +413 -406
- package/dist-es/CognitoIdentityProviderClient.js +27 -21
- package/dist-es/commands/AddCustomAttributesCommand.js +28 -21
- package/dist-es/commands/AdminAddUserToGroupCommand.js +29 -22
- package/dist-es/commands/AdminConfirmSignUpCommand.js +28 -21
- package/dist-es/commands/AdminCreateUserCommand.js +28 -21
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +28 -21
- package/dist-es/commands/AdminDeleteUserCommand.js +29 -22
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +28 -21
- package/dist-es/commands/AdminDisableUserCommand.js +28 -21
- package/dist-es/commands/AdminEnableUserCommand.js +28 -21
- package/dist-es/commands/AdminForgetDeviceCommand.js +29 -22
- package/dist-es/commands/AdminGetDeviceCommand.js +28 -21
- package/dist-es/commands/AdminGetUserCommand.js +28 -21
- package/dist-es/commands/AdminInitiateAuthCommand.js +28 -21
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +28 -21
- package/dist-es/commands/AdminListDevicesCommand.js +28 -21
- package/dist-es/commands/AdminListGroupsForUserCommand.js +28 -21
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +28 -21
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +29 -22
- package/dist-es/commands/AdminResetUserPasswordCommand.js +28 -21
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +28 -21
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +28 -21
- package/dist-es/commands/AdminSetUserPasswordCommand.js +28 -21
- package/dist-es/commands/AdminSetUserSettingsCommand.js +28 -21
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +28 -21
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +28 -21
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +28 -21
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +28 -21
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +28 -21
- package/dist-es/commands/ChangePasswordCommand.js +28 -21
- package/dist-es/commands/ConfirmDeviceCommand.js +28 -21
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +28 -21
- package/dist-es/commands/ConfirmSignUpCommand.js +28 -21
- package/dist-es/commands/CreateGroupCommand.js +28 -21
- package/dist-es/commands/CreateIdentityProviderCommand.js +28 -21
- package/dist-es/commands/CreateResourceServerCommand.js +28 -21
- package/dist-es/commands/CreateUserImportJobCommand.js +28 -21
- package/dist-es/commands/CreateUserPoolClientCommand.js +28 -21
- package/dist-es/commands/CreateUserPoolCommand.js +28 -21
- package/dist-es/commands/CreateUserPoolDomainCommand.js +28 -21
- package/dist-es/commands/DeleteGroupCommand.js +29 -22
- package/dist-es/commands/DeleteIdentityProviderCommand.js +29 -22
- package/dist-es/commands/DeleteResourceServerCommand.js +29 -22
- package/dist-es/commands/DeleteUserAttributesCommand.js +28 -21
- package/dist-es/commands/DeleteUserCommand.js +29 -22
- package/dist-es/commands/DeleteUserPoolClientCommand.js +29 -22
- package/dist-es/commands/DeleteUserPoolCommand.js +29 -22
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +28 -21
- package/dist-es/commands/DescribeIdentityProviderCommand.js +28 -21
- package/dist-es/commands/DescribeResourceServerCommand.js +28 -21
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeUserImportJobCommand.js +28 -21
- package/dist-es/commands/DescribeUserPoolClientCommand.js +28 -21
- package/dist-es/commands/DescribeUserPoolCommand.js +28 -21
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +28 -21
- package/dist-es/commands/ForgetDeviceCommand.js +29 -22
- package/dist-es/commands/ForgotPasswordCommand.js +28 -21
- package/dist-es/commands/GetCSVHeaderCommand.js +28 -21
- package/dist-es/commands/GetDeviceCommand.js +28 -21
- package/dist-es/commands/GetGroupCommand.js +28 -21
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +28 -21
- package/dist-es/commands/GetSigningCertificateCommand.js +28 -21
- package/dist-es/commands/GetUICustomizationCommand.js +28 -21
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +28 -21
- package/dist-es/commands/GetUserCommand.js +28 -21
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +28 -21
- package/dist-es/commands/GlobalSignOutCommand.js +28 -21
- package/dist-es/commands/InitiateAuthCommand.js +28 -21
- package/dist-es/commands/ListDevicesCommand.js +28 -21
- package/dist-es/commands/ListGroupsCommand.js +28 -21
- package/dist-es/commands/ListIdentityProvidersCommand.js +28 -21
- package/dist-es/commands/ListResourceServersCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListUserImportJobsCommand.js +28 -21
- package/dist-es/commands/ListUserPoolClientsCommand.js +28 -21
- package/dist-es/commands/ListUserPoolsCommand.js +28 -21
- package/dist-es/commands/ListUsersCommand.js +28 -21
- package/dist-es/commands/ListUsersInGroupCommand.js +28 -21
- package/dist-es/commands/ResendConfirmationCodeCommand.js +28 -21
- package/dist-es/commands/RespondToAuthChallengeCommand.js +28 -21
- package/dist-es/commands/RevokeTokenCommand.js +28 -21
- package/dist-es/commands/SetRiskConfigurationCommand.js +28 -21
- package/dist-es/commands/SetUICustomizationCommand.js +28 -21
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +28 -21
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +28 -21
- package/dist-es/commands/SetUserSettingsCommand.js +28 -21
- package/dist-es/commands/SignUpCommand.js +28 -21
- package/dist-es/commands/StartUserImportJobCommand.js +28 -21
- package/dist-es/commands/StopUserImportJobCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +28 -21
- package/dist-es/commands/UpdateDeviceStatusCommand.js +28 -21
- package/dist-es/commands/UpdateGroupCommand.js +28 -21
- package/dist-es/commands/UpdateIdentityProviderCommand.js +28 -21
- package/dist-es/commands/UpdateResourceServerCommand.js +28 -21
- package/dist-es/commands/UpdateUserAttributesCommand.js +28 -21
- package/dist-es/commands/UpdateUserPoolClientCommand.js +28 -21
- package/dist-es/commands/UpdateUserPoolCommand.js +28 -21
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +28 -21
- package/dist-es/commands/VerifySoftwareTokenCommand.js +28 -21
- package/dist-es/commands/VerifyUserAttributeCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CognitoIdentityProviderServiceException.js +10 -5
- package/dist-es/models/models_0.js +732 -1290
- package/dist-es/models/models_1.js +45 -115
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +68 -25
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +68 -25
- package/dist-es/pagination/ListResourceServersPaginator.js +68 -25
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +68 -25
- package/dist-es/pagination/ListUserPoolsPaginator.js +68 -25
- package/dist-es/pagination/ListUsersInGroupPaginator.js +68 -25
- package/dist-es/pagination/ListUsersPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +10565 -8461
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { CreateUserPoolRequestFilterSensitiveLog, CreateUserPoolResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1CreateUserPoolCommand, serializeAws_json1_1CreateUserPoolCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var CreateUserPoolCommand = (function (_super) {
|
|
8
|
+
__extends(CreateUserPoolCommand, _super);
|
|
9
|
+
function CreateUserPoolCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
CreateUserPoolCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "CreateUserPoolCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: CreateUserPoolRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: CreateUserPoolResponseFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
CreateUserPoolCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1CreateUserPoolCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
CreateUserPoolCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1CreateUserPoolCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return CreateUserPoolCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { CreateUserPoolCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { CreateUserPoolDomainRequestFilterSensitiveLog, CreateUserPoolDomainResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1CreateUserPoolDomainCommand, serializeAws_json1_1CreateUserPoolDomainCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var CreateUserPoolDomainCommand = (function (_super) {
|
|
8
|
+
__extends(CreateUserPoolDomainCommand, _super);
|
|
9
|
+
function CreateUserPoolDomainCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
CreateUserPoolDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "CreateUserPoolDomainCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: CreateUserPoolDomainRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: CreateUserPoolDomainResponseFilterSensitiveLog,
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
CreateUserPoolDomainCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1CreateUserPoolDomainCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
CreateUserPoolDomainCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1CreateUserPoolDomainCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return CreateUserPoolDomainCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { CreateUserPoolDomainCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { DeleteGroupRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1DeleteGroupCommand, serializeAws_json1_1DeleteGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var DeleteGroupCommand = (function (_super) {
|
|
8
|
+
__extends(DeleteGroupCommand, _super);
|
|
9
|
+
function DeleteGroupCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
DeleteGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "DeleteGroupCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: DeleteGroupRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
DeleteGroupCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1DeleteGroupCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
DeleteGroupCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1DeleteGroupCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return DeleteGroupCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { DeleteGroupCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { DeleteIdentityProviderRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1DeleteIdentityProviderCommand, serializeAws_json1_1DeleteIdentityProviderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var DeleteIdentityProviderCommand = (function (_super) {
|
|
8
|
+
__extends(DeleteIdentityProviderCommand, _super);
|
|
9
|
+
function DeleteIdentityProviderCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
DeleteIdentityProviderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "DeleteIdentityProviderCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: DeleteIdentityProviderRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
DeleteIdentityProviderCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1DeleteIdentityProviderCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
DeleteIdentityProviderCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1DeleteIdentityProviderCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return DeleteIdentityProviderCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { DeleteIdentityProviderCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { DeleteResourceServerRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1DeleteResourceServerCommand, serializeAws_json1_1DeleteResourceServerCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var DeleteResourceServerCommand = (function (_super) {
|
|
8
|
+
__extends(DeleteResourceServerCommand, _super);
|
|
9
|
+
function DeleteResourceServerCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
DeleteResourceServerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "DeleteResourceServerCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: DeleteResourceServerRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
DeleteResourceServerCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1DeleteResourceServerCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
DeleteResourceServerCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1DeleteResourceServerCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return DeleteResourceServerCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { DeleteResourceServerCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteUserAttributesRequestFilterSensitiveLog, DeleteUserAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteUserAttributesCommand, serializeAws_json1_1DeleteUserAttributesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteUserAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteUserAttributesCommand, _super);
|
|
8
|
+
function DeleteUserAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteUserAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
18
|
+
var commandName = "DeleteUserAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteUserAttributesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteUserAttributesResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteUserAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteUserAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteUserAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteUserAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteUserAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteUserAttributesCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DeleteUserRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1DeleteUserCommand, serializeAws_json1_1DeleteUserCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteUserCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteUserCommand, _super);
|
|
8
|
+
function DeleteUserCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
18
|
+
var commandName = "DeleteUserCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteUserCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1DeleteUserCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteUserCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1DeleteUserCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteUserCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteUserCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { DeleteUserPoolClientRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1DeleteUserPoolClientCommand, serializeAws_json1_1DeleteUserPoolClientCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var DeleteUserPoolClientCommand = (function (_super) {
|
|
8
|
+
__extends(DeleteUserPoolClientCommand, _super);
|
|
9
|
+
function DeleteUserPoolClientCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
DeleteUserPoolClientCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "DeleteUserPoolClientCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: DeleteUserPoolClientRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
DeleteUserPoolClientCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1DeleteUserPoolClientCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
DeleteUserPoolClientCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1DeleteUserPoolClientCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return DeleteUserPoolClientCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { DeleteUserPoolClientCommand };
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
5
|
import { DeleteUserPoolRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1DeleteUserPoolCommand, serializeAws_json1_1DeleteUserPoolCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var DeleteUserPoolCommand = (function (_super) {
|
|
8
|
+
__extends(DeleteUserPoolCommand, _super);
|
|
9
|
+
function DeleteUserPoolCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
DeleteUserPoolCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
12
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
13
16
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
logger,
|
|
20
|
-
clientName,
|
|
21
|
-
commandName,
|
|
17
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
var logger = configuration.logger;
|
|
19
|
+
var clientName = "CognitoIdentityProviderClient";
|
|
20
|
+
var commandName = "DeleteUserPoolCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: DeleteUserPoolRequestFilterSensitiveLog,
|
|
23
|
-
outputFilterSensitiveLog: (output)
|
|
26
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
24
27
|
};
|
|
25
|
-
|
|
26
|
-
return stack.resolve((request)
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
var requestHandler = configuration.requestHandler;
|
|
29
|
+
return stack.resolve(function (request) {
|
|
30
|
+
return requestHandler.handle(request.request, options || {});
|
|
31
|
+
}, handlerExecutionContext);
|
|
32
|
+
};
|
|
33
|
+
DeleteUserPoolCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1DeleteUserPoolCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
DeleteUserPoolCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1DeleteUserPoolCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return DeleteUserPoolCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { DeleteUserPoolCommand };
|