@aws-sdk/client-applicationcostprofiler 3.34.0 → 3.35.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 +12 -0
- package/{dist/cjs → dist-cjs}/ApplicationCostProfiler.js +0 -0
- package/dist-cjs/ApplicationCostProfiler.js.map +1 -0
- package/{dist/cjs → dist-cjs}/ApplicationCostProfilerClient.js +8 -8
- package/dist-cjs/ApplicationCostProfilerClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteReportDefinitionCommand.js +2 -2
- package/{dist/cjs/commands/ImportApplicationUsageCommand.js.map → dist-cjs/commands/DeleteReportDefinitionCommand.js.map} +1 -1
- package/{dist/cjs → dist-cjs}/commands/GetReportDefinitionCommand.js +2 -2
- package/dist-cjs/commands/GetReportDefinitionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ImportApplicationUsageCommand.js +2 -2
- package/dist-cjs/commands/ImportApplicationUsageCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListReportDefinitionsCommand.js +2 -2
- package/dist-cjs/commands/ListReportDefinitionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutReportDefinitionCommand.js +2 -2
- package/dist-cjs/commands/PutReportDefinitionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateReportDefinitionCommand.js +2 -2
- package/dist-cjs/commands/UpdateReportDefinitionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListReportDefinitionsPaginator.js +0 -0
- package/dist-cjs/pagination/ListReportDefinitionsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/ApplicationCostProfiler.js +0 -0
- package/dist-es/ApplicationCostProfiler.js.map +1 -0
- package/{dist/es → dist-es}/ApplicationCostProfilerClient.js +1 -1
- package/dist-es/ApplicationCostProfilerClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteReportDefinitionCommand.js +2 -2
- package/dist-es/commands/DeleteReportDefinitionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetReportDefinitionCommand.js +2 -2
- package/dist-es/commands/GetReportDefinitionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ImportApplicationUsageCommand.js +2 -2
- package/dist-es/commands/ImportApplicationUsageCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListReportDefinitionsCommand.js +2 -2
- package/dist-es/commands/ListReportDefinitionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PutReportDefinitionCommand.js +2 -2
- package/dist-es/commands/PutReportDefinitionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateReportDefinitionCommand.js +2 -2
- package/dist-es/commands/UpdateReportDefinitionCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListReportDefinitionsPaginator.js +0 -0
- package/dist-es/pagination/ListReportDefinitionsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -0
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -2
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types → dist-types}/ApplicationCostProfiler.d.ts +1 -1
- package/{dist/types → dist-types}/ApplicationCostProfilerClient.d.ts +7 -7
- package/{dist/types → dist-types}/commands/DeleteReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ImportApplicationUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListReportDefinitionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListReportDefinitionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ApplicationCostProfiler.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/ApplicationCostProfilerClient.d.ts +7 -7
- package/{dist/types → dist-types}/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ImportApplicationUsageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListReportDefinitionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateReportDefinitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListReportDefinitionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/{ApplicationCostProfiler.ts → src/ApplicationCostProfiler.ts} +2 -1
- package/{ApplicationCostProfilerClient.ts → src/ApplicationCostProfilerClient.ts} +39 -38
- package/{commands → src/commands}/DeleteReportDefinitionCommand.ts +12 -11
- package/{commands → src/commands}/GetReportDefinitionCommand.ts +12 -11
- package/{commands → src/commands}/ImportApplicationUsageCommand.ts +12 -11
- package/{commands → src/commands}/ListReportDefinitionsCommand.ts +12 -11
- package/{commands → src/commands}/PutReportDefinitionCommand.ts +12 -11
- package/{commands → src/commands}/UpdateReportDefinitionCommand.ts +12 -11
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListReportDefinitionsPaginator.ts +2 -1
- package/{protocols → src/protocols}/Aws_restJson1.ts +27 -25
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- 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/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/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- 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/package.json +0 -91
- 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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-applicationcostprofiler",
|
|
3
3
|
"description": "AWS SDK for JavaScript Applicationcostprofiler Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.35.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -11,54 +11,48 @@
|
|
|
11
11
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
12
|
"clean:dist": "rimraf ./dist",
|
|
13
13
|
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
15
|
"test": "jest --coverage --passWithNoTests"
|
|
16
16
|
},
|
|
17
|
-
"main": "./dist
|
|
18
|
-
"types": "./dist
|
|
19
|
-
"module": "./dist
|
|
20
|
-
"browser": {
|
|
21
|
-
"./runtimeConfig": "./runtimeConfig.browser"
|
|
22
|
-
},
|
|
23
|
-
"react-native": {
|
|
24
|
-
"./runtimeConfig": "./runtimeConfig.native"
|
|
25
|
-
},
|
|
17
|
+
"main": "./dist-cjs/index.js",
|
|
18
|
+
"types": "./dist-types/index.d.ts",
|
|
19
|
+
"module": "./dist-es/index.js",
|
|
26
20
|
"sideEffects": false,
|
|
27
21
|
"dependencies": {
|
|
28
22
|
"@aws-crypto/sha256-browser": "^1.1.0",
|
|
29
23
|
"@aws-crypto/sha256-js": "^1.1.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.35.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.35.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.35.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.35.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.35.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.35.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.35.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.35.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.35.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.35.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.35.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.35.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.35.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.35.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.35.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.35.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.35.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.35.0",
|
|
42
|
+
"@aws-sdk/types": "3.35.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.35.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.35.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.35.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.35.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.35.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.35.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.35.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.35.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.35.0",
|
|
58
52
|
"tslib": "^2.3.0"
|
|
59
53
|
},
|
|
60
54
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/client-documentation-generator": "3.35.0",
|
|
62
56
|
"@types/node": "^12.7.5",
|
|
63
57
|
"downlevel-dts": "0.7.0",
|
|
64
58
|
"jest": "^26.1.0",
|
|
@@ -72,8 +66,8 @@
|
|
|
72
66
|
},
|
|
73
67
|
"typesVersions": {
|
|
74
68
|
"<4.0": {
|
|
75
|
-
"dist
|
|
76
|
-
"dist
|
|
69
|
+
"dist-types/*": [
|
|
70
|
+
"dist-types/ts3.4/*"
|
|
77
71
|
]
|
|
78
72
|
}
|
|
79
73
|
},
|
|
@@ -82,6 +76,12 @@
|
|
|
82
76
|
"url": "https://aws.amazon.com/javascript/"
|
|
83
77
|
},
|
|
84
78
|
"license": "Apache-2.0",
|
|
79
|
+
"browser": {
|
|
80
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
81
|
+
},
|
|
82
|
+
"react-native": {
|
|
83
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
84
|
+
},
|
|
85
85
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-applicationcostprofiler",
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { ApplicationCostProfilerClient } from "./ApplicationCostProfilerClient";
|
|
2
4
|
import {
|
|
3
5
|
DeleteReportDefinitionCommand,
|
|
@@ -29,7 +31,6 @@ import {
|
|
|
29
31
|
UpdateReportDefinitionCommandInput,
|
|
30
32
|
UpdateReportDefinitionCommandOutput,
|
|
31
33
|
} from "./commands/UpdateReportDefinitionCommand";
|
|
32
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
36
|
* <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
|
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DeleteReportDefinitionCommandInput,
|
|
3
|
-
DeleteReportDefinitionCommandOutput,
|
|
4
|
-
} from "./commands/DeleteReportDefinitionCommand";
|
|
5
|
-
import {
|
|
6
|
-
GetReportDefinitionCommandInput,
|
|
7
|
-
GetReportDefinitionCommandOutput,
|
|
8
|
-
} from "./commands/GetReportDefinitionCommand";
|
|
9
|
-
import {
|
|
10
|
-
ImportApplicationUsageCommandInput,
|
|
11
|
-
ImportApplicationUsageCommandOutput,
|
|
12
|
-
} from "./commands/ImportApplicationUsageCommand";
|
|
13
|
-
import {
|
|
14
|
-
ListReportDefinitionsCommandInput,
|
|
15
|
-
ListReportDefinitionsCommandOutput,
|
|
16
|
-
} from "./commands/ListReportDefinitionsCommand";
|
|
17
|
-
import {
|
|
18
|
-
PutReportDefinitionCommandInput,
|
|
19
|
-
PutReportDefinitionCommandOutput,
|
|
20
|
-
} from "./commands/PutReportDefinitionCommand";
|
|
21
|
-
import {
|
|
22
|
-
UpdateReportDefinitionCommandInput,
|
|
23
|
-
UpdateReportDefinitionCommandOutput,
|
|
24
|
-
} from "./commands/UpdateReportDefinitionCommand";
|
|
25
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
26
1
|
import {
|
|
27
2
|
EndpointsInputConfig,
|
|
28
3
|
EndpointsResolvedConfig,
|
|
@@ -33,13 +8,13 @@ import {
|
|
|
33
8
|
} from "@aws-sdk/config-resolver";
|
|
34
9
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
35
10
|
import {
|
|
11
|
+
getHostHeaderPlugin,
|
|
36
12
|
HostHeaderInputConfig,
|
|
37
13
|
HostHeaderResolvedConfig,
|
|
38
|
-
getHostHeaderPlugin,
|
|
39
14
|
resolveHostHeaderConfig,
|
|
40
15
|
} from "@aws-sdk/middleware-host-header";
|
|
41
16
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
42
|
-
import {
|
|
17
|
+
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
43
18
|
import {
|
|
44
19
|
AwsAuthInputConfig,
|
|
45
20
|
AwsAuthResolvedConfig,
|
|
@@ -47,10 +22,10 @@ import {
|
|
|
47
22
|
resolveAwsAuthConfig,
|
|
48
23
|
} from "@aws-sdk/middleware-signing";
|
|
49
24
|
import {
|
|
50
|
-
UserAgentInputConfig,
|
|
51
|
-
UserAgentResolvedConfig,
|
|
52
25
|
getUserAgentPlugin,
|
|
53
26
|
resolveUserAgentConfig,
|
|
27
|
+
UserAgentInputConfig,
|
|
28
|
+
UserAgentResolvedConfig,
|
|
54
29
|
} from "@aws-sdk/middleware-user-agent";
|
|
55
30
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
56
31
|
import {
|
|
@@ -59,8 +34,6 @@ import {
|
|
|
59
34
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
60
35
|
} from "@aws-sdk/smithy-client";
|
|
61
36
|
import {
|
|
62
|
-
Provider,
|
|
63
|
-
RegionInfoProvider,
|
|
64
37
|
Credentials as __Credentials,
|
|
65
38
|
Decoder as __Decoder,
|
|
66
39
|
Encoder as __Encoder,
|
|
@@ -69,11 +42,39 @@ import {
|
|
|
69
42
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
70
43
|
Logger as __Logger,
|
|
71
44
|
Provider as __Provider,
|
|
45
|
+
Provider,
|
|
46
|
+
RegionInfoProvider,
|
|
72
47
|
StreamCollector as __StreamCollector,
|
|
73
48
|
UrlParser as __UrlParser,
|
|
74
49
|
UserAgent as __UserAgent,
|
|
75
50
|
} from "@aws-sdk/types";
|
|
76
51
|
|
|
52
|
+
import {
|
|
53
|
+
DeleteReportDefinitionCommandInput,
|
|
54
|
+
DeleteReportDefinitionCommandOutput,
|
|
55
|
+
} from "./commands/DeleteReportDefinitionCommand";
|
|
56
|
+
import {
|
|
57
|
+
GetReportDefinitionCommandInput,
|
|
58
|
+
GetReportDefinitionCommandOutput,
|
|
59
|
+
} from "./commands/GetReportDefinitionCommand";
|
|
60
|
+
import {
|
|
61
|
+
ImportApplicationUsageCommandInput,
|
|
62
|
+
ImportApplicationUsageCommandOutput,
|
|
63
|
+
} from "./commands/ImportApplicationUsageCommand";
|
|
64
|
+
import {
|
|
65
|
+
ListReportDefinitionsCommandInput,
|
|
66
|
+
ListReportDefinitionsCommandOutput,
|
|
67
|
+
} from "./commands/ListReportDefinitionsCommand";
|
|
68
|
+
import {
|
|
69
|
+
PutReportDefinitionCommandInput,
|
|
70
|
+
PutReportDefinitionCommandOutput,
|
|
71
|
+
} from "./commands/PutReportDefinitionCommand";
|
|
72
|
+
import {
|
|
73
|
+
UpdateReportDefinitionCommandInput,
|
|
74
|
+
UpdateReportDefinitionCommandOutput,
|
|
75
|
+
} from "./commands/UpdateReportDefinitionCommand";
|
|
76
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
77
|
+
|
|
77
78
|
export type ServiceInputTypes =
|
|
78
79
|
| DeleteReportDefinitionCommandInput
|
|
79
80
|
| GetReportDefinitionCommandInput
|
|
@@ -248,13 +249,13 @@ export class ApplicationCostProfilerClient extends __Client<
|
|
|
248
249
|
readonly config: ApplicationCostProfilerClientResolvedConfig;
|
|
249
250
|
|
|
250
251
|
constructor(configuration: ApplicationCostProfilerClientConfig) {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
252
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
253
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
254
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
255
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
256
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
257
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
258
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
258
259
|
super(_config_6);
|
|
259
260
|
this.config = _config_6;
|
|
260
261
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApplicationCostProfilerClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApplicationCostProfilerClient";
|
|
6
|
-
import { DeleteReportDefinitionRequest, DeleteReportDefinitionResult } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1DeleteReportDefinitionCommand,
|
|
9
|
-
serializeAws_restJson1DeleteReportDefinitionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -15,12 +5,23 @@ import {
|
|
|
15
5
|
FinalizeHandlerArguments,
|
|
16
6
|
Handler,
|
|
17
7
|
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
21
11
|
SerdeContext as __SerdeContext,
|
|
22
12
|
} from "@aws-sdk/types";
|
|
23
13
|
|
|
14
|
+
import {
|
|
15
|
+
ApplicationCostProfilerClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../ApplicationCostProfilerClient";
|
|
19
|
+
import { DeleteReportDefinitionRequest, DeleteReportDefinitionResult } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1DeleteReportDefinitionCommand,
|
|
22
|
+
serializeAws_restJson1DeleteReportDefinitionCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
24
25
|
export interface DeleteReportDefinitionCommandInput extends DeleteReportDefinitionRequest {}
|
|
25
26
|
export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinitionResult, __MetadataBearer {}
|
|
26
27
|
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApplicationCostProfilerClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApplicationCostProfilerClient";
|
|
6
|
-
import { GetReportDefinitionRequest, GetReportDefinitionResult } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1GetReportDefinitionCommand,
|
|
9
|
-
serializeAws_restJson1GetReportDefinitionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -15,12 +5,23 @@ import {
|
|
|
15
5
|
FinalizeHandlerArguments,
|
|
16
6
|
Handler,
|
|
17
7
|
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
21
11
|
SerdeContext as __SerdeContext,
|
|
22
12
|
} from "@aws-sdk/types";
|
|
23
13
|
|
|
14
|
+
import {
|
|
15
|
+
ApplicationCostProfilerClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../ApplicationCostProfilerClient";
|
|
19
|
+
import { GetReportDefinitionRequest, GetReportDefinitionResult } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1GetReportDefinitionCommand,
|
|
22
|
+
serializeAws_restJson1GetReportDefinitionCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
24
25
|
export interface GetReportDefinitionCommandInput extends GetReportDefinitionRequest {}
|
|
25
26
|
export interface GetReportDefinitionCommandOutput extends GetReportDefinitionResult, __MetadataBearer {}
|
|
26
27
|
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApplicationCostProfilerClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApplicationCostProfilerClient";
|
|
6
|
-
import { ImportApplicationUsageRequest, ImportApplicationUsageResult } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1ImportApplicationUsageCommand,
|
|
9
|
-
serializeAws_restJson1ImportApplicationUsageCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -15,12 +5,23 @@ import {
|
|
|
15
5
|
FinalizeHandlerArguments,
|
|
16
6
|
Handler,
|
|
17
7
|
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
21
11
|
SerdeContext as __SerdeContext,
|
|
22
12
|
} from "@aws-sdk/types";
|
|
23
13
|
|
|
14
|
+
import {
|
|
15
|
+
ApplicationCostProfilerClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../ApplicationCostProfilerClient";
|
|
19
|
+
import { ImportApplicationUsageRequest, ImportApplicationUsageResult } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1ImportApplicationUsageCommand,
|
|
22
|
+
serializeAws_restJson1ImportApplicationUsageCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
24
25
|
export interface ImportApplicationUsageCommandInput extends ImportApplicationUsageRequest {}
|
|
25
26
|
export interface ImportApplicationUsageCommandOutput extends ImportApplicationUsageResult, __MetadataBearer {}
|
|
26
27
|
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApplicationCostProfilerClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApplicationCostProfilerClient";
|
|
6
|
-
import { ListReportDefinitionsRequest, ListReportDefinitionsResult } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1ListReportDefinitionsCommand,
|
|
9
|
-
serializeAws_restJson1ListReportDefinitionsCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -15,12 +5,23 @@ import {
|
|
|
15
5
|
FinalizeHandlerArguments,
|
|
16
6
|
Handler,
|
|
17
7
|
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
21
11
|
SerdeContext as __SerdeContext,
|
|
22
12
|
} from "@aws-sdk/types";
|
|
23
13
|
|
|
14
|
+
import {
|
|
15
|
+
ApplicationCostProfilerClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../ApplicationCostProfilerClient";
|
|
19
|
+
import { ListReportDefinitionsRequest, ListReportDefinitionsResult } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1ListReportDefinitionsCommand,
|
|
22
|
+
serializeAws_restJson1ListReportDefinitionsCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
24
25
|
export interface ListReportDefinitionsCommandInput extends ListReportDefinitionsRequest {}
|
|
25
26
|
export interface ListReportDefinitionsCommandOutput extends ListReportDefinitionsResult, __MetadataBearer {}
|
|
26
27
|
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApplicationCostProfilerClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApplicationCostProfilerClient";
|
|
6
|
-
import { PutReportDefinitionRequest, PutReportDefinitionResult } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1PutReportDefinitionCommand,
|
|
9
|
-
serializeAws_restJson1PutReportDefinitionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -15,12 +5,23 @@ import {
|
|
|
15
5
|
FinalizeHandlerArguments,
|
|
16
6
|
Handler,
|
|
17
7
|
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
21
11
|
SerdeContext as __SerdeContext,
|
|
22
12
|
} from "@aws-sdk/types";
|
|
23
13
|
|
|
14
|
+
import {
|
|
15
|
+
ApplicationCostProfilerClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../ApplicationCostProfilerClient";
|
|
19
|
+
import { PutReportDefinitionRequest, PutReportDefinitionResult } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1PutReportDefinitionCommand,
|
|
22
|
+
serializeAws_restJson1PutReportDefinitionCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
24
25
|
export interface PutReportDefinitionCommandInput extends PutReportDefinitionRequest {}
|
|
25
26
|
export interface PutReportDefinitionCommandOutput extends PutReportDefinitionResult, __MetadataBearer {}
|
|
26
27
|
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ApplicationCostProfilerClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ApplicationCostProfilerClient";
|
|
6
|
-
import { UpdateReportDefinitionRequest, UpdateReportDefinitionResult } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_restJson1UpdateReportDefinitionCommand,
|
|
9
|
-
serializeAws_restJson1UpdateReportDefinitionCommand,
|
|
10
|
-
} from "../protocols/Aws_restJson1";
|
|
11
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -15,12 +5,23 @@ import {
|
|
|
15
5
|
FinalizeHandlerArguments,
|
|
16
6
|
Handler,
|
|
17
7
|
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
21
11
|
SerdeContext as __SerdeContext,
|
|
22
12
|
} from "@aws-sdk/types";
|
|
23
13
|
|
|
14
|
+
import {
|
|
15
|
+
ApplicationCostProfilerClientResolvedConfig,
|
|
16
|
+
ServiceInputTypes,
|
|
17
|
+
ServiceOutputTypes,
|
|
18
|
+
} from "../ApplicationCostProfilerClient";
|
|
19
|
+
import { UpdateReportDefinitionRequest, UpdateReportDefinitionResult } from "../models/models_0";
|
|
20
|
+
import {
|
|
21
|
+
deserializeAws_restJson1UpdateReportDefinitionCommand,
|
|
22
|
+
serializeAws_restJson1UpdateReportDefinitionCommand,
|
|
23
|
+
} from "../protocols/Aws_restJson1";
|
|
24
|
+
|
|
24
25
|
export interface UpdateReportDefinitionCommandInput extends UpdateReportDefinitionRequest {}
|
|
25
26
|
export interface UpdateReportDefinitionCommandOutput extends UpdateReportDefinitionResult, __MetadataBearer {}
|
|
26
27
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { ApplicationCostProfiler } from "../ApplicationCostProfiler";
|
|
2
4
|
import { ApplicationCostProfilerClient } from "../ApplicationCostProfilerClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
5
|
|
|
5
6
|
export interface ApplicationCostProfilerPaginationConfiguration extends PaginationConfiguration {
|
|
6
7
|
client: ApplicationCostProfiler | ApplicationCostProfilerClient;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { ApplicationCostProfiler } from "../ApplicationCostProfiler";
|
|
2
4
|
import { ApplicationCostProfilerClient } from "../ApplicationCostProfilerClient";
|
|
3
5
|
import {
|
|
@@ -6,7 +8,6 @@ import {
|
|
|
6
8
|
ListReportDefinitionsCommandOutput,
|
|
7
9
|
} from "../commands/ListReportDefinitionsCommand";
|
|
8
10
|
import { ApplicationCostProfilerPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectNonNull as __expectNonNull,
|
|
4
|
+
expectNumber as __expectNumber,
|
|
5
|
+
expectObject as __expectObject,
|
|
6
|
+
expectString as __expectString,
|
|
7
|
+
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
8
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
9
|
+
} from "@aws-sdk/smithy-client";
|
|
10
|
+
import {
|
|
11
|
+
Endpoint as __Endpoint,
|
|
12
|
+
MetadataBearer as __MetadataBearer,
|
|
13
|
+
ResponseMetadata as __ResponseMetadata,
|
|
14
|
+
SerdeContext as __SerdeContext,
|
|
15
|
+
SmithyException as __SmithyException,
|
|
16
|
+
} from "@aws-sdk/types";
|
|
17
|
+
|
|
1
18
|
import {
|
|
2
19
|
DeleteReportDefinitionCommandInput,
|
|
3
20
|
DeleteReportDefinitionCommandOutput,
|
|
@@ -32,22 +49,6 @@ import {
|
|
|
32
49
|
ThrottlingException,
|
|
33
50
|
ValidationException,
|
|
34
51
|
} from "../models/models_0";
|
|
35
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
36
|
-
import {
|
|
37
|
-
expectNonNull as __expectNonNull,
|
|
38
|
-
expectNumber as __expectNumber,
|
|
39
|
-
expectObject as __expectObject,
|
|
40
|
-
expectString as __expectString,
|
|
41
|
-
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
42
|
-
parseEpochTimestamp as __parseEpochTimestamp,
|
|
43
|
-
} from "@aws-sdk/smithy-client";
|
|
44
|
-
import {
|
|
45
|
-
Endpoint as __Endpoint,
|
|
46
|
-
MetadataBearer as __MetadataBearer,
|
|
47
|
-
ResponseMetadata as __ResponseMetadata,
|
|
48
|
-
SerdeContext as __SerdeContext,
|
|
49
|
-
SmithyException as __SmithyException,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
52
|
|
|
52
53
|
export const serializeAws_restJson1DeleteReportDefinitionCommand = async (
|
|
53
54
|
input: DeleteReportDefinitionCommandInput,
|
|
@@ -115,7 +116,8 @@ export const serializeAws_restJson1ImportApplicationUsageCommand = async (
|
|
|
115
116
|
const headers: any = {
|
|
116
117
|
"content-type": "application/json",
|
|
117
118
|
};
|
|
118
|
-
|
|
119
|
+
const resolvedPath =
|
|
120
|
+
`${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/importApplicationUsage";
|
|
119
121
|
let body: any;
|
|
120
122
|
body = JSON.stringify({
|
|
121
123
|
...(input.sourceS3Location !== undefined &&
|
|
@@ -140,7 +142,7 @@ export const serializeAws_restJson1ListReportDefinitionsCommand = async (
|
|
|
140
142
|
): Promise<__HttpRequest> => {
|
|
141
143
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
142
144
|
const headers: any = {};
|
|
143
|
-
|
|
145
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reportDefinition";
|
|
144
146
|
const query: any = {
|
|
145
147
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
146
148
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -166,7 +168,7 @@ export const serializeAws_restJson1PutReportDefinitionCommand = async (
|
|
|
166
168
|
const headers: any = {
|
|
167
169
|
"content-type": "application/json",
|
|
168
170
|
};
|
|
169
|
-
|
|
171
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reportDefinition";
|
|
170
172
|
let body: any;
|
|
171
173
|
body = JSON.stringify({
|
|
172
174
|
...(input.destinationS3Location !== undefined &&
|
|
@@ -260,7 +262,7 @@ const deserializeAws_restJson1DeleteReportDefinitionCommandError = async (
|
|
|
260
262
|
body: await parseBody(output.body, context),
|
|
261
263
|
};
|
|
262
264
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
263
|
-
let errorCode
|
|
265
|
+
let errorCode = "UnknownError";
|
|
264
266
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
265
267
|
switch (errorCode) {
|
|
266
268
|
case "AccessDeniedException":
|
|
@@ -363,7 +365,7 @@ const deserializeAws_restJson1GetReportDefinitionCommandError = async (
|
|
|
363
365
|
body: await parseBody(output.body, context),
|
|
364
366
|
};
|
|
365
367
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
366
|
-
let errorCode
|
|
368
|
+
let errorCode = "UnknownError";
|
|
367
369
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
368
370
|
switch (errorCode) {
|
|
369
371
|
case "AccessDeniedException":
|
|
@@ -442,7 +444,7 @@ const deserializeAws_restJson1ImportApplicationUsageCommandError = async (
|
|
|
442
444
|
body: await parseBody(output.body, context),
|
|
443
445
|
};
|
|
444
446
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
445
|
-
let errorCode
|
|
447
|
+
let errorCode = "UnknownError";
|
|
446
448
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
447
449
|
switch (errorCode) {
|
|
448
450
|
case "AccessDeniedException":
|
|
@@ -525,7 +527,7 @@ const deserializeAws_restJson1ListReportDefinitionsCommandError = async (
|
|
|
525
527
|
body: await parseBody(output.body, context),
|
|
526
528
|
};
|
|
527
529
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
528
|
-
let errorCode
|
|
530
|
+
let errorCode = "UnknownError";
|
|
529
531
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
530
532
|
switch (errorCode) {
|
|
531
533
|
case "AccessDeniedException":
|
|
@@ -604,7 +606,7 @@ const deserializeAws_restJson1PutReportDefinitionCommandError = async (
|
|
|
604
606
|
body: await parseBody(output.body, context),
|
|
605
607
|
};
|
|
606
608
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
607
|
-
let errorCode
|
|
609
|
+
let errorCode = "UnknownError";
|
|
608
610
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
609
611
|
switch (errorCode) {
|
|
610
612
|
case "AccessDeniedException":
|
|
@@ -691,7 +693,7 @@ const deserializeAws_restJson1UpdateReportDefinitionCommandError = async (
|
|
|
691
693
|
body: await parseBody(output.body, context),
|
|
692
694
|
};
|
|
693
695
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
694
|
-
let errorCode
|
|
696
|
+
let errorCode = "UnknownError";
|
|
695
697
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
696
698
|
switch (errorCode) {
|
|
697
699
|
case "AccessDeniedException":
|