@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.
- package/LICENSE +201 -0
- package/README.md +194 -2
- package/dist-cjs/index.js +517 -0
- package/dist-es/AccountAccessRuntime.js +15 -0
- package/dist-es/AccountAccessRuntimeClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +36 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/GetRoleCredentialsCommand.js +4 -0
- package/dist-es/commands/ListRolesCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/AccountAccessRuntimeServiceException.js +9 -0
- package/dist-es/models/enums.js +3 -0
- package/dist-es/models/errors.js +66 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRolesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +28 -0
- package/dist-es/runtimeConfig.js +53 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +125 -0
- package/dist-types/AccountAccessRuntime.d.ts +37 -0
- package/dist-types/AccountAccessRuntimeClient.d.ts +183 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/GetRoleCredentialsCommand.d.ts +97 -0
- package/dist-types/commands/ListRolesCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/AccountAccessRuntimeServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/errors.d.ts +67 -0
- package/dist-types/models/models_0.d.ts +156 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListRolesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +54 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +53 -0
- package/dist-types/runtimeConfig.shared.d.ts +34 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +23 -0
- package/dist-types/ts3.4/AccountAccessRuntime.d.ts +53 -0
- package/dist-types/ts3.4/AccountAccessRuntimeClient.d.ts +106 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +23 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +40 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRolesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/AccountAccessRuntimeServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +4 -0
- package/dist-types/ts3.4/models/errors.d.ts +32 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListRolesPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +39 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
- package/package.json +67 -4
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
|
+
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
3
|
+
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import { AccountAccessRuntimeClientConfig } from "./AccountAccessRuntimeClient";
|
|
5
|
+
export declare const getRuntimeConfig: (config: AccountAccessRuntimeClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (
|
|
11
|
+
params: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
|
+
context?: {
|
|
13
|
+
logger?: import("@smithy/types").Logger;
|
|
14
|
+
},
|
|
15
|
+
) => import("@smithy/types").EndpointV2;
|
|
16
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").AccountAccessRuntimeHttpAuthSchemeProvider;
|
|
18
|
+
httpAuthSchemes: {
|
|
19
|
+
schemeId: string;
|
|
20
|
+
identityProvider: (
|
|
21
|
+
ipc: IdentityProviderConfig,
|
|
22
|
+
) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
23
|
+
signer: HttpBearerAuthSigner;
|
|
24
|
+
}[];
|
|
25
|
+
logger: import("@smithy/types").Logger;
|
|
26
|
+
protocol:
|
|
27
|
+
| import("@smithy/types").$ClientProtocol<any, any>
|
|
28
|
+
| import("@smithy/types").$ClientProtocolCtor<any, any>
|
|
29
|
+
| typeof AwsRestJsonProtocol;
|
|
30
|
+
protocolSettings: {
|
|
31
|
+
[setting: string]: unknown;
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
};
|
|
34
|
+
serviceId: string;
|
|
35
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
36
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
39
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AccountAccessRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: AccountAccessRuntimeExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
11
|
+
) => any;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
+
import {
|
|
3
|
+
StaticErrorSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticStructureSchema,
|
|
6
|
+
StaticUnionSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var AccountAccessRuntimeServiceException$: StaticErrorSchema;
|
|
9
|
+
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
12
|
+
export declare var UnauthorizedException$: StaticErrorSchema;
|
|
13
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
15
|
+
export declare var AccessDetails$: StaticStructureSchema;
|
|
16
|
+
export declare var GetRoleCredentialsRequest$: StaticStructureSchema;
|
|
17
|
+
export declare var GetRoleCredentialsResponse$: StaticStructureSchema;
|
|
18
|
+
export declare var ListRolesRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var ListRolesResponse$: StaticStructureSchema;
|
|
20
|
+
export declare var ProgrammaticAccessDetails$: StaticStructureSchema;
|
|
21
|
+
export declare var CredentialsDetails$: StaticUnionSchema;
|
|
22
|
+
export declare var GetRoleCredentials$: StaticOperationSchema;
|
|
23
|
+
export declare var ListRoles$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,69 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-account-access-runtime",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "3.1163.0",
|
|
4
|
+
"description": "AWS SDK for JavaScript Account Access Runtime Client for Node.js, Browser and React Native",
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-account-access-runtime",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-account-access-runtime"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
38
|
+
"build:cjs": "node ../../scripts/compilation/inline",
|
|
39
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
40
|
+
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
41
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
42
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
43
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
44
|
+
"extract:docs": "api-extractor run --local",
|
|
45
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
46
|
+
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@aws-sdk/core": "^3.980.0",
|
|
50
|
+
"@aws-sdk/token-providers": "3.1163.0",
|
|
51
|
+
"@aws-sdk/types": "^3.975.0",
|
|
52
|
+
"@smithy/core": "^3.38.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
|
+
"tslib": "^2.6.2"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@tsconfig/node20": "20.1.8",
|
|
60
|
+
"@types/node": "^20.14.8",
|
|
61
|
+
"concurrently": "7.0.0",
|
|
62
|
+
"downlevel-dts": "0.10.1",
|
|
63
|
+
"premove": "4.0.0",
|
|
64
|
+
"typescript": "~7.0.2"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=20.0.0"
|
|
68
|
+
}
|
|
69
|
+
}
|