@aws-sdk/client-account-access 3.1108.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 (118) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +258 -0
  3. package/dist-cjs/index.js +979 -0
  4. package/dist-es/AccountAccess.js +39 -0
  5. package/dist-es/AccountAccessClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/CreateApplicationCommand.js +4 -0
  10. package/dist-es/commands/CreateEntitlementCommand.js +4 -0
  11. package/dist-es/commands/DeleteApplicationCommand.js +4 -0
  12. package/dist-es/commands/DeleteEntitlementCommand.js +4 -0
  13. package/dist-es/commands/GetApplicationCommand.js +4 -0
  14. package/dist-es/commands/GetEntitlementCommand.js +4 -0
  15. package/dist-es/commands/ListApplicationsCommand.js +4 -0
  16. package/dist-es/commands/ListEntitlementsCommand.js +4 -0
  17. package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
  18. package/dist-es/commands/TagResourceCommand.js +4 -0
  19. package/dist-es/commands/UntagResourceCommand.js +4 -0
  20. package/dist-es/commands/index.js +11 -0
  21. package/dist-es/endpoint/EndpointParameters.js +11 -0
  22. package/dist-es/endpoint/bdd.js +29 -0
  23. package/dist-es/endpoint/endpointResolver.js +14 -0
  24. package/dist-es/extensionConfiguration.js +1 -0
  25. package/dist-es/index.js +11 -0
  26. package/dist-es/models/AccountAccessServiceException.js +8 -0
  27. package/dist-es/models/enums.js +13 -0
  28. package/dist-es/models/errors.js +97 -0
  29. package/dist-es/models/models_0.js +1 -0
  30. package/dist-es/pagination/Interfaces.js +1 -0
  31. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  32. package/dist-es/pagination/ListEntitlementsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +3 -0
  34. package/dist-es/runtimeConfig.browser.js +29 -0
  35. package/dist-es/runtimeConfig.js +43 -0
  36. package/dist-es/runtimeConfig.native.js +9 -0
  37. package/dist-es/runtimeConfig.shared.js +40 -0
  38. package/dist-es/runtimeExtensions.js +9 -0
  39. package/dist-es/schemas/schemas_0.js +402 -0
  40. package/dist-es/waiters/index.js +1 -0
  41. package/dist-es/waiters/waitForApplicationActive.js +49 -0
  42. package/dist-types/AccountAccess.d.ts +109 -0
  43. package/dist-types/AccountAccessClient.d.ts +197 -0
  44. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  45. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/CreateApplicationCommand.d.ts +93 -0
  48. package/dist-types/commands/CreateEntitlementCommand.d.ts +103 -0
  49. package/dist-types/commands/DeleteApplicationCommand.d.ts +84 -0
  50. package/dist-types/commands/DeleteEntitlementCommand.d.ts +88 -0
  51. package/dist-types/commands/GetApplicationCommand.d.ts +99 -0
  52. package/dist-types/commands/GetEntitlementCommand.d.ts +102 -0
  53. package/dist-types/commands/ListApplicationsCommand.d.ts +92 -0
  54. package/dist-types/commands/ListEntitlementsCommand.d.ts +119 -0
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +85 -0
  56. package/dist-types/commands/TagResourceCommand.d.ts +84 -0
  57. package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
  58. package/dist-types/commands/index.d.ts +11 -0
  59. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  60. package/dist-types/endpoint/bdd.d.ts +2 -0
  61. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  62. package/dist-types/extensionConfiguration.d.ts +9 -0
  63. package/dist-types/index.d.ts +19 -0
  64. package/dist-types/models/AccountAccessServiceException.d.ts +14 -0
  65. package/dist-types/models/enums.d.ts +29 -0
  66. package/dist-types/models/errors.d.ts +98 -0
  67. package/dist-types/models/models_0.d.ts +817 -0
  68. package/dist-types/pagination/Interfaces.d.ts +8 -0
  69. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  70. package/dist-types/pagination/ListEntitlementsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/index.d.ts +3 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  73. package/dist-types/runtimeConfig.d.ts +57 -0
  74. package/dist-types/runtimeConfig.native.d.ts +56 -0
  75. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  76. package/dist-types/runtimeExtensions.d.ts +17 -0
  77. package/dist-types/schemas/schemas_0.d.ts +69 -0
  78. package/dist-types/ts3.4/AccountAccess.d.ts +219 -0
  79. package/dist-types/ts3.4/AccountAccessClient.d.ts +164 -0
  80. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  81. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  82. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  83. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
  84. package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
  88. package/dist-types/ts3.4/commands/GetEntitlementCommand.d.ts +38 -0
  89. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
  90. package/dist-types/ts3.4/commands/ListEntitlementsCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  94. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  95. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  96. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  97. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  98. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  99. package/dist-types/ts3.4/index.d.ts +14 -0
  100. package/dist-types/ts3.4/models/AccountAccessServiceException.d.ts +9 -0
  101. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  102. package/dist-types/ts3.4/models/errors.d.ts +42 -0
  103. package/dist-types/ts3.4/models/models_0.d.ts +289 -0
  104. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  105. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/ListEntitlementsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  108. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  109. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  110. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  111. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  112. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  113. package/dist-types/ts3.4/schemas/schemas_0.d.ts +69 -0
  114. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  115. package/dist-types/ts3.4/waiters/waitForApplicationActive.d.ts +15 -0
  116. package/dist-types/waiters/index.d.ts +1 -0
  117. package/dist-types/waiters/waitForApplicationActive.d.ts +15 -0
  118. package/package.json +69 -0
