@aws-sdk/client-rolesanywhere 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.
Files changed (43) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/RolesAnywhere.js +113 -106
  4. package/dist-es/RolesAnywhereClient.js +28 -22
  5. package/dist-es/commands/CreateProfileCommand.js +28 -21
  6. package/dist-es/commands/CreateTrustAnchorCommand.js +28 -21
  7. package/dist-es/commands/DeleteCrlCommand.js +28 -21
  8. package/dist-es/commands/DeleteProfileCommand.js +28 -21
  9. package/dist-es/commands/DeleteTrustAnchorCommand.js +28 -21
  10. package/dist-es/commands/DisableCrlCommand.js +28 -21
  11. package/dist-es/commands/DisableProfileCommand.js +28 -21
  12. package/dist-es/commands/DisableTrustAnchorCommand.js +28 -21
  13. package/dist-es/commands/EnableCrlCommand.js +28 -21
  14. package/dist-es/commands/EnableProfileCommand.js +28 -21
  15. package/dist-es/commands/EnableTrustAnchorCommand.js +28 -21
  16. package/dist-es/commands/GetCrlCommand.js +28 -21
  17. package/dist-es/commands/GetProfileCommand.js +28 -21
  18. package/dist-es/commands/GetSubjectCommand.js +28 -21
  19. package/dist-es/commands/GetTrustAnchorCommand.js +28 -21
  20. package/dist-es/commands/ImportCrlCommand.js +28 -21
  21. package/dist-es/commands/ListCrlsCommand.js +28 -21
  22. package/dist-es/commands/ListProfilesCommand.js +28 -21
  23. package/dist-es/commands/ListSubjectsCommand.js +28 -21
  24. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  25. package/dist-es/commands/ListTrustAnchorsCommand.js +28 -21
  26. package/dist-es/commands/TagResourceCommand.js +28 -21
  27. package/dist-es/commands/UntagResourceCommand.js +28 -21
  28. package/dist-es/commands/UpdateCrlCommand.js +28 -21
  29. package/dist-es/commands/UpdateProfileCommand.js +28 -21
  30. package/dist-es/commands/UpdateTrustAnchorCommand.js +28 -21
  31. package/dist-es/endpoints.js +8 -8
  32. package/dist-es/models/RolesAnywhereServiceException.js +10 -5
  33. package/dist-es/models/models_0.js +83 -163
  34. package/dist-es/pagination/ListCrlsPaginator.js +67 -24
  35. package/dist-es/pagination/ListProfilesPaginator.js +67 -24
  36. package/dist-es/pagination/ListSubjectsPaginator.js +67 -24
  37. package/dist-es/pagination/ListTrustAnchorsPaginator.js +67 -24
  38. package/dist-es/protocols/Aws_restJson1.js +2315 -1558
  39. package/dist-es/runtimeConfig.browser.js +12 -26
  40. package/dist-es/runtimeConfig.js +12 -30
  41. package/dist-es/runtimeConfig.native.js +5 -8
  42. package/dist-es/runtimeConfig.shared.js +11 -8
  43. package/package.json +5 -5
