@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,84 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UntagResourceCommand}.
11
+ */
12
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UntagResourceCommand}.
18
+ */
19
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
20
+ }
21
+ declare const UntagResourceCommand_base: {
22
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Removes tags from 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, UntagResourceCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
37
+ * resourceArn: "STRING_VALUE", // required
38
+ * tagKeys: [ // TagKeys // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new UntagResourceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
49
+ * @returns {@link UntagResourceCommandOutput}
50
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
51
+ * @see {@link UntagResourceCommandOutput} 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 UntagResourceCommand extends UntagResourceCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: UntagResourceRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: UntagResourceCommandInput;
81
+ output: UntagResourceCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -0,0 +1,11 @@
1
+ export * from "./CreateApplicationCommand";
2
+ export * from "./CreateEntitlementCommand";
3
+ export * from "./DeleteApplicationCommand";
4
+ export * from "./DeleteEntitlementCommand";
5
+ export * from "./GetApplicationCommand";
6
+ export * from "./GetEntitlementCommand";
7
+ export * from "./ListApplicationsCommand";
8
+ export * from "./ListEntitlementsCommand";
9
+ export * from "./ListTagsForResourceCommand";
10
+ export * from "./TagResourceCommand";
11
+ export * from "./UntagResourceCommand";
@@ -0,0 +1,44 @@
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | undefined | Provider<string | undefined>;
9
+ }
10
+ /**
11
+ * @public
12
+ */
13
+ export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
14
+ defaultSigningName: string;
15
+ };
16
+ /**
17
+ * @internal
18
+ */
19
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
20
+ /**
21
+ * @internal
22
+ */
23
+ export declare const commonParams: {
24
+ readonly UseFIPS: {
25
+ readonly type: "builtInParams";
26
+ readonly name: "useFipsEndpoint";
27
+ };
28
+ readonly Endpoint: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "endpoint";
31
+ };
32
+ readonly Region: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "region";
35
+ };
36
+ };
37
+ /**
38
+ * @internal
39
+ */
40
+ export interface EndpointParameters extends __EndpointParameters {
41
+ UseFIPS?: boolean | undefined;
42
+ Endpoint?: string | undefined;
43
+ Region?: string | undefined;
44
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
7
+ logger?: Logger;
8
+ }) => EndpointV2;
@@ -0,0 +1,9 @@
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface AccountAccessExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * <p>Account access manager enables you to manage applications and entitlements that grant IAM Identity Center principals access to IAM roles across accounts.</p>
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./AccountAccessClient";
7
+ export * from "./AccountAccess";
8
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { AccountAccessExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
13
+ export * from "./pagination";
14
+ export * from "./waiters";
15
+ export * from "./schemas/schemas_0";
16
+ export * from "./models/enums";
17
+ export * from "./models/errors";
18
+ export * from "./models/models_0";
19
+ export { AccountAccessServiceException } from "./models/AccountAccessServiceException";
@@ -0,0 +1,14 @@
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from AccountAccess service.
8
+ */
9
+ export declare class AccountAccessServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ErrorCode: {
6
+ readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
7
+ readonly INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR";
8
+ readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
9
+ readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const Status: {
20
+ readonly ACTIVE: "ACTIVE";
21
+ readonly CREATE_FAILED: "CREATE_FAILED";
22
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
23
+ readonly DELETE_FAILED: "DELETE_FAILED";
24
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
25
+ };
26
+ /**
27
+ * @public
28
+ */
29
+ export type Status = (typeof Status)[keyof typeof Status];
@@ -0,0 +1,98 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { AccountAccessServiceException as __BaseException } from "./AccountAccessServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access to perform this operation.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>The resource you are trying to create already exists. To retrieve the existing resource, use the corresponding Get operation.</p>
17
+ * @public
18
+ */
19
+ export declare class AlreadyCreatedException extends __BaseException {
20
+ readonly name: "AlreadyCreatedException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<AlreadyCreatedException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The request conflicts with the current state of the resource.</p>
29
+ * @public
30
+ */
31
+ export declare class ConflictException extends __BaseException {
32
+ readonly name: "ConflictException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>An internal service error occurred. Try your request again later.</p>
41
+ * @public
42
+ */
43
+ export declare class InternalServerException extends __BaseException {
44
+ readonly name: "InternalServerException";
45
+ readonly $fault: "server";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
53
+ * @public
54
+ */
55
+ export declare class ValidationException extends __BaseException {
56
+ readonly name: "ValidationException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
62
+ }
63
+ /**
64
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
65
+ * @public
66
+ */
67
+ export declare class ResourceNotFoundException extends __BaseException {
68
+ readonly name: "ResourceNotFoundException";
69
+ readonly $fault: "client";
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>The request exceeds a service quota for your account.</p>
77
+ * @public
78
+ */
79
+ export declare class ServiceQuotaExceededException extends __BaseException {
80
+ readonly name: "ServiceQuotaExceededException";
81
+ readonly $fault: "client";
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
89
+ * @public
90
+ */
91
+ export declare class ThrottlingException extends __BaseException {
92
+ readonly name: "ThrottlingException";
93
+ readonly $fault: "client";
94
+ /**
95
+ * @internal
96
+ */
97
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
98
+ }