@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 { ListRequest, ListSubjectsResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ListSubjectsCommand.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 = "ListSubjectsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListSubjectsResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListSubjectsCommand(input, context);
33
+ };
34
+ ListSubjectsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListSubjectsCommand(output, context);
36
+ };
37
+ return ListSubjectsCommand;
38
+ }($Command));
39
+ export { ListSubjectsCommand };
@@ -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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { ListRequest, ListTrustAnchorsResponse } from "../models/models_0";
5
+ 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;
12
+ }
13
+ ListTrustAnchorsCommand.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 = "ListTrustAnchorsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTrustAnchorsResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListTrustAnchorsCommand(input, context);
33
+ };
34
+ ListTrustAnchorsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListTrustAnchorsCommand(output, context);
36
+ };
37
+ return ListTrustAnchorsCommand;
38
+ }($Command));
39
+ export { ListTrustAnchorsCommand };
@@ -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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ TagResourceCommand.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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1TagResourceCommand(input, context);
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1TagResourceCommand(output, context);
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UntagResourceCommand(input, context);
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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, UpdateCrlRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateCrlCommand, serializeAws_restJson1UpdateCrlCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateCrlCommand = (function (_super) {
7
+ __extends(UpdateCrlCommand, _super);
8
+ function UpdateCrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateCrlCommand.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 = "UpdateCrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateCrlRequest.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
+ UpdateCrlCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateCrlCommand(input, context);
33
+ };
34
+ UpdateCrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateCrlCommand(output, context);
36
+ };
37
+ return UpdateCrlCommand;
38
+ }($Command));
39
+ export { UpdateCrlCommand };
@@ -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, UpdateProfileRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateProfileCommand, serializeAws_restJson1UpdateProfileCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateProfileCommand = (function (_super) {
7
+ __extends(UpdateProfileCommand, _super);
8
+ function UpdateProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateProfileCommand.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 = "UpdateProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateProfileRequest.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
+ UpdateProfileCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateProfileCommand(input, context);
33
+ };
34
+ UpdateProfileCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateProfileCommand(output, context);
36
+ };
37
+ return UpdateProfileCommand;
38
+ }($Command));
39
+ export { UpdateProfileCommand };
@@ -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 { TrustAnchorDetailResponse, UpdateTrustAnchorRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateTrustAnchorCommand, serializeAws_restJson1UpdateTrustAnchorCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateTrustAnchorCommand = (function (_super) {
7
+ __extends(UpdateTrustAnchorCommand, _super);
8
+ function UpdateTrustAnchorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateTrustAnchorCommand.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 = "UpdateTrustAnchorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateTrustAnchorRequest.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
+ UpdateTrustAnchorCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateTrustAnchorCommand(input, context);
33
+ };
34
+ UpdateTrustAnchorCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateTrustAnchorCommand(output, context);
36
+ };
37
+ return UpdateTrustAnchorCommand;
38
+ }($Command));
39
+ export { UpdateTrustAnchorCommand };
@@ -0,0 +1,26 @@
1
+ export * from "./CreateProfileCommand";
2
+ export * from "./CreateTrustAnchorCommand";
3
+ export * from "./DeleteCrlCommand";
4
+ export * from "./DeleteProfileCommand";
5
+ export * from "./DeleteTrustAnchorCommand";
6
+ export * from "./DisableCrlCommand";
7
+ export * from "./DisableProfileCommand";
8
+ export * from "./DisableTrustAnchorCommand";
9
+ export * from "./EnableCrlCommand";
10
+ export * from "./EnableProfileCommand";
11
+ export * from "./EnableTrustAnchorCommand";
12
+ export * from "./GetCrlCommand";
13
+ export * from "./GetProfileCommand";
14
+ export * from "./GetSubjectCommand";
15
+ export * from "./GetTrustAnchorCommand";
16
+ export * from "./ImportCrlCommand";
17
+ export * from "./ListCrlsCommand";
18
+ export * from "./ListProfilesCommand";
19
+ export * from "./ListSubjectsCommand";
20
+ export * from "./ListTagsForResourceCommand";
21
+ export * from "./ListTrustAnchorsCommand";
22
+ export * from "./TagResourceCommand";
23
+ export * from "./UntagResourceCommand";
24
+ export * from "./UpdateCrlCommand";
25
+ export * from "./UpdateProfileCommand";
26
+ export * from "./UpdateTrustAnchorCommand";
@@ -0,0 +1,127 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
+ var regionHash = {};
4
+ var partitionHash = {
5
+ aws: {
6
+ regions: [
7
+ "af-south-1",
8
+ "ap-east-1",
9
+ "ap-northeast-1",
10
+ "ap-northeast-2",
11
+ "ap-northeast-3",
12
+ "ap-south-1",
13
+ "ap-southeast-1",
14
+ "ap-southeast-2",
15
+ "ap-southeast-3",
16
+ "ca-central-1",
17
+ "eu-central-1",
18
+ "eu-north-1",
19
+ "eu-south-1",
20
+ "eu-west-1",
21
+ "eu-west-2",
22
+ "eu-west-3",
23
+ "me-south-1",
24
+ "sa-east-1",
25
+ "us-east-1",
26
+ "us-east-2",
27
+ "us-west-1",
28
+ "us-west-2",
29
+ ],
30
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
+ variants: [
32
+ {
33
+ hostname: "rolesanywhere.{region}.amazonaws.com",
34
+ tags: [],
35
+ },
36
+ {
37
+ hostname: "rolesanywhere-fips.{region}.amazonaws.com",
38
+ tags: ["fips"],
39
+ },
40
+ {
41
+ hostname: "rolesanywhere-fips.{region}.api.aws",
42
+ tags: ["dualstack", "fips"],
43
+ },
44
+ {
45
+ hostname: "rolesanywhere.{region}.api.aws",
46
+ tags: ["dualstack"],
47
+ },
48
+ ],
49
+ },
50
+ "aws-cn": {
51
+ regions: ["cn-north-1", "cn-northwest-1"],
52
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
53
+ variants: [
54
+ {
55
+ hostname: "rolesanywhere.{region}.amazonaws.com.cn",
56
+ tags: [],
57
+ },
58
+ {
59
+ hostname: "rolesanywhere-fips.{region}.amazonaws.com.cn",
60
+ tags: ["fips"],
61
+ },
62
+ {
63
+ hostname: "rolesanywhere-fips.{region}.api.amazonwebservices.com.cn",
64
+ tags: ["dualstack", "fips"],
65
+ },
66
+ {
67
+ hostname: "rolesanywhere.{region}.api.amazonwebservices.com.cn",
68
+ tags: ["dualstack"],
69
+ },
70
+ ],
71
+ },
72
+ "aws-iso": {
73
+ regions: ["us-iso-east-1", "us-iso-west-1"],
74
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
75
+ variants: [
76
+ {
77
+ hostname: "rolesanywhere.{region}.c2s.ic.gov",
78
+ tags: [],
79
+ },
80
+ {
81
+ hostname: "rolesanywhere-fips.{region}.c2s.ic.gov",
82
+ tags: ["fips"],
83
+ },
84
+ ],
85
+ },
86
+ "aws-iso-b": {
87
+ regions: ["us-isob-east-1"],
88
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
89
+ variants: [
90
+ {
91
+ hostname: "rolesanywhere.{region}.sc2s.sgov.gov",
92
+ tags: [],
93
+ },
94
+ {
95
+ hostname: "rolesanywhere-fips.{region}.sc2s.sgov.gov",
96
+ tags: ["fips"],
97
+ },
98
+ ],
99
+ },
100
+ "aws-us-gov": {
101
+ regions: ["us-gov-east-1", "us-gov-west-1"],
102
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
103
+ variants: [
104
+ {
105
+ hostname: "rolesanywhere.{region}.amazonaws.com",
106
+ tags: [],
107
+ },
108
+ {
109
+ hostname: "rolesanywhere-fips.{region}.amazonaws.com",
110
+ tags: ["fips"],
111
+ },
112
+ {
113
+ hostname: "rolesanywhere-fips.{region}.api.aws",
114
+ tags: ["dualstack", "fips"],
115
+ },
116
+ {
117
+ hostname: "rolesanywhere.{region}.api.aws",
118
+ tags: ["dualstack"],
119
+ },
120
+ ],
121
+ },
122
+ };
123
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
124
+ return __generator(this, function (_a) {
125
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "rolesanywhere", regionHash: regionHash, partitionHash: partitionHash }))];
126
+ });
127
+ }); };
@@ -0,0 +1,6 @@
1
+ export * from "./RolesAnywhere";
2
+ export * from "./RolesAnywhereClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { RolesAnywhereServiceException } from "./models/RolesAnywhereServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var RolesAnywhereServiceException = (function (_super) {
4
+ __extends(RolesAnywhereServiceException, _super);
5
+ function RolesAnywhereServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, RolesAnywhereServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return RolesAnywhereServiceException;
11
+ }(__ServiceException));
12
+ export { RolesAnywhereServiceException };
@@ -0,0 +1 @@
1
+ export * from "./models_0";