@aws-sdk/client-rolesanywhere 3.123.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 (184) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +208 -0
  4. package/dist-cjs/RolesAnywhere.js +397 -0
  5. package/dist-cjs/RolesAnywhereClient.js +37 -0
  6. package/dist-cjs/commands/CreateProfileCommand.js +36 -0
  7. package/dist-cjs/commands/CreateTrustAnchorCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteCrlCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteProfileCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteTrustAnchorCommand.js +36 -0
  11. package/dist-cjs/commands/DisableCrlCommand.js +36 -0
  12. package/dist-cjs/commands/DisableProfileCommand.js +36 -0
  13. package/dist-cjs/commands/DisableTrustAnchorCommand.js +36 -0
  14. package/dist-cjs/commands/EnableCrlCommand.js +36 -0
  15. package/dist-cjs/commands/EnableProfileCommand.js +36 -0
  16. package/dist-cjs/commands/EnableTrustAnchorCommand.js +36 -0
  17. package/dist-cjs/commands/GetCrlCommand.js +36 -0
  18. package/dist-cjs/commands/GetProfileCommand.js +36 -0
  19. package/dist-cjs/commands/GetSubjectCommand.js +36 -0
  20. package/dist-cjs/commands/GetTrustAnchorCommand.js +36 -0
  21. package/dist-cjs/commands/ImportCrlCommand.js +36 -0
  22. package/dist-cjs/commands/ListCrlsCommand.js +36 -0
  23. package/dist-cjs/commands/ListProfilesCommand.js +36 -0
  24. package/dist-cjs/commands/ListSubjectsCommand.js +36 -0
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  26. package/dist-cjs/commands/ListTrustAnchorsCommand.js +36 -0
  27. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  29. package/dist-cjs/commands/UpdateCrlCommand.js +36 -0
  30. package/dist-cjs/commands/UpdateProfileCommand.js +36 -0
  31. package/dist-cjs/commands/UpdateTrustAnchorCommand.js +36 -0
  32. package/dist-cjs/commands/index.js +29 -0
  33. package/dist-cjs/endpoints.js +131 -0
  34. package/dist-cjs/index.js +11 -0
  35. package/dist-cjs/models/RolesAnywhereServiceException.js +11 -0
  36. package/dist-cjs/models/index.js +4 -0
  37. package/dist-cjs/models/models_0.js +301 -0
  38. package/dist-cjs/pagination/Interfaces.js +2 -0
  39. package/dist-cjs/pagination/ListCrlsPaginator.js +35 -0
  40. package/dist-cjs/pagination/ListProfilesPaginator.js +35 -0
  41. package/dist-cjs/pagination/ListSubjectsPaginator.js +35 -0
  42. package/dist-cjs/pagination/ListTrustAnchorsPaginator.js +35 -0
  43. package/dist-cjs/pagination/index.js +8 -0
  44. package/dist-cjs/protocols/Aws_restJson1.js +2195 -0
  45. package/dist-cjs/runtimeConfig.browser.js +45 -0
  46. package/dist-cjs/runtimeConfig.js +52 -0
  47. package/dist-cjs/runtimeConfig.native.js +16 -0
  48. package/dist-cjs/runtimeConfig.shared.js +17 -0
  49. package/dist-es/RolesAnywhere.js +400 -0
  50. package/dist-es/RolesAnywhereClient.js +39 -0
  51. package/dist-es/commands/CreateProfileCommand.js +39 -0
  52. package/dist-es/commands/CreateTrustAnchorCommand.js +39 -0
  53. package/dist-es/commands/DeleteCrlCommand.js +39 -0
  54. package/dist-es/commands/DeleteProfileCommand.js +39 -0
  55. package/dist-es/commands/DeleteTrustAnchorCommand.js +39 -0
  56. package/dist-es/commands/DisableCrlCommand.js +39 -0
  57. package/dist-es/commands/DisableProfileCommand.js +39 -0
  58. package/dist-es/commands/DisableTrustAnchorCommand.js +39 -0
  59. package/dist-es/commands/EnableCrlCommand.js +39 -0
  60. package/dist-es/commands/EnableProfileCommand.js +39 -0
  61. package/dist-es/commands/EnableTrustAnchorCommand.js +39 -0
  62. package/dist-es/commands/GetCrlCommand.js +39 -0
  63. package/dist-es/commands/GetProfileCommand.js +39 -0
  64. package/dist-es/commands/GetSubjectCommand.js +39 -0
  65. package/dist-es/commands/GetTrustAnchorCommand.js +39 -0
  66. package/dist-es/commands/ImportCrlCommand.js +39 -0
  67. package/dist-es/commands/ListCrlsCommand.js +39 -0
  68. package/dist-es/commands/ListProfilesCommand.js +39 -0
  69. package/dist-es/commands/ListSubjectsCommand.js +39 -0
  70. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  71. package/dist-es/commands/ListTrustAnchorsCommand.js +39 -0
  72. package/dist-es/commands/TagResourceCommand.js +39 -0
  73. package/dist-es/commands/UntagResourceCommand.js +39 -0
  74. package/dist-es/commands/UpdateCrlCommand.js +39 -0
  75. package/dist-es/commands/UpdateProfileCommand.js +39 -0
  76. package/dist-es/commands/UpdateTrustAnchorCommand.js +39 -0
  77. package/dist-es/commands/index.js +26 -0
  78. package/dist-es/endpoints.js +127 -0
  79. package/dist-es/index.js +6 -0
  80. package/dist-es/models/RolesAnywhereServiceException.js +12 -0
  81. package/dist-es/models/index.js +1 -0
  82. package/dist-es/models/models_0.js +214 -0
  83. package/dist-es/pagination/Interfaces.js +1 -0
  84. package/dist-es/pagination/ListCrlsPaginator.js +74 -0
  85. package/dist-es/pagination/ListProfilesPaginator.js +74 -0
  86. package/dist-es/pagination/ListSubjectsPaginator.js +74 -0
  87. package/dist-es/pagination/ListTrustAnchorsPaginator.js +74 -0
  88. package/dist-es/pagination/index.js +5 -0
  89. package/dist-es/protocols/Aws_restJson1.js +2793 -0
  90. package/dist-es/runtimeConfig.browser.js +26 -0
  91. package/dist-es/runtimeConfig.js +30 -0
  92. package/dist-es/runtimeConfig.native.js +8 -0
  93. package/dist-es/runtimeConfig.shared.js +13 -0
  94. package/dist-types/RolesAnywhere.d.ts +296 -0
  95. package/dist-types/RolesAnywhereClient.d.ts +173 -0
  96. package/dist-types/commands/CreateProfileCommand.d.ts +39 -0
  97. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +39 -0
  98. package/dist-types/commands/DeleteCrlCommand.d.ts +39 -0
  99. package/dist-types/commands/DeleteProfileCommand.d.ts +39 -0
  100. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +39 -0
  101. package/dist-types/commands/DisableCrlCommand.d.ts +39 -0
  102. package/dist-types/commands/DisableProfileCommand.d.ts +39 -0
  103. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +39 -0
  104. package/dist-types/commands/EnableCrlCommand.d.ts +39 -0
  105. package/dist-types/commands/EnableProfileCommand.d.ts +39 -0
  106. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +39 -0
  107. package/dist-types/commands/GetCrlCommand.d.ts +39 -0
  108. package/dist-types/commands/GetProfileCommand.d.ts +39 -0
  109. package/dist-types/commands/GetSubjectCommand.d.ts +39 -0
  110. package/dist-types/commands/GetTrustAnchorCommand.d.ts +39 -0
  111. package/dist-types/commands/ImportCrlCommand.d.ts +39 -0
  112. package/dist-types/commands/ListCrlsCommand.d.ts +39 -0
  113. package/dist-types/commands/ListProfilesCommand.d.ts +39 -0
  114. package/dist-types/commands/ListSubjectsCommand.d.ts +39 -0
  115. package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
  116. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +39 -0
  117. package/dist-types/commands/TagResourceCommand.d.ts +39 -0
  118. package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
  119. package/dist-types/commands/UpdateCrlCommand.d.ts +39 -0
  120. package/dist-types/commands/UpdateProfileCommand.d.ts +39 -0
  121. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +39 -0
  122. package/dist-types/commands/index.d.ts +26 -0
  123. package/dist-types/endpoints.d.ts +2 -0
  124. package/dist-types/index.d.ts +6 -0
  125. package/dist-types/models/RolesAnywhereServiceException.d.ts +10 -0
  126. package/dist-types/models/index.d.ts +1 -0
  127. package/dist-types/models/models_0.d.ts +823 -0
  128. package/dist-types/pagination/Interfaces.d.ts +6 -0
  129. package/dist-types/pagination/ListCrlsPaginator.d.ts +4 -0
  130. package/dist-types/pagination/ListProfilesPaginator.d.ts +4 -0
  131. package/dist-types/pagination/ListSubjectsPaginator.d.ts +4 -0
  132. package/dist-types/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
  133. package/dist-types/pagination/index.d.ts +5 -0
  134. package/dist-types/protocols/Aws_restJson1.d.ts +80 -0
  135. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  136. package/dist-types/runtimeConfig.d.ts +40 -0
  137. package/dist-types/runtimeConfig.native.d.ts +39 -0
  138. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  139. package/dist-types/ts3.4/RolesAnywhere.d.ts +135 -0
  140. package/dist-types/ts3.4/RolesAnywhereClient.d.ts +99 -0
  141. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  168. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  169. package/dist-types/ts3.4/index.d.ts +6 -0
  170. package/dist-types/ts3.4/models/RolesAnywhereServiceException.d.ts +6 -0
  171. package/dist-types/ts3.4/models/index.d.ts +1 -0
  172. package/dist-types/ts3.4/models/models_0.d.ts +498 -0
  173. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  174. package/dist-types/ts3.4/pagination/ListCrlsPaginator.d.ts +4 -0
  175. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +4 -0
  176. package/dist-types/ts3.4/pagination/ListSubjectsPaginator.d.ts +4 -0
  177. package/dist-types/ts3.4/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
  178. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  179. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -0
  180. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  181. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  182. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  183. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  184. package/package.json +94 -0
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteCrlCommand, serializeAws_restJson1DeleteCrlCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DeleteCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarCrlRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CrlDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteCrlCommand(input, context);
33
+ };
34
+ DeleteCrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteCrlCommand(output, context);
36
+ };
37
+ return DeleteCrlCommand;
38
+ }($Command));
39
+ export { DeleteCrlCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteProfileCommand, serializeAws_restJson1DeleteProfileCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DeleteProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarProfileRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ProfileDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteProfileCommand(input, context);
33
+ };
34
+ DeleteProfileCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteProfileCommand(output, context);
36
+ };
37
+ return DeleteProfileCommand;
38
+ }($Command));
39
+ export { DeleteProfileCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteTrustAnchorCommand, serializeAws_restJson1DeleteTrustAnchorCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DeleteTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DeleteTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarTrustAnchorRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TrustAnchorDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DeleteTrustAnchorCommand(input, context);
33
+ };
34
+ DeleteTrustAnchorCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteTrustAnchorCommand(output, context);
36
+ };
37
+ return DeleteTrustAnchorCommand;
38
+ }($Command));
39
+ export { DeleteTrustAnchorCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DisableCrlCommand, serializeAws_restJson1DisableCrlCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DisableCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DisableCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarCrlRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CrlDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DisableCrlCommand(input, context);
33
+ };
34
+ DisableCrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DisableCrlCommand(output, context);
36
+ };
37
+ return DisableCrlCommand;
38
+ }($Command));
39
+ export { DisableCrlCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DisableProfileCommand, serializeAws_restJson1DisableProfileCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DisableProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DisableProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarProfileRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ProfileDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DisableProfileCommand(input, context);
33
+ };
34
+ DisableProfileCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DisableProfileCommand(output, context);
36
+ };
37
+ return DisableProfileCommand;
38
+ }($Command));
39
+ export { DisableProfileCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DisableTrustAnchorCommand, serializeAws_restJson1DisableTrustAnchorCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ DisableTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "DisableTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarTrustAnchorRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TrustAnchorDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1DisableTrustAnchorCommand(input, context);
33
+ };
34
+ DisableTrustAnchorCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DisableTrustAnchorCommand(output, context);
36
+ };
37
+ return DisableTrustAnchorCommand;
38
+ }($Command));
39
+ export { DisableTrustAnchorCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1EnableCrlCommand, serializeAws_restJson1EnableCrlCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ EnableCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "EnableCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarCrlRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CrlDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1EnableCrlCommand(input, context);
33
+ };
34
+ EnableCrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1EnableCrlCommand(output, context);
36
+ };
37
+ return EnableCrlCommand;
38
+ }($Command));
39
+ export { EnableCrlCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1EnableProfileCommand, serializeAws_restJson1EnableProfileCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ EnableProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "EnableProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarProfileRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ProfileDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1EnableProfileCommand(input, context);
33
+ };
34
+ EnableProfileCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1EnableProfileCommand(output, context);
36
+ };
37
+ return EnableProfileCommand;
38
+ }($Command));
39
+ export { EnableProfileCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1EnableTrustAnchorCommand, serializeAws_restJson1EnableTrustAnchorCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ EnableTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "EnableTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ScalarTrustAnchorRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TrustAnchorDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1EnableTrustAnchorCommand(input, context);
33
+ };
34
+ EnableTrustAnchorCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1EnableTrustAnchorCommand(output, context);
36
+ };
37
+ return EnableTrustAnchorCommand;
38
+ }($Command));
39
+ export { EnableTrustAnchorCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ScalarCrlRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CrlDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetCrlCommand(input, context);
33
+ };
34
+ GetCrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetCrlCommand(output, context);
36
+ };
37
+ return GetCrlCommand;
38
+ }($Command));
39
+ export { GetCrlCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ScalarProfileRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ProfileDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetProfileCommand(input, context);
33
+ };
34
+ GetProfileCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetProfileCommand(output, context);
36
+ };
37
+ return GetProfileCommand;
38
+ }($Command));
39
+ export { GetProfileCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ScalarSubjectRequest, SubjectDetailResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetSubjectCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ScalarSubjectRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: SubjectDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetSubjectCommand(input, context);
33
+ };
34
+ GetSubjectCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetSubjectCommand(output, context);
36
+ };
37
+ return GetSubjectCommand;
38
+ }($Command));
39
+ export { GetSubjectCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ GetTrustAnchorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ScalarTrustAnchorRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TrustAnchorDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1GetTrustAnchorCommand(input, context);
33
+ };
34
+ GetTrustAnchorCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetTrustAnchorCommand(output, context);
36
+ };
37
+ return GetTrustAnchorCommand;
38
+ }($Command));
39
+ export { GetTrustAnchorCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CrlDetailResponse, ImportCrlRequest } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ImportCrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ImportCrlRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CrlDetailResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ImportCrlCommand(input, context);
33
+ };
34
+ ImportCrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ImportCrlCommand(output, context);
36
+ };
37
+ return ImportCrlCommand;
38
+ }($Command));
39
+ export { ImportCrlCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCrlsResponse, ListRequest } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ListCrlsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ListRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCrlsResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListCrlsCommand(input, context);
33
+ };
34
+ ListCrlsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListCrlsCommand(output, context);
36
+ };
37
+ return ListCrlsCommand;
38
+ }($Command));
39
+ export { ListCrlsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListProfilesResponse, ListRequest } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ListProfilesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: ListRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListProfilesResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListProfilesCommand(input, context);
33
+ };
34
+ ListProfilesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListProfilesCommand(output, context);
36
+ };
37
+ return ListProfilesCommand;
38
+ }($Command));
39
+ export { ListProfilesCommand };