@@ -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 { CreateTrustAnchorRequestFilterSensitiveLog, TrustAnchorDetailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateTrustAnchorCommand, serializeAws_restJson1CreateTrustAnchorCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateTrustAnchorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateTrustAnchorCommand = (function (_super) {
7
+ __extends(CreateTrustAnchorCommand, _super);
8
+ function CreateTrustAnchorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "CreateTrustAnchorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "CreateTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTrustAnchorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TrustAnchorDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateTrustAnchorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateTrustAnchorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTrustAnchorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateTrustAnchorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTrustAnchorCommand;
38
+ }($Command));
39
+ export { CreateTrustAnchorCommand };
@@ -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 { CrlDetailResponseFilterSensitiveLog, ScalarCrlRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteCrlCommand, serializeAws_restJson1DeleteCrlCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteCrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCrlCommand = (function (_super) {
7
+ __extends(DeleteCrlCommand, _super);
8
+ function DeleteCrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "DeleteCrlCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "DeleteCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarCrlRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CrlDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteCrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteCrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCrlCommand;
38
+ }($Command));
39
+ export { DeleteCrlCommand };
@@ -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 { ProfileDetailResponseFilterSensitiveLog, ScalarProfileRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteProfileCommand, serializeAws_restJson1DeleteProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteProfileCommand = (function (_super) {
7
+ __extends(DeleteProfileCommand, _super);
8
+ function DeleteProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "DeleteProfileCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "DeleteProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ProfileDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteProfileCommand;
38
+ }($Command));
39
+ export { DeleteProfileCommand };
@@ -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 { ScalarTrustAnchorRequestFilterSensitiveLog, TrustAnchorDetailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteTrustAnchorCommand, serializeAws_restJson1DeleteTrustAnchorCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteTrustAnchorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTrustAnchorCommand = (function (_super) {
7
+ __extends(DeleteTrustAnchorCommand, _super);
8
+ function DeleteTrustAnchorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "DeleteTrustAnchorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "DeleteTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarTrustAnchorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TrustAnchorDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteTrustAnchorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteTrustAnchorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTrustAnchorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteTrustAnchorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTrustAnchorCommand;
38
+ }($Command));
39
+ export { DeleteTrustAnchorCommand };
@@ -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 { CrlDetailResponseFilterSensitiveLog, ScalarCrlRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisableCrlCommand, serializeAws_restJson1DisableCrlCommand, } from "../protocols/Aws_restJson1";
5
- export class DisableCrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableCrlCommand = (function (_super) {
7
+ __extends(DisableCrlCommand, _super);
8
+ function DisableCrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "DisableCrlCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "DisableCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarCrlRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CrlDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableCrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisableCrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableCrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisableCrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableCrlCommand;
38
+ }($Command));
39
+ export { DisableCrlCommand };
@@ -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 { ProfileDetailResponseFilterSensitiveLog, ScalarProfileRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisableProfileCommand, serializeAws_restJson1DisableProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class DisableProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableProfileCommand = (function (_super) {
7
+ __extends(DisableProfileCommand, _super);
8
+ function DisableProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "DisableProfileCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "DisableProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ProfileDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisableProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisableProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableProfileCommand;
38
+ }($Command));
39
+ export { DisableProfileCommand };
@@ -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 { ScalarTrustAnchorRequestFilterSensitiveLog, TrustAnchorDetailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisableTrustAnchorCommand, serializeAws_restJson1DisableTrustAnchorCommand, } from "../protocols/Aws_restJson1";
5
- export class DisableTrustAnchorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableTrustAnchorCommand = (function (_super) {
7
+ __extends(DisableTrustAnchorCommand, _super);
8
+ function DisableTrustAnchorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "DisableTrustAnchorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "DisableTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarTrustAnchorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TrustAnchorDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableTrustAnchorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisableTrustAnchorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableTrustAnchorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisableTrustAnchorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableTrustAnchorCommand;
38
+ }($Command));
39
+ export { DisableTrustAnchorCommand };
@@ -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 { CrlDetailResponseFilterSensitiveLog, ScalarCrlRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1EnableCrlCommand, serializeAws_restJson1EnableCrlCommand, } from "../protocols/Aws_restJson1";
5
- export class EnableCrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableCrlCommand = (function (_super) {
7
+ __extends(EnableCrlCommand, _super);
8
+ function EnableCrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "EnableCrlCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "EnableCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarCrlRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CrlDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EnableCrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1EnableCrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableCrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1EnableCrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableCrlCommand;
38
+ }($Command));
39
+ export { EnableCrlCommand };
@@ -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 { ProfileDetailResponseFilterSensitiveLog, ScalarProfileRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1EnableProfileCommand, serializeAws_restJson1EnableProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class EnableProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableProfileCommand = (function (_super) {
7
+ __extends(EnableProfileCommand, _super);
8
+ function EnableProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "EnableProfileCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "EnableProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ProfileDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EnableProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1EnableProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1EnableProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableProfileCommand;
38
+ }($Command));
39
+ export { EnableProfileCommand };
@@ -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 { ScalarTrustAnchorRequestFilterSensitiveLog, TrustAnchorDetailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1EnableTrustAnchorCommand, serializeAws_restJson1EnableTrustAnchorCommand, } from "../protocols/Aws_restJson1";
5
- export class EnableTrustAnchorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableTrustAnchorCommand = (function (_super) {
7
+ __extends(EnableTrustAnchorCommand, _super);
8
+ function EnableTrustAnchorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "RolesAnywhereClient";
15
- const commandName = "EnableTrustAnchorCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "RolesAnywhereClient";
18
+ var commandName = "EnableTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarTrustAnchorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TrustAnchorDetailResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EnableTrustAnchorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1EnableTrustAnchorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableTrustAnchorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1EnableTrustAnchorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableTrustAnchorCommand;
38
+ }($Command));
39
+ export { EnableTrustAnchorCommand };