@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,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UntagResourceCommandInput extends UntagResourceRequest {}
5
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
6
+ declare const UntagResourceCommand_base: {
7
+ new (
8
+ input: UntagResourceCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ UntagResourceCommandInput,
11
+ UntagResourceCommandOutput,
12
+ import("..").AccountAccessClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: UntagResourceCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ UntagResourceCommandInput,
20
+ UntagResourceCommandOutput,
21
+ import("..").AccountAccessClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: UntagResourceRequest;
31
+ output: {};
32
+ };
33
+ sdk: {
34
+ input: UntagResourceCommandInput;
35
+ output: UntagResourceCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -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,45 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
+ endpoint?:
10
+ | string
11
+ | Provider<string>
12
+ | Endpoint
13
+ | Provider<Endpoint>
14
+ | EndpointV2
15
+ | Provider<EndpointV2>;
16
+ region?: string | undefined | Provider<string | undefined>;
17
+ }
18
+ export type ClientResolvedEndpointParameters = Pick<
19
+ ClientInputEndpointParameters,
20
+ Exclude<keyof ClientInputEndpointParameters, "endpoint">
21
+ > & {
22
+ defaultSigningName: string;
23
+ };
24
+ export declare const resolveClientEndpointParameters: <T>(
25
+ options: T & ClientInputEndpointParameters,
26
+ ) => T & ClientResolvedEndpointParameters;
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
41
+ export interface EndpointParameters extends __EndpointParameters {
42
+ UseFIPS?: boolean | undefined;
43
+ Endpoint?: string | undefined;
44
+ Region?: string | undefined;
45
+ }
@@ -0,0 +1,2 @@
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
+ export declare const bdd: BinaryDecisionDiagram;
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ },
8
+ ) => EndpointV2;
@@ -0,0 +1,10 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface AccountAccessExtensionConfiguration
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
8
+ DefaultExtensionConfiguration,
9
+ AwsRegionExtensionConfiguration,
10
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,14 @@
1
+ export * from "./AccountAccessClient";
2
+ export * from "./AccountAccess";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { AccountAccessExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
8
+ export * from "./pagination";
9
+ export * from "./waiters";
10
+ export * from "./schemas/schemas_0";
11
+ export * from "./models/enums";
12
+ export * from "./models/errors";
13
+ export * from "./models/models_0";
14
+ export { AccountAccessServiceException } from "./models/AccountAccessServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
+ } from "@smithy/core/client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class AccountAccessServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1,15 @@
1
+ export declare const ErrorCode: {
2
+ readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
3
+ readonly INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR";
4
+ readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
5
+ readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
6
+ };
7
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
8
+ export declare const Status: {
9
+ readonly ACTIVE: "ACTIVE";
10
+ readonly CREATE_FAILED: "CREATE_FAILED";
11
+ readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
12
+ readonly DELETE_FAILED: "DELETE_FAILED";
13
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
14
+ };
15
+ export type Status = (typeof Status)[keyof typeof Status];
@@ -0,0 +1,42 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { AccountAccessServiceException as __BaseException } from "./AccountAccessServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
+ }
8
+ export declare class AlreadyCreatedException extends __BaseException {
9
+ readonly name: "AlreadyCreatedException";
10
+ readonly $fault: "client";
11
+ constructor(opts: __ExceptionOptionType<AlreadyCreatedException, __BaseException>);
12
+ }
13
+ export declare class ConflictException extends __BaseException {
14
+ readonly name: "ConflictException";
15
+ readonly $fault: "client";
16
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
17
+ }
18
+ export declare class InternalServerException extends __BaseException {
19
+ readonly name: "InternalServerException";
20
+ readonly $fault: "server";
21
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
22
+ }
23
+ export declare class ValidationException extends __BaseException {
24
+ readonly name: "ValidationException";
25
+ readonly $fault: "client";
26
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
27
+ }
28
+ export declare class ResourceNotFoundException extends __BaseException {
29
+ readonly name: "ResourceNotFoundException";
30
+ readonly $fault: "client";
31
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
32
+ }
33
+ export declare class ServiceQuotaExceededException extends __BaseException {
34
+ readonly name: "ServiceQuotaExceededException";
35
+ readonly $fault: "client";
36
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
37
+ }
38
+ export declare class ThrottlingException extends __BaseException {
39
+ readonly name: "ThrottlingException";
40
+ readonly $fault: "client";
41
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
42
+ }
@@ -0,0 +1,289 @@
1
+ import { ErrorCode, Status } from "./enums";
2
+ export interface IdentityCenter {
3
+ instanceArn: string | undefined;
4
+ }
5
+ export type IdentitySource = IdentitySource.IdentityCenterMember | IdentitySource.$UnknownMember;
6
+ export declare namespace IdentitySource {
7
+ interface IdentityCenterMember {
8
+ identityCenter: IdentityCenter;
9
+ $unknown?: never;
10
+ }
11
+ interface $UnknownMember {
12
+ identityCenter?: never;
13
+ $unknown: [string, any];
14
+ }
15
+ interface Visitor<T> {
16
+ identityCenter: (value: IdentityCenter) => T;
17
+ _: (name: string, value: any) => T;
18
+ }
19
+ }
20
+ export interface CreateApplicationRequest {
21
+ identitySource: IdentitySource | undefined;
22
+ tags?: Record<string, string> | undefined;
23
+ }
24
+ export interface CreateApplicationResponse {
25
+ applicationArn: string | undefined;
26
+ }
27
+ export type IdentityCenterPrincipal =
28
+ | IdentityCenterPrincipal.GroupIdMember
29
+ | IdentityCenterPrincipal.UserIdMember
30
+ | IdentityCenterPrincipal.$UnknownMember;
31
+ export declare namespace IdentityCenterPrincipal {
32
+ interface UserIdMember {
33
+ userId: string;
34
+ groupId?: never;
35
+ $unknown?: never;
36
+ }
37
+ interface GroupIdMember {
38
+ userId?: never;
39
+ groupId: string;
40
+ $unknown?: never;
41
+ }
42
+ interface $UnknownMember {
43
+ userId?: never;
44
+ groupId?: never;
45
+ $unknown: [string, any];
46
+ }
47
+ interface Visitor<T> {
48
+ userId: (value: string) => T;
49
+ groupId: (value: string) => T;
50
+ _: (name: string, value: any) => T;
51
+ }
52
+ }
53
+ export type Principal = Principal.IdentityCenterMember | Principal.$UnknownMember;
54
+ export declare namespace Principal {
55
+ interface IdentityCenterMember {
56
+ identityCenter: IdentityCenterPrincipal;
57
+ $unknown?: never;
58
+ }
59
+ interface $UnknownMember {
60
+ identityCenter?: never;
61
+ $unknown: [string, any];
62
+ }
63
+ interface Visitor<T> {
64
+ identityCenter: (value: IdentityCenterPrincipal) => T;
65
+ _: (name: string, value: any) => T;
66
+ }
67
+ }
68
+ export interface PrincipalRoleEntitlement {
69
+ principal: Principal | undefined;
70
+ roleArn: string | undefined;
71
+ }
72
+ export type Entitlement = Entitlement.PrincipalRoleMember | Entitlement.$UnknownMember;
73
+ export declare namespace Entitlement {
74
+ interface PrincipalRoleMember {
75
+ principalRole: PrincipalRoleEntitlement;
76
+ $unknown?: never;
77
+ }
78
+ interface $UnknownMember {
79
+ principalRole?: never;
80
+ $unknown: [string, any];
81
+ }
82
+ interface Visitor<T> {
83
+ principalRole: (value: PrincipalRoleEntitlement) => T;
84
+ _: (name: string, value: any) => T;
85
+ }
86
+ }
87
+ export interface CreateEntitlementRequest {
88
+ applicationArn: string | undefined;
89
+ entitlement: Entitlement | undefined;
90
+ }
91
+ export interface CreateEntitlementResponse {
92
+ entitlementId: string | undefined;
93
+ }
94
+ export interface DeleteApplicationRequest {
95
+ applicationArn: string | undefined;
96
+ }
97
+ export interface DeleteApplicationResponse {}
98
+ export interface DeleteEntitlementRequest {
99
+ applicationArn: string | undefined;
100
+ entitlementId: string | undefined;
101
+ }
102
+ export interface DeleteEntitlementResponse {}
103
+ export interface GetApplicationRequest {
104
+ applicationArn: string | undefined;
105
+ }
106
+ export interface ErrorDetails {
107
+ code: ErrorCode | undefined;
108
+ message: string | undefined;
109
+ }
110
+ export interface IdentityCenterDetails {
111
+ instanceArn: string | undefined;
112
+ applicationArn?: string | undefined;
113
+ }
114
+ export type IdentitySourceDetails =
115
+ | IdentitySourceDetails.IdentityCenterMember
116
+ | IdentitySourceDetails.$UnknownMember;
117
+ export declare namespace IdentitySourceDetails {
118
+ interface IdentityCenterMember {
119
+ identityCenter: IdentityCenterDetails;
120
+ $unknown?: never;
121
+ }
122
+ interface $UnknownMember {
123
+ identityCenter?: never;
124
+ $unknown: [string, any];
125
+ }
126
+ interface Visitor<T> {
127
+ identityCenter: (value: IdentityCenterDetails) => T;
128
+ _: (name: string, value: any) => T;
129
+ }
130
+ }
131
+ export interface GetApplicationResponse {
132
+ identitySource: IdentitySourceDetails | undefined;
133
+ status: Status | undefined;
134
+ tenantId?: string | undefined;
135
+ createdAt: Date | undefined;
136
+ updatedAt: Date | undefined;
137
+ tags?: Record<string, string> | undefined;
138
+ error?: ErrorDetails | undefined;
139
+ }
140
+ export interface GetEntitlementRequest {
141
+ applicationArn: string | undefined;
142
+ entitlementId: string | undefined;
143
+ }
144
+ export interface PrincipalRoleEntitlementDetails {
145
+ principal: Principal | undefined;
146
+ roleArn: string | undefined;
147
+ account: string | undefined;
148
+ accountName?: string | undefined;
149
+ }
150
+ export type EntitlementDetails =
151
+ | EntitlementDetails.PrincipalRoleMember
152
+ | EntitlementDetails.$UnknownMember;
153
+ export declare namespace EntitlementDetails {
154
+ interface PrincipalRoleMember {
155
+ principalRole: PrincipalRoleEntitlementDetails;
156
+ $unknown?: never;
157
+ }
158
+ interface $UnknownMember {
159
+ principalRole?: never;
160
+ $unknown: [string, any];
161
+ }
162
+ interface Visitor<T> {
163
+ principalRole: (value: PrincipalRoleEntitlementDetails) => T;
164
+ _: (name: string, value: any) => T;
165
+ }
166
+ }
167
+ export interface GetEntitlementResponse {
168
+ applicationArn: string | undefined;
169
+ entitlementId: string | undefined;
170
+ entitlement: EntitlementDetails | undefined;
171
+ createdAt: Date | undefined;
172
+ }
173
+ export interface ListApplicationsRequest {
174
+ maxResults?: number | undefined;
175
+ nextToken?: string | undefined;
176
+ }
177
+ export interface ApplicationSummary {
178
+ applicationArn: string | undefined;
179
+ tenantId?: string | undefined;
180
+ createdAt: Date | undefined;
181
+ updatedAt: Date | undefined;
182
+ }
183
+ export interface ListApplicationsResponse {
184
+ applications: ApplicationSummary[] | undefined;
185
+ nextToken?: string | undefined;
186
+ }
187
+ export type IdentityCenterPrincipalFilter =
188
+ | IdentityCenterPrincipalFilter.GroupIdMember
189
+ | IdentityCenterPrincipalFilter.UserIdMember
190
+ | IdentityCenterPrincipalFilter.$UnknownMember;
191
+ export declare namespace IdentityCenterPrincipalFilter {
192
+ interface UserIdMember {
193
+ userId: string;
194
+ groupId?: never;
195
+ $unknown?: never;
196
+ }
197
+ interface GroupIdMember {
198
+ userId?: never;
199
+ groupId: string;
200
+ $unknown?: never;
201
+ }
202
+ interface $UnknownMember {
203
+ userId?: never;
204
+ groupId?: never;
205
+ $unknown: [string, any];
206
+ }
207
+ interface Visitor<T> {
208
+ userId: (value: string) => T;
209
+ groupId: (value: string) => T;
210
+ _: (name: string, value: any) => T;
211
+ }
212
+ }
213
+ export type PrincipalFilter = PrincipalFilter.IdentityCenterMember | PrincipalFilter.$UnknownMember;
214
+ export declare namespace PrincipalFilter {
215
+ interface IdentityCenterMember {
216
+ identityCenter: IdentityCenterPrincipalFilter;
217
+ $unknown?: never;
218
+ }
219
+ interface $UnknownMember {
220
+ identityCenter?: never;
221
+ $unknown: [string, any];
222
+ }
223
+ interface Visitor<T> {
224
+ identityCenter: (value: IdentityCenterPrincipalFilter) => T;
225
+ _: (name: string, value: any) => T;
226
+ }
227
+ }
228
+ export interface PrincipalRoleEntitlementFilter {
229
+ principal?: PrincipalFilter | undefined;
230
+ roleArn?: string | undefined;
231
+ account?: string | undefined;
232
+ }
233
+ export interface EntitlementFilter {
234
+ principalRole?: PrincipalRoleEntitlementFilter | undefined;
235
+ }
236
+ export interface ListEntitlementsRequest {
237
+ applicationArn: string | undefined;
238
+ filter: EntitlementFilter | undefined;
239
+ nextToken?: string | undefined;
240
+ maxResults?: number | undefined;
241
+ }
242
+ export interface PrincipalRoleEntitlementSummary {
243
+ principal: Principal | undefined;
244
+ roleArn: string | undefined;
245
+ account: string | undefined;
246
+ accountName?: string | undefined;
247
+ }
248
+ export type EntitlementSummary =
249
+ | EntitlementSummary.PrincipalRoleMember
250
+ | EntitlementSummary.$UnknownMember;
251
+ export declare namespace EntitlementSummary {
252
+ interface PrincipalRoleMember {
253
+ principalRole: PrincipalRoleEntitlementSummary;
254
+ $unknown?: never;
255
+ }
256
+ interface $UnknownMember {
257
+ principalRole?: never;
258
+ $unknown: [string, any];
259
+ }
260
+ interface Visitor<T> {
261
+ principalRole: (value: PrincipalRoleEntitlementSummary) => T;
262
+ _: (name: string, value: any) => T;
263
+ }
264
+ }
265
+ export interface EntitlementsListMember {
266
+ entitlementId: string | undefined;
267
+ entitlement: EntitlementSummary | undefined;
268
+ createdAt: Date | undefined;
269
+ }
270
+ export interface ListEntitlementsResponse {
271
+ entitlements: EntitlementsListMember[] | undefined;
272
+ nextToken?: string | undefined;
273
+ }
274
+ export interface ListTagsForResourceRequest {
275
+ resourceArn: string | undefined;
276
+ }
277
+ export interface ListTagsForResourceResponse {
278
+ tags?: Record<string, string> | undefined;
279
+ }
280
+ export interface TagResourceRequest {
281
+ resourceArn: string | undefined;
282
+ tags: Record<string, string> | undefined;
283
+ }
284
+ export interface TagResourceResponse {}
285
+ export interface UntagResourceRequest {
286
+ resourceArn: string | undefined;
287
+ tagKeys: string[] | undefined;
288
+ }
289
+ export interface UntagResourceResponse {}
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { AccountAccessClient } from "../AccountAccessClient";
3
+ export interface AccountAccessPaginationConfiguration extends PaginationConfiguration {
4
+ client: AccountAccessClient;
5
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListApplicationsCommandInput,
4
+ ListApplicationsCommandOutput,
5
+ } from "../commands/ListApplicationsCommand";
6
+ import { AccountAccessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListApplications: (
8
+ config: AccountAccessPaginationConfiguration,
9
+ input: ListApplicationsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListApplicationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEntitlementsCommandInput,
4
+ ListEntitlementsCommandOutput,
5
+ } from "../commands/ListEntitlementsCommand";
6
+ import { AccountAccessPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEntitlements: (
8
+ config: AccountAccessPaginationConfiguration,
9
+ input: ListEntitlementsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEntitlementsCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListApplicationsPaginator";
3
+ export * from "./ListEntitlementsPaginator";
@@ -0,0 +1,95 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { AccountAccessClientConfig } from "./AccountAccessClient";
3
+ export declare const getRuntimeConfig: (config: AccountAccessClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/core/client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
14
+ ) => Promise<import("@smithy/types").UserAgent>;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ streamCollector: (
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
21
+ ) => Promise<Uint8Array>;
22
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
23
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
24
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
25
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ cacheMiddleware?: boolean | undefined;
27
+ protocol:
28
+ | import("@smithy/types").ClientProtocol<any, any>
29
+ | import("@smithy/types").ClientProtocolCtor<any, any>
30
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
31
+ protocolSettings: {
32
+ defaultNamespace?: string;
33
+ [setting: string]: unknown;
34
+ };
35
+ apiVersion: string;
36
+ sha256: import("@smithy/types").HashConstructor;
37
+ urlParser: import("@smithy/types").UrlParser;
38
+ base64Decoder: import("@smithy/types").Decoder;
39
+ base64Encoder: (_input: Uint8Array | string) => string;
40
+ utf8Decoder: import("@smithy/types").Decoder;
41
+ utf8Encoder: (input: Uint8Array | string) => string;
42
+ disableHostPrefix: boolean;
43
+ serviceId: string;
44
+ profile?: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
50
+ endpoint?:
51
+ | ((
52
+ | string
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
+ | import("@smithy/types").EndpointV2
56
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ ) &
58
+ (
59
+ | string
60
+ | import("@smithy/types").Provider<string>
61
+ | import("@smithy/types").Endpoint
62
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
+ | import("@smithy/types").EndpointV2
64
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
+ ))
66
+ | undefined;
67
+ endpointProvider: (
68
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
+ context?: {
70
+ logger?: import("@smithy/types").Logger;
71
+ },
72
+ ) => import("@smithy/types").EndpointV2;
73
+ tls?: boolean;
74
+ ignoreConfiguredEndpointUrls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
77
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccountAccessHttpAuthSchemeProvider;
79
+ credentials?:
80
+ | import("@smithy/types").AwsCredentialIdentity
81
+ | import("@smithy/types").AwsCredentialIdentityProvider;
82
+ signer?:
83
+ | import("@smithy/types").RequestSigner
84
+ | ((
85
+ authScheme?: import("@smithy/types").AuthScheme,
86
+ ) => Promise<import("@smithy/types").RequestSigner>);
87
+ signingEscapePath?: boolean;
88
+ systemClockOffset?: number;
89
+ signingRegion?: string;
90
+ signerConstructor?: new (
91
+ options: import("@smithy/signature-v4").SignatureV4Init &
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
93
+ ) => import("@smithy/types").RequestSigner;
94
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
95
+ };