@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,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { ArtifactClientConfig } from "./ArtifactClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ sha256: import("@smithy/types").HashConstructor;
20
+ streamCollector: import("@smithy/types").StreamCollector;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ apiVersion: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: import("@smithy/types").Encoder;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: import("@smithy/types").Encoder;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ArtifactClientConfig } from "./ArtifactClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
+ updateHttpClientConfig(key: never, value: never): void;
16
+ httpHandlerConfigs(): {};
17
+ }) | RequestHandler;
18
+ retryMode: string | import("@smithy/types").Provider<string>;
19
+ sha256: import("@smithy/types").HashConstructor;
20
+ streamCollector: import("@smithy/types").StreamCollector;
21
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ apiVersion: string;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: import("@smithy/types").Encoder;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: import("@smithy/types").Encoder;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ logger: import("@smithy/types").Logger;
32
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
33
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,47 @@
1
+ import { ArtifactClientConfig } from "./ArtifactClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
+ updateHttpClientConfig(key: never, value: never): void;
10
+ httpHandlerConfigs(): {};
11
+ }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
+ apiVersion: string;
13
+ urlParser: import("@smithy/types").UrlParser;
14
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
+ streamCollector: import("@smithy/types").StreamCollector;
16
+ base64Decoder: import("@smithy/types").Decoder;
17
+ base64Encoder: import("@smithy/types").Encoder;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: import("@smithy/types").Encoder;
20
+ disableHostPrefix: boolean;
21
+ serviceId: string;
22
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
25
+ region: string | import("@smithy/types").Provider<any>;
26
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
27
+ maxAttempts: number | import("@smithy/types").Provider<number>;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
33
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
34
+ logger?: import("@smithy/types").Logger | undefined;
35
+ }) => import("@smithy/types").EndpointV2;
36
+ tls?: boolean | undefined;
37
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
41
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
42
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
43
+ signingEscapePath?: boolean | undefined;
44
+ systemClockOffset?: number | undefined;
45
+ signingRegion?: string | undefined;
46
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
47
+ };
@@ -0,0 +1,21 @@
1
+ import { ArtifactClientConfig } from "./ArtifactClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
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,17 @@
1
+ import { ArtifactExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: ArtifactExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,107 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { ArtifactClient } from "./ArtifactClient";
3
+ import {
4
+ GetAccountSettingsCommandInput,
5
+ GetAccountSettingsCommandOutput,
6
+ } from "./commands/GetAccountSettingsCommand";
7
+ import {
8
+ GetReportCommandInput,
9
+ GetReportCommandOutput,
10
+ } from "./commands/GetReportCommand";
11
+ import {
12
+ GetReportMetadataCommandInput,
13
+ GetReportMetadataCommandOutput,
14
+ } from "./commands/GetReportMetadataCommand";
15
+ import {
16
+ GetTermForReportCommandInput,
17
+ GetTermForReportCommandOutput,
18
+ } from "./commands/GetTermForReportCommand";
19
+ import {
20
+ ListReportsCommandInput,
21
+ ListReportsCommandOutput,
22
+ } from "./commands/ListReportsCommand";
23
+ import {
24
+ PutAccountSettingsCommandInput,
25
+ PutAccountSettingsCommandOutput,
26
+ } from "./commands/PutAccountSettingsCommand";
27
+ export interface Artifact {
28
+ getAccountSettings(
29
+ args: GetAccountSettingsCommandInput,
30
+ options?: __HttpHandlerOptions
31
+ ): Promise<GetAccountSettingsCommandOutput>;
32
+ getAccountSettings(
33
+ args: GetAccountSettingsCommandInput,
34
+ cb: (err: any, data?: GetAccountSettingsCommandOutput) => void
35
+ ): void;
36
+ getAccountSettings(
37
+ args: GetAccountSettingsCommandInput,
38
+ options: __HttpHandlerOptions,
39
+ cb: (err: any, data?: GetAccountSettingsCommandOutput) => void
40
+ ): void;
41
+ getReport(
42
+ args: GetReportCommandInput,
43
+ options?: __HttpHandlerOptions
44
+ ): Promise<GetReportCommandOutput>;
45
+ getReport(
46
+ args: GetReportCommandInput,
47
+ cb: (err: any, data?: GetReportCommandOutput) => void
48
+ ): void;
49
+ getReport(
50
+ args: GetReportCommandInput,
51
+ options: __HttpHandlerOptions,
52
+ cb: (err: any, data?: GetReportCommandOutput) => void
53
+ ): void;
54
+ getReportMetadata(
55
+ args: GetReportMetadataCommandInput,
56
+ options?: __HttpHandlerOptions
57
+ ): Promise<GetReportMetadataCommandOutput>;
58
+ getReportMetadata(
59
+ args: GetReportMetadataCommandInput,
60
+ cb: (err: any, data?: GetReportMetadataCommandOutput) => void
61
+ ): void;
62
+ getReportMetadata(
63
+ args: GetReportMetadataCommandInput,
64
+ options: __HttpHandlerOptions,
65
+ cb: (err: any, data?: GetReportMetadataCommandOutput) => void
66
+ ): void;
67
+ getTermForReport(
68
+ args: GetTermForReportCommandInput,
69
+ options?: __HttpHandlerOptions
70
+ ): Promise<GetTermForReportCommandOutput>;
71
+ getTermForReport(
72
+ args: GetTermForReportCommandInput,
73
+ cb: (err: any, data?: GetTermForReportCommandOutput) => void
74
+ ): void;
75
+ getTermForReport(
76
+ args: GetTermForReportCommandInput,
77
+ options: __HttpHandlerOptions,
78
+ cb: (err: any, data?: GetTermForReportCommandOutput) => void
79
+ ): void;
80
+ listReports(
81
+ args: ListReportsCommandInput,
82
+ options?: __HttpHandlerOptions
83
+ ): Promise<ListReportsCommandOutput>;
84
+ listReports(
85
+ args: ListReportsCommandInput,
86
+ cb: (err: any, data?: ListReportsCommandOutput) => void
87
+ ): void;
88
+ listReports(
89
+ args: ListReportsCommandInput,
90
+ options: __HttpHandlerOptions,
91
+ cb: (err: any, data?: ListReportsCommandOutput) => void
92
+ ): void;
93
+ putAccountSettings(
94
+ args: PutAccountSettingsCommandInput,
95
+ options?: __HttpHandlerOptions
96
+ ): Promise<PutAccountSettingsCommandOutput>;
97
+ putAccountSettings(
98
+ args: PutAccountSettingsCommandInput,
99
+ cb: (err: any, data?: PutAccountSettingsCommandOutput) => void
100
+ ): void;
101
+ putAccountSettings(
102
+ args: PutAccountSettingsCommandInput,
103
+ options: __HttpHandlerOptions,
104
+ cb: (err: any, data?: PutAccountSettingsCommandOutput) => void
105
+ ): void;
106
+ }
107
+ export declare class Artifact extends ArtifactClient implements Artifact {}
@@ -0,0 +1,156 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ GetAccountSettingsCommandInput,
50
+ GetAccountSettingsCommandOutput,
51
+ } from "./commands/GetAccountSettingsCommand";
52
+ import {
53
+ GetReportCommandInput,
54
+ GetReportCommandOutput,
55
+ } from "./commands/GetReportCommand";
56
+ import {
57
+ GetReportMetadataCommandInput,
58
+ GetReportMetadataCommandOutput,
59
+ } from "./commands/GetReportMetadataCommand";
60
+ import {
61
+ GetTermForReportCommandInput,
62
+ GetTermForReportCommandOutput,
63
+ } from "./commands/GetTermForReportCommand";
64
+ import {
65
+ ListReportsCommandInput,
66
+ ListReportsCommandOutput,
67
+ } from "./commands/ListReportsCommand";
68
+ import {
69
+ PutAccountSettingsCommandInput,
70
+ PutAccountSettingsCommandOutput,
71
+ } from "./commands/PutAccountSettingsCommand";
72
+ import {
73
+ ClientInputEndpointParameters,
74
+ ClientResolvedEndpointParameters,
75
+ EndpointParameters,
76
+ } from "./endpoint/EndpointParameters";
77
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
78
+ export { __Client };
79
+ export type ServiceInputTypes =
80
+ | GetAccountSettingsCommandInput
81
+ | GetReportCommandInput
82
+ | GetReportMetadataCommandInput
83
+ | GetTermForReportCommandInput
84
+ | ListReportsCommandInput
85
+ | PutAccountSettingsCommandInput;
86
+ export type ServiceOutputTypes =
87
+ | GetAccountSettingsCommandOutput
88
+ | GetReportCommandOutput
89
+ | GetReportMetadataCommandOutput
90
+ | GetTermForReportCommandOutput
91
+ | ListReportsCommandOutput
92
+ | PutAccountSettingsCommandOutput;
93
+ export interface ClientDefaults
94
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
95
+ requestHandler?: __HttpHandler;
96
+ sha256?: __ChecksumConstructor | __HashConstructor;
97
+ urlParser?: __UrlParser;
98
+ bodyLengthChecker?: __BodyLengthCalculator;
99
+ streamCollector?: __StreamCollector;
100
+ base64Decoder?: __Decoder;
101
+ base64Encoder?: __Encoder;
102
+ utf8Decoder?: __Decoder;
103
+ utf8Encoder?: __Encoder;
104
+ runtime?: string;
105
+ disableHostPrefix?: boolean;
106
+ serviceId?: string;
107
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
108
+ useFipsEndpoint?: boolean | __Provider<boolean>;
109
+ defaultUserAgentProvider?: Provider<__UserAgent>;
110
+ region?: string | __Provider<string>;
111
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
112
+ maxAttempts?: number | __Provider<number>;
113
+ retryMode?: string | __Provider<string>;
114
+ logger?: __Logger;
115
+ extensions?: RuntimeExtension[];
116
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
117
+ }
118
+ export type ArtifactClientConfigType = Partial<
119
+ __SmithyConfiguration<__HttpHandlerOptions>
120
+ > &
121
+ ClientDefaults &
122
+ RegionInputConfig &
123
+ EndpointInputConfig<EndpointParameters> &
124
+ RetryInputConfig &
125
+ HostHeaderInputConfig &
126
+ UserAgentInputConfig &
127
+ HttpAuthSchemeInputConfig &
128
+ ClientInputEndpointParameters;
129
+ export interface ArtifactClientConfig extends ArtifactClientConfigType {}
130
+ export type ArtifactClientResolvedConfigType =
131
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
132
+ Required<ClientDefaults> &
133
+ RuntimeExtensionsConfig &
134
+ RegionResolvedConfig &
135
+ EndpointResolvedConfig<EndpointParameters> &
136
+ RetryResolvedConfig &
137
+ HostHeaderResolvedConfig &
138
+ UserAgentResolvedConfig &
139
+ HttpAuthSchemeResolvedConfig &
140
+ ClientResolvedEndpointParameters;
141
+ export interface ArtifactClientResolvedConfig
142
+ extends ArtifactClientResolvedConfigType {}
143
+ export declare class ArtifactClient extends __Client<
144
+ __HttpHandlerOptions,
145
+ ServiceInputTypes,
146
+ ServiceOutputTypes,
147
+ ArtifactClientResolvedConfig
148
+ > {
149
+ readonly config: ArtifactClientResolvedConfig;
150
+ constructor(
151
+ ...[configuration]: __CheckOptionalClientConfig<ArtifactClientConfig>
152
+ );
153
+ destroy(): void;
154
+ private getDefaultHttpAuthSchemeParametersProvider;
155
+ private getIdentityProviderConfigProvider;
156
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { ArtifactHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): ArtifactHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { ArtifactClientResolvedConfig } from "../ArtifactClient";
14
+ export interface ArtifactHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface ArtifactHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ ArtifactClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ ArtifactHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultArtifactHttpAuthSchemeParametersProvider: (
26
+ config: ArtifactClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<ArtifactHttpAuthSchemeParameters>;
30
+ export interface ArtifactHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<ArtifactHttpAuthSchemeParameters> {}
32
+ export declare const defaultArtifactHttpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: ArtifactHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ArtifactClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ArtifactClient";
8
+ import {
9
+ GetAccountSettingsRequest,
10
+ GetAccountSettingsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetAccountSettingsCommandInput
14
+ extends GetAccountSettingsRequest {}
15
+ export interface GetAccountSettingsCommandOutput
16
+ extends GetAccountSettingsResponse,
17
+ __MetadataBearer {}
18
+ declare const GetAccountSettingsCommand_base: {
19
+ new (
20
+ input: GetAccountSettingsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetAccountSettingsCommandInput,
23
+ GetAccountSettingsCommandOutput,
24
+ ArtifactClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {}
@@ -0,0 +1,26 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ArtifactClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ArtifactClient";
8
+ import { GetReportRequest, GetReportResponse } from "../models/models_0";
9
+ export { __MetadataBearer, $Command };
10
+ export interface GetReportCommandInput extends GetReportRequest {}
11
+ export interface GetReportCommandOutput
12
+ extends GetReportResponse,
13
+ __MetadataBearer {}
14
+ declare const GetReportCommand_base: {
15
+ new (
16
+ input: GetReportCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetReportCommandInput,
19
+ GetReportCommandOutput,
20
+ ArtifactClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class GetReportCommand extends GetReportCommand_base {}
@@ -0,0 +1,30 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ArtifactClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ArtifactClient";
8
+ import {
9
+ GetReportMetadataRequest,
10
+ GetReportMetadataResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetReportMetadataCommandInput
14
+ extends GetReportMetadataRequest {}
15
+ export interface GetReportMetadataCommandOutput
16
+ extends GetReportMetadataResponse,
17
+ __MetadataBearer {}
18
+ declare const GetReportMetadataCommand_base: {
19
+ new (
20
+ input: GetReportMetadataCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetReportMetadataCommandInput,
23
+ GetReportMetadataCommandOutput,
24
+ ArtifactClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class GetReportMetadataCommand extends GetReportMetadataCommand_base {}
@@ -0,0 +1,29 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ArtifactClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ArtifactClient";
8
+ import {
9
+ GetTermForReportRequest,
10
+ GetTermForReportResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface GetTermForReportCommandInput extends GetTermForReportRequest {}
14
+ export interface GetTermForReportCommandOutput
15
+ extends GetTermForReportResponse,
16
+ __MetadataBearer {}
17
+ declare const GetTermForReportCommand_base: {
18
+ new (
19
+ input: GetTermForReportCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ GetTermForReportCommandInput,
22
+ GetTermForReportCommandOutput,
23
+ ArtifactClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class GetTermForReportCommand extends GetTermForReportCommand_base {}