@jjrawlins/cdk-iam-policy-builder-helper 0.0.86 → 0.0.87
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/.jsii +3 -3
- package/cdkiampolicybuilderhelper/jsii/jsii.go +2 -2
- package/cdkiampolicybuilderhelper/version +1 -1
- package/lib/constructs/Actions.d.ts +31 -0
- package/lib/constructs/Actions.js +32 -1
- package/methods_list.txt +29 -0
- package/node_modules/@aws-sdk/client-iam/README.md +64 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +349 -71
- package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcceptDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AssociateDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetHumanReadableSummaryCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/ListDelegationRequestsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/RejectDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/SendDelegationTokenCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/UpdateDelegationRequestCommand.js +16 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +8 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_0.js +61 -40
- package/node_modules/@aws-sdk/client-iam/dist-es/models/models_1.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +172 -34
- package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +57 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +10 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcceptDelegationRequestCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AssociateDelegationRequestCommand.d.ts +108 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateDelegationRequestCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetDelegationRequestCommand.d.ts +127 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetHumanReadableSummaryCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListDelegationRequestsCommand.d.ts +132 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SendDelegationTokenCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateDelegationRequestCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +8 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +472 -412
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +372 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +22 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +137 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +48 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcceptDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AssociateDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetDelegationRequestCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetHumanReadableSummaryCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ListDelegationRequestsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutGroupPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutUserPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RejectDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveRoleFromInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/RemoveUserFromGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/ResyncMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SendDelegationTokenCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateDelegationRequestCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +111 -82
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +70 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/node_modules/@aws-sdk/client-iam/package.json +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { GetDelegationRequestRequest, GetDelegationRequestResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDelegationRequestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDelegationRequestCommandInput extends GetDelegationRequestRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDelegationRequestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDelegationRequestCommandOutput extends GetDelegationRequestResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDelegationRequestCommand_base: {
|
|
25
|
+
new (input: GetDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<GetDelegationRequestCommandInput, GetDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<GetDelegationRequestCommandInput, GetDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a specific delegation request.</p>
|
|
31
|
+
* <p>
|
|
32
|
+
* If a delegation request has no owner or owner account, <code>GetDelegationRequest</code> for that delegation request can be called by any account.
|
|
33
|
+
* If the owner account is assigned but there is
|
|
34
|
+
* no owner id, only identities within that owner account can call <code>GetDelegationRequest</code>
|
|
35
|
+
* for the delegation request. Once the delegation request is fully owned, the owner of the request gets
|
|
36
|
+
* a default permission to get that delegation request. For more details, see
|
|
37
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions">
|
|
38
|
+
* Managing Permissions for Delegation Requests</a>.
|
|
39
|
+
* </p>
|
|
40
|
+
* @example
|
|
41
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
+
* ```javascript
|
|
43
|
+
* import { IAMClient, GetDelegationRequestCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
44
|
+
* // const { IAMClient, GetDelegationRequestCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
45
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
46
|
+
* const config = {}; // type is IAMClientConfig
|
|
47
|
+
* const client = new IAMClient(config);
|
|
48
|
+
* const input = { // GetDelegationRequestRequest
|
|
49
|
+
* DelegationRequestId: "STRING_VALUE", // required
|
|
50
|
+
* DelegationPermissionCheck: true || false,
|
|
51
|
+
* };
|
|
52
|
+
* const command = new GetDelegationRequestCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // GetDelegationRequestResponse
|
|
55
|
+
* // DelegationRequest: { // DelegationRequest
|
|
56
|
+
* // DelegationRequestId: "STRING_VALUE",
|
|
57
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // RequestMessage: "STRING_VALUE",
|
|
60
|
+
* // Permissions: { // DelegationPermission
|
|
61
|
+
* // PolicyTemplateArn: "STRING_VALUE",
|
|
62
|
+
* // Parameters: [ // policyParameterListType
|
|
63
|
+
* // { // PolicyParameter
|
|
64
|
+
* // Name: "STRING_VALUE",
|
|
65
|
+
* // Values: [ // policyParameterValuesListType
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // Type: "string" || "stringList",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // PermissionPolicy: "STRING_VALUE",
|
|
73
|
+
* // RolePermissionRestrictionArns: [ // rolePermissionRestrictionArnListType
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // OwnerId: "STRING_VALUE",
|
|
77
|
+
* // ApproverId: "STRING_VALUE",
|
|
78
|
+
* // State: "UNASSIGNED" || "ASSIGNED" || "PENDING_APPROVAL" || "FINALIZED" || "ACCEPTED" || "REJECTED" || "EXPIRED",
|
|
79
|
+
* // RequestorId: "STRING_VALUE",
|
|
80
|
+
* // RequestorName: "STRING_VALUE",
|
|
81
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
82
|
+
* // SessionDuration: Number("int"),
|
|
83
|
+
* // RedirectUrl: "STRING_VALUE",
|
|
84
|
+
* // Notes: "STRING_VALUE",
|
|
85
|
+
* // RejectionReason: "STRING_VALUE",
|
|
86
|
+
* // OnlySendByOwner: true || false,
|
|
87
|
+
* // UpdatedTime: new Date("TIMESTAMP"),
|
|
88
|
+
* // },
|
|
89
|
+
* // PermissionCheckStatus: "COMPLETE" || "IN_PROGRESS" || "FAILED",
|
|
90
|
+
* // PermissionCheckResult: "ALLOWED" || "DENIED" || "UNSURE",
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param GetDelegationRequestCommandInput - {@link GetDelegationRequestCommandInput}
|
|
96
|
+
* @returns {@link GetDelegationRequestCommandOutput}
|
|
97
|
+
* @see {@link GetDelegationRequestCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link GetDelegationRequestCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
102
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
103
|
+
* error message describes the resource.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
106
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
107
|
+
* failure.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link IAMServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class GetDelegationRequestCommand extends GetDelegationRequestCommand_base {
|
|
116
|
+
/** @internal type navigation helper, not in runtime. */
|
|
117
|
+
protected static __types: {
|
|
118
|
+
api: {
|
|
119
|
+
input: GetDelegationRequestRequest;
|
|
120
|
+
output: GetDelegationRequestResponse;
|
|
121
|
+
};
|
|
122
|
+
sdk: {
|
|
123
|
+
input: GetDelegationRequestCommandInput;
|
|
124
|
+
output: GetDelegationRequestCommandOutput;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|
package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetHumanReadableSummaryCommand.d.ts
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { GetHumanReadableSummaryRequest, GetHumanReadableSummaryResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetHumanReadableSummaryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetHumanReadableSummaryCommandInput extends GetHumanReadableSummaryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetHumanReadableSummaryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetHumanReadableSummaryCommandOutput extends GetHumanReadableSummaryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetHumanReadableSummaryCommand_base: {
|
|
25
|
+
new (input: GetHumanReadableSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetHumanReadableSummaryCommandInput, GetHumanReadableSummaryCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetHumanReadableSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetHumanReadableSummaryCommandInput, GetHumanReadableSummaryCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a human readable summary for a given entity. At this time, the only supported
|
|
31
|
+
* entity type is <code>delegation-request</code>
|
|
32
|
+
* </p>
|
|
33
|
+
* <p>This method uses a Large Language Model (LLM) to generate the summary.</p>
|
|
34
|
+
* <p>
|
|
35
|
+
* If a delegation request has no owner or owner account, <code>GetHumanReadableSummary</code> for that delegation request can be called by any account.
|
|
36
|
+
* If the owner account is assigned but there is
|
|
37
|
+
* no owner id, only identities within that owner account can call <code>GetHumanReadableSummary</code>
|
|
38
|
+
* for the delegation request to retrieve a summary of that request.
|
|
39
|
+
* Once the delegation request is fully owned, the owner of the request gets
|
|
40
|
+
* a default permission to get that delegation request. For more details, read
|
|
41
|
+
* <a href="">default permissions granted to delegation requests</a>. These rules are identical to
|
|
42
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetDelegationRequest.html">GetDelegationRequest</a>
|
|
43
|
+
* API behavior, such that a party who has permissions to call
|
|
44
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetDelegationRequest.html">GetDelegationRequest</a>
|
|
45
|
+
* for a given delegation request will always be able to retrieve the human readable summary for that request.
|
|
46
|
+
* </p>
|
|
47
|
+
* @example
|
|
48
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
+
* ```javascript
|
|
50
|
+
* import { IAMClient, GetHumanReadableSummaryCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
51
|
+
* // const { IAMClient, GetHumanReadableSummaryCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
52
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
53
|
+
* const config = {}; // type is IAMClientConfig
|
|
54
|
+
* const client = new IAMClient(config);
|
|
55
|
+
* const input = { // GetHumanReadableSummaryRequest
|
|
56
|
+
* EntityArn: "STRING_VALUE", // required
|
|
57
|
+
* Locale: "STRING_VALUE",
|
|
58
|
+
* };
|
|
59
|
+
* const command = new GetHumanReadableSummaryCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* // { // GetHumanReadableSummaryResponse
|
|
62
|
+
* // SummaryContent: "STRING_VALUE",
|
|
63
|
+
* // Locale: "STRING_VALUE",
|
|
64
|
+
* // SummaryState: "AVAILABLE" || "NOT_AVAILABLE" || "NOT_SUPPORTED" || "FAILED",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetHumanReadableSummaryCommandInput - {@link GetHumanReadableSummaryCommandInput}
|
|
70
|
+
* @returns {@link GetHumanReadableSummaryCommandOutput}
|
|
71
|
+
* @see {@link GetHumanReadableSummaryCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetHumanReadableSummaryCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
76
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
77
|
+
* input parameter.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
80
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
81
|
+
* error message describes the resource.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
84
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
85
|
+
* failure.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link IAMServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class GetHumanReadableSummaryCommand extends GetHumanReadableSummaryCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: GetHumanReadableSummaryRequest;
|
|
98
|
+
output: GetHumanReadableSummaryResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: GetHumanReadableSummaryCommandInput;
|
|
102
|
+
output: GetHumanReadableSummaryCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListDelegationRequestsCommand.d.ts
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { ListDelegationRequestsRequest, ListDelegationRequestsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDelegationRequestsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDelegationRequestsCommandInput extends ListDelegationRequestsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDelegationRequestsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDelegationRequestsCommandOutput extends ListDelegationRequestsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDelegationRequestsCommand_base: {
|
|
25
|
+
new (input: ListDelegationRequestsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDelegationRequestsCommandInput, ListDelegationRequestsCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDelegationRequestsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDelegationRequestsCommandInput, ListDelegationRequestsCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists delegation requests based on the specified criteria.</p>
|
|
31
|
+
* <p>If a delegation request has no owner, even if it is assigned to a specific account, it will not be part of the
|
|
32
|
+
* <code>ListDelegationRequests</code> output for that account.</p>
|
|
33
|
+
* <p>
|
|
34
|
+
* For more details, see
|
|
35
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions">
|
|
36
|
+
* Managing Permissions for Delegation Requests</a>.
|
|
37
|
+
* </p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { IAMClient, ListDelegationRequestsCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
42
|
+
* // const { IAMClient, ListDelegationRequestsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
43
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
44
|
+
* const config = {}; // type is IAMClientConfig
|
|
45
|
+
* const client = new IAMClient(config);
|
|
46
|
+
* const input = { // ListDelegationRequestsRequest
|
|
47
|
+
* OwnerId: "STRING_VALUE",
|
|
48
|
+
* Marker: "STRING_VALUE",
|
|
49
|
+
* MaxItems: Number("int"),
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListDelegationRequestsCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListDelegationRequestsResponse
|
|
54
|
+
* // DelegationRequests: [ // delegationRequestsListType
|
|
55
|
+
* // { // DelegationRequest
|
|
56
|
+
* // DelegationRequestId: "STRING_VALUE",
|
|
57
|
+
* // OwnerAccountId: "STRING_VALUE",
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // RequestMessage: "STRING_VALUE",
|
|
60
|
+
* // Permissions: { // DelegationPermission
|
|
61
|
+
* // PolicyTemplateArn: "STRING_VALUE",
|
|
62
|
+
* // Parameters: [ // policyParameterListType
|
|
63
|
+
* // { // PolicyParameter
|
|
64
|
+
* // Name: "STRING_VALUE",
|
|
65
|
+
* // Values: [ // policyParameterValuesListType
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // Type: "string" || "stringList",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // PermissionPolicy: "STRING_VALUE",
|
|
73
|
+
* // RolePermissionRestrictionArns: [ // rolePermissionRestrictionArnListType
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // OwnerId: "STRING_VALUE",
|
|
77
|
+
* // ApproverId: "STRING_VALUE",
|
|
78
|
+
* // State: "UNASSIGNED" || "ASSIGNED" || "PENDING_APPROVAL" || "FINALIZED" || "ACCEPTED" || "REJECTED" || "EXPIRED",
|
|
79
|
+
* // RequestorId: "STRING_VALUE",
|
|
80
|
+
* // RequestorName: "STRING_VALUE",
|
|
81
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
82
|
+
* // SessionDuration: Number("int"),
|
|
83
|
+
* // RedirectUrl: "STRING_VALUE",
|
|
84
|
+
* // Notes: "STRING_VALUE",
|
|
85
|
+
* // RejectionReason: "STRING_VALUE",
|
|
86
|
+
* // OnlySendByOwner: true || false,
|
|
87
|
+
* // UpdatedTime: new Date("TIMESTAMP"),
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // Marker: "STRING_VALUE",
|
|
91
|
+
* // isTruncated: true || false,
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @param ListDelegationRequestsCommandInput - {@link ListDelegationRequestsCommandInput}
|
|
97
|
+
* @returns {@link ListDelegationRequestsCommandOutput}
|
|
98
|
+
* @see {@link ListDelegationRequestsCommandInput} for command's `input` shape.
|
|
99
|
+
* @see {@link ListDelegationRequestsCommandOutput} for command's `response` shape.
|
|
100
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
103
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
104
|
+
* input parameter.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
107
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
108
|
+
* error message describes the resource.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
111
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
112
|
+
* failure.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link IAMServiceException}
|
|
115
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
116
|
+
*
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class ListDelegationRequestsCommand extends ListDelegationRequestsCommand_base {
|
|
121
|
+
/** @internal type navigation helper, not in runtime. */
|
|
122
|
+
protected static __types: {
|
|
123
|
+
api: {
|
|
124
|
+
input: ListDelegationRequestsRequest;
|
|
125
|
+
output: ListDelegationRequestsResponse;
|
|
126
|
+
};
|
|
127
|
+
sdk: {
|
|
128
|
+
input: ListDelegationRequestsCommandInput;
|
|
129
|
+
output: ListDelegationRequestsCommandOutput;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { PutGroupPolicyRequest } from "../models/
|
|
4
|
+
import { PutGroupPolicyRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { PutRolePermissionsBoundaryRequest } from "../models/
|
|
4
|
+
import { PutRolePermissionsBoundaryRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { PutRolePolicyRequest } from "../models/
|
|
4
|
+
import { PutRolePolicyRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { PutUserPermissionsBoundaryRequest } from "../models/
|
|
4
|
+
import { PutUserPermissionsBoundaryRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { PutUserPolicyRequest } from "../models/
|
|
4
|
+
import { PutUserPolicyRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-iam/dist-types/commands/RejectDelegationRequestCommand.d.ts
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
+
import { RejectDelegationRequestRequest } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RejectDelegationRequestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RejectDelegationRequestCommandInput extends RejectDelegationRequestRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RejectDelegationRequestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RejectDelegationRequestCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RejectDelegationRequestCommand_base: {
|
|
25
|
+
new (input: RejectDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<RejectDelegationRequestCommandInput, RejectDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RejectDelegationRequestCommandInput): import("@smithy/smithy-client").CommandImpl<RejectDelegationRequestCommandInput, RejectDelegationRequestCommandOutput, IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Rejects a delegation request, denying the requested temporary access.</p>
|
|
31
|
+
* <p>Once a request is rejected, it cannot be accepted or updated later. Rejected requests expire after 7 days.</p>
|
|
32
|
+
* <p>When rejecting a request, an optional explanation can be added using the <code>Notes</code> request parameter.</p>
|
|
33
|
+
* <p>
|
|
34
|
+
* For more details, see
|
|
35
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies-temporary-delegation.html#temporary-delegation-managing-permissions">
|
|
36
|
+
* Managing Permissions for Delegation Requests</a>.
|
|
37
|
+
* </p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { IAMClient, RejectDelegationRequestCommand } from "@aws-sdk/client-iam"; // ES Modules import
|
|
42
|
+
* // const { IAMClient, RejectDelegationRequestCommand } = require("@aws-sdk/client-iam"); // CommonJS import
|
|
43
|
+
* // import type { IAMClientConfig } from "@aws-sdk/client-iam";
|
|
44
|
+
* const config = {}; // type is IAMClientConfig
|
|
45
|
+
* const client = new IAMClient(config);
|
|
46
|
+
* const input = { // RejectDelegationRequestRequest
|
|
47
|
+
* DelegationRequestId: "STRING_VALUE", // required
|
|
48
|
+
* Notes: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new RejectDelegationRequestCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param RejectDelegationRequestCommandInput - {@link RejectDelegationRequestCommandInput}
|
|
57
|
+
* @returns {@link RejectDelegationRequestCommandOutput}
|
|
58
|
+
* @see {@link RejectDelegationRequestCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link RejectDelegationRequestCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
63
|
+
* <p>The request was rejected because multiple requests to change this object were submitted
|
|
64
|
+
* simultaneously. Wait a few minutes and submit your request again.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
67
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
68
|
+
* input parameter.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NoSuchEntityException} (client fault)
|
|
71
|
+
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
72
|
+
* error message describes the resource.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
75
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
76
|
+
* failure.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link IAMServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class RejectDelegationRequestCommand extends RejectDelegationRequestCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: RejectDelegationRequestRequest;
|
|
89
|
+
output: {};
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: RejectDelegationRequestCommandInput;
|
|
93
|
+
output: RejectDelegationRequestCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { RemoveClientIDFromOpenIDConnectProviderRequest } from "../models/
|
|
4
|
+
import { RemoveClientIDFromOpenIDConnectProviderRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { RemoveRoleFromInstanceProfileRequest } from "../models/
|
|
4
|
+
import { RemoveRoleFromInstanceProfileRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-iam/dist-types/commands/RemoveUserFromGroupCommand.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { RemoveUserFromGroupRequest } from "../models/
|
|
4
|
+
import { RemoveUserFromGroupRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { ResetServiceSpecificCredentialRequest, ResetServiceSpecificCredentialResponse } from "../models/
|
|
4
|
+
import { ResetServiceSpecificCredentialRequest, ResetServiceSpecificCredentialResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { IAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IAMClient";
|
|
4
|
-
import { ResyncMFADeviceRequest } from "../models/
|
|
4
|
+
import { ResyncMFADeviceRequest } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|