@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.
- package/LICENSE +201 -0
- package/README.md +373 -0
- package/dist-cjs/MPA.js +53 -0
- package/dist-cjs/MPAClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CancelSessionCommand.js +26 -0
- package/dist-cjs/commands/CreateApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/CreateIdentitySourceCommand.js +27 -0
- package/dist-cjs/commands/DeleteIdentitySourceCommand.js +26 -0
- package/dist-cjs/commands/DeleteInactiveApprovalTeamVersionCommand.js +26 -0
- package/dist-cjs/commands/GetApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/GetIdentitySourceCommand.js +26 -0
- package/dist-cjs/commands/GetPolicyVersionCommand.js +27 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +27 -0
- package/dist-cjs/commands/GetSessionCommand.js +27 -0
- package/dist-cjs/commands/ListApprovalTeamsCommand.js +27 -0
- package/dist-cjs/commands/ListIdentitySourcesCommand.js +26 -0
- package/dist-cjs/commands/ListPoliciesCommand.js +26 -0
- package/dist-cjs/commands/ListPolicyVersionsCommand.js +26 -0
- package/dist-cjs/commands/ListResourcePoliciesCommand.js +26 -0
- package/dist-cjs/commands/ListSessionsCommand.js +27 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +27 -0
- package/dist-cjs/commands/StartActiveApprovalTeamDeletionCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +27 -0
- package/dist-cjs/commands/UntagResourceCommand.js +27 -0
- package/dist-cjs/commands/UpdateApprovalTeamCommand.js +27 -0
- package/dist-cjs/commands/index.js +24 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MPAServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +354 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApprovalTeamsPaginator.js +7 -0
- package/dist-cjs/pagination/ListIdentitySourcesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPoliciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListPolicyVersionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourcePoliciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListSessionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +976 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/MPA.js +49 -0
- package/dist-es/MPAClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CancelSessionCommand.js +22 -0
- package/dist-es/commands/CreateApprovalTeamCommand.js +23 -0
- package/dist-es/commands/CreateIdentitySourceCommand.js +23 -0
- package/dist-es/commands/DeleteIdentitySourceCommand.js +22 -0
- package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +22 -0
- package/dist-es/commands/GetApprovalTeamCommand.js +23 -0
- package/dist-es/commands/GetIdentitySourceCommand.js +22 -0
- package/dist-es/commands/GetPolicyVersionCommand.js +23 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +23 -0
- package/dist-es/commands/GetSessionCommand.js +23 -0
- package/dist-es/commands/ListApprovalTeamsCommand.js +23 -0
- package/dist-es/commands/ListIdentitySourcesCommand.js +22 -0
- package/dist-es/commands/ListPoliciesCommand.js +22 -0
- package/dist-es/commands/ListPolicyVersionsCommand.js +22 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +22 -0
- package/dist-es/commands/ListSessionsCommand.js +23 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +23 -0
- package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +23 -0
- package/dist-es/commands/UntagResourceCommand.js +23 -0
- package/dist-es/commands/UpdateApprovalTeamCommand.js +23 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MPAServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +327 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApprovalTeamsPaginator.js +4 -0
- package/dist-es/pagination/ListIdentitySourcesPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +931 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/MPA.d.ts +160 -0
- package/dist-types/MPAClient.d.ts +208 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CancelSessionCommand.d.ts +88 -0
- package/dist-types/commands/CreateApprovalTeamCommand.d.ts +114 -0
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +98 -0
- package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +85 -0
- package/dist-types/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +89 -0
- package/dist-types/commands/GetApprovalTeamCommand.d.ts +139 -0
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +99 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +98 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/GetSessionCommand.d.ts +123 -0
- package/dist-types/commands/ListApprovalTeamsCommand.d.ts +102 -0
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +102 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +93 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +102 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +96 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +117 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
- package/dist-types/commands/StartActiveApprovalTeamDeletionCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
- package/dist-types/commands/UpdateApprovalTeamCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/MPAServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1947 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApprovalTeamsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdentitySourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +191 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/MPA.d.ts +371 -0
- package/dist-types/ts3.4/MPAClient.d.ts +242 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateApprovalTeamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateIdentitySourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteIdentitySourceCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteInactiveApprovalTeamVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApprovalTeamCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetIdentitySourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListApprovalTeamsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListIdentitySourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListPolicyVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartActiveApprovalTeamDeletionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateApprovalTeamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +42 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/MPAServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +645 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListApprovalTeamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdentitySourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +257 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CancelSessionRequest, CancelSessionResponse } 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 CancelSessionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CancelSessionCommandInput extends CancelSessionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CancelSessionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CancelSessionCommandOutput extends CancelSessionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CancelSessionCommand_base: {
|
|
25
|
+
new (input: CancelSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelSessionCommandInput, CancelSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CancelSessionCommandInput): import("@smithy/smithy-client").CommandImpl<CancelSessionCommandInput, CancelSessionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Cancels an approval session. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Session</a> in the <i>Multi-party approval User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MPAClient, CancelSessionCommand } from "@aws-sdk/client-mpa"; // ES Modules import
|
|
35
|
+
* // const { MPAClient, CancelSessionCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
|
|
36
|
+
* const client = new MPAClient(config);
|
|
37
|
+
* const input = { // CancelSessionRequest
|
|
38
|
+
* SessionArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new CancelSessionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param CancelSessionCommandInput - {@link CancelSessionCommandInput}
|
|
47
|
+
* @returns {@link CancelSessionCommandOutput}
|
|
48
|
+
* @see {@link CancelSessionCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link CancelSessionCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request cannot be completed because it conflicts with the current state of a resource.</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 CancelSessionCommand extends CancelSessionCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: CancelSessionRequest;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: CancelSessionCommandInput;
|
|
85
|
+
output: CancelSessionCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateApprovalTeamRequest, CreateApprovalTeamResponse } 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 CreateApprovalTeamCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateApprovalTeamCommandInput extends CreateApprovalTeamRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateApprovalTeamCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateApprovalTeamCommandOutput extends CreateApprovalTeamResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateApprovalTeamCommand_base: {
|
|
25
|
+
new (input: CreateApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApprovalTeamCommandInput, CreateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateApprovalTeamCommandInput, CreateApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new approval team. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Approval team</a> in the <i>Multi-party approval User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MPAClient, CreateApprovalTeamCommand } from "@aws-sdk/client-mpa"; // ES Modules import
|
|
35
|
+
* // const { MPAClient, CreateApprovalTeamCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
|
|
36
|
+
* const client = new MPAClient(config);
|
|
37
|
+
* const input = { // CreateApprovalTeamRequest
|
|
38
|
+
* ClientToken: "STRING_VALUE",
|
|
39
|
+
* ApprovalStrategy: { // ApprovalStrategy Union: only one key present
|
|
40
|
+
* MofN: { // MofNApprovalStrategy
|
|
41
|
+
* MinApprovalsRequired: Number("int"), // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* Approvers: [ // ApprovalTeamRequestApprovers // required
|
|
45
|
+
* { // ApprovalTeamRequestApprover
|
|
46
|
+
* PrimaryIdentityId: "STRING_VALUE", // required
|
|
47
|
+
* PrimaryIdentitySourceArn: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* Description: "STRING_VALUE", // required
|
|
51
|
+
* Policies: [ // PoliciesReferences // required
|
|
52
|
+
* { // PolicyReference
|
|
53
|
+
* PolicyArn: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* Name: "STRING_VALUE", // required
|
|
57
|
+
* Tags: { // Tags
|
|
58
|
+
* "<keys>": "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* };
|
|
61
|
+
* const command = new CreateApprovalTeamCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // CreateApprovalTeamResponse
|
|
64
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
65
|
+
* // Arn: "STRING_VALUE",
|
|
66
|
+
* // Name: "STRING_VALUE",
|
|
67
|
+
* // VersionId: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param CreateApprovalTeamCommandInput - {@link CreateApprovalTeamCommandInput}
|
|
73
|
+
* @returns {@link CreateApprovalTeamCommandOutput}
|
|
74
|
+
* @see {@link CreateApprovalTeamCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link CreateApprovalTeamCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ConflictException} (client fault)
|
|
82
|
+
* <p>The request cannot be completed because it conflicts with the current state of a resource.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
88
|
+
* <p>The request exceeds the service quota for your account. Request a quota increase or reduce your request size.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to request throttling.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link MPAServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from MPA service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class CreateApprovalTeamCommand extends CreateApprovalTeamCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: CreateApprovalTeamRequest;
|
|
107
|
+
output: CreateApprovalTeamResponse;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: CreateApprovalTeamCommandInput;
|
|
111
|
+
output: CreateApprovalTeamCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateIdentitySourceRequest, CreateIdentitySourceResponse } 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 CreateIdentitySourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateIdentitySourceCommandInput extends CreateIdentitySourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateIdentitySourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateIdentitySourceCommandOutput extends CreateIdentitySourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateIdentitySourceCommand_base: {
|
|
25
|
+
new (input: CreateIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new identity source. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Identity Source</a> in the <i>Multi-party approval User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MPAClient, CreateIdentitySourceCommand } from "@aws-sdk/client-mpa"; // ES Modules import
|
|
35
|
+
* // const { MPAClient, CreateIdentitySourceCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
|
|
36
|
+
* const client = new MPAClient(config);
|
|
37
|
+
* const input = { // CreateIdentitySourceRequest
|
|
38
|
+
* IdentitySourceParameters: { // IdentitySourceParameters
|
|
39
|
+
* IamIdentityCenter: { // IamIdentityCenter
|
|
40
|
+
* InstanceArn: "STRING_VALUE", // required
|
|
41
|
+
* Region: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ClientToken: "STRING_VALUE",
|
|
45
|
+
* Tags: { // Tags
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
49
|
+
* const command = new CreateIdentitySourceCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // CreateIdentitySourceResponse
|
|
52
|
+
* // IdentitySourceType: "IAM_IDENTITY_CENTER",
|
|
53
|
+
* // IdentitySourceArn: "STRING_VALUE",
|
|
54
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param CreateIdentitySourceCommandInput - {@link CreateIdentitySourceCommandInput}
|
|
60
|
+
* @returns {@link CreateIdentitySourceCommandOutput}
|
|
61
|
+
* @see {@link CreateIdentitySourceCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link CreateIdentitySourceCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
|
+
* <p>The request exceeds the service quota for your account. Request a quota increase or reduce your request size.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>The request was denied due to request throttling.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link MPAServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from MPA service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class CreateIdentitySourceCommand extends CreateIdentitySourceCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: CreateIdentitySourceRequest;
|
|
91
|
+
output: CreateIdentitySourceResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: CreateIdentitySourceCommandInput;
|
|
95
|
+
output: CreateIdentitySourceCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteIdentitySourceRequest } 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 DeleteIdentitySourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteIdentitySourceCommandInput extends DeleteIdentitySourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteIdentitySourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteIdentitySourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteIdentitySourceCommand_base: {
|
|
25
|
+
new (input: DeleteIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIdentitySourceCommandInput, DeleteIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteIdentitySourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteIdentitySourceCommandInput, DeleteIdentitySourceCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an identity source. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-concepts.html">Identity Source</a> in the <i>Multi-party approval User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MPAClient, DeleteIdentitySourceCommand } from "@aws-sdk/client-mpa"; // ES Modules import
|
|
35
|
+
* // const { MPAClient, DeleteIdentitySourceCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
|
|
36
|
+
* const client = new MPAClient(config);
|
|
37
|
+
* const input = { // DeleteIdentitySourceRequest
|
|
38
|
+
* IdentitySourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteIdentitySourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteIdentitySourceCommandInput - {@link DeleteIdentitySourceCommandInput}
|
|
47
|
+
* @returns {@link DeleteIdentitySourceCommandOutput}
|
|
48
|
+
* @see {@link DeleteIdentitySourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteIdentitySourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The request cannot be completed because it conflicts with the current state of a resource.</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 ThrottlingException} (client fault)
|
|
62
|
+
* <p>The request was denied due to request throttling.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link MPAServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from MPA service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteIdentitySourceCommand extends DeleteIdentitySourceCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteIdentitySourceRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteIdentitySourceCommandInput;
|
|
82
|
+
output: DeleteIdentitySourceCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteInactiveApprovalTeamVersionRequest, DeleteInactiveApprovalTeamVersionResponse } 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 DeleteInactiveApprovalTeamVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteInactiveApprovalTeamVersionCommandInput extends DeleteInactiveApprovalTeamVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteInactiveApprovalTeamVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteInactiveApprovalTeamVersionCommandOutput extends DeleteInactiveApprovalTeamVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteInactiveApprovalTeamVersionCommand_base: {
|
|
25
|
+
new (input: DeleteInactiveApprovalTeamVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInactiveApprovalTeamVersionCommandInput, DeleteInactiveApprovalTeamVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteInactiveApprovalTeamVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteInactiveApprovalTeamVersionCommandInput, DeleteInactiveApprovalTeamVersionCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an inactive approval team. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/mpa-health.html">Team health</a> in the <i>Multi-party approval User Guide</i>.</p> <p>You can also use this operation to delete a team draft. For more information, see <a href="https://docs.aws.amazon.com/mpa/latest/userguide/update-team.html#update-team-draft-status">Interacting with drafts</a> in the <i>Multi-party approval User Guide</i>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MPAClient, DeleteInactiveApprovalTeamVersionCommand } from "@aws-sdk/client-mpa"; // ES Modules import
|
|
35
|
+
* // const { MPAClient, DeleteInactiveApprovalTeamVersionCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
|
|
36
|
+
* const client = new MPAClient(config);
|
|
37
|
+
* const input = { // DeleteInactiveApprovalTeamVersionRequest
|
|
38
|
+
* Arn: "STRING_VALUE", // required
|
|
39
|
+
* VersionId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteInactiveApprovalTeamVersionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteInactiveApprovalTeamVersionCommandInput - {@link DeleteInactiveApprovalTeamVersionCommandInput}
|
|
48
|
+
* @returns {@link DeleteInactiveApprovalTeamVersionCommandOutput}
|
|
49
|
+
* @see {@link DeleteInactiveApprovalTeamVersionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteInactiveApprovalTeamVersionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The request cannot be completed because it conflicts with the current state of a resource.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link MPAServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from MPA service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteInactiveApprovalTeamVersionCommand extends DeleteInactiveApprovalTeamVersionCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteInactiveApprovalTeamVersionRequest;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteInactiveApprovalTeamVersionCommandInput;
|
|
86
|
+
output: DeleteInactiveApprovalTeamVersionCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetApprovalTeamRequest, GetApprovalTeamResponse } 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 GetApprovalTeamCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetApprovalTeamCommandInput extends GetApprovalTeamRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetApprovalTeamCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetApprovalTeamCommandOutput extends GetApprovalTeamResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetApprovalTeamCommand_base: {
|
|
25
|
+
new (input: GetApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<GetApprovalTeamCommandInput, GetApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetApprovalTeamCommandInput): import("@smithy/smithy-client").CommandImpl<GetApprovalTeamCommandInput, GetApprovalTeamCommandOutput, MPAClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns details for an approval team.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { MPAClient, GetApprovalTeamCommand } from "@aws-sdk/client-mpa"; // ES Modules import
|
|
35
|
+
* // const { MPAClient, GetApprovalTeamCommand } = require("@aws-sdk/client-mpa"); // CommonJS import
|
|
36
|
+
* const client = new MPAClient(config);
|
|
37
|
+
* const input = { // GetApprovalTeamRequest
|
|
38
|
+
* Arn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetApprovalTeamCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetApprovalTeamResponse
|
|
43
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // ApprovalStrategy: { // ApprovalStrategyResponse Union: only one key present
|
|
45
|
+
* // MofN: { // MofNApprovalStrategy
|
|
46
|
+
* // MinApprovalsRequired: Number("int"), // required
|
|
47
|
+
* // },
|
|
48
|
+
* // },
|
|
49
|
+
* // NumberOfApprovers: Number("int"),
|
|
50
|
+
* // Approvers: [ // GetApprovalTeamResponseApprovers
|
|
51
|
+
* // { // GetApprovalTeamResponseApprover
|
|
52
|
+
* // ApproverId: "STRING_VALUE",
|
|
53
|
+
* // ResponseTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // PrimaryIdentityId: "STRING_VALUE",
|
|
55
|
+
* // PrimaryIdentitySourceArn: "STRING_VALUE",
|
|
56
|
+
* // PrimaryIdentityStatus: "PENDING" || "ACCEPTED" || "REJECTED" || "INVALID",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // Arn: "STRING_VALUE",
|
|
60
|
+
* // Description: "STRING_VALUE",
|
|
61
|
+
* // Name: "STRING_VALUE",
|
|
62
|
+
* // Status: "ACTIVE" || "INACTIVE" || "DELETING" || "PENDING",
|
|
63
|
+
* // StatusCode: "VALIDATING" || "PENDING_ACTIVATION" || "FAILED_VALIDATION" || "FAILED_ACTIVATION" || "UPDATE_PENDING_APPROVAL" || "UPDATE_PENDING_ACTIVATION" || "UPDATE_FAILED_APPROVAL" || "UPDATE_FAILED_ACTIVATION" || "UPDATE_FAILED_VALIDATION" || "DELETE_PENDING_APPROVAL" || "DELETE_FAILED_APPROVAL" || "DELETE_FAILED_VALIDATION",
|
|
64
|
+
* // StatusMessage: "STRING_VALUE",
|
|
65
|
+
* // UpdateSessionArn: "STRING_VALUE",
|
|
66
|
+
* // VersionId: "STRING_VALUE",
|
|
67
|
+
* // Policies: [ // PoliciesReferences
|
|
68
|
+
* // { // PolicyReference
|
|
69
|
+
* // PolicyArn: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // LastUpdateTime: new Date("TIMESTAMP"),
|
|
73
|
+
* // PendingUpdate: { // PendingUpdate
|
|
74
|
+
* // VersionId: "STRING_VALUE",
|
|
75
|
+
* // Description: "STRING_VALUE",
|
|
76
|
+
* // ApprovalStrategy: {// Union: only one key present
|
|
77
|
+
* // MofN: {
|
|
78
|
+
* // MinApprovalsRequired: Number("int"), // required
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // NumberOfApprovers: Number("int"),
|
|
82
|
+
* // Status: "ACTIVE" || "INACTIVE" || "DELETING" || "PENDING",
|
|
83
|
+
* // StatusCode: "VALIDATING" || "PENDING_ACTIVATION" || "FAILED_VALIDATION" || "FAILED_ACTIVATION" || "UPDATE_PENDING_APPROVAL" || "UPDATE_PENDING_ACTIVATION" || "UPDATE_FAILED_APPROVAL" || "UPDATE_FAILED_ACTIVATION" || "UPDATE_FAILED_VALIDATION" || "DELETE_PENDING_APPROVAL" || "DELETE_FAILED_APPROVAL" || "DELETE_FAILED_VALIDATION",
|
|
84
|
+
* // StatusMessage: "STRING_VALUE",
|
|
85
|
+
* // Approvers: [
|
|
86
|
+
* // {
|
|
87
|
+
* // ApproverId: "STRING_VALUE",
|
|
88
|
+
* // ResponseTime: new Date("TIMESTAMP"),
|
|
89
|
+
* // PrimaryIdentityId: "STRING_VALUE",
|
|
90
|
+
* // PrimaryIdentitySourceArn: "STRING_VALUE",
|
|
91
|
+
* // PrimaryIdentityStatus: "PENDING" || "ACCEPTED" || "REJECTED" || "INVALID",
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // UpdateInitiationTime: new Date("TIMESTAMP"),
|
|
95
|
+
* // },
|
|
96
|
+
* // };
|
|
97
|
+
*
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @param GetApprovalTeamCommandInput - {@link GetApprovalTeamCommandInput}
|
|
101
|
+
* @returns {@link GetApprovalTeamCommandOutput}
|
|
102
|
+
* @see {@link GetApprovalTeamCommandInput} for command's `input` shape.
|
|
103
|
+
* @see {@link GetApprovalTeamCommandOutput} for command's `response` shape.
|
|
104
|
+
* @see {@link MPAClientResolvedConfig | config} for MPAClient's `config` shape.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
107
|
+
* <p>You do not have sufficient access to perform this action. Check your permissions, and try again.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link InternalServerException} (server fault)
|
|
110
|
+
* <p>The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
113
|
+
* <p>The specified resource doesn't exist. Check the resource ID, and try again.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
116
|
+
* <p>The request was denied due to request throttling.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ValidationException} (client fault)
|
|
119
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link MPAServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from MPA service.</p>
|
|
123
|
+
*
|
|
124
|
+
*
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class GetApprovalTeamCommand extends GetApprovalTeamCommand_base {
|
|
128
|
+
/** @internal type navigation helper, not in runtime. */
|
|
129
|
+
protected static __types: {
|
|
130
|
+
api: {
|
|
131
|
+
input: GetApprovalTeamRequest;
|
|
132
|
+
output: GetApprovalTeamResponse;
|
|
133
|
+
};
|
|
134
|
+
sdk: {
|
|
135
|
+
input: GetApprovalTeamCommandInput;
|
|
136
|
+
output: GetApprovalTeamCommandOutput;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|