@aws-sdk/client-applicationcostprofiler 3.477.0 → 3.481.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 (33) hide show
  1. package/dist-cjs/commands/DeleteReportDefinitionCommand.js +18 -41
  2. package/dist-cjs/commands/GetReportDefinitionCommand.js +18 -41
  3. package/dist-cjs/commands/ImportApplicationUsageCommand.js +18 -41
  4. package/dist-cjs/commands/ListReportDefinitionsCommand.js +18 -41
  5. package/dist-cjs/commands/PutReportDefinitionCommand.js +18 -41
  6. package/dist-cjs/commands/UpdateReportDefinitionCommand.js +18 -41
  7. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  8. package/dist-cjs/pagination/ListReportDefinitionsPaginator.js +2 -24
  9. package/dist-es/commands/DeleteReportDefinitionCommand.js +18 -41
  10. package/dist-es/commands/GetReportDefinitionCommand.js +18 -41
  11. package/dist-es/commands/ImportApplicationUsageCommand.js +18 -41
  12. package/dist-es/commands/ListReportDefinitionsCommand.js +18 -41
  13. package/dist-es/commands/PutReportDefinitionCommand.js +18 -41
  14. package/dist-es/commands/UpdateReportDefinitionCommand.js +18 -41
  15. package/dist-es/endpoint/EndpointParameters.js +6 -0
  16. package/dist-es/pagination/ListReportDefinitionsPaginator.js +2 -23
  17. package/dist-types/commands/DeleteReportDefinitionCommand.d.ts +6 -21
  18. package/dist-types/commands/GetReportDefinitionCommand.d.ts +6 -21
  19. package/dist-types/commands/ImportApplicationUsageCommand.d.ts +6 -21
  20. package/dist-types/commands/ListReportDefinitionsCommand.d.ts +6 -21
  21. package/dist-types/commands/PutReportDefinitionCommand.d.ts +6 -21
  22. package/dist-types/commands/UpdateReportDefinitionCommand.d.ts +6 -21
  23. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  24. package/dist-types/pagination/ListReportDefinitionsPaginator.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +12 -24
  26. package/dist-types/ts3.4/commands/GetReportDefinitionCommand.d.ts +14 -23
  27. package/dist-types/ts3.4/commands/ImportApplicationUsageCommand.d.ts +12 -24
  28. package/dist-types/ts3.4/commands/ListReportDefinitionsCommand.d.ts +12 -24
  29. package/dist-types/ts3.4/commands/PutReportDefinitionCommand.d.ts +14 -23
  30. package/dist-types/ts3.4/commands/UpdateReportDefinitionCommand.d.ts +12 -24
  31. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  32. package/dist-types/ts3.4/pagination/ListReportDefinitionsPaginator.d.ts +3 -3
  33. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ImportApplicationUsageCommand, se_ImportApplicationUsageCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ImportApplicationUsageCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ImportApplicationUsageCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationCostProfilerClient";
