@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.
Files changed (115) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +253 -0
  3. package/dist-cjs/Artifact.js +23 -0
  4. package/dist-cjs/ArtifactClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetAccountSettingsCommand.js +28 -0
  8. package/dist-cjs/commands/GetReportCommand.js +28 -0
  9. package/dist-cjs/commands/GetReportMetadataCommand.js +28 -0
  10. package/dist-cjs/commands/GetTermForReportCommand.js +28 -0
  11. package/dist-cjs/commands/ListReportsCommand.js +28 -0
  12. package/dist-cjs/commands/PutAccountSettingsCommand.js +28 -0
  13. package/dist-cjs/commands/index.js +9 -0
  14. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  15. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  16. package/dist-cjs/endpoint/ruleset.js +7 -0
  17. package/dist-cjs/extensionConfiguration.js +2 -0
  18. package/dist-cjs/index.js +12 -0
  19. package/dist-cjs/models/ArtifactServiceException.js +12 -0
  20. package/dist-cjs/models/index.js +4 -0
  21. package/dist-cjs/models/models_0.js +138 -0
  22. package/dist-cjs/pagination/Interfaces.js +2 -0
  23. package/dist-cjs/pagination/ListReportsPaginator.js +7 -0
  24. package/dist-cjs/pagination/index.js +5 -0
  25. package/dist-cjs/protocols/Aws_restJson1.js +432 -0
  26. package/dist-cjs/runtimeConfig.browser.js +39 -0
  27. package/dist-cjs/runtimeConfig.js +49 -0
  28. package/dist-cjs/runtimeConfig.native.js +15 -0
  29. package/dist-cjs/runtimeConfig.shared.js +34 -0
  30. package/dist-cjs/runtimeExtensions.js +25 -0
  31. package/dist-es/Artifact.js +19 -0
  32. package/dist-es/ArtifactClient.js +52 -0
  33. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  34. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  35. package/dist-es/commands/GetAccountSettingsCommand.js +24 -0
  36. package/dist-es/commands/GetReportCommand.js +24 -0
  37. package/dist-es/commands/GetReportMetadataCommand.js +24 -0
  38. package/dist-es/commands/GetTermForReportCommand.js +24 -0
  39. package/dist-es/commands/ListReportsCommand.js +24 -0
  40. package/dist-es/commands/PutAccountSettingsCommand.js +24 -0
  41. package/dist-es/commands/index.js +6 -0
  42. package/dist-es/endpoint/EndpointParameters.js +14 -0
  43. package/dist-es/endpoint/endpointResolver.js +8 -0
  44. package/dist-es/endpoint/ruleset.js +4 -0
  45. package/dist-es/extensionConfiguration.js +1 -0
  46. package/dist-es/index.js +7 -0
  47. package/dist-es/models/ArtifactServiceException.js +8 -0
  48. package/dist-es/models/index.js +1 -0
  49. package/dist-es/models/models_0.js +128 -0
  50. package/dist-es/pagination/Interfaces.js +1 -0
  51. package/dist-es/pagination/ListReportsPaginator.js +4 -0
  52. package/dist-es/pagination/index.js +2 -0
  53. package/dist-es/protocols/Aws_restJson1.js +417 -0
  54. package/dist-es/runtimeConfig.browser.js +34 -0
  55. package/dist-es/runtimeConfig.js +44 -0
  56. package/dist-es/runtimeConfig.native.js +11 -0
  57. package/dist-es/runtimeConfig.shared.js +30 -0
  58. package/dist-es/runtimeExtensions.js +21 -0
  59. package/dist-types/Artifact.d.ts +52 -0
  60. package/dist-types/ArtifactClient.d.ts +177 -0
  61. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  62. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  63. package/dist-types/commands/GetAccountSettingsCommand.d.ts +79 -0
  64. package/dist-types/commands/GetReportCommand.d.ts +81 -0
  65. package/dist-types/commands/GetReportMetadataCommand.d.ts +98 -0
  66. package/dist-types/commands/GetTermForReportCommand.d.ts +81 -0
  67. package/dist-types/commands/ListReportsCommand.d.ts +95 -0
  68. package/dist-types/commands/PutAccountSettingsCommand.d.ts +81 -0
  69. package/dist-types/commands/index.d.ts +6 -0
  70. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  71. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  72. package/dist-types/endpoint/ruleset.d.ts +2 -0
  73. package/dist-types/extensionConfiguration.d.ts +9 -0
  74. package/dist-types/index.d.ts +15 -0
  75. package/dist-types/models/ArtifactServiceException.d.ts +13 -0
  76. package/dist-types/models/index.d.ts +1 -0
  77. package/dist-types/models/models_0.d.ts +605 -0
  78. package/dist-types/pagination/Interfaces.d.ts +8 -0
  79. package/dist-types/pagination/ListReportsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +2 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +56 -0
  82. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  83. package/dist-types/runtimeConfig.d.ts +48 -0
  84. package/dist-types/runtimeConfig.native.d.ts +47 -0
  85. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  86. package/dist-types/runtimeExtensions.d.ts +17 -0
  87. package/dist-types/ts3.4/Artifact.d.ts +107 -0
  88. package/dist-types/ts3.4/ArtifactClient.d.ts +156 -0
  89. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  90. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  91. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +30 -0
  92. package/dist-types/ts3.4/commands/GetReportCommand.d.ts +26 -0
  93. package/dist-types/ts3.4/commands/GetReportMetadataCommand.d.ts +30 -0
  94. package/dist-types/ts3.4/commands/GetTermForReportCommand.d.ts +29 -0
  95. package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +26 -0
  96. package/dist-types/ts3.4/commands/PutAccountSettingsCommand.d.ts +30 -0
  97. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  98. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  99. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  100. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  101. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  102. package/dist-types/ts3.4/index.d.ts +10 -0
  103. package/dist-types/ts3.4/models/ArtifactServiceException.d.ts +8 -0
  104. package/dist-types/ts3.4/models/index.d.ts +1 -0
  105. package/dist-types/ts3.4/models/models_0.d.ts +187 -0
  106. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  107. package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  109. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
  112. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  113. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  114. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  115. 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
+ }