@aws-sdk/client-account-access-runtime 0.0.0-stage → 3.1163.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 (82) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +194 -2
  3. package/dist-cjs/index.js +517 -0
  4. package/dist-es/AccountAccessRuntime.js +15 -0
  5. package/dist-es/AccountAccessRuntimeClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +36 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/GetRoleCredentialsCommand.js +4 -0
  10. package/dist-es/commands/ListRolesCommand.js +4 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/endpoint/EndpointParameters.js +11 -0
  13. package/dist-es/endpoint/bdd.js +29 -0
  14. package/dist-es/endpoint/endpointResolver.js +14 -0
  15. package/dist-es/extensionConfiguration.js +1 -0
  16. package/dist-es/index.js +10 -0
  17. package/dist-es/models/AccountAccessRuntimeServiceException.js +9 -0
  18. package/dist-es/models/enums.js +3 -0
  19. package/dist-es/models/errors.js +66 -0
  20. package/dist-es/models/models_0.js +1 -0
  21. package/dist-es/pagination/Interfaces.js +1 -0
  22. package/dist-es/pagination/ListRolesPaginator.js +4 -0
  23. package/dist-es/pagination/index.js +2 -0
  24. package/dist-es/runtimeConfig.browser.js +28 -0
  25. package/dist-es/runtimeConfig.js +53 -0
  26. package/dist-es/runtimeConfig.native.js +9 -0
  27. package/dist-es/runtimeConfig.shared.js +40 -0
  28. package/dist-es/runtimeExtensions.js +9 -0
  29. package/dist-es/schemas/schemas_0.js +125 -0
  30. package/dist-types/AccountAccessRuntime.d.ts +37 -0
  31. package/dist-types/AccountAccessRuntimeClient.d.ts +183 -0
  32. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  33. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  34. package/dist-types/commandBuilder.d.ts +18 -0
  35. package/dist-types/commands/GetRoleCredentialsCommand.d.ts +97 -0
  36. package/dist-types/commands/ListRolesCommand.d.ts +92 -0
  37. package/dist-types/commands/index.d.ts +2 -0
  38. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  39. package/dist-types/endpoint/bdd.d.ts +2 -0
  40. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  41. package/dist-types/extensionConfiguration.d.ts +9 -0
  42. package/dist-types/index.d.ts +18 -0
  43. package/dist-types/models/AccountAccessRuntimeServiceException.d.ts +15 -0
  44. package/dist-types/models/enums.d.ts +11 -0
  45. package/dist-types/models/errors.d.ts +67 -0
  46. package/dist-types/models/models_0.d.ts +156 -0
  47. package/dist-types/pagination/Interfaces.d.ts +8 -0
  48. package/dist-types/pagination/ListRolesPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +2 -0
  50. package/dist-types/runtimeConfig.browser.d.ts +54 -0
  51. package/dist-types/runtimeConfig.d.ts +57 -0
  52. package/dist-types/runtimeConfig.native.d.ts +53 -0
  53. package/dist-types/runtimeConfig.shared.d.ts +34 -0
  54. package/dist-types/runtimeExtensions.d.ts +17 -0
  55. package/dist-types/schemas/schemas_0.d.ts +23 -0
  56. package/dist-types/ts3.4/AccountAccessRuntime.d.ts +53 -0
  57. package/dist-types/ts3.4/AccountAccessRuntimeClient.d.ts +106 -0
  58. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +23 -0
  59. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +40 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +39 -0
  62. package/dist-types/ts3.4/commands/ListRolesCommand.d.ts +38 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  64. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  65. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  66. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  67. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  68. package/dist-types/ts3.4/index.d.ts +13 -0
  69. package/dist-types/ts3.4/models/AccountAccessRuntimeServiceException.d.ts +10 -0
  70. package/dist-types/ts3.4/models/enums.d.ts +4 -0
  71. package/dist-types/ts3.4/models/errors.d.ts +32 -0
  72. package/dist-types/ts3.4/models/models_0.d.ts +48 -0
  73. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  74. package/dist-types/ts3.4/pagination/ListRolesPaginator.d.ts +8 -0
  75. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  76. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +81 -0
  77. package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
  78. package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
  79. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +39 -0
  80. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  81. package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
  82. package/package.json +67 -4