26
- const commandName = "ImportApplicationUsageCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSApplicationCostProfiler",
35
- operation: "ImportApplicationUsage",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ImportApplicationUsageCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ImportApplicationUsageCommand(output, context);
46
- }
7
+ export class ImportApplicationUsageCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSApplicationCostProfiler", "ImportApplicationUsage", {})
19
+ .n("ApplicationCostProfilerClient", "ImportApplicationUsageCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ImportApplicationUsageCommand)
22
+ .de(de_ImportApplicationUsageCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListReportDefinitionsCommand, se_ListReportDefinitionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListReportDefinitionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListReportDefinitionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationCostProfilerClient";
26
- const commandName = "ListReportDefinitionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSApplicationCostProfiler",
35
- operation: "ListReportDefinitions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListReportDefinitionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListReportDefinitionsCommand(output, context);
46
- }
7
+ export class ListReportDefinitionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSApplicationCostProfiler", "ListReportDefinitions", {})
19
+ .n("ApplicationCostProfilerClient", "ListReportDefinitionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListReportDefinitionsCommand)
22
+ .de(de_ListReportDefinitionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_PutReportDefinitionCommand, se_PutReportDefinitionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class PutReportDefinitionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, PutReportDefinitionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationCostProfilerClient";
26
- const commandName = "PutReportDefinitionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSApplicationCostProfiler",
35
- operation: "PutReportDefinition",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_PutReportDefinitionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_PutReportDefinitionCommand(output, context);
46
- }
7
+ export class PutReportDefinitionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSApplicationCostProfiler", "PutReportDefinition", {})
19
+ .n("ApplicationCostProfilerClient", "PutReportDefinitionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_PutReportDefinitionCommand)
22
+ .de(de_PutReportDefinitionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateReportDefinitionCommand, se_UpdateReportDefinitionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateReportDefinitionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateReportDefinitionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationCostProfilerClient";
26
- const commandName = "UpdateReportDefinitionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSApplicationCostProfiler",
35
- operation: "UpdateReportDefinition",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateReportDefinitionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateReportDefinitionCommand(output, context);
46
- }
7
+ export class UpdateReportDefinitionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSApplicationCostProfiler", "UpdateReportDefinition", {})
19
+ .n("ApplicationCostProfilerClient", "UpdateReportDefinitionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateReportDefinitionCommand)
22
+ .de(de_UpdateReportDefinitionCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "application-cost-profiler",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ApplicationCostProfilerClient } from "../ApplicationCostProfilerClient";
2
3
  import { ListReportDefinitionsCommand, } from "../commands/ListReportDefinitionsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListReportDefinitionsCommand(input), ...args);
5
- };
6
- export async function* paginateListReportDefinitions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof ApplicationCostProfilerClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ApplicationCostProfiler | ApplicationCostProfilerClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListReportDefinitions = createPaginator(ApplicationCostProfilerClient, ListReportDefinitionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
5
4
  import { DeleteReportDefinitionRequest, DeleteReportDefinitionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteReportDefinitionCommandInput extends DeleteReportDefiniti
21
20
  */
22
21
  export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinitionResult, __MetadataBearer {
23
22
  }
23
+ declare const DeleteReportDefinitionCommand_base: {
24
+ new (input: DeleteReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being
@@ -64,23 +67,5 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
64
67
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
65
68
  *
66
69
  */
67
- export declare class DeleteReportDefinitionCommand extends $Command<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
68
- readonly input: DeleteReportDefinitionCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: DeleteReportDefinitionCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class DeleteReportDefinitionCommand extends DeleteReportDefinitionCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
5
4
  import { GetReportDefinitionRequest, GetReportDefinitionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetReportDefinitionCommandInput extends GetReportDefinitionRequ
21
20
  */
22
21
  export interface GetReportDefinitionCommandOutput extends GetReportDefinitionResult, __MetadataBearer {
23
22
  }
23
+ declare const GetReportDefinitionCommand_base: {
24
+ new (input: GetReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the definition of a report already configured in AWS Application Cost Profiler.</p>
@@ -72,23 +75,5 @@ export interface GetReportDefinitionCommandOutput extends GetReportDefinitionRes
72
75
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
73
76
  *
74
77
  */
75
- export declare class GetReportDefinitionCommand extends $Command<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
76
- readonly input: GetReportDefinitionCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: GetReportDefinitionCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class GetReportDefinitionCommand extends GetReportDefinitionCommand_base {
94
79
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
5
4
  import { ImportApplicationUsageRequest, ImportApplicationUsageResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ImportApplicationUsageCommandInput extends ImportApplicationUsa
21
20
  */
22
21
  export interface ImportApplicationUsageCommandOutput extends ImportApplicationUsageResult, __MetadataBearer {
23
22
  }
23
+ declare const ImportApplicationUsageCommand_base: {
24
+ new (input: ImportApplicationUsageCommandInput): import("@smithy/smithy-client").CommandImpl<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Ingests application usage data from Amazon Simple Storage Service (Amazon S3).</p>
@@ -70,23 +73,5 @@ export interface ImportApplicationUsageCommandOutput extends ImportApplicationUs
70
73
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
71
74
  *
72
75
  */
73
- export declare class ImportApplicationUsageCommand extends $Command<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
74
- readonly input: ImportApplicationUsageCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: ImportApplicationUsageCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class ImportApplicationUsageCommand extends ImportApplicationUsageCommand_base {
92
77
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
5
4
  import { ListReportDefinitionsRequest, ListReportDefinitionsResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListReportDefinitionsCommandInput extends ListReportDefinitions
21
20
  */
22
21
  export interface ListReportDefinitionsCommandOutput extends ListReportDefinitionsResult, __MetadataBearer {
23
22
  }
23
+ declare const ListReportDefinitionsCommand_base: {
24
+ new (input: ListReportDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves a list of all reports and their configurations for your AWS account.</p>
@@ -79,23 +82,5 @@ export interface ListReportDefinitionsCommandOutput extends ListReportDefinition
79
82
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
80
83
  *
81
84
  */
82
- export declare class ListReportDefinitionsCommand extends $Command<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
83
- readonly input: ListReportDefinitionsCommandInput;
84
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
- /**
86
- * @public
87
- */
88
- constructor(input: ListReportDefinitionsCommandInput);
89
- /**
90
- * @internal
91
- */
92
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput>;
93
- /**
94
- * @internal
95
- */
96
- private serialize;
97
- /**
98
- * @internal
99
- */
100
- private deserialize;
85
+ export declare class ListReportDefinitionsCommand extends ListReportDefinitionsCommand_base {
101
86
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
5
4
  import { PutReportDefinitionRequest, PutReportDefinitionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PutReportDefinitionCommandInput extends PutReportDefinitionRequ
21
20
  */
22
21
  export interface PutReportDefinitionCommandOutput extends PutReportDefinitionResult, __MetadataBearer {
23
22
  }
23
+ declare const PutReportDefinitionCommand_base: {
24
+ new (input: PutReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates the report definition for a report in Application Cost Profiler.</p>
@@ -73,23 +76,5 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
73
76
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
74
77
  *
75
78
  */
76
- export declare class PutReportDefinitionCommand extends $Command<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
77
- readonly input: PutReportDefinitionCommandInput;
78
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
- /**
80
- * @public
81
- */
82
- constructor(input: PutReportDefinitionCommandInput);
83
- /**
84
- * @internal
85
- */
86
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput>;
87
- /**
88
- * @internal
89
- */
90
- private serialize;
91
- /**
92
- * @internal
93
- */
94
- private deserialize;
79
+ export declare class PutReportDefinitionCommand extends PutReportDefinitionCommand_base {
95
80
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationCostProfilerClient";
5
4
  import { UpdateReportDefinitionRequest, UpdateReportDefinitionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UpdateReportDefinitionCommandInput extends UpdateReportDefiniti
21
20
  */
22
21
  export interface UpdateReportDefinitionCommandOutput extends UpdateReportDefinitionResult, __MetadataBearer {
23
22
  }
23
+ declare const UpdateReportDefinitionCommand_base: {
24
+ new (input: UpdateReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Updates existing report in AWS Application Cost Profiler.</p>
@@ -70,23 +73,5 @@ export interface UpdateReportDefinitionCommandOutput extends UpdateReportDefinit
70
73
  * <p>Base exception class for all service exceptions from ApplicationCostProfiler service.</p>
71
74
  *
72
75
  */
73
- export declare class UpdateReportDefinitionCommand extends $Command<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
74
- readonly input: UpdateReportDefinitionCommandInput;
75
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
- /**
77
- * @public
78
- */
79
- constructor(input: UpdateReportDefinitionCommandInput);
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput>;
84
- /**
85
- * @internal
86
- */
87
- private serialize;
88
- /**
89
- * @internal
90
- */
91
- private deserialize;
76
+ export declare class UpdateReportDefinitionCommand extends UpdateReportDefinitionCommand_base {
92
77
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -4,4 +4,4 @@ import { ApplicationCostProfilerPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListReportDefinitions(config: ApplicationCostProfilerPaginationConfiguration, input: ListReportDefinitionsCommandInput, ...additionalArguments: any): Paginator<ListReportDefinitionsCommandOutput>;
7
+ export declare const paginateListReportDefinitions: (config: ApplicationCostProfilerPaginationConfiguration, input: ListReportDefinitionsCommandInput, ...rest: any[]) => Paginator<ListReportDefinitionsCommandOutput>;