@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,177 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
11
|
+
import { GetReportCommandInput, GetReportCommandOutput } from "./commands/GetReportCommand";
|
|
12
|
+
import { GetReportMetadataCommandInput, GetReportMetadataCommandOutput } from "./commands/GetReportMetadataCommand";
|
|
13
|
+
import { GetTermForReportCommandInput, GetTermForReportCommandOutput } from "./commands/GetTermForReportCommand";
|
|
14
|
+
import { ListReportsCommandInput, ListReportsCommandOutput } from "./commands/ListReportsCommand";
|
|
15
|
+
import { PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput } from "./commands/PutAccountSettingsCommand";
|
|
16
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
17
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
18
|
+
export { __Client };
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type ServiceInputTypes = GetAccountSettingsCommandInput | GetReportCommandInput | GetReportMetadataCommandInput | GetTermForReportCommandInput | ListReportsCommandInput | PutAccountSettingsCommandInput;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ServiceOutputTypes = GetAccountSettingsCommandOutput | GetReportCommandOutput | GetReportMetadataCommandOutput | GetTermForReportCommandOutput | ListReportsCommandOutput | PutAccountSettingsCommandOutput;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
31
|
+
/**
|
|
32
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
33
|
+
*/
|
|
34
|
+
requestHandler?: __HttpHandler;
|
|
35
|
+
/**
|
|
36
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
37
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
41
|
+
/**
|
|
42
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
urlParser?: __UrlParser;
|
|
46
|
+
/**
|
|
47
|
+
* A function that can calculate the length of a request body.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
51
|
+
/**
|
|
52
|
+
* A function that converts a stream into an array of bytes.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
streamCollector?: __StreamCollector;
|
|
56
|
+
/**
|
|
57
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
base64Decoder?: __Decoder;
|
|
61
|
+
/**
|
|
62
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
base64Encoder?: __Encoder;
|
|
66
|
+
/**
|
|
67
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
utf8Decoder?: __Decoder;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
utf8Encoder?: __Encoder;
|
|
76
|
+
/**
|
|
77
|
+
* The runtime environment.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
runtime?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
83
|
+
* trait of an operation.
|
|
84
|
+
*/
|
|
85
|
+
disableHostPrefix?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Unique service identifier.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
serviceId?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
93
|
+
*/
|
|
94
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Enables FIPS compatible endpoints.
|
|
97
|
+
*/
|
|
98
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
104
|
+
/**
|
|
105
|
+
* The AWS region to which this client will send requests
|
|
106
|
+
*/
|
|
107
|
+
region?: string | __Provider<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Default credentials provider; Not available in browser runtime.
|
|
110
|
+
* @deprecated
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
114
|
+
/**
|
|
115
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
116
|
+
*/
|
|
117
|
+
maxAttempts?: number | __Provider<number>;
|
|
118
|
+
/**
|
|
119
|
+
* Specifies which retry algorithm to use.
|
|
120
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
retryMode?: string | __Provider<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Optional logger for logging debug/info/warn/error.
|
|
126
|
+
*/
|
|
127
|
+
logger?: __Logger;
|
|
128
|
+
/**
|
|
129
|
+
* Optional extensions
|
|
130
|
+
*/
|
|
131
|
+
extensions?: RuntimeExtension[];
|
|
132
|
+
/**
|
|
133
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
134
|
+
*/
|
|
135
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export type ArtifactClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*
|
|
144
|
+
* The configuration interface of ArtifactClient class constructor that set the region, credentials and other options.
|
|
145
|
+
*/
|
|
146
|
+
export interface ArtifactClientConfig extends ArtifactClientConfigType {
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export type ArtifactClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*
|
|
155
|
+
* The resolved configuration interface of ArtifactClient class. This is resolved and normalized from the {@link ArtifactClientConfig | constructor configuration interface}.
|
|
156
|
+
*/
|
|
157
|
+
export interface ArtifactClientResolvedConfig extends ArtifactClientResolvedConfigType {
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
* <p>This reference provides descriptions of the low-level AWS Artifact Service API.</p>
|
|
162
|
+
*/
|
|
163
|
+
export declare class ArtifactClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ArtifactClientResolvedConfig> {
|
|
164
|
+
/**
|
|
165
|
+
* The resolved configuration of ArtifactClient class. This is resolved and normalized from the {@link ArtifactClientConfig | constructor configuration interface}.
|
|
166
|
+
*/
|
|
167
|
+
readonly config: ArtifactClientResolvedConfig;
|
|
168
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<ArtifactClientConfig>);
|
|
169
|
+
/**
|
|
170
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
171
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
172
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
173
|
+
*/
|
|
174
|
+
destroy(): void;
|
|
175
|
+
private getDefaultHttpAuthSchemeParametersProvider;
|
|
176
|
+
private getIdentityProviderConfigProvider;
|
|
177
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { ArtifactHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): ArtifactHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { ArtifactClientResolvedConfig } from "../ArtifactClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface ArtifactHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface ArtifactHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ArtifactClientResolvedConfig, HandlerExecutionContext, ArtifactHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultArtifactHttpAuthSchemeParametersProvider: (config: ArtifactClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ArtifactHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface ArtifactHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ArtifactHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultArtifactHttpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: ArtifactHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: ArtifactHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import { GetAccountSettingsRequest, GetAccountSettingsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetAccountSettingsCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetAccountSettingsCommandInput extends GetAccountSettingsRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetAccountSettingsCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetAccountSettingsCommandOutput extends GetAccountSettingsResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetAccountSettingsCommand_base: {
|
|
24
|
+
new (input: GetAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Get the account settings for Artifact.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ArtifactClient, GetAccountSettingsCommand } from "@aws-sdk/client-artifact"; // ES Modules import
|
|
34
|
+
* // const { ArtifactClient, GetAccountSettingsCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
|
|
35
|
+
* const client = new ArtifactClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new GetAccountSettingsCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetAccountSettingsResponse
|
|
40
|
+
* // accountSettings: { // AccountSettings
|
|
41
|
+
* // notificationSubscriptionStatus: "STRING_VALUE",
|
|
42
|
+
* // },
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetAccountSettingsCommandInput - {@link GetAccountSettingsCommandInput}
|
|
48
|
+
* @returns {@link GetAccountSettingsCommandOutput}
|
|
49
|
+
* @see {@link GetAccountSettingsCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetAccountSettingsCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>Request to create/modify content would result in a conflict.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>An unknown server exception has occurred.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Request references a resource which does not exist.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>Request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ArtifactServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from Artifact service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
|
|
79
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import { GetReportRequest, GetReportResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetReportCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetReportCommandInput extends GetReportRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetReportCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetReportCommandOutput extends GetReportResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetReportCommand_base: {
|
|
24
|
+
new (input: GetReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Get the content for a single report.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ArtifactClient, GetReportCommand } from "@aws-sdk/client-artifact"; // ES Modules import
|
|
34
|
+
* // const { ArtifactClient, GetReportCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
|
|
35
|
+
* const client = new ArtifactClient(config);
|
|
36
|
+
* const input = { // GetReportRequest
|
|
37
|
+
* reportId: "STRING_VALUE", // required
|
|
38
|
+
* reportVersion: Number("long"),
|
|
39
|
+
* termToken: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetReportCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetReportResponse
|
|
44
|
+
* // documentPresignedUrl: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetReportCommandInput - {@link GetReportCommandInput}
|
|
50
|
+
* @returns {@link GetReportCommandOutput}
|
|
51
|
+
* @see {@link GetReportCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetReportCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>Request to create/modify content would result in a conflict.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An unknown server exception has occurred.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>Request references a resource which does not exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>Request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ArtifactServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Artifact service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetReportCommand extends GetReportCommand_base {
|
|
81
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import { GetReportMetadataRequest, GetReportMetadataResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetReportMetadataCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetReportMetadataCommandInput extends GetReportMetadataRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetReportMetadataCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetReportMetadataCommandOutput extends GetReportMetadataResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetReportMetadataCommand_base: {
|
|
24
|
+
new (input: GetReportMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Get the metadata for a single report.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ArtifactClient, GetReportMetadataCommand } from "@aws-sdk/client-artifact"; // ES Modules import
|
|
34
|
+
* // const { ArtifactClient, GetReportMetadataCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
|
|
35
|
+
* const client = new ArtifactClient(config);
|
|
36
|
+
* const input = { // GetReportMetadataRequest
|
|
37
|
+
* reportId: "STRING_VALUE", // required
|
|
38
|
+
* reportVersion: Number("long"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetReportMetadataCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetReportMetadataResponse
|
|
43
|
+
* // reportDetails: { // ReportDetail
|
|
44
|
+
* // id: "STRING_VALUE",
|
|
45
|
+
* // name: "STRING_VALUE",
|
|
46
|
+
* // description: "STRING_VALUE",
|
|
47
|
+
* // periodStart: new Date("TIMESTAMP"),
|
|
48
|
+
* // periodEnd: new Date("TIMESTAMP"),
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // deletedAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // state: "STRING_VALUE",
|
|
53
|
+
* // arn: "STRING_VALUE",
|
|
54
|
+
* // series: "STRING_VALUE",
|
|
55
|
+
* // category: "STRING_VALUE",
|
|
56
|
+
* // companyName: "STRING_VALUE",
|
|
57
|
+
* // productName: "STRING_VALUE",
|
|
58
|
+
* // termArn: "STRING_VALUE",
|
|
59
|
+
* // version: Number("long"),
|
|
60
|
+
* // acceptanceType: "STRING_VALUE",
|
|
61
|
+
* // sequenceNumber: Number("long"),
|
|
62
|
+
* // uploadState: "STRING_VALUE",
|
|
63
|
+
* // statusMessage: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetReportMetadataCommandInput - {@link GetReportMetadataCommandInput}
|
|
70
|
+
* @returns {@link GetReportMetadataCommandOutput}
|
|
71
|
+
* @see {@link GetReportMetadataCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetReportMetadataCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An unknown server exception has occurred.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>Request references a resource which does not exist.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
85
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>Request was denied due to request throttling.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ArtifactServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Artifact service.</p>
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
export declare class GetReportMetadataCommand extends GetReportMetadataCommand_base {
|
|
98
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ArtifactClient";
|
|
4
|
+
import { GetTermForReportRequest, GetTermForReportResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link GetTermForReportCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetTermForReportCommandInput extends GetTermForReportRequest {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link GetTermForReportCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetTermForReportCommandOutput extends GetTermForReportResponse, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const GetTermForReportCommand_base: {
|
|
24
|
+
new (input: GetTermForReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>Get the Term content associated with a single report.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { ArtifactClient, GetTermForReportCommand } from "@aws-sdk/client-artifact"; // ES Modules import
|
|
34
|
+
* // const { ArtifactClient, GetTermForReportCommand } = require("@aws-sdk/client-artifact"); // CommonJS import
|
|
35
|
+
* const client = new ArtifactClient(config);
|
|
36
|
+
* const input = { // GetTermForReportRequest
|
|
37
|
+
* reportId: "STRING_VALUE", // required
|
|
38
|
+
* reportVersion: Number("long"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetTermForReportCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetTermForReportResponse
|
|
43
|
+
* // documentPresignedUrl: "STRING_VALUE",
|
|
44
|
+
* // termToken: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetTermForReportCommandInput - {@link GetTermForReportCommandInput}
|
|
50
|
+
* @returns {@link GetTermForReportCommandOutput}
|
|
51
|
+
* @see {@link GetTermForReportCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetTermForReportCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ArtifactClientResolvedConfig | config} for ArtifactClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>Request to create/modify content would result in a conflict.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An unknown server exception has occurred.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>Request references a resource which does not exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>Request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ArtifactServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Artifact service.</p>
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetTermForReportCommand extends GetTermForReportCommand_base {
|
|
81
|
+
}
|