@@ -0,0 +1,23 @@
1
+ import { HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import { AccountAccessRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ export interface HttpAuthExtensionConfiguration {
4
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
5
+ httpAuthSchemes(): HttpAuthScheme[];
6
+ setHttpAuthSchemeProvider(
7
+ httpAuthSchemeProvider: AccountAccessRuntimeHttpAuthSchemeProvider,
8
+ ): void;
9
+ httpAuthSchemeProvider(): AccountAccessRuntimeHttpAuthSchemeProvider;
10
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
11
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
12
+ }
13
+ export type HttpAuthRuntimeConfig = Partial<{
14
+ httpAuthSchemes: HttpAuthScheme[];
15
+ httpAuthSchemeProvider: AccountAccessRuntimeHttpAuthSchemeProvider;
16
+ token: TokenIdentity | TokenIdentityProvider;
17
+ }>;
18
+ export declare const getHttpAuthExtensionConfiguration: (
19
+ runtimeConfig: HttpAuthRuntimeConfig,
20
+ ) => HttpAuthExtensionConfiguration;
21
+ export declare const resolveHttpAuthRuntimeConfig: (
22
+ config: HttpAuthExtensionConfiguration,
23
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,40 @@
1
+ import {
2
+ HandlerExecutionContext,
3
+ HttpAuthScheme,
4
+ HttpAuthSchemeParameters,
5
+ HttpAuthSchemeParametersProvider,
6
+ HttpAuthSchemeProvider,
7
+ Provider,
8
+ TokenIdentity,
9
+ TokenIdentityProvider,
10
+ } from "@smithy/types";
11
+ import { AccountAccessRuntimeClientResolvedConfig } from "../AccountAccessRuntimeClient";
12
+ export interface AccountAccessRuntimeHttpAuthSchemeParameters extends HttpAuthSchemeParameters {}
13
+ export interface AccountAccessRuntimeHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
14
+ AccountAccessRuntimeClientResolvedConfig,
15
+ HandlerExecutionContext,
16
+ AccountAccessRuntimeHttpAuthSchemeParameters,
17
+ object
18
+ > {}
19
+ export declare const defaultAccountAccessRuntimeHttpAuthSchemeParametersProvider: (
20
+ config: AccountAccessRuntimeClientResolvedConfig,
21
+ context: HandlerExecutionContext,
22
+ input: object,
23
+ ) => Promise<AccountAccessRuntimeHttpAuthSchemeParameters>;
24
+ export interface AccountAccessRuntimeHttpAuthSchemeProvider extends HttpAuthSchemeProvider<AccountAccessRuntimeHttpAuthSchemeParameters> {}
25
+ export declare const defaultAccountAccessRuntimeHttpAuthSchemeProvider: AccountAccessRuntimeHttpAuthSchemeProvider;
26
+ export interface HttpAuthSchemeInputConfig {
27
+ authSchemePreference?: string[] | Provider<string[]>;
28
+ httpAuthSchemes?: HttpAuthScheme[];
29
+ httpAuthSchemeProvider?: AccountAccessRuntimeHttpAuthSchemeProvider;
30
+ token?: TokenIdentity | TokenIdentityProvider;
31
+ }
32
+ export interface HttpAuthSchemeResolvedConfig {
33
+ readonly authSchemePreference: Provider<string[]>;
34
+ readonly httpAuthSchemes: HttpAuthScheme[];
35
+ readonly httpAuthSchemeProvider: AccountAccessRuntimeHttpAuthSchemeProvider;
36
+ readonly token?: TokenIdentityProvider;
37
+ }
38
+ export declare const resolveHttpAuthSchemeConfig: <T>(
39
+ config: T & HttpAuthSchemeInputConfig,
40
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,40 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ AccountAccessRuntimeClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./AccountAccessRuntimeClient";
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
8
+ added: EndpointParameterInstructions,
9
+ plugins: (
10
+ CommandCtor: any,
11
+ clientStack: any,
12
+ config: any,
13
+ options: any,
14
+ ) => import("@smithy/types").Pluggable<any, any>[],
15
+ op: string,
16
+ $: import("@smithy/types").StaticOperationSchema,
17
+ smithyContext?: Record<string, unknown>,
18
+ ) => {
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
22
+ I,
23
+ O,
24
+ AccountAccessRuntimeClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: import("@smithy/types").OptionalParameter<I>
30
+ ): import("@smithy/core/client").CommandImpl<
31
+ I,
32
+ O,
33
+ AccountAccessRuntimeClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ };
39
+ export declare const _ep0: EndpointParameterInstructions;
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetRoleCredentialsRequest, GetRoleCredentialsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetRoleCredentialsCommandInput extends GetRoleCredentialsRequest {}
5
+ export interface GetRoleCredentialsCommandOutput
6
+ extends GetRoleCredentialsResponse, __MetadataBearer {}
7
+ declare const GetRoleCredentialsCommand_base: {
8
+ new (
9
+ input: GetRoleCredentialsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetRoleCredentialsCommandInput,
12
+ GetRoleCredentialsCommandOutput,
13
+ import("..").AccountAccessRuntimeClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetRoleCredentialsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetRoleCredentialsCommandInput,
21
+ GetRoleCredentialsCommandOutput,
22
+ import("..").AccountAccessRuntimeClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetRoleCredentialsCommand extends GetRoleCredentialsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetRoleCredentialsRequest;
32
+ output: GetRoleCredentialsResponse;
33
+ };
34
+ sdk: {
35
+ input: GetRoleCredentialsCommandInput;
36
+ output: GetRoleCredentialsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListRolesRequest, ListRolesResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListRolesCommandInput extends ListRolesRequest {}
5
+ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBearer {}
6
+ declare const ListRolesCommand_base: {
7
+ new (
8
+ input: ListRolesCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ ListRolesCommandInput,
11
+ ListRolesCommandOutput,
12
+ import("..").AccountAccessRuntimeClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: ListRolesCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ListRolesCommandInput,
20
+ ListRolesCommandOutput,
21
+ import("..").AccountAccessRuntimeClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class ListRolesCommand extends ListRolesCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: ListRolesRequest;
31
+ output: ListRolesResponse;
32
+ };
33
+ sdk: {
34
+ input: ListRolesCommandInput;
35
+ output: ListRolesCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./GetRoleCredentialsCommand";
2
+ export * from "./ListRolesCommand";
@@ -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 AccountAccessRuntimeExtensionConfiguration
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
8
+ DefaultExtensionConfiguration,
9
+ AwsRegionExtensionConfiguration,
10
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,13 @@
1
+ export * from "./AccountAccessRuntimeClient";
2
+ export * from "./AccountAccessRuntime";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { AccountAccessRuntimeExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
8
+ export * from "./pagination";
9
+ export * from "./schemas/schemas_0";
10
+ export * from "./models/enums";
11
+ export * from "./models/errors";
12
+ export * from "./models/models_0";
13
+ export { AccountAccessRuntimeServiceException } from "./models/AccountAccessRuntimeServiceException";
@@ -0,0 +1,10 @@
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 AccountAccessRuntimeServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1,4 @@
1
+ export declare const AccessType: {
2
+ readonly PROGRAMMATIC_ACCESS: "PROGRAMMATIC_ACCESS";
3
+ };
4
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
@@ -0,0 +1,32 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
+ import { AccountAccessRuntimeServiceException as __BaseException } from "./AccountAccessRuntimeServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ static readonly shapeId: string;
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
+ }
9
+ export declare class InternalServerException extends __BaseException {
10
+ static readonly shapeId: string;
11
+ readonly name: "InternalServerException";
12
+ readonly $fault: "server";
13
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
14
+ }
15
+ export declare class ThrottlingException extends __BaseException {
16
+ static readonly shapeId: string;
17
+ readonly name: "ThrottlingException";
18
+ readonly $fault: "client";
19
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
20
+ }
21
+ export declare class UnauthorizedException extends __BaseException {
22
+ static readonly shapeId: string;
23
+ readonly name: "UnauthorizedException";
24
+ readonly $fault: "client";
25
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
26
+ }
27
+ export declare class ValidationException extends __BaseException {
28
+ static readonly shapeId: string;
29
+ readonly name: "ValidationException";
30
+ readonly $fault: "client";
31
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
32
+ }
@@ -0,0 +1,48 @@
1
+ import { AccessType } from "./enums";
2
+ export interface AccessDetails {
3
+ accountId: string | undefined;
4
+ accountName?: string | undefined;
5
+ roleArn: string | undefined;
6
+ }
7
+ export interface GetRoleCredentialsRequest {
8
+ tenantId: string | undefined;
9
+ roleArn: string | undefined;
10
+ accessType: AccessType | undefined;
11
+ sessionName?: string | undefined;
12
+ sessionDuration?: number | undefined;
13
+ }
14
+ export interface ProgrammaticAccessDetails {
15
+ accessKeyId: string | undefined;
16
+ secretAccessKey: string | undefined;
17
+ sessionToken: string | undefined;
18
+ expiresAt: Date | undefined;
19
+ }
20
+ export type CredentialsDetails =
21
+ | CredentialsDetails.ProgrammaticAccessMember
22
+ | CredentialsDetails.$UnknownMember;
23
+ export declare namespace CredentialsDetails {
24
+ interface ProgrammaticAccessMember {
25
+ programmaticAccess: ProgrammaticAccessDetails;
26
+ $unknown?: never;
27
+ }
28
+ interface $UnknownMember {
29
+ programmaticAccess?: never;
30
+ $unknown: [string, any];
31
+ }
32
+ interface Visitor<T> {
33
+ programmaticAccess: (value: ProgrammaticAccessDetails) => T;
34
+ _: (name: string, value: any) => T;
35
+ }
36
+ }
37
+ export interface GetRoleCredentialsResponse {
38
+ credentialsDetails?: CredentialsDetails | undefined;
39
+ }
40
+ export interface ListRolesRequest {
41
+ tenantId: string | undefined;
42
+ maxResults?: number | undefined;
43
+ nextToken?: string | undefined;
44
+ }
45
+ export interface ListRolesResponse {
46
+ roles: AccessDetails[] | undefined;
47
+ nextToken?: string | undefined;
48
+ }
@@ -0,0 +1,5 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { AccountAccessRuntimeClient } from "../AccountAccessRuntimeClient";
3
+ export interface AccountAccessRuntimePaginationConfiguration extends PaginationConfiguration {
4
+ client: AccountAccessRuntimeClient;
5
+ }
@@ -0,0 +1,8 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListRolesCommandInput, ListRolesCommandOutput } from "../commands/ListRolesCommand";
3
+ import { AccountAccessRuntimePaginationConfiguration } from "./Interfaces";
4
+ export declare const paginateListRoles: (
5
+ config: AccountAccessRuntimePaginationConfiguration,
6
+ input: ListRolesCommandInput,
7
+ ...rest: any[]
8
+ ) => Paginator<ListRolesCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListRolesPaginator";
@@ -0,0 +1,81 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { AccountAccessRuntimeClientConfig } from "./AccountAccessRuntimeClient";
3
+ export declare const getRuntimeConfig: (config: AccountAccessRuntimeClientConfig) => {
4
+ cacheMiddleware?: boolean;
5
+ customUserAgent?: string | import("@smithy/types").UserAgent;
6
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
7
+ endpoint?:
8
+ | ((
9
+ | string
10
+ | import("@smithy/types").Endpoint
11
+ | import("@smithy/types").EndpointV2
12
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
13
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
14
+ ) &
15
+ (
16
+ | string
17
+ | import("@smithy/types").Endpoint
18
+ | import("@smithy/types").EndpointV2
19
+ | import("@smithy/types").Provider<string>
20
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
21
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
22
+ ))
23
+ | undefined;
24
+ tls?: boolean;
25
+ ignoreConfiguredEndpointUrls?: boolean;
26
+ serviceConfiguredEndpoint?: never;
27
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
28
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
29
+ token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
30
+ apiVersion: string;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: (_input: Uint8Array | string) => string;
33
+ disableHostPrefix: boolean;
34
+ endpointProvider: (
35
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
36
+ context?: {
37
+ logger?: import("@smithy/types").Logger;
38
+ },
39
+ ) => import("@smithy/types").EndpointV2;
40
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccountAccessRuntimeHttpAuthSchemeProvider;
42
+ httpAuthSchemes: {
43
+ schemeId: string;
44
+ identityProvider: (
45
+ ipc: import("@smithy/types").IdentityProviderConfig,
46
+ ) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
47
+ signer: import("@smithy/core").HttpBearerAuthSigner;
48
+ }[];
49
+ logger: import("@smithy/types").Logger;
50
+ protocol:
51
+ | import("@smithy/types").$ClientProtocol<any, any>
52
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
53
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
54
+ protocolSettings: {
55
+ [setting: string]: unknown;
56
+ defaultNamespace?: string;
57
+ };
58
+ serviceId: string;
59
+ sha256: import("@smithy/types").HashConstructor;
60
+ urlParser: import("@smithy/types").UrlParser;
61
+ utf8Decoder: import("@smithy/types").Decoder;
62
+ utf8Encoder: (input: Uint8Array | string) => string;
63
+ profile?: string;
64
+ runtime: string;
65
+ defaultsMode: import("@smithy/types").Provider<
66
+ import("@smithy/core/client").ResolvedDefaultsMode
67
+ >;
68
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
69
+ defaultUserAgentProvider: (
70
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
71
+ ) => Promise<import("@smithy/types").UserAgent>;
72
+ maxAttempts: number | import("@smithy/types").Provider<number>;
73
+ region: string | import("@smithy/types").Provider<any>;
74
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
75
+ retryMode: string | import("@smithy/types").Provider<string>;
76
+ streamCollector: (
77
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
78
+ ) => Promise<Uint8Array>;
79
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
80
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
81
+ };
@@ -0,0 +1,86 @@
1
+ import { HttpBearerAuthSigner } from "@smithy/core";
2
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
3
+ import { IdentityProviderConfig } from "@smithy/types";
4
+ import { AccountAccessRuntimeClientConfig } from "./AccountAccessRuntimeClient";
5
+ export declare const getRuntimeConfig: (config: AccountAccessRuntimeClientConfig) => {
6
+ cacheMiddleware?: boolean;
7
+ customUserAgent?: string | import("@smithy/types").UserAgent;
8
+ endpoint?:
9
+ | ((
10
+ | string
11
+ | import("@smithy/types").Endpoint
12
+ | import("@smithy/types").EndpointV2
13
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
14
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
15
+ ) &
16
+ (
17
+ | string
18
+ | import("@smithy/types").Endpoint
19
+ | import("@smithy/types").EndpointV2
20
+ | import("@smithy/types").Provider<string>
21
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
22
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
23
+ ))
24
+ | undefined;
25
+ tls?: boolean;
26
+ ignoreConfiguredEndpointUrls?: boolean;
27
+ serviceConfiguredEndpoint?: never;
28
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
29
+ token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
30
+ apiVersion: string;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: (_input: Uint8Array | string) => string;
33
+ disableHostPrefix: boolean;
34
+ endpointProvider: (
35
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
36
+ context?: {
37
+ logger?: import("@smithy/types").Logger;
38
+ },
39
+ ) => import("@smithy/types").EndpointV2;
40
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccountAccessRuntimeHttpAuthSchemeProvider;
42
+ logger: import("@smithy/types").Logger;
43
+ protocol:
44
+ | import("@smithy/types").$ClientProtocol<any, any>
45
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
46
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
47
+ protocolSettings: {
48
+ [setting: string]: unknown;
49
+ defaultNamespace?: string;
50
+ };
51
+ serviceId: string;
52
+ sha256: import("@smithy/types").HashConstructor;
53
+ urlParser: import("@smithy/types").UrlParser;
54
+ utf8Decoder: import("@smithy/types").Decoder;
55
+ utf8Encoder: (input: Uint8Array | string) => string;
56
+ runtime: string;
57
+ defaultsMode: import("@smithy/types").Provider<
58
+ import("@smithy/core/client").ResolvedDefaultsMode
59
+ >;
60
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
61
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
62
+ defaultSocketTimeout: number | undefined;
63
+ defaultUserAgentProvider: (
64
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
65
+ ) => Promise<import("@smithy/types").UserAgent>;
66
+ httpAuthSchemes:
67
+ | import("@smithy/types").HttpAuthScheme[]
68
+ | {
69
+ schemeId: string;
70
+ identityProvider: (
71
+ ipc: IdentityProviderConfig,
72
+ ) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>;
73
+ signer: HttpBearerAuthSigner;
74
+ }[];
75
+ maxAttempts: number | import("@smithy/types").Provider<number>;
76
+ region: string | import("@smithy/types").Provider<string>;
77
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
78
+ retryMode: string | import("@smithy/types").Provider<string>;
79
+ streamCollector: (
80
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
81
+ ) => Promise<Uint8Array>;
82
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
83
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
84
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
85
+ profile?: string;
86
+ };
@@ -0,0 +1,85 @@
1
+ import { AccountAccessRuntimeClientConfig } from "./AccountAccessRuntimeClient";
2
+ export declare const getRuntimeConfig: (config: AccountAccessRuntimeClientConfig) => {
3
+ cacheMiddleware?: boolean;
4
+ customUserAgent?: string | import("@smithy/types").UserAgent;
5
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
6
+ endpoint?:
7
+ | ((
8
+ | string
9
+ | import("@smithy/types").Endpoint
10
+ | import("@smithy/types").EndpointV2
11
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
12
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
13
+ ) &
14
+ (
15
+ | string
16
+ | import("@smithy/types").Endpoint
17
+ | import("@smithy/types").EndpointV2
18
+ | import("@smithy/types").Provider<string>
19
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
20
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
21
+ ))
22
+ | undefined;
23
+ tls?: boolean;
24
+ ignoreConfiguredEndpointUrls?: boolean;
25
+ serviceConfiguredEndpoint?: never;
26
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
27
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
28
+ token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider;
29
+ apiVersion: string;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
32
+ disableHostPrefix: boolean;
33
+ endpointProvider: (
34
+ params: import("./endpoint/EndpointParameters").EndpointParameters,
35
+ context?: {
36
+ logger?: import("@smithy/types").Logger;
37
+ },
38
+ ) => import("@smithy/types").EndpointV2;
39
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccountAccessRuntimeHttpAuthSchemeProvider;
41
+ httpAuthSchemes: {
42
+ schemeId: string;
43
+ identityProvider: (
44
+ ipc: import("@smithy/types").IdentityProviderConfig,
45
+ ) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
46
+ signer: import("@smithy/core").HttpBearerAuthSigner;
47
+ }[];
48
+ logger: import("@smithy/types").Logger;
49
+ protocol:
50
+ | import("@smithy/types").$ClientProtocol<any, any>
51
+ | import("@smithy/types").$ClientProtocolCtor<any, any>
52
+ | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
53
+ protocolSettings: {
54
+ [setting: string]: unknown;
55
+ defaultNamespace?: string;
56
+ };
57
+ serviceId: string;
58
+ sha256: import("@smithy/types").HashConstructor;
59
+ urlParser: import("@smithy/types").UrlParser;
60
+ utf8Decoder: import("@smithy/types").Decoder;
61
+ utf8Encoder: (input: Uint8Array | string) => string;
62
+ profile?: string;
63
+ defaultsMode:
64
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>
65
+ | import("@smithy/core/client").DefaultsMode;
66
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
67
+ defaultUserAgentProvider: (
68
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
69
+ ) => Promise<import("@smithy/types").UserAgent>;
70
+ maxAttempts: number | import("@smithy/types").Provider<number>;
71
+ region: string | import("@smithy/types").Provider<any>;
72
+ requestHandler:
73
+ | import("@smithy/fetch-http-handler").FetchHttpHandler
74
+ | import("@smithy/types").FetchHttpHandlerOptions
75
+ | import("@smithy/types").NodeHttpHandlerOptions
76
+ | Record<string, unknown>
77
+ | import("@smithy/core/protocols").HttpHandler<any>;
78
+ retryMode: string | import("@smithy/types").Provider<string>;
79
+ streamCollector: (
80
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
81
+ ) => Promise<Uint8Array>;
82
+ useDualstackEndpoint: boolean | (() => Promise<boolean>);
83
+ useFipsEndpoint: boolean | (() => Promise<boolean>);
84
+ runtime: string;
85
+ };