@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 { CrlDetailResponseFilterSensitiveLog, ScalarCrlRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetCrlCommand, serializeAws_restJson1GetCrlCommand } from "../protocols/Aws_restJson1";
5
- export class GetCrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetCrlCommand = (function (_super) {
7
+ __extends(GetCrlCommand, _super);
8
+ function GetCrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetCrlCommand.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 = "GetCrlCommand";
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 = "GetCrlCommand";
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
+ GetCrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetCrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetCrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetCrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetCrlCommand;
38
+ }($Command));
39
+ export { GetCrlCommand };
@@ -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_restJson1GetProfileCommand, serializeAws_restJson1GetProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class GetProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetProfileCommand = (function (_super) {
7
+ __extends(GetProfileCommand, _super);
8
+ function GetProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetProfileCommand.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 = "GetProfileCommand";
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 = "GetProfileCommand";
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
+ GetProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetProfileCommand;
38
+ }($Command));
39
+ export { GetProfileCommand };
@@ -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 { ScalarSubjectRequestFilterSensitiveLog, SubjectDetailResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSubjectCommand, serializeAws_restJson1GetSubjectCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSubjectCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetSubjectCommand = (function (_super) {
7
+ __extends(GetSubjectCommand, _super);
8
+ function GetSubjectCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSubjectCommand.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 = "GetSubjectCommand";
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 = "GetSubjectCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScalarSubjectRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SubjectDetailResponseFilterSensitiveLog,
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
+ GetSubjectCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetSubjectCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSubjectCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSubjectCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSubjectCommand;
38
+ }($Command));
39
+ export { GetSubjectCommand };
@@ -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_restJson1GetTrustAnchorCommand, serializeAws_restJson1GetTrustAnchorCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTrustAnchorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTrustAnchorCommand = (function (_super) {
7
+ __extends(GetTrustAnchorCommand, _super);
8
+ function GetTrustAnchorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTrustAnchorCommand.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 = "GetTrustAnchorCommand";
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 = "GetTrustAnchorCommand";
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
+ GetTrustAnchorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTrustAnchorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTrustAnchorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTrustAnchorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTrustAnchorCommand;
38
+ }($Command));
39
+ export { GetTrustAnchorCommand };
@@ -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, ImportCrlRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ImportCrlCommand, serializeAws_restJson1ImportCrlCommand, } from "../protocols/Aws_restJson1";
5
- export class ImportCrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ImportCrlCommand = (function (_super) {
7
+ __extends(ImportCrlCommand, _super);
8
+ function ImportCrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ImportCrlCommand.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 = "ImportCrlCommand";
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 = "ImportCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ImportCrlRequestFilterSensitiveLog,
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
+ ImportCrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ImportCrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ImportCrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ImportCrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ImportCrlCommand;
38
+ }($Command));
39
+ export { ImportCrlCommand };
@@ -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 { ListCrlsResponseFilterSensitiveLog, ListRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListCrlsCommand, serializeAws_restJson1ListCrlsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListCrlsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCrlsCommand = (function (_super) {
7
+ __extends(ListCrlsCommand, _super);
8
+ function ListCrlsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCrlsCommand.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 = "ListCrlsCommand";
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 = "ListCrlsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCrlsResponseFilterSensitiveLog,
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
+ ListCrlsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListCrlsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCrlsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListCrlsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCrlsCommand;
38
+ }($Command));
39
+ export { ListCrlsCommand };
@@ -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 { ListProfilesResponseFilterSensitiveLog, ListRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListProfilesCommand, serializeAws_restJson1ListProfilesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListProfilesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListProfilesCommand = (function (_super) {
7
+ __extends(ListProfilesCommand, _super);
8
+ function ListProfilesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListProfilesCommand.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 = "ListProfilesCommand";
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 = "ListProfilesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListProfilesResponseFilterSensitiveLog,
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
+ ListProfilesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListProfilesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListProfilesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListProfilesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListProfilesCommand;
38
+ }($Command));
39
+ export { ListProfilesCommand };
@@ -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 { ListRequestFilterSensitiveLog, ListSubjectsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListSubjectsCommand, serializeAws_restJson1ListSubjectsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListSubjectsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSubjectsCommand = (function (_super) {
7
+ __extends(ListSubjectsCommand, _super);
8
+ function ListSubjectsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSubjectsCommand.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 = "ListSubjectsCommand";
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 = "ListSubjectsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSubjectsResponseFilterSensitiveLog,
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
+ ListSubjectsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListSubjectsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSubjectsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListSubjectsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSubjectsCommand;
38
+ }($Command));
39
+ export { ListSubjectsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { ListRequestFilterSensitiveLog, ListTrustAnchorsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTrustAnchorsCommand, serializeAws_restJson1ListTrustAnchorsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTrustAnchorsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTrustAnchorsCommand = (function (_super) {
7
+ __extends(ListTrustAnchorsCommand, _super);
8
+ function ListTrustAnchorsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTrustAnchorsCommand.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 = "ListTrustAnchorsCommand";
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 = "ListTrustAnchorsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTrustAnchorsResponseFilterSensitiveLog,
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
+ ListTrustAnchorsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTrustAnchorsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTrustAnchorsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTrustAnchorsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTrustAnchorsCommand;
38
+ }($Command));
39
+ export { ListTrustAnchorsCommand };