@aws-sdk/client-applicationcostprofiler 3.928.0 → 3.930.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/dist-cjs/index.js +283 -352
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ApplicationCostProfilerClient.js +2 -0
- package/dist-es/commands/DeleteReportDefinitionCommand.js +3 -9
- package/dist-es/commands/GetReportDefinitionCommand.js +3 -9
- package/dist-es/commands/ImportApplicationUsageCommand.js +3 -9
- package/dist-es/commands/ListReportDefinitionsCommand.js +3 -9
- package/dist-es/commands/PutReportDefinitionCommand.js +3 -9
- package/dist-es/commands/UpdateReportDefinitionCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +257 -0
- package/dist-types/ApplicationCostProfilerClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/ApplicationCostProfilerClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +35 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -298
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -77
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.applicationcostprofiler" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "ApplicationCostProfiler",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class ApplicationCostProfilerClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteReportDefinition } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteReportDefinitionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSApplicationCostProfiler", "DeleteReportDefinition", {})
|
|
17
13
|
.n("ApplicationCostProfilerClient", "DeleteReportDefinitionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteReportDefinitionCommand)
|
|
20
|
-
.de(de_DeleteReportDefinitionCommand)
|
|
14
|
+
.sc(DeleteReportDefinition)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetReportDefinition } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetReportDefinitionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSApplicationCostProfiler", "GetReportDefinition", {})
|
|
17
13
|
.n("ApplicationCostProfilerClient", "GetReportDefinitionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetReportDefinitionCommand)
|
|
20
|
-
.de(de_GetReportDefinitionCommand)
|
|
14
|
+
.sc(GetReportDefinition)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ImportApplicationUsage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ImportApplicationUsageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSApplicationCostProfiler", "ImportApplicationUsage", {})
|
|
17
13
|
.n("ApplicationCostProfilerClient", "ImportApplicationUsageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ImportApplicationUsageCommand)
|
|
20
|
-
.de(de_ImportApplicationUsageCommand)
|
|
14
|
+
.sc(ImportApplicationUsage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListReportDefinitions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListReportDefinitionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSApplicationCostProfiler", "ListReportDefinitions", {})
|
|
17
13
|
.n("ApplicationCostProfilerClient", "ListReportDefinitionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListReportDefinitionsCommand)
|
|
20
|
-
.de(de_ListReportDefinitionsCommand)
|
|
14
|
+
.sc(ListReportDefinitions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PutReportDefinition } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PutReportDefinitionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSApplicationCostProfiler", "PutReportDefinition", {})
|
|
17
13
|
.n("ApplicationCostProfilerClient", "PutReportDefinitionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PutReportDefinitionCommand)
|
|
20
|
-
.de(de_PutReportDefinitionCommand)
|
|
14
|
+
.sc(PutReportDefinition)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateReportDefinition } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateReportDefinitionCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSApplicationCostProfiler", "UpdateReportDefinition", {})
|
|
17
13
|
.n("ApplicationCostProfilerClient", "UpdateReportDefinitionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateReportDefinitionCommand)
|
|
20
|
-
.de(de_UpdateReportDefinitionCommand)
|
|
14
|
+
.sc(UpdateReportDefinition)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.applicationcostprofiler" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "ApplicationCostProfiler",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _DRD = "DeleteReportDefinition";
|
|
3
|
+
const _DRDR = "DeleteReportDefinitionRequest";
|
|
4
|
+
const _DRDRe = "DeleteReportDefinitionResult";
|
|
5
|
+
const _GRD = "GetReportDefinition";
|
|
6
|
+
const _GRDR = "GetReportDefinitionRequest";
|
|
7
|
+
const _GRDRe = "GetReportDefinitionResult";
|
|
8
|
+
const _IAU = "ImportApplicationUsage";
|
|
9
|
+
const _IAUR = "ImportApplicationUsageRequest";
|
|
10
|
+
const _IAURm = "ImportApplicationUsageResult";
|
|
11
|
+
const _ISE = "InternalServerException";
|
|
12
|
+
const _LRD = "ListReportDefinitions";
|
|
13
|
+
const _LRDR = "ListReportDefinitionsRequest";
|
|
14
|
+
const _LRDRi = "ListReportDefinitionsResult";
|
|
15
|
+
const _PRD = "PutReportDefinition";
|
|
16
|
+
const _PRDR = "PutReportDefinitionRequest";
|
|
17
|
+
const _PRDRu = "PutReportDefinitionResult";
|
|
18
|
+
const _RD = "ReportDefinition";
|
|
19
|
+
const _RDL = "ReportDefinitionList";
|
|
20
|
+
const _SL = "S3Location";
|
|
21
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
22
|
+
const _SSL = "SourceS3Location";
|
|
23
|
+
const _TE = "ThrottlingException";
|
|
24
|
+
const _URD = "UpdateReportDefinition";
|
|
25
|
+
const _URDR = "UpdateReportDefinitionRequest";
|
|
26
|
+
const _URDRp = "UpdateReportDefinitionResult";
|
|
27
|
+
const _VE = "ValidationException";
|
|
28
|
+
const _b = "bucket";
|
|
29
|
+
const _c = "client";
|
|
30
|
+
const _cA = "createdAt";
|
|
31
|
+
const _dSL = "destinationS3Location";
|
|
32
|
+
const _e = "error";
|
|
33
|
+
const _f = "format";
|
|
34
|
+
const _h = "http";
|
|
35
|
+
const _hE = "httpError";
|
|
36
|
+
const _hQ = "httpQuery";
|
|
37
|
+
const _iI = "importId";
|
|
38
|
+
const _k = "key";
|
|
39
|
+
const _lU = "lastUpdated";
|
|
40
|
+
const _lUA = "lastUpdatedAt";
|
|
41
|
+
const _m = "message";
|
|
42
|
+
const _mR = "maxResults";
|
|
43
|
+
const _nT = "nextToken";
|
|
44
|
+
const _p = "prefix";
|
|
45
|
+
const _r = "region";
|
|
46
|
+
const _rD = "reportDescription";
|
|
47
|
+
const _rDe = "reportDefinitions";
|
|
48
|
+
const _rF = "reportFrequency";
|
|
49
|
+
const _rI = "reportId";
|
|
50
|
+
const _s = "server";
|
|
51
|
+
const _sSL = "sourceS3Location";
|
|
52
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.applicationcostprofiler";
|
|
53
|
+
const n0 = "com.amazonaws.applicationcostprofiler";
|
|
54
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
55
|
+
import { ApplicationCostProfilerServiceException as __ApplicationCostProfilerServiceException } from "../models/ApplicationCostProfilerServiceException";
|
|
56
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
57
|
+
export var AccessDeniedException = [
|
|
58
|
+
-3,
|
|
59
|
+
n0,
|
|
60
|
+
_ADE,
|
|
61
|
+
{
|
|
62
|
+
[_e]: _c,
|
|
63
|
+
[_hE]: 403,
|
|
64
|
+
},
|
|
65
|
+
[_m],
|
|
66
|
+
[0],
|
|
67
|
+
];
|
|
68
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
69
|
+
export var DeleteReportDefinitionRequest = [3, n0, _DRDR, 0, [_rI], [[0, 1]]];
|
|
70
|
+
export var DeleteReportDefinitionResult = [3, n0, _DRDRe, 0, [_rI], [0]];
|
|
71
|
+
export var GetReportDefinitionRequest = [3, n0, _GRDR, 0, [_rI], [[0, 1]]];
|
|
72
|
+
export var GetReportDefinitionResult = [
|
|
73
|
+
3,
|
|
74
|
+
n0,
|
|
75
|
+
_GRDRe,
|
|
76
|
+
0,
|
|
77
|
+
[_rI, _rD, _rF, _f, _dSL, _cA, _lU],
|
|
78
|
+
[0, 0, 0, 0, () => S3Location, 4, 4],
|
|
79
|
+
];
|
|
80
|
+
export var ImportApplicationUsageRequest = [3, n0, _IAUR, 0, [_sSL], [() => SourceS3Location]];
|
|
81
|
+
export var ImportApplicationUsageResult = [3, n0, _IAURm, 0, [_iI], [0]];
|
|
82
|
+
export var InternalServerException = [
|
|
83
|
+
-3,
|
|
84
|
+
n0,
|
|
85
|
+
_ISE,
|
|
86
|
+
{
|
|
87
|
+
[_e]: _s,
|
|
88
|
+
[_hE]: 500,
|
|
89
|
+
},
|
|
90
|
+
[_m],
|
|
91
|
+
[0],
|
|
92
|
+
];
|
|
93
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
94
|
+
export var ListReportDefinitionsRequest = [
|
|
95
|
+
3,
|
|
96
|
+
n0,
|
|
97
|
+
_LRDR,
|
|
98
|
+
0,
|
|
99
|
+
[_nT, _mR],
|
|
100
|
+
[
|
|
101
|
+
[
|
|
102
|
+
0,
|
|
103
|
+
{
|
|
104
|
+
[_hQ]: _nT,
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
1,
|
|
109
|
+
{
|
|
110
|
+
[_hQ]: _mR,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
],
|
|
114
|
+
];
|
|
115
|
+
export var ListReportDefinitionsResult = [
|
|
116
|
+
3,
|
|
117
|
+
n0,
|
|
118
|
+
_LRDRi,
|
|
119
|
+
0,
|
|
120
|
+
[_rDe, _nT],
|
|
121
|
+
[() => ReportDefinitionList, 0],
|
|
122
|
+
];
|
|
123
|
+
export var PutReportDefinitionRequest = [
|
|
124
|
+
3,
|
|
125
|
+
n0,
|
|
126
|
+
_PRDR,
|
|
127
|
+
0,
|
|
128
|
+
[_rI, _rD, _rF, _f, _dSL],
|
|
129
|
+
[0, 0, 0, 0, () => S3Location],
|
|
130
|
+
];
|
|
131
|
+
export var PutReportDefinitionResult = [3, n0, _PRDRu, 0, [_rI], [0]];
|
|
132
|
+
export var ReportDefinition = [
|
|
133
|
+
3,
|
|
134
|
+
n0,
|
|
135
|
+
_RD,
|
|
136
|
+
0,
|
|
137
|
+
[_rI, _rD, _rF, _f, _dSL, _cA, _lUA],
|
|
138
|
+
[0, 0, 0, 0, () => S3Location, 4, 4],
|
|
139
|
+
];
|
|
140
|
+
export var S3Location = [3, n0, _SL, 0, [_b, _p], [0, 0]];
|
|
141
|
+
export var ServiceQuotaExceededException = [
|
|
142
|
+
-3,
|
|
143
|
+
n0,
|
|
144
|
+
_SQEE,
|
|
145
|
+
{
|
|
146
|
+
[_e]: _c,
|
|
147
|
+
[_hE]: 402,
|
|
148
|
+
},
|
|
149
|
+
[_m],
|
|
150
|
+
[0],
|
|
151
|
+
];
|
|
152
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
153
|
+
export var SourceS3Location = [3, n0, _SSL, 0, [_b, _k, _r], [0, 0, 0]];
|
|
154
|
+
export var ThrottlingException = [
|
|
155
|
+
-3,
|
|
156
|
+
n0,
|
|
157
|
+
_TE,
|
|
158
|
+
{
|
|
159
|
+
[_e]: _c,
|
|
160
|
+
[_hE]: 429,
|
|
161
|
+
},
|
|
162
|
+
[_m],
|
|
163
|
+
[0],
|
|
164
|
+
];
|
|
165
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
166
|
+
export var UpdateReportDefinitionRequest = [
|
|
167
|
+
3,
|
|
168
|
+
n0,
|
|
169
|
+
_URDR,
|
|
170
|
+
0,
|
|
171
|
+
[_rI, _rD, _rF, _f, _dSL],
|
|
172
|
+
[[0, 1], 0, 0, 0, () => S3Location],
|
|
173
|
+
];
|
|
174
|
+
export var UpdateReportDefinitionResult = [3, n0, _URDRp, 0, [_rI], [0]];
|
|
175
|
+
export var ValidationException = [
|
|
176
|
+
-3,
|
|
177
|
+
n0,
|
|
178
|
+
_VE,
|
|
179
|
+
{
|
|
180
|
+
[_e]: _c,
|
|
181
|
+
[_hE]: 400,
|
|
182
|
+
},
|
|
183
|
+
[_m],
|
|
184
|
+
[0],
|
|
185
|
+
];
|
|
186
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
187
|
+
export var __Unit = "unit";
|
|
188
|
+
export var ApplicationCostProfilerServiceException = [
|
|
189
|
+
-3,
|
|
190
|
+
_sm,
|
|
191
|
+
"ApplicationCostProfilerServiceException",
|
|
192
|
+
0,
|
|
193
|
+
[],
|
|
194
|
+
[],
|
|
195
|
+
];
|
|
196
|
+
TypeRegistry.for(_sm).registerError(ApplicationCostProfilerServiceException, __ApplicationCostProfilerServiceException);
|
|
197
|
+
export var ReportDefinitionList = [1, n0, _RDL, 0, () => ReportDefinition];
|
|
198
|
+
export var DeleteReportDefinition = [
|
|
199
|
+
9,
|
|
200
|
+
n0,
|
|
201
|
+
_DRD,
|
|
202
|
+
{
|
|
203
|
+
[_h]: ["DELETE", "/reportDefinition/{reportId}", 200],
|
|
204
|
+
},
|
|
205
|
+
() => DeleteReportDefinitionRequest,
|
|
206
|
+
() => DeleteReportDefinitionResult,
|
|
207
|
+
];
|
|
208
|
+
export var GetReportDefinition = [
|
|
209
|
+
9,
|
|
210
|
+
n0,
|
|
211
|
+
_GRD,
|
|
212
|
+
{
|
|
213
|
+
[_h]: ["GET", "/reportDefinition/{reportId}", 200],
|
|
214
|
+
},
|
|
215
|
+
() => GetReportDefinitionRequest,
|
|
216
|
+
() => GetReportDefinitionResult,
|
|
217
|
+
];
|
|
218
|
+
export var ImportApplicationUsage = [
|
|
219
|
+
9,
|
|
220
|
+
n0,
|
|
221
|
+
_IAU,
|
|
222
|
+
{
|
|
223
|
+
[_h]: ["POST", "/importApplicationUsage", 200],
|
|
224
|
+
},
|
|
225
|
+
() => ImportApplicationUsageRequest,
|
|
226
|
+
() => ImportApplicationUsageResult,
|
|
227
|
+
];
|
|
228
|
+
export var ListReportDefinitions = [
|
|
229
|
+
9,
|
|
230
|
+
n0,
|
|
231
|
+
_LRD,
|
|
232
|
+
{
|
|
233
|
+
[_h]: ["GET", "/reportDefinition", 200],
|
|
234
|
+
},
|
|
235
|
+
() => ListReportDefinitionsRequest,
|
|
236
|
+
() => ListReportDefinitionsResult,
|
|
237
|
+
];
|
|
238
|
+
export var PutReportDefinition = [
|
|
239
|
+
9,
|
|
240
|
+
n0,
|
|
241
|
+
_PRD,
|
|
242
|
+
{
|
|
243
|
+
[_h]: ["POST", "/reportDefinition", 200],
|
|
244
|
+
},
|
|
245
|
+
() => PutReportDefinitionRequest,
|
|
246
|
+
() => PutReportDefinitionResult,
|
|
247
|
+
];
|
|
248
|
+
export var UpdateReportDefinition = [
|
|
249
|
+
9,
|
|
250
|
+
n0,
|
|
251
|
+
_URD,
|
|
252
|
+
{
|
|
253
|
+
[_h]: ["PUT", "/reportDefinition/{reportId}", 200],
|
|
254
|
+
},
|
|
255
|
+
() => UpdateReportDefinitionRequest,
|
|
256
|
+
() => UpdateReportDefinitionResult,
|
|
257
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
|
|
11
11
|
import { GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput } from "./commands/GetReportDefinitionCommand";
|
|
@@ -147,6 +147,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
147
147
|
* Optional extensions
|
|
148
148
|
*/
|
|
149
149
|
extensions?: RuntimeExtension[];
|
|
150
|
+
/**
|
|
151
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
152
|
+
* may be overridden. A default will always be set by the client.
|
|
153
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
154
|
+
* the client.
|
|
155
|
+
* @alpha
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
150
159
|
/**
|
|
151
160
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
161
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationCostProfilerHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
3
|
+
export declare var DeleteReportDefinitionRequest: StaticStructureSchema;
|
|
4
|
+
export declare var DeleteReportDefinitionResult: StaticStructureSchema;
|
|
5
|
+
export declare var GetReportDefinitionRequest: StaticStructureSchema;
|
|
6
|
+
export declare var GetReportDefinitionResult: StaticStructureSchema;
|
|
7
|
+
export declare var ImportApplicationUsageRequest: StaticStructureSchema;
|
|
8
|
+
export declare var ImportApplicationUsageResult: StaticStructureSchema;
|
|
9
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
10
|
+
export declare var ListReportDefinitionsRequest: StaticStructureSchema;
|
|
11
|
+
export declare var ListReportDefinitionsResult: StaticStructureSchema;
|
|
12
|
+
export declare var PutReportDefinitionRequest: StaticStructureSchema;
|
|
13
|
+
export declare var PutReportDefinitionResult: StaticStructureSchema;
|
|
14
|
+
export declare var ReportDefinition: StaticStructureSchema;
|
|
15
|
+
export declare var S3Location: StaticStructureSchema;
|
|
16
|
+
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
17
|
+
export declare var SourceS3Location: StaticStructureSchema;
|
|
18
|
+
export declare var ThrottlingException: StaticErrorSchema;
|
|
19
|
+
export declare var UpdateReportDefinitionRequest: StaticStructureSchema;
|
|
20
|
+
export declare var UpdateReportDefinitionResult: StaticStructureSchema;
|
|
21
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
22
|
+
export declare var __Unit: "unit";
|
|
23
|
+
export declare var ApplicationCostProfilerServiceException: StaticErrorSchema;
|
|
24
|
+
export declare var ReportDefinitionList: StaticListSchema;
|
|
25
|
+
export declare var DeleteReportDefinition: StaticOperationSchema;
|
|
26
|
+
export declare var GetReportDefinition: StaticOperationSchema;
|
|
27
|
+
export declare var ImportApplicationUsage: StaticOperationSchema;
|
|
28
|
+
export declare var ListReportDefinitions: StaticOperationSchema;
|
|
29
|
+
export declare var PutReportDefinition: StaticOperationSchema;
|
|
30
|
+
export declare var UpdateReportDefinition: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -114,6 +117,7 @@ export interface ClientDefaults
|
|
|
114
117
|
retryMode?: string | __Provider<string>;
|
|
115
118
|
logger?: __Logger;
|
|
116
119
|
extensions?: RuntimeExtension[];
|
|
120
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
117
121
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
118
122
|
}
|
|
119
123
|
export type ApplicationCostProfilerClientConfigType = Partial<
|
|
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
|
|
|
40
40
|
profile?: string;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
42
42
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
+
import("@smithy/types").HttpRequest,
|
|
45
|
+
import("@smithy/types").HttpResponse
|
|
46
|
+
>;
|
|
43
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
44
48
|
userAgentAppId?:
|
|
45
49
|
| string
|
|
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
|
|
|
40
40
|
profile?: string;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
42
42
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
+
import("@smithy/types").HttpRequest,
|
|
45
|
+
import("@smithy/types").HttpResponse
|
|
46
|
+
>;
|
|
43
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
44
48
|
retryStrategy?:
|
|
45
49
|
| import("@smithy/types").RetryStrategy
|
|
@@ -39,6 +39,10 @@ export declare const getRuntimeConfig: (
|
|
|
39
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
40
40
|
logger: import("@smithy/types").Logger;
|
|
41
41
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
42
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
43
|
+
import("@smithy/types").HttpRequest,
|
|
44
|
+
import("@smithy/types").HttpResponse
|
|
45
|
+
>;
|
|
42
46
|
defaultsMode:
|
|
43
47
|
| import("@smithy/smithy-client").DefaultsMode
|
|
44
48
|
| import("@smithy/types").Provider<
|
|
@@ -16,6 +16,10 @@ export declare const getRuntimeConfig: (
|
|
|
16
16
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationCostProfilerHttpAuthSchemeProvider;
|
|
17
17
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
18
|
logger: import("@smithy/types").Logger;
|
|
19
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
20
|
+
import("@smithy/types").HttpRequest,
|
|
21
|
+
import("@smithy/types").HttpResponse
|
|
22
|
+
>;
|
|
19
23
|
serviceId: string;
|
|
20
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
25
|
utf8Decoder: import("@smithy/types").Decoder;
|