@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,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 { ListReportsRequest, ListReportsResponse } from "../models/models_0";
9
+ export { __MetadataBearer, $Command };
10
+ export interface ListReportsCommandInput extends ListReportsRequest {}
11
+ export interface ListReportsCommandOutput
12
+ extends ListReportsResponse,
13
+ __MetadataBearer {}
14
+ declare const ListReportsCommand_base: {
15
+ new (
16
+ input: ListReportsCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ListReportsCommandInput,
19
+ ListReportsCommandOutput,
20
+ ArtifactClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class ListReportsCommand extends ListReportsCommand_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
+ PutAccountSettingsRequest,
10
+ PutAccountSettingsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface PutAccountSettingsCommandInput
14
+ extends PutAccountSettingsRequest {}
15
+ export interface PutAccountSettingsCommandOutput
16
+ extends PutAccountSettingsResponse,
17
+ __MetadataBearer {}
18
+ declare const PutAccountSettingsCommand_base: {
19
+ new (
20
+ input: PutAccountSettingsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ PutAccountSettingsCommandInput,
23
+ PutAccountSettingsCommandOutput,
24
+ ArtifactClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class PutAccountSettingsCommand extends PutAccountSettingsCommand_base {}
@@ -0,0 +1,6 @@
1
+ export * from "./GetAccountSettingsCommand";
2
+ export * from "./GetReportCommand";
3
+ export * from "./GetReportMetadataCommand";
4
+ export * from "./GetTermForReportCommand";
5
+ export * from "./ListReportsCommand";
6
+ export * from "./PutAccountSettingsCommand";
@@ -0,0 +1,51 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
46
+ export interface EndpointParameters extends __EndpointParameters {
47
+ Region?: string;
48
+ UseDualStack?: boolean;
49
+ UseFIPS?: boolean;
50
+ Endpoint?: string;
51
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface ArtifactExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,10 @@
1
+ export * from "./ArtifactClient";
2
+ export * from "./Artifact";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { ArtifactExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./pagination";
8
+ export * from "./models";
9
+ import "@aws-sdk/util-endpoints";
10
+ export { ArtifactServiceException } from "./models/ArtifactServiceException";
@@ -0,0 +1,8 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
6
+ export declare class ArtifactServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,187 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
3
+ export declare const AcceptanceType: {
4
+ readonly EXPLICIT: "EXPLICIT";
5
+ readonly PASSTHROUGH: "PASSTHROUGH";
6
+ };
7
+ export type AcceptanceType =
8
+ (typeof AcceptanceType)[keyof typeof AcceptanceType];
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ constructor(
13
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
14
+ );
15
+ }
16
+ export declare const NotificationSubscriptionStatus: {
17
+ readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
18
+ readonly SUBSCRIBED: "SUBSCRIBED";
19
+ };
20
+ export type NotificationSubscriptionStatus =
21
+ (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
22
+ export interface AccountSettings {
23
+ notificationSubscriptionStatus?: NotificationSubscriptionStatus;
24
+ }
25
+ export declare class ConflictException extends __BaseException {
26
+ readonly name: "ConflictException";
27
+ readonly $fault: "client";
28
+ resourceId: string | undefined;
29
+ resourceType: string | undefined;
30
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
31
+ }
32
+ export interface GetAccountSettingsRequest {}
33
+ export interface GetAccountSettingsResponse {
34
+ accountSettings?: AccountSettings;
35
+ }
36
+ export declare class InternalServerException extends __BaseException {
37
+ readonly name: "InternalServerException";
38
+ readonly $fault: "server";
39
+ $retryable: {};
40
+ retryAfterSeconds?: number;
41
+ constructor(
42
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
43
+ );
44
+ }
45
+ export declare class ResourceNotFoundException extends __BaseException {
46
+ readonly name: "ResourceNotFoundException";
47
+ readonly $fault: "client";
48
+ resourceId: string | undefined;
49
+ resourceType: string | undefined;
50
+ constructor(
51
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
52
+ );
53
+ }
54
+ export declare class ServiceQuotaExceededException extends __BaseException {
55
+ readonly name: "ServiceQuotaExceededException";
56
+ readonly $fault: "client";
57
+ resourceId: string | undefined;
58
+ resourceType: string | undefined;
59
+ serviceCode: string | undefined;
60
+ quotaCode: string | undefined;
61
+ constructor(
62
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
63
+ );
64
+ }
65
+ export declare class ThrottlingException extends __BaseException {
66
+ readonly name: "ThrottlingException";
67
+ readonly $fault: "client";
68
+ $retryable: {
69
+ throttling: boolean;
70
+ };
71
+ serviceCode?: string;
72
+ quotaCode?: string;
73
+ retryAfterSeconds?: number;
74
+ constructor(
75
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
76
+ );
77
+ }
78
+ export interface ValidationExceptionField {
79
+ name: string | undefined;
80
+ message: string | undefined;
81
+ }
82
+ export declare const ValidationExceptionReason: {
83
+ readonly CANNOT_PARSE: "cannotParse";
84
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
85
+ readonly INVALID_TOKEN: "invalidToken";
86
+ readonly OTHER: "other";
87
+ readonly UNKNOWN_OPERATION: "unknownOperation";
88
+ };
89
+ export type ValidationExceptionReason =
90
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
91
+ export declare class ValidationException extends __BaseException {
92
+ readonly name: "ValidationException";
93
+ readonly $fault: "client";
94
+ reason: ValidationExceptionReason | undefined;
95
+ fieldList?: ValidationExceptionField[];
96
+ constructor(
97
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
98
+ );
99
+ }
100
+ export interface PutAccountSettingsRequest {
101
+ notificationSubscriptionStatus?: NotificationSubscriptionStatus;
102
+ }
103
+ export interface PutAccountSettingsResponse {
104
+ accountSettings?: AccountSettings;
105
+ }
106
+ export interface GetReportRequest {
107
+ reportId: string | undefined;
108
+ reportVersion?: number;
109
+ termToken: string | undefined;
110
+ }
111
+ export interface GetReportResponse {
112
+ documentPresignedUrl?: string;
113
+ }
114
+ export interface GetReportMetadataRequest {
115
+ reportId: string | undefined;
116
+ reportVersion?: number;
117
+ }
118
+ export declare const PublishedState: {
119
+ readonly PUBLISHED: "PUBLISHED";
120
+ readonly UNPUBLISHED: "UNPUBLISHED";
121
+ };
122
+ export type PublishedState =
123
+ (typeof PublishedState)[keyof typeof PublishedState];
124
+ export declare const UploadState: {
125
+ readonly COMPLETE: "COMPLETE";
126
+ readonly FAILED: "FAILED";
127
+ readonly FAULT: "FAULT";
128
+ readonly PROCESSING: "PROCESSING";
129
+ };
130
+ export type UploadState = (typeof UploadState)[keyof typeof UploadState];
131
+ export interface ReportDetail {
132
+ id?: string;
133
+ name?: string;
134
+ description?: string;
135
+ periodStart?: Date;
136
+ periodEnd?: Date;
137
+ createdAt?: Date;
138
+ lastModifiedAt?: Date;
139
+ deletedAt?: Date;
140
+ state?: PublishedState;
141
+ arn?: string;
142
+ series?: string;
143
+ category?: string;
144
+ companyName?: string;
145
+ productName?: string;
146
+ termArn?: string;
147
+ version?: number;
148
+ acceptanceType?: AcceptanceType;
149
+ sequenceNumber?: number;
150
+ uploadState?: UploadState;
151
+ statusMessage?: string;
152
+ }
153
+ export interface GetReportMetadataResponse {
154
+ reportDetails?: ReportDetail;
155
+ }
156
+ export interface GetTermForReportRequest {
157
+ reportId: string | undefined;
158
+ reportVersion?: number;
159
+ }
160
+ export interface GetTermForReportResponse {
161
+ documentPresignedUrl?: string;
162
+ termToken?: string;
163
+ }
164
+ export interface ListReportsRequest {
165
+ maxResults?: number;
166
+ nextToken?: string;
167
+ }
168
+ export interface ReportSummary {
169
+ id?: string;
170
+ name?: string;
171
+ state?: PublishedState;
172
+ arn?: string;
173
+ version?: number;
174
+ uploadState?: UploadState;
175
+ description?: string;
176
+ periodStart?: Date;
177
+ periodEnd?: Date;
178
+ series?: string;
179
+ category?: string;
180
+ companyName?: string;
181
+ productName?: string;
182
+ statusMessage?: string;
183
+ }
184
+ export interface ListReportsResponse {
185
+ reports?: ReportSummary[];
186
+ nextToken?: string;
187
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { ArtifactClient } from "../ArtifactClient";
3
+ export interface ArtifactPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: ArtifactClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListReportsCommandInput,
4
+ ListReportsCommandOutput,
5
+ } from "../commands/ListReportsCommand";
6
+ import { ArtifactPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListReports: (
8
+ config: ArtifactPaginationConfiguration,
9
+ input: ListReportsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListReportsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListReportsPaginator";
@@ -0,0 +1,77 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ GetAccountSettingsCommandInput,
8
+ GetAccountSettingsCommandOutput,
9
+ } from "../commands/GetAccountSettingsCommand";
10
+ import {
11
+ GetReportCommandInput,
12
+ GetReportCommandOutput,
13
+ } from "../commands/GetReportCommand";
14
+ import {
15
+ GetReportMetadataCommandInput,
16
+ GetReportMetadataCommandOutput,
17
+ } from "../commands/GetReportMetadataCommand";
18
+ import {
19
+ GetTermForReportCommandInput,
20
+ GetTermForReportCommandOutput,
21
+ } from "../commands/GetTermForReportCommand";
22
+ import {
23
+ ListReportsCommandInput,
24
+ ListReportsCommandOutput,
25
+ } from "../commands/ListReportsCommand";
26
+ import {
27
+ PutAccountSettingsCommandInput,
28
+ PutAccountSettingsCommandOutput,
29
+ } from "../commands/PutAccountSettingsCommand";
30
+ export declare const se_GetAccountSettingsCommand: (
31
+ input: GetAccountSettingsCommandInput,
32
+ context: __SerdeContext
33
+ ) => Promise<__HttpRequest>;
34
+ export declare const se_GetReportCommand: (
35
+ input: GetReportCommandInput,
36
+ context: __SerdeContext
37
+ ) => Promise<__HttpRequest>;
38
+ export declare const se_GetReportMetadataCommand: (
39
+ input: GetReportMetadataCommandInput,
40
+ context: __SerdeContext
41
+ ) => Promise<__HttpRequest>;
42
+ export declare const se_GetTermForReportCommand: (
43
+ input: GetTermForReportCommandInput,
44
+ context: __SerdeContext
45
+ ) => Promise<__HttpRequest>;
46
+ export declare const se_ListReportsCommand: (
47
+ input: ListReportsCommandInput,
48
+ context: __SerdeContext
49
+ ) => Promise<__HttpRequest>;
50
+ export declare const se_PutAccountSettingsCommand: (
51
+ input: PutAccountSettingsCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const de_GetAccountSettingsCommand: (
55
+ output: __HttpResponse,
56
+ context: __SerdeContext
57
+ ) => Promise<GetAccountSettingsCommandOutput>;
58
+ export declare const de_GetReportCommand: (
59
+ output: __HttpResponse,
60
+ context: __SerdeContext
61
+ ) => Promise<GetReportCommandOutput>;
62
+ export declare const de_GetReportMetadataCommand: (
63
+ output: __HttpResponse,
64
+ context: __SerdeContext
65
+ ) => Promise<GetReportMetadataCommandOutput>;
66
+ export declare const de_GetTermForReportCommand: (
67
+ output: __HttpResponse,
68
+ context: __SerdeContext
69
+ ) => Promise<GetTermForReportCommandOutput>;
70
+ export declare const de_ListReportsCommand: (
71
+ output: __HttpResponse,
72
+ context: __SerdeContext
73
+ ) => Promise<ListReportsCommandOutput>;
74
+ export declare const de_PutAccountSettingsCommand: (
75
+ output: __HttpResponse,
76
+ context: __SerdeContext
77
+ ) => Promise<PutAccountSettingsCommandOutput>;
@@ -0,0 +1,97 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { ArtifactClientConfig } from "./ArtifactClient";
3
+ export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").AwsCredentialIdentityProvider;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler:
18
+ | (import("@smithy/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@smithy/types").HttpHandlerOptions
22
+ > &
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
31
+ | RequestHandler;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ sha256: import("@smithy/types").HashConstructor;
34
+ streamCollector: import("@smithy/types").StreamCollector;
35
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ apiVersion: string;
38
+ urlParser: import("@smithy/types").UrlParser;
39
+ base64Decoder: import("@smithy/types").Decoder;
40
+ base64Encoder: import("@smithy/types").Encoder;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: import("@smithy/types").Encoder;
43
+ disableHostPrefix: boolean;
44
+ serviceId: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ endpoint?:
48
+ | ((
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
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ retryStrategy?:
72
+ | import("@smithy/types").RetryStrategy
73
+ | import("@smithy/types").RetryStrategyV2
74
+ | undefined;
75
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
76
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
77
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
78
+ credentials?:
79
+ | import("@smithy/types").AwsCredentialIdentity
80
+ | import("@smithy/types").AwsCredentialIdentityProvider
81
+ | undefined;
82
+ signer?:
83
+ | import("@smithy/types").RequestSigner
84
+ | ((
85
+ authScheme?: import("@smithy/types").AuthScheme | undefined
86
+ ) => Promise<import("@smithy/types").RequestSigner>)
87
+ | undefined;
88
+ signingEscapePath?: boolean | undefined;
89
+ systemClockOffset?: number | undefined;
90
+ signingRegion?: string | undefined;
91
+ signerConstructor?:
92
+ | (new (
93
+ options: import("@smithy/signature-v4").SignatureV4Init &
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ ) => import("@smithy/types").RequestSigner)
96
+ | undefined;
97
+ };
@@ -0,0 +1,101 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ArtifactClientConfig } from "./ArtifactClient";
3
+ export declare const getRuntimeConfig: (config: ArtifactClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ init?:
11
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
+ | undefined
13
+ ) => import("@smithy/types").MemoizedProvider<
14
+ import("@smithy/types").AwsCredentialIdentity
15
+ >;
16
+ defaultUserAgentProvider: import("@smithy/types").Provider<
17
+ import("@smithy/types").UserAgent
18
+ >;
19
+ maxAttempts: number | import("@smithy/types").Provider<number>;
20
+ region: string | import("@smithy/types").Provider<string>;
21
+ requestHandler:
22
+ | (import("@smithy/types").RequestHandler<
23
+ any,
24
+ any,
25
+ import("@smithy/types").HttpHandlerOptions
26
+ > &
27
+ import("@smithy/types").RequestHandler<
28
+ import("@smithy/protocol-http").HttpRequest,
29
+ import("@smithy/protocol-http").HttpResponse,
30
+ import("@smithy/types").HttpHandlerOptions
31
+ > & {
32
+ updateHttpClientConfig(key: never, value: never): void;
33
+ httpHandlerConfigs(): {};
34
+ })
35
+ | RequestHandler;
36
+ retryMode: string | import("@smithy/types").Provider<string>;
37
+ sha256: import("@smithy/types").HashConstructor;
38
+ streamCollector: import("@smithy/types").StreamCollector;
39
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
40
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
41
+ apiVersion: string;
42
+ urlParser: import("@smithy/types").UrlParser;
43
+ base64Decoder: import("@smithy/types").Decoder;
44
+ base64Encoder: import("@smithy/types").Encoder;
45
+ utf8Decoder: import("@smithy/types").Decoder;
46
+ utf8Encoder: import("@smithy/types").Encoder;
47
+ disableHostPrefix: boolean;
48
+ serviceId: string;
49
+ logger: import("@smithy/types").Logger;
50
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
51
+ endpoint?:
52
+ | ((
53
+ | string
54
+ | import("@smithy/types").Endpoint
55
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
+ | import("@smithy/types").EndpointV2
57
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
58
+ ) &
59
+ (
60
+ | string
61
+ | import("@smithy/types").Provider<string>
62
+ | import("@smithy/types").Endpoint
63
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
64
+ | import("@smithy/types").EndpointV2
65
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
66
+ ))
67
+ | undefined;
68
+ endpointProvider: (
69
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
70
+ context?: {
71
+ logger?: import("@smithy/types").Logger | undefined;
72
+ }
73
+ ) => import("@smithy/types").EndpointV2;
74
+ tls?: boolean | undefined;
75
+ retryStrategy?:
76
+ | import("@smithy/types").RetryStrategy
77
+ | import("@smithy/types").RetryStrategyV2
78
+ | undefined;
79
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
80
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
81
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ArtifactHttpAuthSchemeProvider;
82
+ credentials?:
83
+ | import("@smithy/types").AwsCredentialIdentity
84
+ | import("@smithy/types").AwsCredentialIdentityProvider
85
+ | undefined;
86
+ signer?:
87
+ | import("@smithy/types").RequestSigner
88
+ | ((
89
+ authScheme?: import("@smithy/types").AuthScheme | undefined
90
+ ) => Promise<import("@smithy/types").RequestSigner>)
91
+ | undefined;
92
+ signingEscapePath?: boolean | undefined;
93
+ systemClockOffset?: number | undefined;
94
+ signingRegion?: string | undefined;
95
+ signerConstructor?:
96
+ | (new (
97
+ options: import("@smithy/signature-v4").SignatureV4Init &
98
+ import("@smithy/signature-v4").SignatureV4CryptoInit
99
+ ) => import("@smithy/types").RequestSigner)
100
+ | undefined;
101
+ };