@aws-sdk/client-applicationcostprofiler 3.50.0 → 3.53.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 (35) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ApplicationCostProfilerServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +67 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +83 -246
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ApplicationCostProfilerServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +62 -1
  9. package/dist-es/protocols/Aws_restJson1.js +147 -276
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ApplicationCostProfilerServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +37 -21
  13. package/dist-types/ts3.4/ApplicationCostProfiler.d.ts +35 -0
  14. package/dist-types/ts3.4/ApplicationCostProfilerClient.d.ts +79 -0
  15. package/dist-types/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/GetReportDefinitionCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/ImportApplicationUsageCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/ListReportDefinitionsCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/PutReportDefinitionCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/UpdateReportDefinitionCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  22. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  23. package/dist-types/ts3.4/index.d.ts +6 -0
  24. package/dist-types/ts3.4/models/ApplicationCostProfilerServiceException.d.ts +6 -0
  25. package/dist-types/ts3.4/models/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +225 -0
  27. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  28. package/dist-types/ts3.4/pagination/ListReportDefinitionsPaginator.d.ts +4 -0
  29. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  30. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +20 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  35. package/package.json +33 -33
@@ -1,11 +1,15 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ApplicationCostProfilerServiceException as __BaseException } from "./ApplicationCostProfilerServiceException";
2
3
  /**
3
4
  * <p>You do not have permission to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- message?: string;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
13
  }
10
14
  export interface DeleteReportDefinitionRequest {
11
15
  /**
@@ -34,26 +38,35 @@ export declare namespace DeleteReportDefinitionResult {
34
38
  /**
35
39
  * <p>An internal server error occurred. Retry your request.</p>
36
40
  */
37
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
38
- name: "InternalServerException";
39
- $fault: "server";
40
- message?: string;
41
+ export declare class InternalServerException extends __BaseException {
42
+ readonly name: "InternalServerException";
43
+ readonly $fault: "server";
44
+ /**
45
+ * @internal
46
+ */
47
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
41
48
  }
42
49
  /**
43
50
  * <p>The calls to AWS Application Cost Profiler API are throttled. The request was denied.</p>
44
51
  */
45
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
46
- name: "ThrottlingException";
47
- $fault: "client";
48
- message?: string;
52
+ export declare class ThrottlingException extends __BaseException {
53
+ readonly name: "ThrottlingException";
54
+ readonly $fault: "client";
55
+ /**
56
+ * @internal
57
+ */
58
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
49
59
  }
50
60
  /**
51
61
  * <p>The input fails to satisfy the constraints for the API.</p>
52
62
  */
