@aws-sdk/client-applicationcostprofiler 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/ApplicationCostProfiler.js +0 -9
- package/dist-cjs/ApplicationCostProfilerClient.js +0 -14
- package/dist-cjs/commands/DeleteReportDefinitionCommand.js +0 -26
- package/dist-cjs/commands/GetReportDefinitionCommand.js +0 -25
- package/dist-cjs/commands/ImportApplicationUsageCommand.js +0 -28
- package/dist-cjs/commands/ListReportDefinitionsCommand.js +0 -26
- package/dist-cjs/commands/PutReportDefinitionCommand.js +0 -25
- package/dist-cjs/commands/UpdateReportDefinitionCommand.js +0 -25
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -11
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -61
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListReportDefinitionsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/ApplicationCostProfiler.js +0 -1
- package/dist-es/ApplicationCostProfilerClient.js +0 -1
- package/dist-es/commands/DeleteReportDefinitionCommand.js +0 -1
- package/dist-es/commands/GetReportDefinitionCommand.js +0 -1
- package/dist-es/commands/ImportApplicationUsageCommand.js +0 -1
- package/dist-es/commands/ListReportDefinitionsCommand.js +0 -1
- package/dist-es/commands/PutReportDefinitionCommand.js +0 -1
- package/dist-es/commands/UpdateReportDefinitionCommand.js +0 -1
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -11
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListReportDefinitionsPaginator.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +4 -10
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -0
- package/dist-types/ts3.4/ApplicationCostProfiler.d.ts +7 -31
- package/dist-types/ts3.4/ApplicationCostProfilerClient.d.ts +24 -94
- package/dist-types/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetReportDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportApplicationUsageCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListReportDefinitionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutReportDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateReportDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/index.d.ts +4 -10
- package/dist-types/ts3.4/models/models_0.d.ts +68 -211
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/ApplicationCostProfiler.js.map +0 -1
- package/dist-cjs/ApplicationCostProfilerClient.js.map +0 -1
- package/dist-cjs/commands/DeleteReportDefinitionCommand.js.map +0 -1
- package/dist-cjs/commands/GetReportDefinitionCommand.js.map +0 -1
- package/dist-cjs/commands/ImportApplicationUsageCommand.js.map +0 -1
- package/dist-cjs/commands/ListReportDefinitionsCommand.js.map +0 -1
- package/dist-cjs/commands/PutReportDefinitionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateReportDefinitionCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListReportDefinitionsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/ApplicationCostProfiler.js.map +0 -1
- package/dist-es/ApplicationCostProfilerClient.js.map +0 -1
- package/dist-es/commands/DeleteReportDefinitionCommand.js.map +0 -1
- package/dist-es/commands/GetReportDefinitionCommand.js.map +0 -1
- package/dist-es/commands/ImportApplicationUsageCommand.js.map +0 -1
- package/dist-es/commands/ListReportDefinitionsCommand.js.map +0 -1
- package/dist-es/commands/PutReportDefinitionCommand.js.map +0 -1
- package/dist-es/commands/UpdateReportDefinitionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListReportDefinitionsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ApplicationCostProfiler.ts +0 -240
- package/src/ApplicationCostProfilerClient.ts +0 -277
- package/src/commands/DeleteReportDefinitionCommand.ts +0 -100
- package/src/commands/GetReportDefinitionCommand.ts +0 -99
- package/src/commands/ImportApplicationUsageCommand.ts +0 -102
- package/src/commands/ListReportDefinitionsCommand.ts +0 -100
- package/src/commands/PutReportDefinitionCommand.ts +0 -99
- package/src/commands/UpdateReportDefinitionCommand.ts +0 -99
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -11
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -490
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListReportDefinitionsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -952
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -8,14 +8,6 @@ const ImportApplicationUsageCommand_1 = require("./commands/ImportApplicationUsa
|
|
|
8
8
|
const ListReportDefinitionsCommand_1 = require("./commands/ListReportDefinitionsCommand");
|
|
9
9
|
const PutReportDefinitionCommand_1 = require("./commands/PutReportDefinitionCommand");
|
|
10
10
|
const UpdateReportDefinitionCommand_1 = require("./commands/UpdateReportDefinitionCommand");
|
|
11
|
-
/**
|
|
12
|
-
* <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
|
|
13
|
-
* <p>The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete
|
|
14
|
-
* application cost report definitions, as well as to import your usage data into the Application Cost Profiler
|
|
15
|
-
* service.</p>
|
|
16
|
-
* <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
|
|
17
|
-
* Profiler User Guide</a>.</p>
|
|
18
|
-
*/
|
|
19
11
|
class ApplicationCostProfiler extends ApplicationCostProfilerClient_1.ApplicationCostProfilerClient {
|
|
20
12
|
deleteReportDefinition(args, optionsOrCb, cb) {
|
|
21
13
|
const command = new DeleteReportDefinitionCommand_1.DeleteReportDefinitionCommand(args);
|
|
@@ -103,4 +95,3 @@ class ApplicationCostProfiler extends ApplicationCostProfilerClient_1.Applicatio
|
|
|
103
95
|
}
|
|
104
96
|
}
|
|
105
97
|
exports.ApplicationCostProfiler = ApplicationCostProfiler;
|
|
106
|
-
//# sourceMappingURL=ApplicationCostProfiler.js.map
|
|
@@ -10,14 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
|
|
15
|
-
* <p>The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete
|
|
16
|
-
* application cost report definitions, as well as to import your usage data into the Application Cost Profiler
|
|
17
|
-
* service.</p>
|
|
18
|
-
* <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
|
|
19
|
-
* Profiler User Guide</a>.</p>
|
|
20
|
-
*/
|
|
21
13
|
class ApplicationCostProfilerClient extends smithy_client_1.Client {
|
|
22
14
|
constructor(configuration) {
|
|
23
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -36,14 +28,8 @@ class ApplicationCostProfilerClient extends smithy_client_1.Client {
|
|
|
36
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
37
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
38
30
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
41
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
42
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
43
|
-
*/
|
|
44
31
|
destroy() {
|
|
45
32
|
super.destroy();
|
|
46
33
|
}
|
|
47
34
|
}
|
|
48
35
|
exports.ApplicationCostProfilerClient = ApplicationCostProfilerClient;
|
|
49
|
-
//# sourceMappingURL=ApplicationCostProfilerClient.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being
|
|
10
|
-
* generated.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ApplicationCostProfilerClient, DeleteReportDefinitionCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
|
|
15
|
-
* // const { ApplicationCostProfilerClient, DeleteReportDefinitionCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
|
|
16
|
-
* const client = new ApplicationCostProfilerClient(config);
|
|
17
|
-
* const command = new DeleteReportDefinitionCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteReportDefinitionCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteReportDefinitionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DeleteReportDefinitionCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class DeleteReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.DeleteReportDefinitionCommand = DeleteReportDefinitionCommand;
|
|
62
|
-
//# sourceMappingURL=DeleteReportDefinitionCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves the definition of a report already configured in AWS Application Cost Profiler.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ApplicationCostProfilerClient, GetReportDefinitionCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
|
|
14
|
-
* // const { ApplicationCostProfilerClient, GetReportDefinitionCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
|
|
15
|
-
* const client = new ApplicationCostProfilerClient(config);
|
|
16
|
-
* const command = new GetReportDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetReportDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetReportDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetReportDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class GetReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.GetReportDefinitionCommand = GetReportDefinitionCommand;
|
|
61
|
-
//# sourceMappingURL=GetReportDefinitionCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Ingests application usage data from Amazon Simple Storage Service (Amazon S3).</p>
|
|
10
|
-
* <p>The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler
|
|
11
|
-
* copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing
|
|
12
|
-
* asynchronously.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { ApplicationCostProfilerClient, ImportApplicationUsageCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
|
|
17
|
-
* // const { ApplicationCostProfilerClient, ImportApplicationUsageCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
|
|
18
|
-
* const client = new ApplicationCostProfilerClient(config);
|
|
19
|
-
* const command = new ImportApplicationUsageCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ImportApplicationUsageCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ImportApplicationUsageCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class ImportApplicationUsageCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class ImportApplicationUsageCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.ImportApplicationUsageCommand = ImportApplicationUsageCommand;
|
|
64
|
-
//# sourceMappingURL=ImportApplicationUsageCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Retrieves a list of all reports and their configurations for your AWS account.</p>
|
|
10
|
-
* <p>The maximum number of reports is one.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ApplicationCostProfilerClient, ListReportDefinitionsCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
|
|
15
|
-
* // const { ApplicationCostProfilerClient, ListReportDefinitionsCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
|
|
16
|
-
* const client = new ApplicationCostProfilerClient(config);
|
|
17
|
-
* const command = new ListReportDefinitionsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ListReportDefinitionsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ListReportDefinitionsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class ListReportDefinitionsCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class ListReportDefinitionsCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.ListReportDefinitionsCommand = ListReportDefinitionsCommand;
|
|
62
|
-
//# sourceMappingURL=ListReportDefinitionsCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates the report definition for a report in Application Cost Profiler.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ApplicationCostProfilerClient, PutReportDefinitionCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
|
|
14
|
-
* // const { ApplicationCostProfilerClient, PutReportDefinitionCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
|
|
15
|
-
* const client = new ApplicationCostProfilerClient(config);
|
|
16
|
-
* const command = new PutReportDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link PutReportDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link PutReportDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class PutReportDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class PutReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.PutReportDefinitionCommand = PutReportDefinitionCommand;
|
|
61
|
-
//# sourceMappingURL=PutReportDefinitionCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates existing report in AWS Application Cost Profiler.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { ApplicationCostProfilerClient, UpdateReportDefinitionCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
|
|
14
|
-
* // const { ApplicationCostProfilerClient, UpdateReportDefinitionCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
|
|
15
|
-
* const client = new ApplicationCostProfilerClient(config);
|
|
16
|
-
* const command = new UpdateReportDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateReportDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateReportDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UpdateReportDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UpdateReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UpdateReportDefinitionCommand = UpdateReportDefinitionCommand;
|
|
61
|
-
//# sourceMappingURL=UpdateReportDefinitionCommand.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./DeleteReportDefinitionCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./GetReportDefinitionCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ImportApplicationUsageCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListReportDefinitionsCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./PutReportDefinitionCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./UpdateReportDefinitionCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -35,7 +35,7 @@ const partitionHash = {
|
|
|
35
35
|
hostname: "application-cost-profiler.{region}.amazonaws.com.cn",
|
|
36
36
|
},
|
|
37
37
|
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
38
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
39
39
|
hostname: "application-cost-profiler.{region}.c2s.ic.gov",
|
|
40
40
|
},
|
|
41
41
|
"aws-iso-b": {
|
|
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
54
54
|
partitionHash,
|
|
55
55
|
});
|
|
56
56
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
57
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ApplicationCostProfilerClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./ApplicationCostProfiler"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./pagination/ListReportDefinitionsPaginator"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/PutReportDefinitionCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/UpdateReportDefinitionCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./ApplicationCostProfilerClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -3,72 +3,48 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdateReportDefinitionResult = exports.UpdateReportDefinitionRequest = exports.ServiceQuotaExceededException = exports.PutReportDefinitionResult = exports.PutReportDefinitionRequest = exports.ListReportDefinitionsResult = exports.ReportDefinition = exports.ListReportDefinitionsRequest = exports.ImportApplicationUsageResult = exports.ImportApplicationUsageRequest = exports.SourceS3Location = exports.S3BucketRegion = exports.GetReportDefinitionResult = exports.ReportFrequency = exports.Format = exports.S3Location = exports.GetReportDefinitionRequest = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.DeleteReportDefinitionResult = exports.DeleteReportDefinitionRequest = exports.AccessDeniedException = void 0;
|
|
4
4
|
var AccessDeniedException;
|
|
5
5
|
(function (AccessDeniedException) {
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
10
7
|
...obj,
|
|
11
8
|
});
|
|
12
9
|
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
13
10
|
var DeleteReportDefinitionRequest;
|
|
14
11
|
(function (DeleteReportDefinitionRequest) {
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
12
|
DeleteReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
19
13
|
...obj,
|
|
20
14
|
});
|
|
21
15
|
})(DeleteReportDefinitionRequest = exports.DeleteReportDefinitionRequest || (exports.DeleteReportDefinitionRequest = {}));
|
|
22
16
|
var DeleteReportDefinitionResult;
|
|
23
17
|
(function (DeleteReportDefinitionResult) {
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
18
|
DeleteReportDefinitionResult.filterSensitiveLog = (obj) => ({
|
|
28
19
|
...obj,
|
|
29
20
|
});
|
|
30
21
|
})(DeleteReportDefinitionResult = exports.DeleteReportDefinitionResult || (exports.DeleteReportDefinitionResult = {}));
|
|
31
22
|
var InternalServerException;
|
|
32
23
|
(function (InternalServerException) {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
24
|
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
37
25
|
...obj,
|
|
38
26
|
});
|
|
39
27
|
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
40
28
|
var ThrottlingException;
|
|
41
29
|
(function (ThrottlingException) {
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
30
|
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
46
31
|
...obj,
|
|
47
32
|
});
|
|
48
33
|
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
49
34
|
var ValidationException;
|
|
50
35
|
(function (ValidationException) {
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
36
|
ValidationException.filterSensitiveLog = (obj) => ({
|
|
55
37
|
...obj,
|
|
56
38
|
});
|
|
57
39
|
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
58
40
|
var GetReportDefinitionRequest;
|
|
59
41
|
(function (GetReportDefinitionRequest) {
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
42
|
GetReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
64
43
|
...obj,
|
|
65
44
|
});
|
|
66
45
|
})(GetReportDefinitionRequest = exports.GetReportDefinitionRequest || (exports.GetReportDefinitionRequest = {}));
|
|
67
46
|
var S3Location;
|
|
68
47
|
(function (S3Location) {
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
48
|
S3Location.filterSensitiveLog = (obj) => ({
|
|
73
49
|
...obj,
|
|
74
50
|
});
|
|
@@ -86,9 +62,6 @@ var ReportFrequency;
|
|
|
86
62
|
})(ReportFrequency = exports.ReportFrequency || (exports.ReportFrequency = {}));
|
|
87
63
|
var GetReportDefinitionResult;
|
|
88
64
|
(function (GetReportDefinitionResult) {
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
65
|
GetReportDefinitionResult.filterSensitiveLog = (obj) => ({
|
|
93
66
|
...obj,
|
|
94
67
|
});
|
|
@@ -102,101 +75,67 @@ var S3BucketRegion;
|
|
|
102
75
|
})(S3BucketRegion = exports.S3BucketRegion || (exports.S3BucketRegion = {}));
|
|
103
76
|
var SourceS3Location;
|
|
104
77
|
(function (SourceS3Location) {
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
78
|
SourceS3Location.filterSensitiveLog = (obj) => ({
|
|
109
79
|
...obj,
|
|
110
80
|
});
|
|
111
81
|
})(SourceS3Location = exports.SourceS3Location || (exports.SourceS3Location = {}));
|
|
112
82
|
var ImportApplicationUsageRequest;
|
|
113
83
|
(function (ImportApplicationUsageRequest) {
|
|
114
|
-
/**
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
84
|
ImportApplicationUsageRequest.filterSensitiveLog = (obj) => ({
|
|
118
85
|
...obj,
|
|
119
86
|
});
|
|
120
87
|
})(ImportApplicationUsageRequest = exports.ImportApplicationUsageRequest || (exports.ImportApplicationUsageRequest = {}));
|
|
121
88
|
var ImportApplicationUsageResult;
|
|
122
89
|
(function (ImportApplicationUsageResult) {
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*/
|
|
126
90
|
ImportApplicationUsageResult.filterSensitiveLog = (obj) => ({
|
|
127
91
|
...obj,
|
|
128
92
|
});
|
|
129
93
|
})(ImportApplicationUsageResult = exports.ImportApplicationUsageResult || (exports.ImportApplicationUsageResult = {}));
|
|
130
94
|
var ListReportDefinitionsRequest;
|
|
131
95
|
(function (ListReportDefinitionsRequest) {
|
|
132
|
-
/**
|
|
133
|
-
* @internal
|
|
134
|
-
*/
|
|
135
96
|
ListReportDefinitionsRequest.filterSensitiveLog = (obj) => ({
|
|
136
97
|
...obj,
|
|
137
98
|
});
|
|
138
99
|
})(ListReportDefinitionsRequest = exports.ListReportDefinitionsRequest || (exports.ListReportDefinitionsRequest = {}));
|
|
139
100
|
var ReportDefinition;
|
|
140
101
|
(function (ReportDefinition) {
|
|
141
|
-
/**
|
|
142
|
-
* @internal
|
|
143
|
-
*/
|
|
144
102
|
ReportDefinition.filterSensitiveLog = (obj) => ({
|
|
145
103
|
...obj,
|
|
146
104
|
});
|
|
147
105
|
})(ReportDefinition = exports.ReportDefinition || (exports.ReportDefinition = {}));
|
|
148
106
|
var ListReportDefinitionsResult;
|
|
149
107
|
(function (ListReportDefinitionsResult) {
|
|
150
|
-
/**
|
|
151
|
-
* @internal
|
|
152
|
-
*/
|
|
153
108
|
ListReportDefinitionsResult.filterSensitiveLog = (obj) => ({
|
|
154
109
|
...obj,
|
|
155
110
|
});
|
|
156
111
|
})(ListReportDefinitionsResult = exports.ListReportDefinitionsResult || (exports.ListReportDefinitionsResult = {}));
|
|
157
112
|
var PutReportDefinitionRequest;
|
|
158
113
|
(function (PutReportDefinitionRequest) {
|
|
159
|
-
/**
|
|
160
|
-
* @internal
|
|
161
|
-
*/
|
|
162
114
|
PutReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
163
115
|
...obj,
|
|
164
116
|
});
|
|
165
117
|
})(PutReportDefinitionRequest = exports.PutReportDefinitionRequest || (exports.PutReportDefinitionRequest = {}));
|
|
166
118
|
var PutReportDefinitionResult;
|
|
167
119
|
(function (PutReportDefinitionResult) {
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
120
|
PutReportDefinitionResult.filterSensitiveLog = (obj) => ({
|
|
172
121
|
...obj,
|
|
173
122
|
});
|
|
174
123
|
})(PutReportDefinitionResult = exports.PutReportDefinitionResult || (exports.PutReportDefinitionResult = {}));
|
|
175
124
|
var ServiceQuotaExceededException;
|
|
176
125
|
(function (ServiceQuotaExceededException) {
|
|
177
|
-
/**
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
126
|
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
181
127
|
...obj,
|
|
182
128
|
});
|
|
183
129
|
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
184
130
|
var UpdateReportDefinitionRequest;
|
|
185
131
|
(function (UpdateReportDefinitionRequest) {
|
|
186
|
-
/**
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
132
|
UpdateReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
190
133
|
...obj,
|
|
191
134
|
});
|
|
192
135
|
})(UpdateReportDefinitionRequest = exports.UpdateReportDefinitionRequest || (exports.UpdateReportDefinitionRequest = {}));
|
|
193
136
|
var UpdateReportDefinitionResult;
|
|
194
137
|
(function (UpdateReportDefinitionResult) {
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
138
|
UpdateReportDefinitionResult.filterSensitiveLog = (obj) => ({
|
|
199
139
|
...obj,
|
|
200
140
|
});
|
|
201
141
|
})(UpdateReportDefinitionResult = exports.UpdateReportDefinitionResult || (exports.UpdateReportDefinitionResult = {}));
|
|
202
|
-
//# sourceMappingURL=models_0.js.map
|
|
@@ -4,22 +4,13 @@ exports.paginateListReportDefinitions = void 0;
|
|
|
4
4
|
const ApplicationCostProfiler_1 = require("../ApplicationCostProfiler");
|
|
5
5
|
const ApplicationCostProfilerClient_1 = require("../ApplicationCostProfilerClient");
|
|
6
6
|
const ListReportDefinitionsCommand_1 = require("../commands/ListReportDefinitionsCommand");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new ListReportDefinitionsCommand_1.ListReportDefinitionsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.listReportDefinitions(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateListReportDefinitions(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,8 +30,6 @@ async function* paginateListReportDefinitions(config, input, ...additionalArgume
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateListReportDefinitions = paginateListReportDefinitions;
|
|
46
|
-
//# sourceMappingURL=ListReportDefinitionsPaginator.js.map
|