@aws-sdk/client-cost-and-usage-report-service 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DeleteReportDefinitionCommand.js +2 -2
- package/dist-cjs/commands/DescribeReportDefinitionsCommand.js +2 -2
- package/dist-cjs/commands/ModifyReportDefinitionCommand.js +2 -2
- package/dist-cjs/commands/PutReportDefinitionCommand.js +2 -2
- package/dist-cjs/models/models_0.js +37 -55
- package/dist-cjs/protocols/Aws_json1_1.js +20 -38
- package/dist-es/commands/DeleteReportDefinitionCommand.js +3 -3
- package/dist-es/commands/DescribeReportDefinitionsCommand.js +3 -3
- package/dist-es/commands/ModifyReportDefinitionCommand.js +3 -3
- package/dist-es/commands/PutReportDefinitionCommand.js +3 -3
- package/dist-es/models/models_0.js +9 -36
- package/dist-es/protocols/Aws_json1_1.js +33 -39
- package/dist-types/models/models_0.d.ts +36 -54
- package/dist-types/ts3.4/models/models_0.d.ts +18 -36
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @aws-sdk/client-cost-and-usage-report-service
|
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ try {
|
|
|
188
188
|
const data = await client.send(command);
|
|
189
189
|
// process data.
|
|
190
190
|
} catch (error) {
|
|
191
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
191
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
192
192
|
console.log({ requestId, cfId, extendedRequestId });
|
|
193
193
|
/**
|
|
194
194
|
* The keys within exceptions are also parsed.
|
|
@@ -20,8 +20,8 @@ class DeleteReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteReportDefinitionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteReportDefinitionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class DescribeReportDefinitionsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeReportDefinitionsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeReportDefinitionsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ModifyReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ModifyReportDefinitionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ModifyReportDefinitionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class PutReportDefinitionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.PutReportDefinitionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.PutReportDefinitionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutReportDefinitionResponseFilterSensitiveLog = exports.PutReportDefinitionRequestFilterSensitiveLog = exports.ModifyReportDefinitionResponseFilterSensitiveLog = exports.ModifyReportDefinitionRequestFilterSensitiveLog = exports.DescribeReportDefinitionsResponseFilterSensitiveLog = exports.ReportDefinitionFilterSensitiveLog = exports.DescribeReportDefinitionsRequestFilterSensitiveLog = exports.DeleteReportDefinitionResponseFilterSensitiveLog = exports.DeleteReportDefinitionRequestFilterSensitiveLog = exports.ReportLimitReachedException = exports.DuplicateReportNameException = exports.TimeUnit = exports.AWSRegion = exports.ReportVersioning = exports.ReportFormat = exports.CompressionFormat = exports.SchemaElement = exports.ValidationException = exports.InternalErrorException = exports.AdditionalArtifact = void 0;
|
|
4
4
|
const CostAndUsageReportServiceServiceException_1 = require("./CostAndUsageReportServiceServiceException");
|
|
5
5
|
var AdditionalArtifact;
|
|
6
6
|
(function (AdditionalArtifact) {
|
|
@@ -8,18 +8,6 @@ var AdditionalArtifact;
|
|
|
8
8
|
AdditionalArtifact["QUICKSIGHT"] = "QUICKSIGHT";
|
|
9
9
|
AdditionalArtifact["REDSHIFT"] = "REDSHIFT";
|
|
10
10
|
})(AdditionalArtifact = exports.AdditionalArtifact || (exports.AdditionalArtifact = {}));
|
|
11
|
-
var DeleteReportDefinitionRequest;
|
|
12
|
-
(function (DeleteReportDefinitionRequest) {
|
|
13
|
-
DeleteReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
14
|
-
...obj,
|
|
15
|
-
});
|
|
16
|
-
})(DeleteReportDefinitionRequest = exports.DeleteReportDefinitionRequest || (exports.DeleteReportDefinitionRequest = {}));
|
|
17
|
-
var DeleteReportDefinitionResponse;
|
|
18
|
-
(function (DeleteReportDefinitionResponse) {
|
|
19
|
-
DeleteReportDefinitionResponse.filterSensitiveLog = (obj) => ({
|
|
20
|
-
...obj,
|
|
21
|
-
});
|
|
22
|
-
})(DeleteReportDefinitionResponse = exports.DeleteReportDefinitionResponse || (exports.DeleteReportDefinitionResponse = {}));
|
|
23
11
|
class InternalErrorException extends CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException {
|
|
24
12
|
constructor(opts) {
|
|
25
13
|
super({
|
|
@@ -48,12 +36,6 @@ class ValidationException extends CostAndUsageReportServiceServiceException_1.Co
|
|
|
48
36
|
}
|
|
49
37
|
}
|
|
50
38
|
exports.ValidationException = ValidationException;
|
|
51
|
-
var DescribeReportDefinitionsRequest;
|
|
52
|
-
(function (DescribeReportDefinitionsRequest) {
|
|
53
|
-
DescribeReportDefinitionsRequest.filterSensitiveLog = (obj) => ({
|
|
54
|
-
...obj,
|
|
55
|
-
});
|
|
56
|
-
})(DescribeReportDefinitionsRequest = exports.DescribeReportDefinitionsRequest || (exports.DescribeReportDefinitionsRequest = {}));
|
|
57
39
|
var SchemaElement;
|
|
58
40
|
(function (SchemaElement) {
|
|
59
41
|
SchemaElement["RESOURCES"] = "RESOURCES";
|
|
@@ -106,30 +88,6 @@ var TimeUnit;
|
|
|
106
88
|
TimeUnit["HOURLY"] = "HOURLY";
|
|
107
89
|
TimeUnit["MONTHLY"] = "MONTHLY";
|
|
108
90
|
})(TimeUnit = exports.TimeUnit || (exports.TimeUnit = {}));
|
|
109
|
-
var ReportDefinition;
|
|
110
|
-
(function (ReportDefinition) {
|
|
111
|
-
ReportDefinition.filterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
});
|
|
114
|
-
})(ReportDefinition = exports.ReportDefinition || (exports.ReportDefinition = {}));
|
|
115
|
-
var DescribeReportDefinitionsResponse;
|
|
116
|
-
(function (DescribeReportDefinitionsResponse) {
|
|
117
|
-
DescribeReportDefinitionsResponse.filterSensitiveLog = (obj) => ({
|
|
118
|
-
...obj,
|
|
119
|
-
});
|
|
120
|
-
})(DescribeReportDefinitionsResponse = exports.DescribeReportDefinitionsResponse || (exports.DescribeReportDefinitionsResponse = {}));
|
|
121
|
-
var ModifyReportDefinitionRequest;
|
|
122
|
-
(function (ModifyReportDefinitionRequest) {
|
|
123
|
-
ModifyReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
})(ModifyReportDefinitionRequest = exports.ModifyReportDefinitionRequest || (exports.ModifyReportDefinitionRequest = {}));
|
|
127
|
-
var ModifyReportDefinitionResponse;
|
|
128
|
-
(function (ModifyReportDefinitionResponse) {
|
|
129
|
-
ModifyReportDefinitionResponse.filterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
})(ModifyReportDefinitionResponse = exports.ModifyReportDefinitionResponse || (exports.ModifyReportDefinitionResponse = {}));
|
|
133
91
|
class DuplicateReportNameException extends CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException {
|
|
134
92
|
constructor(opts) {
|
|
135
93
|
super({
|
|
@@ -144,18 +102,6 @@ class DuplicateReportNameException extends CostAndUsageReportServiceServiceExcep
|
|
|
144
102
|
}
|
|
145
103
|
}
|
|
146
104
|
exports.DuplicateReportNameException = DuplicateReportNameException;
|
|
147
|
-
var PutReportDefinitionRequest;
|
|
148
|
-
(function (PutReportDefinitionRequest) {
|
|
149
|
-
PutReportDefinitionRequest.filterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
})(PutReportDefinitionRequest = exports.PutReportDefinitionRequest || (exports.PutReportDefinitionRequest = {}));
|
|
153
|
-
var PutReportDefinitionResponse;
|
|
154
|
-
(function (PutReportDefinitionResponse) {
|
|
155
|
-
PutReportDefinitionResponse.filterSensitiveLog = (obj) => ({
|
|
156
|
-
...obj,
|
|
157
|
-
});
|
|
158
|
-
})(PutReportDefinitionResponse = exports.PutReportDefinitionResponse || (exports.PutReportDefinitionResponse = {}));
|
|
159
105
|
class ReportLimitReachedException extends CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException {
|
|
160
106
|
constructor(opts) {
|
|
161
107
|
super({
|
|
@@ -170,3 +116,39 @@ class ReportLimitReachedException extends CostAndUsageReportServiceServiceExcept
|
|
|
170
116
|
}
|
|
171
117
|
}
|
|
172
118
|
exports.ReportLimitReachedException = ReportLimitReachedException;
|
|
119
|
+
const DeleteReportDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
});
|
|
122
|
+
exports.DeleteReportDefinitionRequestFilterSensitiveLog = DeleteReportDefinitionRequestFilterSensitiveLog;
|
|
123
|
+
const DeleteReportDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
126
|
+
exports.DeleteReportDefinitionResponseFilterSensitiveLog = DeleteReportDefinitionResponseFilterSensitiveLog;
|
|
127
|
+
const DescribeReportDefinitionsRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
});
|
|
130
|
+
exports.DescribeReportDefinitionsRequestFilterSensitiveLog = DescribeReportDefinitionsRequestFilterSensitiveLog;
|
|
131
|
+
const ReportDefinitionFilterSensitiveLog = (obj) => ({
|
|
132
|
+
...obj,
|
|
133
|
+
});
|
|
134
|
+
exports.ReportDefinitionFilterSensitiveLog = ReportDefinitionFilterSensitiveLog;
|
|
135
|
+
const DescribeReportDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
exports.DescribeReportDefinitionsResponseFilterSensitiveLog = DescribeReportDefinitionsResponseFilterSensitiveLog;
|
|
139
|
+
const ModifyReportDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
exports.ModifyReportDefinitionRequestFilterSensitiveLog = ModifyReportDefinitionRequestFilterSensitiveLog;
|
|
143
|
+
const ModifyReportDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
144
|
+
...obj,
|
|
145
|
+
});
|
|
146
|
+
exports.ModifyReportDefinitionResponseFilterSensitiveLog = ModifyReportDefinitionResponseFilterSensitiveLog;
|
|
147
|
+
const PutReportDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
exports.PutReportDefinitionRequestFilterSensitiveLog = PutReportDefinitionRequestFilterSensitiveLog;
|
|
151
|
+
const PutReportDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
exports.PutReportDefinitionResponseFilterSensitiveLog = PutReportDefinitionResponseFilterSensitiveLog;
|
|
@@ -64,7 +64,6 @@ const deserializeAws_json1_1DeleteReportDefinitionCommandError = async (output,
|
|
|
64
64
|
...output,
|
|
65
65
|
body: await parseBody(output.body, context),
|
|
66
66
|
};
|
|
67
|
-
let response;
|
|
68
67
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
69
68
|
switch (errorCode) {
|
|
70
69
|
case "InternalErrorException":
|
|
@@ -75,14 +74,12 @@ const deserializeAws_json1_1DeleteReportDefinitionCommandError = async (output,
|
|
|
75
74
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
76
75
|
default:
|
|
77
76
|
const parsedBody = parsedOutput.body;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
$metadata,
|
|
77
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
78
|
+
output,
|
|
79
|
+
parsedBody,
|
|
80
|
+
exceptionCtor: CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException,
|
|
81
|
+
errorCode,
|
|
84
82
|
});
|
|
85
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
86
83
|
}
|
|
87
84
|
};
|
|
88
85
|
const deserializeAws_json1_1DescribeReportDefinitionsCommand = async (output, context) => {
|
|
@@ -104,7 +101,6 @@ const deserializeAws_json1_1DescribeReportDefinitionsCommandError = async (outpu
|
|
|
104
101
|
...output,
|
|
105
102
|
body: await parseBody(output.body, context),
|
|
106
103
|
};
|
|
107
|
-
let response;
|
|
108
104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
109
105
|
switch (errorCode) {
|
|
110
106
|
case "InternalErrorException":
|
|
@@ -112,14 +108,12 @@ const deserializeAws_json1_1DescribeReportDefinitionsCommandError = async (outpu
|
|
|
112
108
|
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
113
109
|
default:
|
|
114
110
|
const parsedBody = parsedOutput.body;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
$metadata,
|
|
111
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
112
|
+
output,
|
|
113
|
+
parsedBody,
|
|
114
|
+
exceptionCtor: CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException,
|
|
115
|
+
errorCode,
|
|
121
116
|
});
|
|
122
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
123
117
|
}
|
|
124
118
|
};
|
|
125
119
|
const deserializeAws_json1_1ModifyReportDefinitionCommand = async (output, context) => {
|
|
@@ -141,7 +135,6 @@ const deserializeAws_json1_1ModifyReportDefinitionCommandError = async (output,
|
|
|
141
135
|
...output,
|
|
142
136
|
body: await parseBody(output.body, context),
|
|
143
137
|
};
|
|
144
|
-
let response;
|
|
145
138
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
146
139
|
switch (errorCode) {
|
|
147
140
|
case "InternalErrorException":
|
|
@@ -152,14 +145,12 @@ const deserializeAws_json1_1ModifyReportDefinitionCommandError = async (output,
|
|
|
152
145
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
153
146
|
default:
|
|
154
147
|
const parsedBody = parsedOutput.body;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
$metadata,
|
|
148
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
149
|
+
output,
|
|
150
|
+
parsedBody,
|
|
151
|
+
exceptionCtor: CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException,
|
|
152
|
+
errorCode,
|
|
161
153
|
});
|
|
162
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
163
154
|
}
|
|
164
155
|
};
|
|
165
156
|
const deserializeAws_json1_1PutReportDefinitionCommand = async (output, context) => {
|
|
@@ -181,7 +172,6 @@ const deserializeAws_json1_1PutReportDefinitionCommandError = async (output, con
|
|
|
181
172
|
...output,
|
|
182
173
|
body: await parseBody(output.body, context),
|
|
183
174
|
};
|
|
184
|
-
let response;
|
|
185
175
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
186
176
|
switch (errorCode) {
|
|
187
177
|
case "DuplicateReportNameException":
|
|
@@ -198,14 +188,12 @@ const deserializeAws_json1_1PutReportDefinitionCommandError = async (output, con
|
|
|
198
188
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
199
189
|
default:
|
|
200
190
|
const parsedBody = parsedOutput.body;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
$metadata,
|
|
191
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
192
|
+
output,
|
|
193
|
+
parsedBody,
|
|
194
|
+
exceptionCtor: CostAndUsageReportServiceServiceException_1.CostAndUsageReportServiceServiceException,
|
|
195
|
+
errorCode,
|
|
207
196
|
});
|
|
208
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
209
197
|
}
|
|
210
198
|
};
|
|
211
199
|
const deserializeAws_json1_1DuplicateReportNameExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -248,9 +236,6 @@ const serializeAws_json1_1AdditionalArtifactList = (input, context) => {
|
|
|
248
236
|
return input
|
|
249
237
|
.filter((e) => e != null)
|
|
250
238
|
.map((entry) => {
|
|
251
|
-
if (entry === null) {
|
|
252
|
-
return null;
|
|
253
|
-
}
|
|
254
239
|
return entry;
|
|
255
240
|
});
|
|
256
241
|
};
|
|
@@ -304,9 +289,6 @@ const serializeAws_json1_1SchemaElementList = (input, context) => {
|
|
|
304
289
|
return input
|
|
305
290
|
.filter((e) => e != null)
|
|
306
291
|
.map((entry) => {
|
|
307
|
-
if (entry === null) {
|
|
308
|
-
return null;
|
|
309
|
-
}
|
|
310
292
|
return entry;
|
|
311
293
|
});
|
|
312
294
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteReportDefinitionRequestFilterSensitiveLog, DeleteReportDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteReportDefinitionCommand, serializeAws_json1_1DeleteReportDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteReportDefinitionCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteReportDefinitionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteReportDefinitionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteReportDefinitionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteReportDefinitionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeReportDefinitionsRequestFilterSensitiveLog, DescribeReportDefinitionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeReportDefinitionsCommand, serializeAws_json1_1DescribeReportDefinitionsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeReportDefinitionsCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeReportDefinitionsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeReportDefinitionsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeReportDefinitionsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeReportDefinitionsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ModifyReportDefinitionRequestFilterSensitiveLog, ModifyReportDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ModifyReportDefinitionCommand, serializeAws_json1_1ModifyReportDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ModifyReportDefinitionCommand = (function (_super) {
|
|
7
7
|
__extends(ModifyReportDefinitionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ModifyReportDefinitionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ModifyReportDefinitionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ModifyReportDefinitionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { PutReportDefinitionRequestFilterSensitiveLog, PutReportDefinitionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1PutReportDefinitionCommand, serializeAws_json1_1PutReportDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var PutReportDefinitionCommand = (function (_super) {
|
|
7
7
|
__extends(PutReportDefinitionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var PutReportDefinitionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: PutReportDefinitionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutReportDefinitionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -6,14 +6,6 @@ export var AdditionalArtifact;
|
|
|
6
6
|
AdditionalArtifact["QUICKSIGHT"] = "QUICKSIGHT";
|
|
7
7
|
AdditionalArtifact["REDSHIFT"] = "REDSHIFT";
|
|
8
8
|
})(AdditionalArtifact || (AdditionalArtifact = {}));
|
|
9
|
-
export var DeleteReportDefinitionRequest;
|
|
10
|
-
(function (DeleteReportDefinitionRequest) {
|
|
11
|
-
DeleteReportDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
12
|
-
})(DeleteReportDefinitionRequest || (DeleteReportDefinitionRequest = {}));
|
|
13
|
-
export var DeleteReportDefinitionResponse;
|
|
14
|
-
(function (DeleteReportDefinitionResponse) {
|
|
15
|
-
DeleteReportDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
16
|
-
})(DeleteReportDefinitionResponse || (DeleteReportDefinitionResponse = {}));
|
|
17
9
|
var InternalErrorException = (function (_super) {
|
|
18
10
|
__extends(InternalErrorException, _super);
|
|
19
11
|
function InternalErrorException(opts) {
|
|
@@ -40,10 +32,6 @@ var ValidationException = (function (_super) {
|
|
|
40
32
|
return ValidationException;
|
|
41
33
|
}(__BaseException));
|
|
42
34
|
export { ValidationException };
|
|
43
|
-
export var DescribeReportDefinitionsRequest;
|
|
44
|
-
(function (DescribeReportDefinitionsRequest) {
|
|
45
|
-
DescribeReportDefinitionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
-
})(DescribeReportDefinitionsRequest || (DescribeReportDefinitionsRequest = {}));
|
|
47
35
|
export var SchemaElement;
|
|
48
36
|
(function (SchemaElement) {
|
|
49
37
|
SchemaElement["RESOURCES"] = "RESOURCES";
|
|
@@ -96,22 +84,6 @@ export var TimeUnit;
|
|
|
96
84
|
TimeUnit["HOURLY"] = "HOURLY";
|
|
97
85
|
TimeUnit["MONTHLY"] = "MONTHLY";
|
|
98
86
|
})(TimeUnit || (TimeUnit = {}));
|
|
99
|
-
export var ReportDefinition;
|
|
100
|
-
(function (ReportDefinition) {
|
|
101
|
-
ReportDefinition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
-
})(ReportDefinition || (ReportDefinition = {}));
|
|
103
|
-
export var DescribeReportDefinitionsResponse;
|
|
104
|
-
(function (DescribeReportDefinitionsResponse) {
|
|
105
|
-
DescribeReportDefinitionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
-
})(DescribeReportDefinitionsResponse || (DescribeReportDefinitionsResponse = {}));
|
|
107
|
-
export var ModifyReportDefinitionRequest;
|
|
108
|
-
(function (ModifyReportDefinitionRequest) {
|
|
109
|
-
ModifyReportDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
-
})(ModifyReportDefinitionRequest || (ModifyReportDefinitionRequest = {}));
|
|
111
|
-
export var ModifyReportDefinitionResponse;
|
|
112
|
-
(function (ModifyReportDefinitionResponse) {
|
|
113
|
-
ModifyReportDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
-
})(ModifyReportDefinitionResponse || (ModifyReportDefinitionResponse = {}));
|
|
115
87
|
var DuplicateReportNameException = (function (_super) {
|
|
116
88
|
__extends(DuplicateReportNameException, _super);
|
|
117
89
|
function DuplicateReportNameException(opts) {
|
|
@@ -125,14 +97,6 @@ var DuplicateReportNameException = (function (_super) {
|
|
|
125
97
|
return DuplicateReportNameException;
|
|
126
98
|
}(__BaseException));
|
|
127
99
|
export { DuplicateReportNameException };
|
|
128
|
-
export var PutReportDefinitionRequest;
|
|
129
|
-
(function (PutReportDefinitionRequest) {
|
|
130
|
-
PutReportDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(PutReportDefinitionRequest || (PutReportDefinitionRequest = {}));
|
|
132
|
-
export var PutReportDefinitionResponse;
|
|
133
|
-
(function (PutReportDefinitionResponse) {
|
|
134
|
-
PutReportDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
-
})(PutReportDefinitionResponse || (PutReportDefinitionResponse = {}));
|
|
136
100
|
var ReportLimitReachedException = (function (_super) {
|
|
137
101
|
__extends(ReportLimitReachedException, _super);
|
|
138
102
|
function ReportLimitReachedException(opts) {
|
|
@@ -146,3 +110,12 @@ var ReportLimitReachedException = (function (_super) {
|
|
|
146
110
|
return ReportLimitReachedException;
|
|
147
111
|
}(__BaseException));
|
|
148
112
|
export { ReportLimitReachedException };
|
|
113
|
+
export var DeleteReportDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
+
export var DeleteReportDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
+
export var DescribeReportDefinitionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
|
+
export var ReportDefinitionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
+
export var DescribeReportDefinitionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
|
+
export var ModifyReportDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
119
|
+
export var ModifyReportDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
|
+
export var PutReportDefinitionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
+
export var PutReportDefinitionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectString as __expectString, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectString as __expectString, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { CostAndUsageReportServiceServiceException as __BaseException } from "../models/CostAndUsageReportServiceServiceException";
|
|
5
5
|
import { DuplicateReportNameException, InternalErrorException, ReportLimitReachedException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1DeleteReportDefinitionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -66,7 +66,7 @@ export var deserializeAws_json1_1DeleteReportDefinitionCommand = function (outpu
|
|
|
66
66
|
});
|
|
67
67
|
}); };
|
|
68
68
|
var deserializeAws_json1_1DeleteReportDefinitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
-
var parsedOutput, _a,
|
|
69
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
70
70
|
var _c;
|
|
71
71
|
return __generator(this, function (_d) {
|
|
72
72
|
switch (_d.label) {
|
|
@@ -91,14 +91,14 @@ var deserializeAws_json1_1DeleteReportDefinitionCommandError = function (output,
|
|
|
91
91
|
case 5: throw _d.sent();
|
|
92
92
|
case 6:
|
|
93
93
|
parsedBody = parsedOutput.body;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
$metadata: $metadata,
|
|
94
|
+
throwDefaultError({
|
|
95
|
+
output: output,
|
|
96
|
+
parsedBody: parsedBody,
|
|
97
|
+
exceptionCtor: __BaseException,
|
|
98
|
+
errorCode: errorCode,
|
|
100
99
|
});
|
|
101
|
-
|
|
100
|
+
_d.label = 7;
|
|
101
|
+
case 7: return [2];
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
}); };
|
|
@@ -121,7 +121,7 @@ export var deserializeAws_json1_1DescribeReportDefinitionsCommand = function (ou
|
|
|
121
121
|
});
|
|
122
122
|
}); };
|
|
123
123
|
var deserializeAws_json1_1DescribeReportDefinitionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
124
|
-
var parsedOutput, _a,
|
|
124
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
125
125
|
var _c;
|
|
126
126
|
return __generator(this, function (_d) {
|
|
127
127
|
switch (_d.label) {
|
|
@@ -142,14 +142,14 @@ var deserializeAws_json1_1DescribeReportDefinitionsCommandError = function (outp
|
|
|
142
142
|
case 3: throw _d.sent();
|
|
143
143
|
case 4:
|
|
144
144
|
parsedBody = parsedOutput.body;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
$metadata: $metadata,
|
|
145
|
+
throwDefaultError({
|
|
146
|
+
output: output,
|
|
147
|
+
parsedBody: parsedBody,
|
|
148
|
+
exceptionCtor: __BaseException,
|
|
149
|
+
errorCode: errorCode,
|
|
151
150
|
});
|
|
152
|
-
|
|
151
|
+
_d.label = 5;
|
|
152
|
+
case 5: return [2];
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
}); };
|
|
@@ -172,7 +172,7 @@ export var deserializeAws_json1_1ModifyReportDefinitionCommand = function (outpu
|
|
|
172
172
|
});
|
|
173
173
|
}); };
|
|
174
174
|
var deserializeAws_json1_1ModifyReportDefinitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
175
|
-
var parsedOutput, _a,
|
|
175
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
176
176
|
var _c;
|
|
177
177
|
return __generator(this, function (_d) {
|
|
178
178
|
switch (_d.label) {
|
|
@@ -197,14 +197,14 @@ var deserializeAws_json1_1ModifyReportDefinitionCommandError = function (output,
|
|
|
197
197
|
case 5: throw _d.sent();
|
|
198
198
|
case 6:
|
|
199
199
|
parsedBody = parsedOutput.body;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
$metadata: $metadata,
|
|
200
|
+
throwDefaultError({
|
|
201
|
+
output: output,
|
|
202
|
+
parsedBody: parsedBody,
|
|
203
|
+
exceptionCtor: __BaseException,
|
|
204
|
+
errorCode: errorCode,
|
|
206
205
|
});
|
|
207
|
-
|
|
206
|
+
_d.label = 7;
|
|
207
|
+
case 7: return [2];
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
210
|
}); };
|
|
@@ -227,7 +227,7 @@ export var deserializeAws_json1_1PutReportDefinitionCommand = function (output,
|
|
|
227
227
|
});
|
|
228
228
|
}); };
|
|
229
229
|
var deserializeAws_json1_1PutReportDefinitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
230
|
-
var parsedOutput, _a,
|
|
230
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
231
231
|
var _c;
|
|
232
232
|
return __generator(this, function (_d) {
|
|
233
233
|
switch (_d.label) {
|
|
@@ -260,14 +260,14 @@ var deserializeAws_json1_1PutReportDefinitionCommandError = function (output, co
|
|
|
260
260
|
case 9: throw _d.sent();
|
|
261
261
|
case 10:
|
|
262
262
|
parsedBody = parsedOutput.body;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
$metadata: $metadata,
|
|
263
|
+
throwDefaultError({
|
|
264
|
+
output: output,
|
|
265
|
+
parsedBody: parsedBody,
|
|
266
|
+
exceptionCtor: __BaseException,
|
|
267
|
+
errorCode: errorCode,
|
|
269
268
|
});
|
|
270
|
-
|
|
269
|
+
_d.label = 11;
|
|
270
|
+
case 11: return [2];
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}); };
|
|
@@ -311,9 +311,6 @@ var serializeAws_json1_1AdditionalArtifactList = function (input, context) {
|
|
|
311
311
|
return input
|
|
312
312
|
.filter(function (e) { return e != null; })
|
|
313
313
|
.map(function (entry) {
|
|
314
|
-
if (entry === null) {
|
|
315
|
-
return null;
|
|
316
|
-
}
|
|
317
314
|
return entry;
|
|
318
315
|
});
|
|
319
316
|
};
|
|
@@ -344,9 +341,6 @@ var serializeAws_json1_1SchemaElementList = function (input, context) {
|
|
|
344
341
|
return input
|
|
345
342
|
.filter(function (e) { return e != null; })
|
|
346
343
|
.map(function (entry) {
|
|
347
|
-
if (entry === null) {
|
|
348
|
-
return null;
|
|
349
|
-
}
|
|
350
344
|
return entry;
|
|
351
345
|
});
|
|
352
346
|
};
|
|
@@ -14,12 +14,6 @@ export interface DeleteReportDefinitionRequest {
|
|
|
14
14
|
*/
|
|
15
15
|
ReportName?: string;
|
|
16
16
|
}
|
|
17
|
-
export declare namespace DeleteReportDefinitionRequest {
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
const filterSensitiveLog: (obj: DeleteReportDefinitionRequest) => any;
|
|
22
|
-
}
|
|
23
17
|
/**
|
|
24
18
|
* <p>If the action is successful, the service sends back an HTTP 200 response.</p>
|
|
25
19
|
*/
|
|
@@ -29,12 +23,6 @@ export interface DeleteReportDefinitionResponse {
|
|
|
29
23
|
*/
|
|
30
24
|
ResponseMessage?: string;
|
|
31
25
|
}
|
|
32
|
-
export declare namespace DeleteReportDefinitionResponse {
|
|
33
|
-
/**
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
36
|
-
const filterSensitiveLog: (obj: DeleteReportDefinitionResponse) => any;
|
|
37
|
-
}
|
|
38
26
|
/**
|
|
39
27
|
* <p>An error on the server occurred during the processing of your request. Try again later.</p>
|
|
40
28
|
*/
|
|
@@ -78,12 +66,6 @@ export interface DescribeReportDefinitionsRequest {
|
|
|
78
66
|
*/
|
|
79
67
|
NextToken?: string;
|
|
80
68
|
}
|
|
81
|
-
export declare namespace DescribeReportDefinitionsRequest {
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
const filterSensitiveLog: (obj: DescribeReportDefinitionsRequest) => any;
|
|
86
|
-
}
|
|
87
69
|
export declare enum SchemaElement {
|
|
88
70
|
RESOURCES = "RESOURCES"
|
|
89
71
|
}
|
|
@@ -192,12 +174,6 @@ export interface ReportDefinition {
|
|
|
192
174
|
*/
|
|
193
175
|
BillingViewArn?: string;
|
|
194
176
|
}
|
|
195
|
-
export declare namespace ReportDefinition {
|
|
196
|
-
/**
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
const filterSensitiveLog: (obj: ReportDefinition) => any;
|
|
200
|
-
}
|
|
201
177
|
/**
|
|
202
178
|
* <p>If the action is successful, the service sends back an HTTP 200 response.</p>
|
|
203
179
|
*/
|
|
@@ -211,12 +187,6 @@ export interface DescribeReportDefinitionsResponse {
|
|
|
211
187
|
*/
|
|
212
188
|
NextToken?: string;
|
|
213
189
|
}
|
|
214
|
-
export declare namespace DescribeReportDefinitionsResponse {
|
|
215
|
-
/**
|
|
216
|
-
* @internal
|
|
217
|
-
*/
|
|
218
|
-
const filterSensitiveLog: (obj: DescribeReportDefinitionsResponse) => any;
|
|
219
|
-
}
|
|
220
190
|
export interface ModifyReportDefinitionRequest {
|
|
221
191
|
/**
|
|
222
192
|
* <p>The name of the report that you want to create. The name must be unique,
|
|
@@ -231,20 +201,8 @@ export interface ModifyReportDefinitionRequest {
|
|
|
231
201
|
*/
|
|
232
202
|
ReportDefinition: ReportDefinition | undefined;
|
|
233
203
|
}
|
|
234
|
-
export declare namespace ModifyReportDefinitionRequest {
|
|
235
|
-
/**
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
const filterSensitiveLog: (obj: ModifyReportDefinitionRequest) => any;
|
|
239
|
-
}
|
|
240
204
|
export interface ModifyReportDefinitionResponse {
|
|
241
205
|
}
|
|
242
|
-
export declare namespace ModifyReportDefinitionResponse {
|
|
243
|
-
/**
|
|
244
|
-
* @internal
|
|
245
|
-
*/
|
|
246
|
-
const filterSensitiveLog: (obj: ModifyReportDefinitionResponse) => any;
|
|
247
|
-
}
|
|
248
206
|
/**
|
|
249
207
|
* <p>A report with the specified name already exists in the account. Specify a different report name.</p>
|
|
250
208
|
*/
|
|
@@ -270,23 +228,11 @@ export interface PutReportDefinitionRequest {
|
|
|
270
228
|
*/
|
|
271
229
|
ReportDefinition: ReportDefinition | undefined;
|
|
272
230
|
}
|
|
273
|
-
export declare namespace PutReportDefinitionRequest {
|
|
274
|
-
/**
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
|
-
const filterSensitiveLog: (obj: PutReportDefinitionRequest) => any;
|
|
278
|
-
}
|
|
279
231
|
/**
|
|
280
232
|
* <p>If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.</p>
|
|
281
233
|
*/
|
|
282
234
|
export interface PutReportDefinitionResponse {
|
|
283
235
|
}
|
|
284
|
-
export declare namespace PutReportDefinitionResponse {
|
|
285
|
-
/**
|
|
286
|
-
* @internal
|
|
287
|
-
*/
|
|
288
|
-
const filterSensitiveLog: (obj: PutReportDefinitionResponse) => any;
|
|
289
|
-
}
|
|
290
236
|
/**
|
|
291
237
|
* <p>This account already has five reports defined. To define a new report, you must delete an existing report.</p>
|
|
292
238
|
*/
|
|
@@ -302,3 +248,39 @@ export declare class ReportLimitReachedException extends __BaseException {
|
|
|
302
248
|
*/
|
|
303
249
|
constructor(opts: __ExceptionOptionType<ReportLimitReachedException, __BaseException>);
|
|
304
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
export declare const DeleteReportDefinitionRequestFilterSensitiveLog: (obj: DeleteReportDefinitionRequest) => any;
|
|
255
|
+
/**
|
|
256
|
+
* @internal
|
|
257
|
+
*/
|
|
258
|
+
export declare const DeleteReportDefinitionResponseFilterSensitiveLog: (obj: DeleteReportDefinitionResponse) => any;
|
|
259
|
+
/**
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
export declare const DescribeReportDefinitionsRequestFilterSensitiveLog: (obj: DescribeReportDefinitionsRequest) => any;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
export declare const ReportDefinitionFilterSensitiveLog: (obj: ReportDefinition) => any;
|
|
267
|
+
/**
|
|
268
|
+
* @internal
|
|
269
|
+
*/
|
|
270
|
+
export declare const DescribeReportDefinitionsResponseFilterSensitiveLog: (obj: DescribeReportDefinitionsResponse) => any;
|
|
271
|
+
/**
|
|
272
|
+
* @internal
|
|
273
|
+
*/
|
|
274
|
+
export declare const ModifyReportDefinitionRequestFilterSensitiveLog: (obj: ModifyReportDefinitionRequest) => any;
|
|
275
|
+
/**
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
export declare const ModifyReportDefinitionResponseFilterSensitiveLog: (obj: ModifyReportDefinitionResponse) => any;
|
|
279
|
+
/**
|
|
280
|
+
* @internal
|
|
281
|
+
*/
|
|
282
|
+
export declare const PutReportDefinitionRequestFilterSensitiveLog: (obj: PutReportDefinitionRequest) => any;
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
export declare const PutReportDefinitionResponseFilterSensitiveLog: (obj: PutReportDefinitionResponse) => any;
|
|
@@ -10,19 +10,11 @@ export interface DeleteReportDefinitionRequest {
|
|
|
10
10
|
|
|
11
11
|
ReportName?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare namespace DeleteReportDefinitionRequest {
|
|
14
|
-
|
|
15
|
-
const filterSensitiveLog: (obj: DeleteReportDefinitionRequest) => any;
|
|
16
|
-
}
|
|
17
13
|
|
|
18
14
|
export interface DeleteReportDefinitionResponse {
|
|
19
15
|
|
|
20
16
|
ResponseMessage?: string;
|
|
21
17
|
}
|
|
22
|
-
export declare namespace DeleteReportDefinitionResponse {
|
|
23
|
-
|
|
24
|
-
const filterSensitiveLog: (obj: DeleteReportDefinitionResponse) => any;
|
|
25
|
-
}
|
|
26
18
|
|
|
27
19
|
export declare class InternalErrorException extends __BaseException {
|
|
28
20
|
readonly name: "InternalErrorException";
|
|
@@ -48,10 +40,6 @@ export interface DescribeReportDefinitionsRequest {
|
|
|
48
40
|
|
|
49
41
|
NextToken?: string;
|
|
50
42
|
}
|
|
51
|
-
export declare namespace DescribeReportDefinitionsRequest {
|
|
52
|
-
|
|
53
|
-
const filterSensitiveLog: (obj: DescribeReportDefinitionsRequest) => any;
|
|
54
|
-
}
|
|
55
43
|
export declare enum SchemaElement {
|
|
56
44
|
RESOURCES = "RESOURCES"
|
|
57
45
|
}
|
|
@@ -125,10 +113,6 @@ export interface ReportDefinition {
|
|
|
125
113
|
|
|
126
114
|
BillingViewArn?: string;
|
|
127
115
|
}
|
|
128
|
-
export declare namespace ReportDefinition {
|
|
129
|
-
|
|
130
|
-
const filterSensitiveLog: (obj: ReportDefinition) => any;
|
|
131
|
-
}
|
|
132
116
|
|
|
133
117
|
export interface DescribeReportDefinitionsResponse {
|
|
134
118
|
|
|
@@ -136,26 +120,14 @@ export interface DescribeReportDefinitionsResponse {
|
|
|
136
120
|
|
|
137
121
|
NextToken?: string;
|
|
138
122
|
}
|
|
139
|
-
export declare namespace DescribeReportDefinitionsResponse {
|
|
140
|
-
|
|
141
|
-
const filterSensitiveLog: (obj: DescribeReportDefinitionsResponse) => any;
|
|
142
|
-
}
|
|
143
123
|
export interface ModifyReportDefinitionRequest {
|
|
144
124
|
|
|
145
125
|
ReportName: string | undefined;
|
|
146
126
|
|
|
147
127
|
ReportDefinition: ReportDefinition | undefined;
|
|
148
128
|
}
|
|
149
|
-
export declare namespace ModifyReportDefinitionRequest {
|
|
150
|
-
|
|
151
|
-
const filterSensitiveLog: (obj: ModifyReportDefinitionRequest) => any;
|
|
152
|
-
}
|
|
153
129
|
export interface ModifyReportDefinitionResponse {
|
|
154
130
|
}
|
|
155
|
-
export declare namespace ModifyReportDefinitionResponse {
|
|
156
|
-
|
|
157
|
-
const filterSensitiveLog: (obj: ModifyReportDefinitionResponse) => any;
|
|
158
|
-
}
|
|
159
131
|
|
|
160
132
|
export declare class DuplicateReportNameException extends __BaseException {
|
|
161
133
|
readonly name: "DuplicateReportNameException";
|
|
@@ -170,17 +142,9 @@ export interface PutReportDefinitionRequest {
|
|
|
170
142
|
|
|
171
143
|
ReportDefinition: ReportDefinition | undefined;
|
|
172
144
|
}
|
|
173
|
-
export declare namespace PutReportDefinitionRequest {
|
|
174
|
-
|
|
175
|
-
const filterSensitiveLog: (obj: PutReportDefinitionRequest) => any;
|
|
176
|
-
}
|
|
177
145
|
|
|
178
146
|
export interface PutReportDefinitionResponse {
|
|
179
147
|
}
|
|
180
|
-
export declare namespace PutReportDefinitionResponse {
|
|
181
|
-
|
|
182
|
-
const filterSensitiveLog: (obj: PutReportDefinitionResponse) => any;
|
|
183
|
-
}
|
|
184
148
|
|
|
185
149
|
export declare class ReportLimitReachedException extends __BaseException {
|
|
186
150
|
readonly name: "ReportLimitReachedException";
|
|
@@ -190,3 +154,21 @@ export declare class ReportLimitReachedException extends __BaseException {
|
|
|
190
154
|
|
|
191
155
|
constructor(opts: __ExceptionOptionType<ReportLimitReachedException, __BaseException>);
|
|
192
156
|
}
|
|
157
|
+
|
|
158
|
+
export declare const DeleteReportDefinitionRequestFilterSensitiveLog: (obj: DeleteReportDefinitionRequest) => any;
|
|
159
|
+
|
|
160
|
+
export declare const DeleteReportDefinitionResponseFilterSensitiveLog: (obj: DeleteReportDefinitionResponse) => any;
|
|
161
|
+
|
|
162
|
+
export declare const DescribeReportDefinitionsRequestFilterSensitiveLog: (obj: DescribeReportDefinitionsRequest) => any;
|
|
163
|
+
|
|
164
|
+
export declare const ReportDefinitionFilterSensitiveLog: (obj: ReportDefinition) => any;
|
|
165
|
+
|
|
166
|
+
export declare const DescribeReportDefinitionsResponseFilterSensitiveLog: (obj: DescribeReportDefinitionsResponse) => any;
|
|
167
|
+
|
|
168
|
+
export declare const ModifyReportDefinitionRequestFilterSensitiveLog: (obj: ModifyReportDefinitionRequest) => any;
|
|
169
|
+
|
|
170
|
+
export declare const ModifyReportDefinitionResponseFilterSensitiveLog: (obj: ModifyReportDefinitionResponse) => any;
|
|
171
|
+
|
|
172
|
+
export declare const PutReportDefinitionRequestFilterSensitiveLog: (obj: PutReportDefinitionRequest) => any;
|
|
173
|
+
|
|
174
|
+
export declare const PutReportDefinitionResponseFilterSensitiveLog: (obj: PutReportDefinitionResponse) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-and-usage-report-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost And Usage Report Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.142.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.142.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.142.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|