53
- export interface ValidationException extends __SmithyException, $MetadataBearer {
54
- name: "ValidationException";
55
- $fault: "client";
56
- message?: string;
63
+ export declare class ValidationException extends __BaseException {
64
+ readonly name: "ValidationException";
65
+ readonly $fault: "client";
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
57
70
  }
58
71
  export interface GetReportDefinitionRequest {
59
72
  /**
@@ -304,10 +317,13 @@ export declare namespace PutReportDefinitionResult {
304
317
  /**
305
318
  * <p>Your request exceeds one or more of the service quotas.</p>
306
319
  */
307
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
308
- name: "ServiceQuotaExceededException";
309
- $fault: "client";
310
- message?: string;
320
+ export declare class ServiceQuotaExceededException extends __BaseException {
321
+ readonly name: "ServiceQuotaExceededException";
322
+ readonly $fault: "client";
323
+ /**
324
+ * @internal
325
+ */
326
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
311
327
  }
312
328
  export interface UpdateReportDefinitionRequest {
313
329
  /**
@@ -0,0 +1,35 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { ApplicationCostProfilerClient } from "./ApplicationCostProfilerClient";
3
+ import { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
4
+ import { GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput } from "./commands/GetReportDefinitionCommand";
5
+ import { ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput } from "./commands/ImportApplicationUsageCommand";
6
+ import { ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput } from "./commands/ListReportDefinitionsCommand";
7
+ import { PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput } from "./commands/PutReportDefinitionCommand";
8
+ import { UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput } from "./commands/UpdateReportDefinitionCommand";
9
+
10
+ export declare class ApplicationCostProfiler extends ApplicationCostProfilerClient {
11
+
12
+ deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReportDefinitionCommandOutput>;
13
+ deleteReportDefinition(args: DeleteReportDefinitionCommandInput, cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void): void;
14
+ deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void): void;
15
+
16
+ getReportDefinition(args: GetReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetReportDefinitionCommandOutput>;
17
+ getReportDefinition(args: GetReportDefinitionCommandInput, cb: (err: any, data?: GetReportDefinitionCommandOutput) => void): void;
18
+ getReportDefinition(args: GetReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReportDefinitionCommandOutput) => void): void;
19
+
20
+ importApplicationUsage(args: ImportApplicationUsageCommandInput, options?: __HttpHandlerOptions): Promise<ImportApplicationUsageCommandOutput>;
21
+ importApplicationUsage(args: ImportApplicationUsageCommandInput, cb: (err: any, data?: ImportApplicationUsageCommandOutput) => void): void;
22
+ importApplicationUsage(args: ImportApplicationUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportApplicationUsageCommandOutput) => void): void;
23
+
24
+ listReportDefinitions(args: ListReportDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListReportDefinitionsCommandOutput>;
25
+ listReportDefinitions(args: ListReportDefinitionsCommandInput, cb: (err: any, data?: ListReportDefinitionsCommandOutput) => void): void;
26
+ listReportDefinitions(args: ListReportDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportDefinitionsCommandOutput) => void): void;
27
+
28
+ putReportDefinition(args: PutReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutReportDefinitionCommandOutput>;
29
+ putReportDefinition(args: PutReportDefinitionCommandInput, cb: (err: any, data?: PutReportDefinitionCommandOutput) => void): void;
30
+ putReportDefinition(args: PutReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutReportDefinitionCommandOutput) => void): void;
31
+
32
+ updateReportDefinition(args: UpdateReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReportDefinitionCommandOutput>;
33
+ updateReportDefinition(args: UpdateReportDefinitionCommandInput, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
34
+ updateReportDefinition(args: UpdateReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
35
+ }
@@ -0,0 +1,79 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
10
+ import { GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput } from "./commands/GetReportDefinitionCommand";
11
+ import { ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput } from "./commands/ImportApplicationUsageCommand";
12
+ import { ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput } from "./commands/ListReportDefinitionsCommand";
13
+ import { PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput } from "./commands/PutReportDefinitionCommand";
14
+ import { UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput } from "./commands/UpdateReportDefinitionCommand";
15
+ export declare type ServiceInputTypes = DeleteReportDefinitionCommandInput | GetReportDefinitionCommandInput | ImportApplicationUsageCommandInput | ListReportDefinitionsCommandInput | PutReportDefinitionCommandInput | UpdateReportDefinitionCommandInput;
16
+ export declare type ServiceOutputTypes = DeleteReportDefinitionCommandOutput | GetReportDefinitionCommandOutput | ImportApplicationUsageCommandOutput | ListReportDefinitionsCommandOutput | PutReportDefinitionCommandOutput | UpdateReportDefinitionCommandOutput;
17
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
18
+
19
+ requestHandler?: __HttpHandler;
20
+
21
+ sha256?: __HashConstructor;
22
+
23
+ urlParser?: __UrlParser;
24
+
25
+ bodyLengthChecker?: (body: any) => number | undefined;
26
+
27
+ streamCollector?: __StreamCollector;
28
+
29
+ base64Decoder?: __Decoder;
30
+
31
+ base64Encoder?: __Encoder;
32
+
33
+ utf8Decoder?: __Decoder;
34
+
35
+ utf8Encoder?: __Encoder;
36
+
37
+ runtime?: string;
38
+
39
+ disableHostPrefix?: boolean;
40
+
41
+ maxAttempts?: number | __Provider<number>;
42
+
43
+ retryMode?: string | __Provider<string>;
44
+
45
+ logger?: __Logger;
46
+
47
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
48
+
49
+ useFipsEndpoint?: boolean | __Provider<boolean>;
50
+
51
+ serviceId?: string;
52
+
53
+ region?: string | __Provider<string>;
54
+
55
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
56
+
57
+ regionInfoProvider?: RegionInfoProvider;
58
+
59
+ defaultUserAgentProvider?: Provider<__UserAgent>;
60
+
61
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
62
+ }
63
+ declare type ApplicationCostProfilerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
64
+
65
+ export interface ApplicationCostProfilerClientConfig extends ApplicationCostProfilerClientConfigType {
66
+ }
67
+ declare type ApplicationCostProfilerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
68
+
69
+ export interface ApplicationCostProfilerClientResolvedConfig extends ApplicationCostProfilerClientResolvedConfigType {
70
+ }
71
+
72
+ export declare class ApplicationCostProfilerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationCostProfilerClientResolvedConfig> {
73
+
74
+ readonly config: ApplicationCostProfilerClientResolvedConfig;
75
+ constructor(configuration: ApplicationCostProfilerClientConfig);
76
+
77
+ destroy(): void;
78
+ }
79
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
4
+ import { DeleteReportDefinitionRequest, DeleteReportDefinitionResult } from "../models/models_0";
5
+ export interface DeleteReportDefinitionCommandInput extends DeleteReportDefinitionRequest {
6
+ }
7
+ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinitionResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteReportDefinitionCommand extends $Command<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
11
+ readonly input: DeleteReportDefinitionCommandInput;
12
+ constructor(input: DeleteReportDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
4
+ import { GetReportDefinitionRequest, GetReportDefinitionResult } from "../models/models_0";
5
+ export interface GetReportDefinitionCommandInput extends GetReportDefinitionRequest {
6
+ }
7
+ export interface GetReportDefinitionCommandOutput extends GetReportDefinitionResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetReportDefinitionCommand extends $Command<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
11
+ readonly input: GetReportDefinitionCommandInput;
12
+ constructor(input: GetReportDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
4
+ import { ImportApplicationUsageRequest, ImportApplicationUsageResult } from "../models/models_0";
5
+ export interface ImportApplicationUsageCommandInput extends ImportApplicationUsageRequest {
6
+ }
7
+ export interface ImportApplicationUsageCommandOutput extends ImportApplicationUsageResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ImportApplicationUsageCommand extends $Command<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
11
+ readonly input: ImportApplicationUsageCommandInput;
12
+ constructor(input: ImportApplicationUsageCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
4
+ import { ListReportDefinitionsRequest, ListReportDefinitionsResult } from "../models/models_0";
5
+ export interface ListReportDefinitionsCommandInput extends ListReportDefinitionsRequest {
6
+ }
7
+ export interface ListReportDefinitionsCommandOutput extends ListReportDefinitionsResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListReportDefinitionsCommand extends $Command<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
11
+ readonly input: ListReportDefinitionsCommandInput;
12
+ constructor(input: ListReportDefinitionsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
4
+ import { PutReportDefinitionRequest, PutReportDefinitionResult } from "../models/models_0";
5
+ export interface PutReportDefinitionCommandInput extends PutReportDefinitionRequest {
6
+ }
7
+ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutReportDefinitionCommand extends $Command<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
11
+ readonly input: PutReportDefinitionCommandInput;
12
+ constructor(input: PutReportDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
4
+ import { UpdateReportDefinitionRequest, UpdateReportDefinitionResult } from "../models/models_0";
5
+ export interface UpdateReportDefinitionCommandInput extends UpdateReportDefinitionRequest {
6
+ }
7
+ export interface UpdateReportDefinitionCommandOutput extends UpdateReportDefinitionResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateReportDefinitionCommand extends $Command<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
11
+ readonly input: UpdateReportDefinitionCommandInput;
12
+ constructor(input: UpdateReportDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,6 @@
1
+ export * from "./DeleteReportDefinitionCommand";
2
+ export * from "./GetReportDefinitionCommand";
3
+ export * from "./ImportApplicationUsageCommand";
4
+ export * from "./ListReportDefinitionsCommand";
5
+ export * from "./PutReportDefinitionCommand";
6
+ export * from "./UpdateReportDefinitionCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,6 @@
1
+ export * from "./ApplicationCostProfiler";
2
+ export * from "./ApplicationCostProfilerClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ApplicationCostProfilerServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,225 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ApplicationCostProfilerServiceException as __BaseException } from "./ApplicationCostProfilerServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
+ }
10
+ export interface DeleteReportDefinitionRequest {
11
+
12
+ reportId: string | undefined;
13
+ }
14
+ export declare namespace DeleteReportDefinitionRequest {
15
+
16
+ const filterSensitiveLog: (obj: DeleteReportDefinitionRequest) => any;
17
+ }
18
+ export interface DeleteReportDefinitionResult {
19
+
20
+ reportId?: string;
21
+ }
22
+ export declare namespace DeleteReportDefinitionResult {
23
+
24
+ const filterSensitiveLog: (obj: DeleteReportDefinitionResult) => any;
25
+ }
26
+
27
+ export declare class InternalServerException extends __BaseException {
28
+ readonly name: "InternalServerException";
29
+ readonly $fault: "server";
30
+
31
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
32
+ }
33
+
34
+ export declare class ThrottlingException extends __BaseException {
35
+ readonly name: "ThrottlingException";
36
+ readonly $fault: "client";
37
+
38
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
39
+ }
40
+
41
+ export declare class ValidationException extends __BaseException {
42
+ readonly name: "ValidationException";
43
+ readonly $fault: "client";
44
+
45
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
46
+ }
47
+ export interface GetReportDefinitionRequest {
48
+
49
+ reportId: string | undefined;
50
+ }
51
+ export declare namespace GetReportDefinitionRequest {
52
+
53
+ const filterSensitiveLog: (obj: GetReportDefinitionRequest) => any;
54
+ }
55
+
56
+ export interface S3Location {
57
+
58
+ bucket: string | undefined;
59
+
60
+ prefix: string | undefined;
61
+ }
62
+ export declare namespace S3Location {
63
+
64
+ const filterSensitiveLog: (obj: S3Location) => any;
65
+ }
66
+ export declare enum Format {
67
+ CSV = "CSV",
68
+ PARQUET = "PARQUET"
69
+ }
70
+ export declare enum ReportFrequency {
71
+ ALL = "ALL",
72
+ DAILY = "DAILY",
73
+ MONTHLY = "MONTHLY"
74
+ }
75
+ export interface GetReportDefinitionResult {
76
+
77
+ reportId: string | undefined;
78
+
79
+ reportDescription: string | undefined;
80
+
81
+ reportFrequency: ReportFrequency | string | undefined;
82
+
83
+ format: Format | string | undefined;
84
+
85
+ destinationS3Location: S3Location | undefined;
86
+
87
+ createdAt: Date | undefined;
88
+
89
+ lastUpdated: Date | undefined;
90
+ }
91
+ export declare namespace GetReportDefinitionResult {
92
+
93
+ const filterSensitiveLog: (obj: GetReportDefinitionResult) => any;
94
+ }
95
+ export declare enum S3BucketRegion {
96
+ AF_SOUTH_1 = "af-south-1",
97
+ AP_EAST_1 = "ap-east-1",
98
+ EU_SOUTH_1 = "eu-south-1",
99
+ ME_SOUTH_1 = "me-south-1"
100
+ }
101
+
102
+ export interface SourceS3Location {
103
+
104
+ bucket: string | undefined;
105
+
106
+ key: string | undefined;
107
+
108
+ region?: S3BucketRegion | string;
109
+ }
110
+ export declare namespace SourceS3Location {
111
+
112
+ const filterSensitiveLog: (obj: SourceS3Location) => any;
113
+ }
114
+ export interface ImportApplicationUsageRequest {
115
+
116
+ sourceS3Location: SourceS3Location | undefined;
117
+ }
118
+ export declare namespace ImportApplicationUsageRequest {
119
+
120
+ const filterSensitiveLog: (obj: ImportApplicationUsageRequest) => any;
121
+ }
122
+ export interface ImportApplicationUsageResult {
123
+
124
+ importId: string | undefined;
125
+ }
126
+ export declare namespace ImportApplicationUsageResult {
127
+
128
+ const filterSensitiveLog: (obj: ImportApplicationUsageResult) => any;
129
+ }
130
+ export interface ListReportDefinitionsRequest {
131
+
132
+ nextToken?: string;
133
+
134
+ maxResults?: number;
135
+ }
136
+ export declare namespace ListReportDefinitionsRequest {
137
+
138
+ const filterSensitiveLog: (obj: ListReportDefinitionsRequest) => any;
139
+ }
140
+
141
+ export interface ReportDefinition {
142
+
143
+ reportId?: string;
144
+
145
+ reportDescription?: string;
146
+
147
+ reportFrequency?: ReportFrequency | string;
148
+
149
+ format?: Format | string;
150
+
151
+ destinationS3Location?: S3Location;
152
+
153
+ createdAt?: Date;
154
+
155
+ lastUpdatedAt?: Date;
156
+ }
157
+ export declare namespace ReportDefinition {
158
+
159
+ const filterSensitiveLog: (obj: ReportDefinition) => any;
160
+ }
161
+ export interface ListReportDefinitionsResult {
162
+
163
+ reportDefinitions?: ReportDefinition[];
164
+
165
+ nextToken?: string;
166
+ }
167
+ export declare namespace ListReportDefinitionsResult {
168
+
169
+ const filterSensitiveLog: (obj: ListReportDefinitionsResult) => any;
170
+ }
171
+ export interface PutReportDefinitionRequest {
172
+
173
+ reportId: string | undefined;
174
+
175
+ reportDescription: string | undefined;
176
+
177
+ reportFrequency: ReportFrequency | string | undefined;
178
+
179
+ format: Format | string | undefined;
180
+
181
+ destinationS3Location: S3Location | undefined;
182
+ }
183
+ export declare namespace PutReportDefinitionRequest {
184
+
185
+ const filterSensitiveLog: (obj: PutReportDefinitionRequest) => any;
186
+ }
187
+ export interface PutReportDefinitionResult {
188
+
189
+ reportId?: string;
190
+ }
191
+ export declare namespace PutReportDefinitionResult {
192
+
193
+ const filterSensitiveLog: (obj: PutReportDefinitionResult) => any;
194
+ }
195
+
196
+ export declare class ServiceQuotaExceededException extends __BaseException {
197
+ readonly name: "ServiceQuotaExceededException";
198
+ readonly $fault: "client";
199
+
200
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
201
+ }
202
+ export interface UpdateReportDefinitionRequest {
203
+
204
+ reportId: string | undefined;
205
+
206
+ reportDescription: string | undefined;
207
+
208
+ reportFrequency: ReportFrequency | string | undefined;
209
+
210
+ format: Format | string | undefined;
211
+
212
+ destinationS3Location: S3Location | undefined;
213
+ }
214
+ export declare namespace UpdateReportDefinitionRequest {
215
+
216
+ const filterSensitiveLog: (obj: UpdateReportDefinitionRequest) => any;
217
+ }
218
+ export interface UpdateReportDefinitionResult {
219
+
220
+ reportId?: string;
221
+ }
222
+ export declare namespace UpdateReportDefinitionResult {
223
+
224
+ const filterSensitiveLog: (obj: UpdateReportDefinitionResult) => any;
225
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { ApplicationCostProfiler } from "../ApplicationCostProfiler";
3
+ import { ApplicationCostProfilerClient } from "../ApplicationCostProfilerClient";
4
+ export interface ApplicationCostProfilerPaginationConfiguration extends PaginationConfiguration {
5
+ client: ApplicationCostProfiler | ApplicationCostProfilerClient;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput } from "../commands/ListReportDefinitionsCommand";
3
+ import { ApplicationCostProfilerPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListReportDefinitions(config: ApplicationCostProfilerPaginationConfiguration, input: ListReportDefinitionsCommandInput, ...additionalArguments: any): Paginator<ListReportDefinitionsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListReportDefinitionsPaginator";
@@ -0,0 +1,20 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "../commands/DeleteReportDefinitionCommand";
4
+ import { GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput } from "../commands/GetReportDefinitionCommand";
5
+ import { ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput } from "../commands/ImportApplicationUsageCommand";
6
+ import { ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput } from "../commands/ListReportDefinitionsCommand";
7
+ import { PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput } from "../commands/PutReportDefinitionCommand";
8
+ import { UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput } from "../commands/UpdateReportDefinitionCommand";
9
+ export declare const serializeAws_restJson1DeleteReportDefinitionCommand: (input: DeleteReportDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
+ export declare const serializeAws_restJson1GetReportDefinitionCommand: (input: GetReportDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
+ export declare const serializeAws_restJson1ImportApplicationUsageCommand: (input: ImportApplicationUsageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
+ export declare const serializeAws_restJson1ListReportDefinitionsCommand: (input: ListReportDefinitionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ export declare const serializeAws_restJson1PutReportDefinitionCommand: (input: PutReportDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ export declare const serializeAws_restJson1UpdateReportDefinitionCommand: (input: UpdateReportDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ export declare const deserializeAws_restJson1DeleteReportDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteReportDefinitionCommandOutput>;
16
+ export declare const deserializeAws_restJson1GetReportDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetReportDefinitionCommandOutput>;
17
+ export declare const deserializeAws_restJson1ImportApplicationUsageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ImportApplicationUsageCommandOutput>;
18
+ export declare const deserializeAws_restJson1ListReportDefinitionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReportDefinitionsCommandOutput>;
19
+ export declare const deserializeAws_restJson1PutReportDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutReportDefinitionCommandOutput>;
20
+ export declare const deserializeAws_restJson1UpdateReportDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateReportDefinitionCommandOutput>;