@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,197 @@
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
2
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
5
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
6
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
7
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
9
+ import type { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
10
+ import type { CreateEntitlementCommandInput, CreateEntitlementCommandOutput } from "./commands/CreateEntitlementCommand";
11
+ import type { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
12
+ import type { DeleteEntitlementCommandInput, DeleteEntitlementCommandOutput } from "./commands/DeleteEntitlementCommand";
13
+ import type { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
14
+ import type { GetEntitlementCommandInput, GetEntitlementCommandOutput } from "./commands/GetEntitlementCommand";
15
+ import type { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
16
+ import type { ListEntitlementsCommandInput, ListEntitlementsCommandOutput } from "./commands/ListEntitlementsCommand";
17
+ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
+ import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
20
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
21
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
22
+ export { __Client };
23
+ /**
24
+ * @public
25
+ */
26
+ export type ServiceInputTypes = CreateApplicationCommandInput | CreateEntitlementCommandInput | DeleteApplicationCommandInput | DeleteEntitlementCommandInput | GetApplicationCommandInput | GetEntitlementCommandInput | ListApplicationsCommandInput | ListEntitlementsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
27
+ /**
28
+ * @public
29
+ */
30
+ export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateEntitlementCommandOutput | DeleteApplicationCommandOutput | DeleteEntitlementCommandOutput | GetApplicationCommandOutput | GetEntitlementCommandOutput | ListApplicationsCommandOutput | ListEntitlementsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
31
+ /**
32
+ * @public
33
+ */
34
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
35
+ /**
36
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
37
+ */
38
+ requestHandler?: __HttpHandlerUserInput;
39
+ /**
40
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
41
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
42
+ * @internal
43
+ */
44
+ sha256?: __ChecksumConstructor | __HashConstructor;
45
+ /**
46
+ * The function that will be used to convert strings into HTTP endpoints.
47
+ * @internal
48
+ */
49
+ urlParser?: __UrlParser;
50
+ /**
51
+ * A function that can calculate the length of a request body.
52
+ * @internal
53
+ */
54
+ bodyLengthChecker?: __BodyLengthCalculator;
55
+ /**
56
+ * A function that converts a stream into an array of bytes.
57
+ * @internal
58
+ */
59
+ streamCollector?: __StreamCollector;
60
+ /**
61
+ * The function that will be used to convert a base64-encoded string to a byte array.
62
+ * @internal
63
+ */
64
+ base64Decoder?: __Decoder;
65
+ /**
66
+ * The function that will be used to convert binary data to a base64-encoded string.
67
+ * @internal
68
+ */
69
+ base64Encoder?: __Encoder;
70
+ /**
71
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
72
+ * @internal
73
+ */
74
+ utf8Decoder?: __Decoder;
75
+ /**
76
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
77
+ * @internal
78
+ */
79
+ utf8Encoder?: __Encoder;
80
+ /**
81
+ * The runtime environment.
82
+ * @internal
83
+ */
84
+ runtime?: string;
85
+ /**
86
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
87
+ * trait of an operation.
88
+ */
89
+ disableHostPrefix?: boolean;
90
+ /**
91
+ * Unique service identifier.
92
+ * @internal
93
+ */
94
+ serviceId?: string;
95
+ /**
96
+ * Enables IPv6/IPv4 dualstack endpoint.
97
+ */
98
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
99
+ /**
100
+ * Enables FIPS compatible endpoints.
101
+ */
102
+ useFipsEndpoint?: boolean | __Provider<boolean>;
103
+ /**
104
+ * The AWS region to which this client will send requests
105
+ */
106
+ region?: string | __Provider<string>;
107
+ /**
108
+ * Setting a client profile is similar to setting a value for the
109
+ * AWS_PROFILE environment variable. Setting a profile on a client
110
+ * in code only affects the single client instance, unlike AWS_PROFILE.
111
+ *
112
+ * When set, and only for environments where an AWS configuration
113
+ * file exists, fields configurable by this file will be retrieved
114
+ * from the specified profile within that file.
115
+ * Conflicting code configuration and environment variables will
116
+ * still have higher priority.
117
+ *
118
+ * For client credential resolution that involves checking the AWS
119
+ * configuration file, the client's profile (this value) will be
120
+ * used unless a different profile is set in the credential
121
+ * provider options.
122
+ *
123
+ */
124
+ profile?: string;
125
+ /**
126
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
127
+ * @internal
128
+ */
129
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
130
+ /**
131
+ * Default credentials provider; Not available in browser runtime.
132
+ * @deprecated
133
+ * @internal
134
+ */
135
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
136
+ /**
137
+ * Value for how many times a request will be made at most in case of retry.
138
+ */
139
+ maxAttempts?: number | __Provider<number>;
140
+ /**
141
+ * Specifies which retry algorithm to use.
142
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
143
+ *
144
+ */
145
+ retryMode?: string | __Provider<string>;
146
+ /**
147
+ * Optional logger for logging debug/info/warn/error.
148
+ */
149
+ logger?: __Logger;
150
+ /**
151
+ * Optional extensions
152
+ */
153
+ extensions?: RuntimeExtension[];
154
+ /**
155
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
156
+ */
157
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export type AccountAccessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
163
+ /**
164
+ * @public
165
+ *
166
+ * The configuration interface of AccountAccessClient class constructor that set the region, credentials and other options.
167
+ */
168
+ export interface AccountAccessClientConfig extends AccountAccessClientConfigType {
169
+ }
170
+ /**
171
+ * @public
172
+ */
173
+ export type AccountAccessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
174
+ /**
175
+ * @public
176
+ *
177
+ * The resolved configuration interface of AccountAccessClient class. This is resolved and normalized from the {@link AccountAccessClientConfig | constructor configuration interface}.
178
+ */
179
+ export interface AccountAccessClientResolvedConfig extends AccountAccessClientResolvedConfigType {
180
+ }
181
+ /**
182
+ * <p>Account access manager enables you to manage applications and entitlements that grant IAM Identity Center principals access to IAM roles across accounts.</p>
183
+ * @public
184
+ */
185
+ export declare class AccountAccessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AccountAccessClientResolvedConfig> {
186
+ /**
187
+ * The resolved configuration of AccountAccessClient class. This is resolved and normalized from the {@link AccountAccessClientConfig | constructor configuration interface}.
188
+ */
189
+ readonly config: AccountAccessClientResolvedConfig;
190
+ constructor(...[configuration]: __CheckOptionalClientConfig<AccountAccessClientConfig>);
191
+ /**
192
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
193
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
194
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
195
+ */
196
+ destroy(): void;
197
+ }
@@ -0,0 +1,29 @@
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import type { AccountAccessHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: AccountAccessHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): AccountAccessHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: AccountAccessHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,75 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type AccountAccessClientResolvedConfig } from "../AccountAccessClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface AccountAccessHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface AccountAccessHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<AccountAccessClientResolvedConfig, HandlerExecutionContext, AccountAccessHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultAccountAccessHttpAuthSchemeParametersProvider: (config: AccountAccessClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<AccountAccessHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface AccountAccessHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AccountAccessHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultAccountAccessHttpAuthSchemeProvider: AccountAccessHttpAuthSchemeProvider;
28
+ /**
29
+ * @public
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * A comma-separated list of case-sensitive auth scheme names.
34
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
35
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
36
+ * @public
37
+ */
38
+ authSchemePreference?: string[] | Provider<string[]>;
39
+ /**
40
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
41
+ * @internal
42
+ */
43
+ httpAuthSchemes?: HttpAuthScheme[];
44
+ /**
45
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
46
+ * @internal
47
+ */
48
+ httpAuthSchemeProvider?: AccountAccessHttpAuthSchemeProvider;
49
+ }
50
+ /**
51
+ * @internal
52
+ */
53
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
54
+ /**
55
+ * A comma-separated list of case-sensitive auth scheme names.
56
+ * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
57
+ * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
58
+ * @public
59
+ */
60
+ readonly authSchemePreference: Provider<string[]>;
61
+ /**
62
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
63
+ * @internal
64
+ */
65
+ readonly httpAuthSchemes: HttpAuthScheme[];
66
+ /**
67
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
68
+ * @internal
69
+ */
70
+ readonly httpAuthSchemeProvider: AccountAccessHttpAuthSchemeProvider;
71
+ }
72
+ /**
73
+ * @internal
74
+ */
75
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { AccountAccessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./AccountAccessClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, AccountAccessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, AccountAccessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateApplicationCommand}.
11
+ */
12
+ export interface CreateApplicationCommandInput extends CreateApplicationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateApplicationCommand}.
18
+ */
19
+ export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateApplicationCommand_base: {
22
+ new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateApplicationCommandInput): import("@smithy/core/client").CommandImpl<CreateApplicationCommandInput, CreateApplicationCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates an account access manager instance and its Amazon Web Services account access application in the associated IAM Identity Center instance. This operation is idempotent; calling it multiple times with the same parameters returns the existing application.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, CreateApplicationCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, CreateApplicationCommand } = 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 = { // CreateApplicationRequest
37
+ * identitySource: { // IdentitySource Union: only one key present
38
+ * identityCenter: { // IdentityCenter
39
+ * instanceArn: "STRING_VALUE", // required
40
+ * },
41
+ * },
42
+ * tags: { // TagsMap
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * };
46
+ * const command = new CreateApplicationCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // CreateApplicationResponse
49
+ * // applicationArn: "STRING_VALUE", // required
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
55
+ * @returns {@link CreateApplicationCommandOutput}
56
+ * @see {@link CreateApplicationCommandInput} for command's `input` shape.
57
+ * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
58
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient access to perform this operation.</p>
62
+ *
63
+ * @throws {@link AlreadyCreatedException} (client fault)
64
+ * <p>The resource you are trying to create already exists. To retrieve the existing resource, use the corresponding Get operation.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>The request conflicts with the current state of the resource.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An internal service error occurred. Try your request again later.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
74
+ *
75
+ * @throws {@link AccountAccessServiceException}
76
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class CreateApplicationCommand extends CreateApplicationCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: CreateApplicationRequest;
86
+ output: CreateApplicationResponse;
87
+ };
88
+ sdk: {
89
+ input: CreateApplicationCommandInput;
90
+ output: CreateApplicationCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateEntitlementRequest, CreateEntitlementResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateEntitlementCommand}.
11
+ */
12
+ export interface CreateEntitlementCommandInput extends CreateEntitlementRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateEntitlementCommand}.
18
+ */
19
+ export interface CreateEntitlementCommandOutput extends CreateEntitlementResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateEntitlementCommand_base: {
22
+ new (input: CreateEntitlementCommandInput): import("@smithy/core/client").CommandImpl<CreateEntitlementCommandInput, CreateEntitlementCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateEntitlementCommandInput): import("@smithy/core/client").CommandImpl<CreateEntitlementCommandInput, CreateEntitlementCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates an entitlement (assignment) in account access manager. An entitlement (assignment) grants a principal (IAM Identity Center user or group) permission to assume a specified IAM role in an Amazon Web Services account. This operation is idempotent.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AccountAccessClient, CreateEntitlementCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, CreateEntitlementCommand } = 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 = { // CreateEntitlementRequest
37
+ * applicationArn: "STRING_VALUE", // required
38
+ * entitlement: { // Entitlement Union: only one key present
39
+ * principalRole: { // PrincipalRoleEntitlement
40
+ * principal: { // Principal Union: only one key present
41
+ * identityCenter: { // IdentityCenterPrincipal Union: only one key present
42
+ * userId: "STRING_VALUE",
43
+ * groupId: "STRING_VALUE",
44
+ * },
45
+ * },
46
+ * roleArn: "STRING_VALUE", // required
47
+ * },
48
+ * },
49
+ * };
50
+ * const command = new CreateEntitlementCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateEntitlementResponse
53
+ * // entitlementId: "STRING_VALUE", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CreateEntitlementCommandInput - {@link CreateEntitlementCommandInput}
59
+ * @returns {@link CreateEntitlementCommandOutput}
60
+ * @see {@link CreateEntitlementCommandInput} for command's `input` shape.
61
+ * @see {@link CreateEntitlementCommandOutput} for command's `response` shape.
62
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient access to perform this operation.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>The request conflicts with the current state of the resource.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal service error occurred. Try your request again later.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>
75
+ *
76
+ * @throws {@link ServiceQuotaExceededException} (client fault)
77
+ * <p>The request exceeds a service quota for your account.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>The request was denied due to request throttling. Try your request again later.</p>
81
+ *
82
+ * @throws {@link ValidationException} (client fault)
83
+ * <p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>
84
+ *
85
+ * @throws {@link AccountAccessServiceException}
86
+ * <p>Base exception class for all service exceptions from AccountAccess service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class CreateEntitlementCommand extends CreateEntitlementCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: CreateEntitlementRequest;
96
+ output: CreateEntitlementResponse;
97
+ };
98
+ sdk: {
99
+ input: CreateEntitlementCommandInput;
100
+ output: CreateEntitlementCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,84 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteApplicationCommand}.
11
+ */
12
+ export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteApplicationCommand}.
18
+ */
19
+ export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteApplicationCommand_base: {
22
+ new (input: DeleteApplicationCommandInput): import("@smithy/core/client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteApplicationCommandInput): import("@smithy/core/client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, import("..").AccountAccessClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an account access manager application. This operation is idempotent; deleting an application 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, DeleteApplicationCommand } from "@aws-sdk/client-account-access"; // ES Modules import
32
+ * // const { AccountAccessClient, DeleteApplicationCommand } = 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 = { // DeleteApplicationRequest
37
+ * applicationArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteApplicationCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
46
+ * @returns {@link DeleteApplicationCommandOutput}
47
+ * @see {@link DeleteApplicationCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
49
+ * @see {@link AccountAccessClientResolvedConfig | config} for AccountAccessClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>You do not have sufficient access to perform this operation.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of the resource.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An internal service error occurred. Try your request again later.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</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 DeleteApplicationCommand extends DeleteApplicationCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: DeleteApplicationRequest;
77
+ output: {};
78
+ };
79
+ sdk: {
80
+ input: DeleteApplicationCommandInput;
81
+ output: DeleteApplicationCommandOutput;
82
+ };
83
+ };
84
+ }