@aws-sdk/client-rolesanywhere 3.185.0 → 3.188.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 (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/RolesAnywhere.js +106 -113
  3. package/dist-es/RolesAnywhereClient.js +22 -28
  4. package/dist-es/commands/CreateProfileCommand.js +21 -28
  5. package/dist-es/commands/CreateTrustAnchorCommand.js +21 -28
  6. package/dist-es/commands/DeleteCrlCommand.js +21 -28
  7. package/dist-es/commands/DeleteProfileCommand.js +21 -28
  8. package/dist-es/commands/DeleteTrustAnchorCommand.js +21 -28
  9. package/dist-es/commands/DisableCrlCommand.js +21 -28
  10. package/dist-es/commands/DisableProfileCommand.js +21 -28
  11. package/dist-es/commands/DisableTrustAnchorCommand.js +21 -28
  12. package/dist-es/commands/EnableCrlCommand.js +21 -28
  13. package/dist-es/commands/EnableProfileCommand.js +21 -28
  14. package/dist-es/commands/EnableTrustAnchorCommand.js +21 -28
  15. package/dist-es/commands/GetCrlCommand.js +21 -28
  16. package/dist-es/commands/GetProfileCommand.js +21 -28
  17. package/dist-es/commands/GetSubjectCommand.js +21 -28
  18. package/dist-es/commands/GetTrustAnchorCommand.js +21 -28
  19. package/dist-es/commands/ImportCrlCommand.js +21 -28
  20. package/dist-es/commands/ListCrlsCommand.js +21 -28
  21. package/dist-es/commands/ListProfilesCommand.js +21 -28
  22. package/dist-es/commands/ListSubjectsCommand.js +21 -28
  23. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  24. package/dist-es/commands/ListTrustAnchorsCommand.js +21 -28
  25. package/dist-es/commands/TagResourceCommand.js +21 -28
  26. package/dist-es/commands/UntagResourceCommand.js +21 -28
  27. package/dist-es/commands/UpdateCrlCommand.js +21 -28
  28. package/dist-es/commands/UpdateProfileCommand.js +21 -28
  29. package/dist-es/commands/UpdateTrustAnchorCommand.js +21 -28
  30. package/dist-es/endpoints.js +8 -8
  31. package/dist-es/models/RolesAnywhereServiceException.js +5 -10
  32. package/dist-es/models/models_0.js +163 -83
  33. package/dist-es/pagination/ListCrlsPaginator.js +24 -67
  34. package/dist-es/pagination/ListProfilesPaginator.js +24 -67
  35. package/dist-es/pagination/ListSubjectsPaginator.js +24 -67
  36. package/dist-es/pagination/ListTrustAnchorsPaginator.js +24 -67
  37. package/dist-es/protocols/Aws_restJson1.js +1558 -2315
  38. package/dist-es/runtimeConfig.browser.js +26 -12
  39. package/dist-es/runtimeConfig.js +30 -12
  40. package/dist-es/runtimeConfig.native.js +8 -5
  41. package/dist-es/runtimeConfig.shared.js +8 -11
  42. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CrlDetailResponseFilterSensitiveLog, ScalarCrlRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetCrlCommand, serializeAws_restJson1GetCrlCommand } from "../protocols/Aws_restJson1";
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;
5
+ export class GetCrlCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ScalarCrlRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CrlDetailResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetCrlCommand(input, context);
33
- };
34
- GetCrlCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetCrlCommand(output, context);
36
- };
37
- return GetCrlCommand;
38
- }($Command));
39
- export { GetCrlCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ProfileDetailResponseFilterSensitiveLog, ScalarProfileRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetProfileCommand, serializeAws_restJson1GetProfileCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ScalarProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ProfileDetailResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetProfileCommand(input, context);
33
- };
34
- GetProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetProfileCommand(output, context);
36
- };
37
- return GetProfileCommand;
38
- }($Command));
39
- export { GetProfileCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ScalarSubjectRequestFilterSensitiveLog, SubjectDetailResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetSubjectCommand, serializeAws_restJson1GetSubjectCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetSubjectCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetSubjectCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ScalarSubjectRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SubjectDetailResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetSubjectCommand(input, context);
33
- };
34
- GetSubjectCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetSubjectCommand(output, context);
36
- };
37
- return GetSubjectCommand;
38
- }($Command));
39
- export { GetSubjectCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ScalarTrustAnchorRequestFilterSensitiveLog, TrustAnchorDetailResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTrustAnchorCommand, serializeAws_restJson1GetTrustAnchorCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class GetTrustAnchorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ScalarTrustAnchorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TrustAnchorDetailResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetTrustAnchorCommand(input, context);
33
- };
34
- GetTrustAnchorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTrustAnchorCommand(output, context);
36
- };
37
- return GetTrustAnchorCommand;
38
- }($Command));
39
- export { GetTrustAnchorCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CrlDetailResponseFilterSensitiveLog, ImportCrlRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ImportCrlCommand, serializeAws_restJson1ImportCrlCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ImportCrlCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ImportCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ImportCrlRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CrlDetailResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ImportCrlCommand(input, context);
33
- };
34
- ImportCrlCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ImportCrlCommand(output, context);
36
- };
37
- return ImportCrlCommand;
38
- }($Command));
39
- export { ImportCrlCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListCrlsResponseFilterSensitiveLog, ListRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListCrlsCommand, serializeAws_restJson1ListCrlsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListCrlsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCrlsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCrlsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListCrlsCommand(input, context);
33
- };
34
- ListCrlsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListCrlsCommand(output, context);
36
- };
37
- return ListCrlsCommand;
38
- }($Command));
39
- export { ListCrlsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListProfilesResponseFilterSensitiveLog, ListRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListProfilesCommand, serializeAws_restJson1ListProfilesCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListProfilesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListProfilesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListProfilesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListProfilesCommand(input, context);
33
- };
34
- ListProfilesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListProfilesCommand(output, context);
36
- };
37
- return ListProfilesCommand;
38
- }($Command));
39
- export { ListProfilesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListRequestFilterSensitiveLog, ListSubjectsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListSubjectsCommand, serializeAws_restJson1ListSubjectsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListSubjectsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListSubjectsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListSubjectsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListSubjectsCommand(input, context);
33
- };
34
- ListSubjectsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListSubjectsCommand(output, context);
36
- };
37
- return ListSubjectsCommand;
38
- }($Command));
39
- export { ListSubjectsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListRequestFilterSensitiveLog, ListTrustAnchorsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTrustAnchorsCommand, serializeAws_restJson1ListTrustAnchorsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListTrustAnchorsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTrustAnchorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: ListRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTrustAnchorsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTrustAnchorsCommand(input, context);
33
- };
34
- ListTrustAnchorsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTrustAnchorsCommand(output, context);
36
- };
37
- return ListTrustAnchorsCommand;
38
- }($Command));
39
- export { ListTrustAnchorsCommand };
31
+ }
32
+ }