@aws-sdk/client-applicationcostprofiler 3.533.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -730,9 +730,6 @@ var ApplicationCostProfiler = _ApplicationCostProfiler;
730
730
  // src/pagination/ListReportDefinitionsPaginator.ts
731
731
 
732
732
  var paginateListReportDefinitions = (0, import_core.createPaginator)(ApplicationCostProfilerClient, ListReportDefinitionsCommand, "nextToken", "nextToken", "maxResults");
733
-
734
- // src/index.ts
735
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
736
733
  // Annotate the CommonJS export names for ESM import in node:
737
734
 
738
735
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./ApplicationCostProfiler";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException";
@@ -28,6 +28,7 @@ export interface ApplicationCostProfiler {
28
28
  /**
29
29
  * @see {@link ListReportDefinitionsCommand}
30
30
  */
31
+ listReportDefinitions(): Promise<ListReportDefinitionsCommandOutput>;
31
32
  listReportDefinitions(args: ListReportDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListReportDefinitionsCommandOutput>;
32
33
  listReportDefinitions(args: ListReportDefinitionsCommandInput, cb: (err: any, data?: ListReportDefinitionsCommandOutput) => void): void;
33
34
  listReportDefinitions(args: ListReportDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportDefinitionsCommandOutput) => void): void;
@@ -45,13 +46,13 @@ export interface ApplicationCostProfiler {
45
46
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
46
47
  }
47
48
  /**
48
- * @public
49
49
  * <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
50
50
  * <p>The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete
51
51
  * application cost report definitions, as well as to import your usage data into the Application Cost Profiler
52
52
  * service.</p>
53
53
  * <p>For more information about using this service, see the <a href="https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html">AWS Application Cost
54
54
  * Profiler User Guide</a>.</p>
55
+ * @public
55
56
  */
56
57
  export declare class ApplicationCostProfiler extends ApplicationCostProfilerClient implements ApplicationCostProfiler {
57
58
  }
@@ -157,13 +157,13 @@ export type ApplicationCostProfilerClientResolvedConfigType = __SmithyResolvedCo
157
157
  export interface ApplicationCostProfilerClientResolvedConfig extends ApplicationCostProfilerClientResolvedConfigType {
158
158
  }
159
159
  /**
160
- * @public
161
160
  * <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
162
161
  * <p>The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete
163
162
  * application cost report definitions, as well as to import your usage data into the Application Cost Profiler
164
163
  * service.</p>
165
164
  * <p>For more information about using this service, see the <a href="https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html">AWS Application Cost
166
165
  * Profiler User Guide</a>.</p>
166
+ * @public
167
167
  */
168
168
  export declare class ApplicationCostProfilerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationCostProfilerClientResolvedConfig> {
169
169
  /**
@@ -22,10 +22,10 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
22
22
  }
23
23
  declare const DeleteReportDefinitionCommand_base: {
24
24
  new (input: DeleteReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being
30
30
  * generated.</p>
31
31
  * @example
@@ -66,6 +66,7 @@ declare const DeleteReportDefinitionCommand_base: {
66
66
  * @throws {@link ApplicationCostProfilerServiceException}
67
67
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
68
68
  *
69
+ * @public
69
70
  */
70
71
  export declare class DeleteReportDefinitionCommand extends DeleteReportDefinitionCommand_base {
71
72
  }
@@ -22,10 +22,10 @@ export interface GetReportDefinitionCommandOutput extends GetReportDefinitionRes
22
22
  }
23
23
  declare const GetReportDefinitionCommand_base: {
24
24
  new (input: GetReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Retrieves the definition of a report already configured in AWS Application Cost Profiler.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -74,6 +74,7 @@ declare const GetReportDefinitionCommand_base: {
74
74
  * @throws {@link ApplicationCostProfilerServiceException}
75
75
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
76
76
  *
77
+ * @public
77
78
  */
78
79
  export declare class GetReportDefinitionCommand extends GetReportDefinitionCommand_base {
79
80
  }
@@ -22,10 +22,10 @@ export interface ImportApplicationUsageCommandOutput extends ImportApplicationUs
22
22
  }
23
23
  declare const ImportApplicationUsageCommand_base: {
24
24
  new (input: ImportApplicationUsageCommandInput): import("@smithy/smithy-client").CommandImpl<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ImportApplicationUsageCommandInput): import("@smithy/smithy-client").CommandImpl<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Ingests application usage data from Amazon Simple Storage Service (Amazon S3).</p>
30
30
  * <p>The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler
31
31
  * copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing
@@ -72,6 +72,7 @@ declare const ImportApplicationUsageCommand_base: {
72
72
  * @throws {@link ApplicationCostProfilerServiceException}
73
73
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
74
74
  *
75
+ * @public
75
76
  */
76
77
  export declare class ImportApplicationUsageCommand extends ImportApplicationUsageCommand_base {
77
78
  }
@@ -22,10 +22,10 @@ export interface ListReportDefinitionsCommandOutput extends ListReportDefinition
22
22
  }
23
23
  declare const ListReportDefinitionsCommand_base: {
24
24
  new (input: ListReportDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListReportDefinitionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Retrieves a list of all reports and their configurations for your AWS account.</p>
30
30
  * <p>The maximum number of reports is one.</p>
31
31
  * @example
@@ -81,6 +81,7 @@ declare const ListReportDefinitionsCommand_base: {
81
81
  * @throws {@link ApplicationCostProfilerServiceException}
82
82
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
83
83
  *
84
+ * @public
84
85
  */
85
86
  export declare class ListReportDefinitionsCommand extends ListReportDefinitionsCommand_base {
86
87
  }
@@ -22,10 +22,10 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
22
22
  }
23
23
  declare const PutReportDefinitionCommand_base: {
24
24
  new (input: PutReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates the report definition for a report in Application Cost Profiler.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -75,6 +75,7 @@ declare const PutReportDefinitionCommand_base: {
75
75
  * @throws {@link ApplicationCostProfilerServiceException}
76
76
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
77
77
  *
78
+ * @public
78
79
  */
79
80
  export declare class PutReportDefinitionCommand extends PutReportDefinitionCommand_base {
80
81
  }
@@ -22,10 +22,10 @@ export interface UpdateReportDefinitionCommandOutput extends UpdateReportDefinit
22
22
  }
23
23
  declare const UpdateReportDefinitionCommand_base: {
24
24
  new (input: UpdateReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates existing report in AWS Application Cost Profiler.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -72,6 +72,7 @@ declare const UpdateReportDefinitionCommand_base: {
72
72
  * @throws {@link ApplicationCostProfilerServiceException}
73
73
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
74
74
  *
75
+ * @public
75
76
  */
76
77
  export declare class UpdateReportDefinitionCommand extends UpdateReportDefinitionCommand_base {
77
78
  }
@@ -16,5 +16,4 @@ export { ApplicationCostProfilerExtensionConfiguration } from "./extensionConfig
16
16
  export * from "./commands";
17
17
  export * from "./pagination";
18
18
  export * from "./models";
19
- import "@aws-sdk/util-endpoints";
20
19
  export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException";
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { ApplicationCostProfilerServiceException as __BaseException } from "./ApplicationCostProfilerServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>You do not have permission to perform this action.</p>
5
+ * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
@@ -17,8 +17,8 @@ export declare class AccessDeniedException extends __BaseException {
17
17
  */
18
18
  export interface DeleteReportDefinitionRequest {
19
19
  /**
20
- * @public
21
20
  * <p>Required. ID of the report to delete.</p>
21
+ * @public
22
22
  */
23
23
  reportId: string | undefined;
24
24
  }
@@ -27,14 +27,14 @@ export interface DeleteReportDefinitionRequest {
27
27
  */
28
28
  export interface DeleteReportDefinitionResult {
29
29
  /**
30
- * @public
31
30
  * <p>ID of the report that was deleted.</p>
31
+ * @public
32
32
  */
33
33
  reportId?: string;
34
34
  }
35
35
  /**
36
- * @public
37
36
  * <p>An internal server error occurred. Retry your request.</p>
37
+ * @public
38
38
  */
39
39
  export declare class InternalServerException extends __BaseException {
40
40
  readonly name: "InternalServerException";
@@ -45,8 +45,8 @@ export declare class InternalServerException extends __BaseException {
45
45
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
46
46
  }
47
47
  /**
48
- * @public
49
48
  * <p>The calls to AWS Application Cost Profiler API are throttled. The request was denied.</p>
49
+ * @public
50
50
  */
51
51
  export declare class ThrottlingException extends __BaseException {
52
52
  readonly name: "ThrottlingException";
@@ -57,8 +57,8 @@ export declare class ThrottlingException extends __BaseException {
57
57
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
58
58
  }
59
59
  /**
60
- * @public
61
60
  * <p>The input fails to satisfy the constraints for the API.</p>
61
+ * @public
62
62
  */
63
63
  export declare class ValidationException extends __BaseException {
64
64
  readonly name: "ValidationException";
@@ -73,25 +73,25 @@ export declare class ValidationException extends __BaseException {
73
73
  */
74
74
  export interface GetReportDefinitionRequest {
75
75
  /**
76
- * @public
77
76
  * <p>ID of the report to retrieve.</p>
77
+ * @public
78
78
  */
79
79
  reportId: string | undefined;
80
80
  }
81
81
  /**
82
- * @public
83
82
  * <p>Represents the Amazon Simple Storage Service (Amazon S3) location where AWS Application Cost Profiler
84
83
  * reports are generated and then written to.</p>
84
+ * @public
85
85
  */
86
86
  export interface S3Location {
87
87
  /**
88
- * @public
89
88
  * <p>Name of the S3 bucket.</p>
89
+ * @public
90
90
  */
91
91
  bucket: string | undefined;
92
92
  /**
93
- * @public
94
93
  * <p>Prefix for the location to write to.</p>
94
+ * @public
95
95
  */
96
96
  prefix: string | undefined;
97
97
  }
@@ -125,38 +125,38 @@ export type ReportFrequency = (typeof ReportFrequency)[keyof typeof ReportFreque
125
125
  */
126
126
  export interface GetReportDefinitionResult {
127
127
  /**
128
- * @public
129
128
  * <p>ID of the report retrieved.</p>
129
+ * @public
130
130
  */
131
131
  reportId: string | undefined;
132
132
  /**
133
- * @public
134
133
  * <p>Description of the report.</p>
134
+ * @public
135
135
  */
136
136
  reportDescription: string | undefined;
137
137
  /**
138
- * @public
139
138
  * <p>Cadence used to generate the report.</p>
139
+ * @public
140
140
  */
141
141
  reportFrequency: ReportFrequency | undefined;
142
142
  /**
143
- * @public
144
143
  * <p>Format of the generated report.</p>
144
+ * @public
145
145
  */
146
146
  format: Format | undefined;
147
147
  /**
148
- * @public
149
148
  * <p>Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.</p>
149
+ * @public
150
150
  */
151
151
  destinationS3Location: S3Location | undefined;
152
152
  /**
153
- * @public
154
153
  * <p>Timestamp (milliseconds) when this report definition was created.</p>
154
+ * @public
155
155
  */
156
156
  createdAt: Date | undefined;
157
157
  /**
158
- * @public
159
158
  * <p>Timestamp (milliseconds) when this report definition was last updated.</p>
159
+ * @public
160
160
  */
161
161
  lastUpdated: Date | undefined;
162
162
  }
@@ -175,26 +175,26 @@ export declare const S3BucketRegion: {
175
175
  */
176
176
  export type S3BucketRegion = (typeof S3BucketRegion)[keyof typeof S3BucketRegion];
177
177
  /**
178
- * @public
179
178
  * <p>Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read
180
179
  * from.</p>
180
+ * @public
181
181
  */
182
182
  export interface SourceS3Location {
183
183
  /**
184
- * @public
185
184
  * <p>Name of the bucket.</p>
185
+ * @public
186
186
  */
187
187
  bucket: string | undefined;
188
188
  /**
189
- * @public
190
189
  * <p>Key of the object.</p>
190
+ * @public
191
191
  */
192
192
  key: string | undefined;
193
193
  /**
194
- * @public
195
194
  * <p>Region of the bucket. Only required for Regions that are disabled by default.
196
195
  * For more infomration about Regions that are disabled by default, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable">
197
196
  * Enabling a Region</a> in the <i>AWS General Reference guide</i>.</p>
197
+ * @public
198
198
  */
199
199
  region?: S3BucketRegion;
200
200
  }
@@ -203,8 +203,8 @@ export interface SourceS3Location {
203
203
  */
204
204
  export interface ImportApplicationUsageRequest {
205
205
  /**
206
- * @public
207
206
  * <p>Amazon S3 location to import application usage data from.</p>
207
+ * @public
208
208
  */
209
209
  sourceS3Location: SourceS3Location | undefined;
210
210
  }
@@ -213,8 +213,8 @@ export interface ImportApplicationUsageRequest {
213
213
  */
214
214
  export interface ImportApplicationUsageResult {
215
215
  /**
216
- * @public
217
216
  * <p>ID of the import request.</p>
217
+ * @public
218
218
  */
219
219
  importId: string | undefined;
220
220
  }
@@ -223,54 +223,54 @@ export interface ImportApplicationUsageResult {
223
223
  */
224
224
  export interface ListReportDefinitionsRequest {
225
225
  /**
226
- * @public
227
226
  * <p>The token value from a previous call to access the next page of results.</p>
227
+ * @public
228
228
  */
229
229
  nextToken?: string;
230
230
  /**
231
- * @public
232
231
  * <p>The maximum number of results to return.</p>
232
+ * @public
233
233
  */
234
234
  maxResults?: number;
235
235
  }
236
236
  /**
237
- * @public
238
237
  * <p>The configuration of a report in AWS Application Cost Profiler.</p>
238
+ * @public
239
239
  */
240
240
  export interface ReportDefinition {
241
241
  /**
242
- * @public
243
242
  * <p>The ID of the report.</p>
243
+ * @public
244
244
  */
245
245
  reportId?: string;
246
246
  /**
247
- * @public
248
247
  * <p>Description of the report</p>
248
+ * @public
249
249
  */
250
250
  reportDescription?: string;
251
251
  /**
252
- * @public
253
252
  * <p>The cadence at which the report is generated.</p>
253
+ * @public
254
254
  */
255
255
  reportFrequency?: ReportFrequency;
256
256
  /**
257
- * @public
258
257
  * <p>The format used for the generated reports.</p>
258
+ * @public
259
259
  */
260
260
  format?: Format;
261
261
  /**
262
- * @public
263
262
  * <p>The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.</p>
263
+ * @public
264
264
  */
265
265
  destinationS3Location?: S3Location;
266
266
  /**
267
- * @public
268
267
  * <p>Timestamp (milliseconds) when this report definition was created.</p>
268
+ * @public
269
269
  */
270
270
  createdAt?: Date;
271
271
  /**
272
- * @public
273
272
  * <p>Timestamp (milliseconds) when this report definition was last updated.</p>
273
+ * @public
274
274
  */
275
275
  lastUpdatedAt?: Date;
276
276
  }
@@ -279,13 +279,13 @@ export interface ReportDefinition {
279
279
  */
280
280
  export interface ListReportDefinitionsResult {
281
281
  /**
282
- * @public
283
282
  * <p>The retrieved reports.</p>
283
+ * @public
284
284
  */
285
285
  reportDefinitions?: ReportDefinition[];
286
286
  /**
287
- * @public
288
287
  * <p>The value of the next token, if it exists. Null if there are no more results.</p>
288
+ * @public
289
289
  */
290
290
  nextToken?: string;
291
291
  }
@@ -294,30 +294,30 @@ export interface ListReportDefinitionsResult {
294
294
  */
295
295
  export interface PutReportDefinitionRequest {
296
296
  /**
297
- * @public
298
297
  * <p>Required. ID of the report. You can choose any valid string matching the pattern for the
299
298
  * ID.</p>
299
+ * @public
300
300
  */
301
301
  reportId: string | undefined;
302
302
  /**
303
- * @public
304
303
  * <p>Required. Description of the report.</p>
304
+ * @public
305
305
  */
306
306
  reportDescription: string | undefined;
307
307
  /**
308
- * @public
309
308
  * <p>Required. The cadence to generate the report.</p>
309
+ * @public
310
310
  */
311
311
  reportFrequency: ReportFrequency | undefined;
312
312
  /**
313
- * @public
314
313
  * <p>Required. The format to use for the generated report.</p>
314
+ * @public
315
315
  */
316
316
  format: Format | undefined;
317
317
  /**
318
- * @public
319
318
  * <p>Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the
320
319
  * report.</p>
320
+ * @public
321
321
  */
322
322
  destinationS3Location: S3Location | undefined;
323
323
  }
@@ -326,14 +326,14 @@ export interface PutReportDefinitionRequest {
326
326
  */
327
327
  export interface PutReportDefinitionResult {
328
328
  /**
329
- * @public
330
329
  * <p>ID of the report.</p>
330
+ * @public
331
331
  */
332
332
  reportId?: string;
333
333
  }
334
334
  /**
335
- * @public
336
335
  * <p>Your request exceeds one or more of the service quotas.</p>
336
+ * @public
337
337
  */
338
338
  export declare class ServiceQuotaExceededException extends __BaseException {
339
339
  readonly name: "ServiceQuotaExceededException";
@@ -348,29 +348,29 @@ export declare class ServiceQuotaExceededException extends __BaseException {
348
348
  */
349
349
  export interface UpdateReportDefinitionRequest {
350
350
  /**
351
- * @public
352
351
  * <p>Required. ID of the report to update.</p>
352
+ * @public
353
353
  */
354
354
  reportId: string | undefined;
355
355
  /**
356
- * @public
357
356
  * <p>Required. Description of the report.</p>
357
+ * @public
358
358
  */
359
359
  reportDescription: string | undefined;
360
360
  /**
361
- * @public
362
361
  * <p>Required. The cadence to generate the report.</p>
362
+ * @public
363
363
  */
364
364
  reportFrequency: ReportFrequency | undefined;
365
365
  /**
366
- * @public
367
366
  * <p>Required. The format to use for the generated report.</p>
367
+ * @public
368
368
  */
369
369
  format: Format | undefined;
370
370
  /**
371
- * @public
372
371
  * <p>Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the
373
372
  * report.</p>
373
+ * @public
374
374
  */
375
375
  destinationS3Location: S3Location | undefined;
376
376
  }
@@ -379,8 +379,8 @@ export interface UpdateReportDefinitionRequest {
379
379
  */
380
380
  export interface UpdateReportDefinitionResult {
381
381
  /**
382
- * @public
383
382
  * <p>ID of the report.</p>
383
+ * @public
384
384
  */
385
385
  reportId?: string;
386
386
  }
@@ -64,6 +64,7 @@ export interface ApplicationCostProfiler {
64
64
  options: __HttpHandlerOptions,
65
65
  cb: (err: any, data?: ImportApplicationUsageCommandOutput) => void
66
66
  ): void;
67
+ listReportDefinitions(): Promise<ListReportDefinitionsCommandOutput>;
67
68
  listReportDefinitions(
68
69
  args: ListReportDefinitionsCommandInput,
69
70
  options?: __HttpHandlerOptions
@@ -25,6 +25,15 @@ declare const DeleteReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DeleteReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteReportDefinitionCommandInput,
32
+ DeleteReportDefinitionCommandOutput,
33
+ ApplicationCostProfilerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DeleteReportDefinitionCommand extends DeleteReportDefinitionCommand_base {}
@@ -25,6 +25,15 @@ declare const GetReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetReportDefinitionCommandInput,
32
+ GetReportDefinitionCommandOutput,
33
+ ApplicationCostProfilerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetReportDefinitionCommand extends GetReportDefinitionCommand_base {}
@@ -25,6 +25,15 @@ declare const ImportApplicationUsageCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ImportApplicationUsageCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ImportApplicationUsageCommandInput,
32
+ ImportApplicationUsageCommandOutput,
33
+ ApplicationCostProfilerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ImportApplicationUsageCommand extends ImportApplicationUsageCommand_base {}
@@ -25,6 +25,15 @@ declare const ListReportDefinitionsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [ListReportDefinitionsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListReportDefinitionsCommandInput,
32
+ ListReportDefinitionsCommandOutput,
33
+ ApplicationCostProfilerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListReportDefinitionsCommand extends ListReportDefinitionsCommand_base {}
@@ -25,6 +25,15 @@ declare const PutReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: PutReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutReportDefinitionCommandInput,
32
+ PutReportDefinitionCommandOutput,
33
+ ApplicationCostProfilerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class PutReportDefinitionCommand extends PutReportDefinitionCommand_base {}
@@ -25,6 +25,15 @@ declare const UpdateReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: UpdateReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateReportDefinitionCommandInput,
32
+ UpdateReportDefinitionCommandOutput,
33
+ ApplicationCostProfilerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class UpdateReportDefinitionCommand extends UpdateReportDefinitionCommand_base {}
@@ -6,5 +6,4 @@ export { ApplicationCostProfilerExtensionConfiguration } from "./extensionConfig
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-applicationcostprofiler",
3
3
  "description": "AWS SDK for JavaScript Applicationcostprofiler Client for Node.js, Browser and React Native",
4
- "version": "3.533.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-applicationcostprofiler",
@@ -20,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.540.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",