@@ -0,0 +1,88 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteEntitlementRequest, DeleteEntitlementResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteEntitlementCommand}.
11
+ */
12
+ export interface DeleteEntitlementCommandInput extends DeleteEntitlementRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteEntitlementCommand}.
18
+ */
19
+ export interface DeleteEntitlementCommandOutput extends DeleteEntitlementResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteEntitlementCommand_base: {
22
+ new (input: DeleteEntitlementCommandInput): import("@smithy/core/client").CommandImpl<DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEntitlementCommandInput): import("@smithy/core/client").CommandImpl<DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an entitlement from an account access manager application. This operation is idempotent; deleting an entitlement that has already been deleted does not return an error.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, DeleteEntitlementCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, DeleteEntitlementCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // DeleteEntitlementRequest
37
+ * applicationArn: "STRING_VALUE", // required
38
+ * entitlementId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteEntitlementCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteEntitlementCommandInput - {@link DeleteEntitlementCommandInput}
47
+ * @returns {@link DeleteEntitlementCommandOutput}
48
+ * @see {@link DeleteEntitlementCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteEntitlementCommandOutput} for command's `response` shape.
50
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>You do not have sufficient access to perform this operation.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <p>The request conflicts with the current state of the resource.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>An internal service error occurred. Try your request again later.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
69
+ *
70
+ * @throws {@link AccountAccessServiceException}
71
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DeleteEntitlementCommand extends DeleteEntitlementCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DeleteEntitlementRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: DeleteEntitlementCommandInput;
85
+ output: DeleteEntitlementCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetApplicationRequest, GetApplicationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetApplicationCommand}.
11
+ */
12
+ export interface GetApplicationCommandInput extends GetApplicationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetApplicationCommand}.
18
+ */
19
+ export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer {
20
+ }
21
+ declare const GetApplicationCommand_base: {
22
+ new (input: GetApplicationCommandInput): import("@smithy/core/client").CommandImpl<GetApplicationCommandInput, GetApplicationCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetApplicationCommandInput): import("@smithy/core/client").CommandImpl<GetApplicationCommandInput, GetApplicationCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves details about an account access manager application, including its status, identity source, and tags.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, GetApplicationCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, GetApplicationCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // GetApplicationRequest
37
+ * applicationArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetApplicationCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetApplicationResponse
42
+ * // identitySource: { // IdentitySourceDetails Union: only one key present
43
+ * // identityCenter: { // IdentityCenterDetails
44
+ * // instanceArn: "STRING_VALUE", // required
45
+ * // applicationArn: "STRING_VALUE",
46
+ * // },
47
+ * // },
48
+ * // status: "CREATE_IN_PROGRESS" || "ACTIVE" || "DELETE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_FAILED", // required
49
+ * // tenantId: "STRING_VALUE",
50
+ * // createdAt: new Date("TIMESTAMP"), // required
51
+ * // updatedAt: new Date("TIMESTAMP"), // required
52
+ * // tags: { // TagsMap
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // error: { // ErrorDetails
56
+ * // code: "AUTHORIZATION_ERROR" || "RESOURCE_NOT_FOUND_ERROR" || "SERVICE_QUOTA_EXCEEDED_ERROR" || "INTERNAL_SERVICE_ERROR", // required
57
+ * // message: "STRING_VALUE", // required
58
+ * // },
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param GetApplicationCommandInput - {@link GetApplicationCommandInput}
64
+ * @returns {@link GetApplicationCommandOutput}
65
+ * @see {@link GetApplicationCommandInput} for command's `input` shape.
66
+ * @see {@link GetApplicationCommandOutput} for command's `response` shape.
67
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You do not have sufficient access to perform this operation.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>An internal service error occurred. Try your request again later.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
80
+ *
81
+ * @throws {@link AccountAccessServiceException}
82
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class GetApplicationCommand extends GetApplicationCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: GetApplicationRequest;
92
+ output: GetApplicationResponse;
93
+ };
94
+ sdk: {
95
+ input: GetApplicationCommandInput;
96
+ output: GetApplicationCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetEntitlementRequest, GetEntitlementResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetEntitlementCommand}.
11
+ */
12
+ export interface GetEntitlementCommandInput extends GetEntitlementRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetEntitlementCommand}.
18
+ */
19
+ export interface GetEntitlementCommandOutput extends GetEntitlementResponse, __MetadataBearer {
20
+ }
21
+ declare const GetEntitlementCommand_base: {
22
+ new (input: GetEntitlementCommandInput): import("@smithy/core/client").CommandImpl<GetEntitlementCommandInput, GetEntitlementCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetEntitlementCommandInput): import("@smithy/core/client").CommandImpl<GetEntitlementCommandInput, GetEntitlementCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves details about a specific entitlement for an account access manager application, including the principal, IAM role, and target account.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, GetEntitlementCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, GetEntitlementCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // GetEntitlementRequest
37
+ * applicationArn: "STRING_VALUE", // required
38
+ * entitlementId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetEntitlementCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetEntitlementResponse
43
+ * // applicationArn: "STRING_VALUE", // required
44
+ * // entitlementId: "STRING_VALUE", // required
45
+ * // entitlement: { // EntitlementDetails Union: only one key present
46
+ * // principalRole: { // PrincipalRoleEntitlementDetails
47
+ * // principal: { // Principal Union: only one key present
48
+ * // identityCenter: { // IdentityCenterPrincipal Union: only one key present
49
+ * // userId: "STRING_VALUE",
50
+ * // groupId: "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // roleArn: "STRING_VALUE", // required
54
+ * // account: "STRING_VALUE", // required
55
+ * // accountName: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // createdAt: new Date("TIMESTAMP"), // required
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param GetEntitlementCommandInput - {@link GetEntitlementCommandInput}
64
+ * @returns {@link GetEntitlementCommandOutput}
65
+ * @see {@link GetEntitlementCommandInput} for command's `input` shape.
66
+ * @see {@link GetEntitlementCommandOutput} for command's `response` shape.
67
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You do not have sufficient access to perform this operation.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>An internal service error occurred. Try your request again later.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
83
+ *
84
+ * @throws {@link AccountAccessServiceException}
85
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class GetEntitlementCommand extends GetEntitlementCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: GetEntitlementRequest;
95
+ output: GetEntitlementResponse;
96
+ };
97
+ sdk: {
98
+ input: GetEntitlementCommandInput;
99
+ output: GetEntitlementCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListApplicationsCommand}.
11
+ */
12
+ export interface ListApplicationsCommandInput extends ListApplicationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListApplicationsCommand}.
18
+ */
19
+ export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListApplicationsCommand_base: {
22
+ new (input: ListApplicationsCommandInput): import("@smithy/core/client").CommandImpl<ListApplicationsCommandInput, ListApplicationsCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListApplicationsCommandInput]): import("@smithy/core/client").CommandImpl<ListApplicationsCommandInput, ListApplicationsCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the account access manager applications in your account. Use pagination to ensure that the operation returns quickly and successfully.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, ListApplicationsCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, ListApplicationsCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // ListApplicationsRequest
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListApplicationsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListApplicationsResponse
43
+ * // applications: [ // ApplicationList // required
44
+ * // { // ApplicationSummary
45
+ * // applicationArn: "STRING_VALUE", // required
46
+ * // tenantId: "STRING_VALUE",
47
+ * // createdAt: new Date("TIMESTAMP"), // required
48
+ * // updatedAt: new Date("TIMESTAMP"), // required
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListApplicationsCommandInput - {@link ListApplicationsCommandInput}
57
+ * @returns {@link ListApplicationsCommandOutput}
58
+ * @see {@link ListApplicationsCommandInput} for command's `input` shape.
59
+ * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
60
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>You do not have sufficient access to perform this operation.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>An internal service error occurred. Try your request again later.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
73
+ *
74
+ * @throws {@link AccountAccessServiceException}
75
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class ListApplicationsCommand extends ListApplicationsCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: ListApplicationsRequest;
85
+ output: ListApplicationsResponse;
86
+ };
87
+ sdk: {
88
+ input: ListApplicationsCommandInput;
89
+ output: ListApplicationsCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,119 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListEntitlementsRequest, ListEntitlementsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListEntitlementsCommand}.
11
+ */
12
+ export interface ListEntitlementsCommandInput extends ListEntitlementsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListEntitlementsCommand}.
18
+ */
19
+ export interface ListEntitlementsCommandOutput extends ListEntitlementsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListEntitlementsCommand_base: {
22
+ new (input: ListEntitlementsCommandInput): import("@smithy/core/client").CommandImpl<ListEntitlementsCommandInput, ListEntitlementsCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListEntitlementsCommandInput): import("@smithy/core/client").CommandImpl<ListEntitlementsCommandInput, ListEntitlementsCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the entitlements for a specified account access manager application. You can filter results by principal, IAM role, or account. Use pagination to ensure that the operation returns quickly and successfully.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, ListEntitlementsCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, ListEntitlementsCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // ListEntitlementsRequest
37
+ * applicationArn: "STRING_VALUE", // required
38
+ * filter: { // EntitlementFilter
39
+ * principalRole: { // PrincipalRoleEntitlementFilter
40
+ * principal: { // PrincipalFilter Union: only one key present
41
+ * identityCenter: { // IdentityCenterPrincipalFilter Union: only one key present
42
+ * userId: "STRING_VALUE",
43
+ * groupId: "STRING_VALUE",
44
+ * },
45
+ * },
46
+ * roleArn: "STRING_VALUE",
47
+ * account: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * nextToken: "STRING_VALUE",
51
+ * maxResults: Number("int"),
52
+ * };
53
+ * const command = new ListEntitlementsCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // ListEntitlementsResponse
56
+ * // entitlements: [ // EntitlementsList // required
57
+ * // { // EntitlementsListMember
58
+ * // entitlementId: "STRING_VALUE", // required
59
+ * // entitlement: { // EntitlementSummary Union: only one key present
60
+ * // principalRole: { // PrincipalRoleEntitlementSummary
61
+ * // principal: { // Principal Union: only one key present
62
+ * // identityCenter: { // IdentityCenterPrincipal Union: only one key present
63
+ * // userId: "STRING_VALUE",
64
+ * // groupId: "STRING_VALUE",
65
+ * // },
66
+ * // },
67
+ * // roleArn: "STRING_VALUE", // required
68
+ * // account: "STRING_VALUE", // required
69
+ * // accountName: "STRING_VALUE",
70
+ * // },
71
+ * // },
72
+ * // createdAt: new Date("TIMESTAMP"), // required
73
+ * // },
74
+ * // ],
75
+ * // nextToken: "STRING_VALUE",
76
+ * // };
77
+ *
78
+ * ```
79
+ *
80
+ * @param ListEntitlementsCommandInput - {@link ListEntitlementsCommandInput}
81
+ * @returns {@link ListEntitlementsCommandOutput}
82
+ * @see {@link ListEntitlementsCommandInput} for command's `input` shape.
83
+ * @see {@link ListEntitlementsCommandOutput} for command's `response` shape.
84
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
85
+ *
86
+ * @throws {@link AccessDeniedException} (client fault)
87
+ * <p>You do not have sufficient access to perform this operation.</p>
88
+ *
89
+ * @throws {@link InternalServerException} (server fault)
90
+ * <p>An internal service error occurred. Try your request again later.</p>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
100
+ *
101
+ * @throws {@link AccountAccessServiceException}
102
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class ListEntitlementsCommand extends ListEntitlementsCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: ListEntitlementsRequest;
112
+ output: ListEntitlementsResponse;
113
+ };
114
+ sdk: {
115
+ input: ListEntitlementsCommandInput;
116
+ output: ListEntitlementsCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -0,0 +1,85 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListTagsForResourceCommand}.
11
+ */
12
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListTagsForResourceCommand}.
18
+ */
19
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const ListTagsForResourceCommand_base: {
22
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the tags associated with an account access manager resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, ListTagsForResourceCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // ListTagsForResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new ListTagsForResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListTagsForResourceResponse
42
+ * // tags: { // TagsMap
43
+ * // "<keys>": "STRING_VALUE",
44
+ * // },
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
50
+ * @returns {@link ListTagsForResourceCommandOutput}
51
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
52
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An internal service error occurred. Try your request again later.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
66
+ *
67
+ * @throws {@link AccountAccessServiceException}
68
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: ListTagsForResourceRequest;
78
+ output: ListTagsForResourceResponse;
79
+ };
80
+ sdk: {
81
+ input: ListTagsForResourceCommandInput;
82
+ output: ListTagsForResourceCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,84 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link TagResourceCommand}.
11
+ */
12
+ export interface TagResourceCommandInput extends TagResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link TagResourceCommand}.
18
+ */
19
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const TagResourceCommand_base: {
22
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Adds tags to an account access manager resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, TagResourceCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, TagResourceCommand } = require("@aws-sdk/client-account-access"); // CommonJS import
33
+ * // import type { AccountAccessClientConfig } from "@aws-sdk/client-account-access";
34
+ * const config = {}; // type is AccountAccessClientConfig
35
+ * const client = new AccountAccessClient(config);
36
+ * const input = { // TagResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tags: { // TagsMap // required
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * };
42
+ * const command = new TagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
49
+ * @returns {@link TagResourceCommandOutput}
50
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
52
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
53
+ *
54
+ * @throws {@link InternalServerException} (server fault)
55
+ * <p>An internal service error occurred. Try your request again later.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
65
+ *
66
+ * @throws {@link AccountAccessServiceException}
67
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
68
+ *
69
+ *
70
+ * @public
71
+ */
72
+ export declare class TagResourceCommand extends TagResourceCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: TagResourceRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: TagResourceCommandInput;
81
+ output: TagResourceCommandOutput;
82
+ };
83
+ };
84
+ }