@aws-sdk/client-artifact 3.515.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 +253 -0
- package/dist-cjs/Artifact.js +23 -0
- package/dist-cjs/ArtifactClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +28 -0
- package/dist-cjs/commands/GetReportCommand.js +28 -0
- package/dist-cjs/commands/GetReportMetadataCommand.js +28 -0
- package/dist-cjs/commands/GetTermForReportCommand.js +28 -0
- package/dist-cjs/commands/ListReportsCommand.js +28 -0
- package/dist-cjs/commands/PutAccountSettingsCommand.js +28 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/ArtifactServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +138 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListReportsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +432 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Artifact.js +19 -0
- package/dist-es/ArtifactClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +24 -0
- package/dist-es/commands/GetReportCommand.js +24 -0
- package/dist-es/commands/GetReportMetadataCommand.js +24 -0
- package/dist-es/commands/GetTermForReportCommand.js +24 -0
- package/dist-es/commands/ListReportsCommand.js +24 -0
- package/dist-es/commands/PutAccountSettingsCommand.js +24 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ArtifactServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +128 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListReportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +417 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Artifact.d.ts +52 -0
- package/dist-types/ArtifactClient.d.ts +177 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +79 -0
- package/dist-types/commands/GetReportCommand.d.ts +81 -0
- package/dist-types/commands/GetReportMetadataCommand.d.ts +98 -0
- package/dist-types/commands/GetTermForReportCommand.d.ts +81 -0
- package/dist-types/commands/ListReportsCommand.d.ts +95 -0
- package/dist-types/commands/PutAccountSettingsCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/ArtifactServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +605 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +56 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Artifact.d.ts +107 -0
- package/dist-types/ts3.4/ArtifactClient.d.ts +156 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetReportCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetReportMetadataCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetTermForReportCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/PutAccountSettingsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/ArtifactServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +187 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { ArtifactClientConfig } from "./ArtifactClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| (import("@smithy/types").RequestHandler<
|
|
7
|
+
any,
|
|
8
|
+
any,
|
|
9
|
+
import("@smithy/types").HttpHandlerOptions
|
|
10
|
+
> &
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
19
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
20
|
+
apiVersion: string;
|
|
21
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
22
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
24
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
25
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
26
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
28
|
+
disableHostPrefix: boolean;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
33
|
+
import("@smithy/types").UserAgent
|
|
34
|
+
>;
|
|
35
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
36
|
+
credentialDefaultProvider: (
|
|
37
|
+
input: any
|
|
38
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
39
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
40
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
41
|
+
logger: import("@smithy/types").Logger;
|
|
42
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
defaultsMode:
|
|
44
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
45
|
+
| import("@smithy/types").Provider<
|
|
46
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
47
|
+
>;
|
|
48
|
+
endpoint?:
|
|
49
|
+
| string
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
|
+
| import("@smithy/types").EndpointV2
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
54
|
+
| undefined;
|
|
55
|
+
endpointProvider: (
|
|
56
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
57
|
+
context?: {
|
|
58
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
59
|
+
}
|
|
60
|
+
) => import("@smithy/types").EndpointV2;
|
|
61
|
+
tls?: boolean | undefined;
|
|
62
|
+
retryStrategy?:
|
|
63
|
+
| import("@smithy/types").RetryStrategy
|
|
64
|
+
| import("@smithy/types").RetryStrategyV2
|
|
65
|
+
| undefined;
|
|
66
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
67
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
68
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
|
|
69
|
+
credentials?:
|
|
70
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
71
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
72
|
+
| undefined;
|
|
73
|
+
signer?:
|
|
74
|
+
| import("@smithy/types").RequestSigner
|
|
75
|
+
| ((
|
|
76
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
77
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
78
|
+
| undefined;
|
|
79
|
+
signingEscapePath?: boolean | undefined;
|
|
80
|
+
systemClockOffset?: number | undefined;
|
|
81
|
+
signingRegion?: string | undefined;
|
|
82
|
+
signerConstructor?:
|
|
83
|
+
| (new (
|
|
84
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
85
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
86
|
+
) => import("@smithy/types").RequestSigner)
|
|
87
|
+
| undefined;
|
|
88
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ArtifactClientConfig } from "./ArtifactClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
|
|
3
|
+
apiVersion: string;
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
endpointProvider: (
|
|
8
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
9
|
+
context?: {
|
|
10
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
11
|
+
}
|
|
12
|
+
) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
|
+
logger: import("@smithy/types").Logger;
|
|
17
|
+
serviceId: string;
|
|
18
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
21
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ArtifactExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: ArtifactExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/client-artifact",
|
|
3
|
+
"description": "AWS SDK for JavaScript Artifact Client for Node.js, Browser and React Native",
|
|
4
|
+
"version": "3.515.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
|
+
"extract:docs": "api-extractor run --local",
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo artifact"
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist-cjs/index.js",
|
|
17
|
+
"types": "./dist-types/index.d.ts",
|
|
18
|
+
"module": "./dist-es/index.js",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.515.0",
|
|
24
|
+
"@aws-sdk/core": "3.513.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.515.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.515.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.515.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.515.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.515.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.515.0",
|
|
31
|
+
"@aws-sdk/types": "3.515.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.515.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.515.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.515.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.1",
|
|
36
|
+
"@smithy/core": "^1.3.2",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.4.1",
|
|
38
|
+
"@smithy/hash-node": "^2.1.1",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.1.1",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.1.1",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.1",
|
|
43
|
+
"@smithy/middleware-serde": "^2.1.1",
|
|
44
|
+
"@smithy/middleware-stack": "^2.1.1",
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.3.1",
|
|
47
|
+
"@smithy/protocol-http": "^3.1.1",
|
|
48
|
+
"@smithy/smithy-client": "^2.3.1",
|
|
49
|
+
"@smithy/types": "^2.9.1",
|
|
50
|
+
"@smithy/url-parser": "^2.1.1",
|
|
51
|
+
"@smithy/util-base64": "^2.1.1",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.1",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.1",
|
|
57
|
+
"@smithy/util-middleware": "^2.1.1",
|
|
58
|
+
"@smithy/util-retry": "^2.1.1",
|
|
59
|
+
"@smithy/util-utf8": "^2.1.1",
|
|
60
|
+
"tslib": "^2.5.0"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.1.1",
|
|
64
|
+
"@tsconfig/node14": "1.0.3",
|
|
65
|
+
"@types/node": "^14.14.31",
|
|
66
|
+
"concurrently": "7.0.0",
|
|
67
|
+
"downlevel-dts": "0.10.1",
|
|
68
|
+
"rimraf": "3.0.2",
|
|
69
|
+
"typescript": "~4.9.5"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=14.0.0"
|
|
73
|
+
},
|
|
74
|
+
"typesVersions": {
|
|
75
|
+
"<4.0": {
|
|
76
|
+
"dist-types/*": [
|
|
77
|
+
"dist-types/ts3.4/*"
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"files": [
|
|
82
|
+
"dist-*/**"
|
|
83
|
+
],
|
|
84
|
+
"author": {
|
|
85
|
+
"name": "AWS SDK for JavaScript Team",
|
|
86
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
87
|
+
},
|
|
88
|
+
"license": "Apache-2.0",
|
|
89
|
+
"browser": {
|
|
90
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
91
|
+
},
|
|
92
|
+
"react-native": {
|
|
93
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
94
|
+
},
|
|
95
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-artifact",
|
|
96
|
+
"repository": {
|
|
97
|
+
"type": "git",
|
|
98
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
99
|
+
"directory": "clients/client-artifact"
|
|
100
|
+
}
|
|
101
|
+
}
|