@aws-sdk/client-mpa 3.831.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 (195) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +373 -0
  3. package/dist-cjs/MPA.js +53 -0
  4. package/dist-cjs/MPAClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CancelSessionCommand.js +26 -0
  8. package/dist-cjs/commands/CreateApprovalTeamCommand.js +27 -0
  9. package/dist-cjs/commands/CreateIdentitySourceCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteIdentitySourceCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteInactiveApprovalTeamVersionCommand.js +26 -0
  12. package/dist-cjs/commands/GetApprovalTeamCommand.js +27 -0
  13. package/dist-cjs/commands/GetIdentitySourceCommand.js +26 -0
  14. package/dist-cjs/commands/GetPolicyVersionCommand.js +27 -0
  15. package/dist-cjs/commands/GetResourcePolicyCommand.js +27 -0
  16. package/dist-cjs/commands/GetSessionCommand.js +27 -0
  17. package/dist-cjs/commands/ListApprovalTeamsCommand.js +27 -0
  18. package/dist-cjs/commands/ListIdentitySourcesCommand.js +26 -0
  19. package/dist-cjs/commands/ListPoliciesCommand.js +26 -0
  20. package/dist-cjs/commands/ListPolicyVersionsCommand.js +26 -0
  21. package/dist-cjs/commands/ListResourcePoliciesCommand.js +26 -0
  22. package/dist-cjs/commands/ListSessionsCommand.js +27 -0
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
  24. package/dist-cjs/commands/StartActiveApprovalTeamDeletionCommand.js +26 -0
  25. package/dist-cjs/commands/TagResourceCommand.js +27 -0
  26. package/dist-cjs/commands/UntagResourceCommand.js +27 -0
  27. package/dist-cjs/commands/UpdateApprovalTeamCommand.js +27 -0
  28. package/dist-cjs/commands/index.js +24 -0
  29. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  30. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  31. package/dist-cjs/endpoint/ruleset.js +7 -0
  32. package/dist-cjs/extensionConfiguration.js +2 -0
  33. package/dist-cjs/index.js +11 -0
  34. package/dist-cjs/models/MPAServiceException.js +12 -0
  35. package/dist-cjs/models/index.js +4 -0
  36. package/dist-cjs/models/models_0.js +354 -0
  37. package/dist-cjs/pagination/Interfaces.js +2 -0
  38. package/dist-cjs/pagination/ListApprovalTeamsPaginator.js +7 -0
  39. package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +7 -0
  40. package/dist-cjs/pagination/ListPoliciesPaginator.js +7 -0
  41. package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +7 -0
  42. package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +7 -0
  43. package/dist-cjs/pagination/ListSessionsPaginator.js +7 -0
  44. package/dist-cjs/pagination/index.js +10 -0
  45. package/dist-cjs/protocols/Aws_restJson1.js +976 -0
  46. package/dist-cjs/runtimeConfig.browser.js +39 -0
  47. package/dist-cjs/runtimeConfig.js +56 -0
  48. package/dist-cjs/runtimeConfig.native.js +15 -0
  49. package/dist-cjs/runtimeConfig.shared.js +34 -0
  50. package/dist-cjs/runtimeExtensions.js +13 -0
  51. package/dist-es/MPA.js +49 -0
  52. package/dist-es/MPAClient.js +48 -0
  53. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  54. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  55. package/dist-es/commands/CancelSessionCommand.js +22 -0
  56. package/dist-es/commands/CreateApprovalTeamCommand.js +23 -0
  57. package/dist-es/commands/CreateIdentitySourceCommand.js +23 -0
  58. package/dist-es/commands/DeleteIdentitySourceCommand.js +22 -0
  59. package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +22 -0
  60. package/dist-es/commands/GetApprovalTeamCommand.js +23 -0
  61. package/dist-es/commands/GetIdentitySourceCommand.js +22 -0
  62. package/dist-es/commands/GetPolicyVersionCommand.js +23 -0
  63. package/dist-es/commands/GetResourcePolicyCommand.js +23 -0
  64. package/dist-es/commands/GetSessionCommand.js +23 -0
  65. package/dist-es/commands/ListApprovalTeamsCommand.js +23 -0
  66. package/dist-es/commands/ListIdentitySourcesCommand.js +22 -0
  67. package/dist-es/commands/ListPoliciesCommand.js +22 -0
  68. package/dist-es/commands/ListPolicyVersionsCommand.js +22 -0
  69. package/dist-es/commands/ListResourcePoliciesCommand.js +22 -0
  70. package/dist-es/commands/ListSessionsCommand.js +23 -0
  71. package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
  72. package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +22 -0
  73. package/dist-es/commands/TagResourceCommand.js +23 -0
  74. package/dist-es/commands/UntagResourceCommand.js +23 -0
  75. package/dist-es/commands/UpdateApprovalTeamCommand.js +23 -0
  76. package/dist-es/commands/index.js +21 -0
  77. package/dist-es/endpoint/EndpointParameters.js +11 -0
  78. package/dist-es/endpoint/endpointResolver.js +14 -0
  79. package/dist-es/endpoint/ruleset.js +4 -0
  80. package/dist-es/extensionConfiguration.js +1 -0
  81. package/dist-es/index.js +6 -0
  82. package/dist-es/models/MPAServiceException.js +8 -0
  83. package/dist-es/models/index.js +1 -0
  84. package/dist-es/models/models_0.js +327 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListApprovalTeamsPaginator.js +4 -0
  87. package/dist-es/pagination/ListIdentitySourcesPaginator.js +4 -0
  88. package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
  89. package/dist-es/pagination/ListPolicyVersionsPaginator.js +4 -0
  90. package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
  91. package/dist-es/pagination/ListSessionsPaginator.js +4 -0
  92. package/dist-es/pagination/index.js +7 -0
  93. package/dist-es/protocols/Aws_restJson1.js +931 -0
  94. package/dist-es/runtimeConfig.browser.js +34 -0
  95. package/dist-es/runtimeConfig.js +51 -0
  96. package/dist-es/runtimeConfig.native.js +11 -0
  97. package/dist-es/runtimeConfig.shared.js +30 -0
  98. package/dist-es/runtimeExtensions.js +9 -0
  99. package/dist-types/MPA.d.ts +160 -0
  100. package/dist-types/MPAClient.d.ts +208 -0
  101. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  102. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  103. package/dist-types/commands/CancelSessionCommand.d.ts +88 -0
  104. package/dist-types/commands/CreateApprovalTeamCommand.d.ts +114 -0
  105. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +98 -0
  106. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +85 -0
  107. package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +89 -0
  108. package/dist-types/commands/GetApprovalTeamCommand.d.ts +139 -0
  109. package/dist-types/commands/GetIdentitySourceCommand.d.ts +99 -0
  110. package/dist-types/commands/GetPolicyVersionCommand.d.ts +98 -0
  111. package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
  112. package/dist-types/commands/GetSessionCommand.d.ts +123 -0
  113. package/dist-types/commands/ListApprovalTeamsCommand.d.ts +102 -0
  114. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +102 -0
  115. package/dist-types/commands/ListPoliciesCommand.d.ts +93 -0
  116. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +102 -0
  117. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +96 -0
  118. package/dist-types/commands/ListSessionsCommand.d.ts +117 -0
  119. package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
  120. package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +92 -0
  121. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  122. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  123. package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +105 -0
  124. package/dist-types/commands/index.d.ts +21 -0
  125. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  126. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  127. package/dist-types/endpoint/ruleset.d.ts +2 -0
  128. package/dist-types/extensionConfiguration.d.ts +9 -0
  129. package/dist-types/index.d.ts +14 -0
  130. package/dist-types/models/MPAServiceException.d.ts +14 -0
  131. package/dist-types/models/index.d.ts +1 -0
  132. package/dist-types/models/models_0.d.ts +1947 -0
  133. package/dist-types/pagination/Interfaces.d.ts +8 -0
  134. package/dist-types/pagination/ListApprovalTeamsPaginator.d.ts +7 -0
  135. package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +7 -0
  136. package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
  137. package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +7 -0
  138. package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
  139. package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
  140. package/dist-types/pagination/index.d.ts +7 -0
  141. package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
  142. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  143. package/dist-types/runtimeConfig.d.ts +50 -0
  144. package/dist-types/runtimeConfig.native.d.ts +49 -0
  145. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  146. package/dist-types/runtimeExtensions.d.ts +17 -0
  147. package/dist-types/ts3.4/MPA.d.ts +371 -0
  148. package/dist-types/ts3.4/MPAClient.d.ts +242 -0
  149. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  150. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  151. package/dist-types/ts3.4/commands/CancelSessionCommand.d.ts +50 -0
  152. package/dist-types/ts3.4/commands/CreateApprovalTeamCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +51 -0
  154. package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +46 -0
  155. package/dist-types/ts3.4/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +51 -0
  156. package/dist-types/ts3.4/commands/GetApprovalTeamCommand.d.ts +50 -0
  157. package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +51 -0
  158. package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +50 -0
  159. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  160. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
  161. package/dist-types/ts3.4/commands/ListApprovalTeamsCommand.d.ts +51 -0
  162. package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +51 -0
  163. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +47 -0
  164. package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +51 -0
  165. package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +51 -0
  166. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
  167. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/StartActiveApprovalTeamDeletionCommand.d.ts +51 -0
  169. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  170. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  171. package/dist-types/ts3.4/commands/UpdateApprovalTeamCommand.d.ts +51 -0
  172. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  173. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +42 -0
  174. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  175. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  176. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  177. package/dist-types/ts3.4/index.d.ts +9 -0
  178. package/dist-types/ts3.4/models/MPAServiceException.d.ts +9 -0
  179. package/dist-types/ts3.4/models/index.d.ts +1 -0
  180. package/dist-types/ts3.4/models/models_0.d.ts +645 -0
  181. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  182. package/dist-types/ts3.4/pagination/ListApprovalTeamsPaginator.d.ts +11 -0
  183. package/dist-types/ts3.4/pagination/ListIdentitySourcesPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
  185. package/dist-types/ts3.4/pagination/ListPolicyVersionsPaginator.d.ts +11 -0
  186. package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
  187. package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  189. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
  190. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  191. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  192. package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
  193. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  194. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  195. package/package.json +101 -0
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates or updates a resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MPAClient, TagResourceCommand } from "@aws-sdk/client-mpa"; // ES Modules import
35
+ * // const { MPAClient, TagResourceCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
36
+ * const client = new MPAClient(config);
37
+ * const input = { // TagResourceRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * Tags: { // Tags // required
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link TooManyTagsException} (client fault)
68
+ * <p>The request exceeds the maximum number of tags allowed for this resource. Remove some tags, and try again.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
72
+ *
73
+ * @throws {@link MPAServiceException}
74
+ * <p>Base exception class for all service exceptions from MPA service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class TagResourceCommand extends TagResourceCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: TagResourceRequest;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: TagResourceCommandInput;
88
+ output: TagResourceCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes a resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MPAClient, UntagResourceCommand } from "@aws-sdk/client-mpa"; // ES Modules import
35
+ * // const { MPAClient, UntagResourceCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
36
+ * const client = new MPAClient(config);
37
+ * const input = { // UntagResourceRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * TagKeys: [ // TagKeyList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UntagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
50
+ * @returns {@link UntagResourceCommandOutput}
51
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
69
+ *
70
+ * @throws {@link MPAServiceException}
71
+ * <p>Base exception class for all service exceptions from MPA service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: UntagResourceRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: UntagResourceCommandInput;
85
+ output: UntagResourceCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateApprovalTeamRequest, UpdateApprovalTeamResponse } from "../models/models_0";
4
+ import { MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MPAClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateApprovalTeamCommand}.
14
+ */
15
+ export interface UpdateApprovalTeamCommandInput extends UpdateApprovalTeamRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateApprovalTeamCommand}.
21
+ */
22
+ export interface UpdateApprovalTeamCommandOutput extends UpdateApprovalTeamResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateApprovalTeamCommand_base: {
25
+ new (input: UpdateApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApprovalTeamCommandInput, UpdateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApprovalTeamCommandInput, UpdateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates an approval team. You can request to update the team description, approval threshold, and approvers in the team.</p> <note> <p> <b>Updates require team approval</b> </p> <p>Updates to an active team must be approved by the team.</p> </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { MPAClient, UpdateApprovalTeamCommand } from "@aws-sdk/client-mpa"; // ES Modules import
35
+ * // const { MPAClient, UpdateApprovalTeamCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
36
+ * const client = new MPAClient(config);
37
+ * const input = { // UpdateApprovalTeamRequest
38
+ * ApprovalStrategy: { // ApprovalStrategy Union: only one key present
39
+ * MofN: { // MofNApprovalStrategy
40
+ * MinApprovalsRequired: Number("int"), // required
41
+ * },
42
+ * },
43
+ * Approvers: [ // ApprovalTeamRequestApprovers
44
+ * { // ApprovalTeamRequestApprover
45
+ * PrimaryIdentityId: "STRING_VALUE", // required
46
+ * PrimaryIdentitySourceArn: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * Description: "STRING_VALUE",
50
+ * Arn: "STRING_VALUE", // required
51
+ * };
52
+ * const command = new UpdateApprovalTeamCommand(input);
53
+ * const response = await client.send(command);
54
+ * // { // UpdateApprovalTeamResponse
55
+ * // VersionId: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param UpdateApprovalTeamCommandInput - {@link UpdateApprovalTeamCommandInput}
61
+ * @returns {@link UpdateApprovalTeamCommandOutput}
62
+ * @see {@link UpdateApprovalTeamCommandInput} for command's `input` shape.
63
+ * @see {@link UpdateApprovalTeamCommandOutput} for command's `response` shape.
64
+ * @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>The request cannot be completed because it conflicts with the current state of a resource.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
77
+ *
78
+ * @throws {@link ServiceQuotaExceededException} (client fault)
79
+ * <p>The request exceeds the service quota for your account. Request a quota increase or reduce your request size.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>The request was denied due to request throttling.</p>
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
86
+ *
87
+ * @throws {@link MPAServiceException}
88
+ * <p>Base exception class for all service exceptions from MPA service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class UpdateApprovalTeamCommand extends UpdateApprovalTeamCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: UpdateApprovalTeamRequest;
98
+ output: UpdateApprovalTeamResponse;
99
+ };
100
+ sdk: {
101
+ input: UpdateApprovalTeamCommandInput;
102
+ output: UpdateApprovalTeamCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -0,0 +1,21 @@
1
+ export * from "./CancelSessionCommand";
2
+ export * from "./CreateApprovalTeamCommand";
3
+ export * from "./CreateIdentitySourceCommand";
4
+ export * from "./DeleteIdentitySourceCommand";
5
+ export * from "./DeleteInactiveApprovalTeamVersionCommand";
6
+ export * from "./GetApprovalTeamCommand";
7
+ export * from "./GetIdentitySourceCommand";
8
+ export * from "./GetPolicyVersionCommand";
9
+ export * from "./GetResourcePolicyCommand";
10
+ export * from "./GetSessionCommand";
11
+ export * from "./ListApprovalTeamsCommand";
12
+ export * from "./ListIdentitySourcesCommand";
13
+ export * from "./ListPoliciesCommand";
14
+ export * from "./ListPolicyVersionsCommand";
15
+ export * from "./ListResourcePoliciesCommand";
16
+ export * from "./ListSessionsCommand";
17
+ export * from "./ListTagsForResourceCommand";
18
+ export * from "./StartActiveApprovalTeamDeletionCommand";
19
+ export * from "./TagResourceCommand";
20
+ export * from "./UntagResourceCommand";
21
+ export * from "./UpdateApprovalTeamCommand";
@@ -0,0 +1,32 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
14
+ export declare const commonParams: {
15
+ readonly UseFIPS: {
16
+ readonly type: "builtInParams";
17
+ readonly name: "useFipsEndpoint";
18
+ };
19
+ readonly Endpoint: {
20
+ readonly type: "builtInParams";
21
+ readonly name: "endpoint";
22
+ };
23
+ readonly Region: {
24
+ readonly type: "builtInParams";
25
+ readonly name: "region";
26
+ };
27
+ };
28
+ export interface EndpointParameters extends __EndpointParameters {
29
+ UseFIPS?: boolean | undefined;
30
+ Endpoint?: string | undefined;
31
+ Region?: string | undefined;
32
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface MPAExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * <p>Multi-party approval is a capability of <a href="http://aws.amazon.com/organizations">Organizations</a> that allows you to protect a predefined list of operations through a distributed approval process. Use Multi-party approval to establish approval workflows and transform security processes into team-based decisions.</p> <p> <b>When to use Multi-party approval</b>:</p> <ul> <li> <p>You need to align with the Zero Trust principle of "never trust, always verify"</p> </li> <li> <p>You need to make sure that the right humans have access to the right things in the right way</p> </li> <li> <p>You need distributed decision-making for sensitive or critical operations</p> </li> <li> <p>You need to protect against unintended operations on sensitive or critical resources</p> </li> <li> <p>You need formal reviews and approvals for auditing or compliance reasons</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/what-is.html">What is Multi-party approval</a> in the <i>Multi-party approval User Guide</i>.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./MPAClient";
7
+ export * from "./MPA";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { MPAExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./pagination";
13
+ export * from "./models";
14
+ export { MPAServiceException } from "./models/MPAServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from MPA service.
8
+ */
9
+ export declare class MPAServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";