@aws-sdk/client-cost-and-usage-report-service 3.933.0 → 3.935.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 CHANGED
@@ -117,11 +117,6 @@ let CostAndUsageReportServiceServiceException$1 = class CostAndUsageReportServic
117
117
  }
118
118
  };
119
119
 
120
- const AdditionalArtifact = {
121
- ATHENA: "ATHENA",
122
- QUICKSIGHT: "QUICKSIGHT",
123
- REDSHIFT: "REDSHIFT",
124
- };
125
120
  let InternalErrorException$1 = class InternalErrorException extends CostAndUsageReportServiceServiceException$1 {
126
121
  name = "InternalErrorException";
127
122
  $fault = "server";
@@ -150,64 +145,6 @@ let ValidationException$1 = class ValidationException extends CostAndUsageReport
150
145
  this.Message = opts.Message;
151
146
  }
152
147
  };
153
- const SchemaElement = {
154
- MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY",
155
- RESOURCES: "RESOURCES",
156
- SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA",
157
- };
158
- const CompressionFormat = {
159
- GZIP: "GZIP",
160
- Parquet: "Parquet",
161
- ZIP: "ZIP",
162
- };
163
- const ReportFormat = {
164
- CSV: "textORcsv",
165
- Parquet: "Parquet",
166
- };
167
- const LastStatus = {
168
- ERROR_NO_BUCKET: "ERROR_NO_BUCKET",
169
- ERROR_PERMISSIONS: "ERROR_PERMISSIONS",
170
- SUCCESS: "SUCCESS",
171
- };
172
- const ReportVersioning = {
173
- CREATE_NEW_REPORT: "CREATE_NEW_REPORT",
174
- OVERWRITE_REPORT: "OVERWRITE_REPORT",
175
- };
176
- const AWSRegion = {
177
- BAHRAIN: "me-south-1",
178
- BEIJING: "cn-north-1",
179
- CANADA_CENTRAL: "ca-central-1",
180
- CAPE_TOWN: "af-south-1",
181
- FRANKFURT: "eu-central-1",
182
- HONG_KONG: "ap-east-1",
183
- HYDERABAD: "ap-south-2",
184
- IRELAND: "eu-west-1",
185
- JAKARTA: "ap-southeast-3",
186
- LONDON: "eu-west-2",
187
- MILANO: "eu-south-1",
188
- MUMBAI: "ap-south-1",
189
- NINGXIA: "cn-northwest-1",
190
- NORTHERN_CALIFORNIA: "us-west-1",
191
- OHIO: "us-east-2",
192
- OREGON: "us-west-2",
193
- OSAKA: "ap-northeast-3",
194
- PARIS: "eu-west-3",
195
- SAO_PAULO: "sa-east-1",
196
- SEOUL: "ap-northeast-2",
197
- SINGAPORE: "ap-southeast-1",
198
- SPAIN: "eu-south-2",
199
- STOCKHOLM: "eu-north-1",
200
- SYDNEY: "ap-southeast-2",
201
- TOKYO: "ap-northeast-1",
202
- UAE: "me-central-1",
203
- US_STANDARD: "us-east-1",
204
- ZURICH: "eu-central-2",
205
- };
206
- const TimeUnit = {
207
- DAILY: "DAILY",
208
- HOURLY: "HOURLY",
209
- MONTHLY: "MONTHLY",
210
- };
211
148
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends CostAndUsageReportServiceServiceException$1 {
212
149
  name = "ResourceNotFoundException";
213
150
  $fault = "client";
@@ -570,6 +507,70 @@ smithyClient.createAggregatedClient(commands, CostAndUsageReportService);
570
507
 
571
508
  const paginateDescribeReportDefinitions = core.createPaginator(CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
572
509
 
510
+ const AdditionalArtifact = {
511
+ ATHENA: "ATHENA",
512
+ QUICKSIGHT: "QUICKSIGHT",
513
+ REDSHIFT: "REDSHIFT",
514
+ };
515
+ const SchemaElement = {
516
+ MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY",
517
+ RESOURCES: "RESOURCES",
518
+ SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA",
519
+ };
520
+ const CompressionFormat = {
521
+ GZIP: "GZIP",
522
+ Parquet: "Parquet",
523
+ ZIP: "ZIP",
524
+ };
525
+ const ReportFormat = {
526
+ CSV: "textORcsv",
527
+ Parquet: "Parquet",
528
+ };
529
+ const LastStatus = {
530
+ ERROR_NO_BUCKET: "ERROR_NO_BUCKET",
531
+ ERROR_PERMISSIONS: "ERROR_PERMISSIONS",
532
+ SUCCESS: "SUCCESS",
533
+ };
534
+ const ReportVersioning = {
535
+ CREATE_NEW_REPORT: "CREATE_NEW_REPORT",
536
+ OVERWRITE_REPORT: "OVERWRITE_REPORT",
537
+ };
538
+ const AWSRegion = {
539
+ BAHRAIN: "me-south-1",
540
+ BEIJING: "cn-north-1",
541
+ CANADA_CENTRAL: "ca-central-1",
542
+ CAPE_TOWN: "af-south-1",
543
+ FRANKFURT: "eu-central-1",
544
+ HONG_KONG: "ap-east-1",
545
+ HYDERABAD: "ap-south-2",
546
+ IRELAND: "eu-west-1",
547
+ JAKARTA: "ap-southeast-3",
548
+ LONDON: "eu-west-2",
549
+ MILANO: "eu-south-1",
550
+ MUMBAI: "ap-south-1",
551
+ NINGXIA: "cn-northwest-1",
552
+ NORTHERN_CALIFORNIA: "us-west-1",
553
+ OHIO: "us-east-2",
554
+ OREGON: "us-west-2",
555
+ OSAKA: "ap-northeast-3",
556
+ PARIS: "eu-west-3",
557
+ SAO_PAULO: "sa-east-1",
558
+ SEOUL: "ap-northeast-2",
559
+ SINGAPORE: "ap-southeast-1",
560
+ SPAIN: "eu-south-2",
561
+ STOCKHOLM: "eu-north-1",
562
+ SYDNEY: "ap-southeast-2",
563
+ TOKYO: "ap-northeast-1",
564
+ UAE: "me-central-1",
565
+ US_STANDARD: "us-east-1",
566
+ ZURICH: "eu-central-2",
567
+ };
568
+ const TimeUnit = {
569
+ DAILY: "DAILY",
570
+ HOURLY: "HOURLY",
571
+ MONTHLY: "MONTHLY",
572
+ };
573
+
573
574
  Object.defineProperty(exports, "$Command", {
574
575
  enumerable: true,
575
576
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./CostAndUsageReportServiceClient";
2
2
  export * from "./CostAndUsageReportService";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { CostAndUsageReportServiceServiceException } from "./models/CostAndUsageReportServiceServiceException";
@@ -0,0 +1,63 @@
1
+ export const AdditionalArtifact = {
2
+ ATHENA: "ATHENA",
3
+ QUICKSIGHT: "QUICKSIGHT",
4
+ REDSHIFT: "REDSHIFT",
5
+ };
6
+ export const SchemaElement = {
7
+ MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY",
8
+ RESOURCES: "RESOURCES",
9
+ SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA",
10
+ };
11
+ export const CompressionFormat = {
12
+ GZIP: "GZIP",
13
+ Parquet: "Parquet",
14
+ ZIP: "ZIP",
15
+ };
16
+ export const ReportFormat = {
17
+ CSV: "textORcsv",
18
+ Parquet: "Parquet",
19
+ };
20
+ export const LastStatus = {
21
+ ERROR_NO_BUCKET: "ERROR_NO_BUCKET",
22
+ ERROR_PERMISSIONS: "ERROR_PERMISSIONS",
23
+ SUCCESS: "SUCCESS",
24
+ };
25
+ export const ReportVersioning = {
26
+ CREATE_NEW_REPORT: "CREATE_NEW_REPORT",
27
+ OVERWRITE_REPORT: "OVERWRITE_REPORT",
28
+ };
29
+ export const AWSRegion = {
30
+ BAHRAIN: "me-south-1",
31
+ BEIJING: "cn-north-1",
32
+ CANADA_CENTRAL: "ca-central-1",
33
+ CAPE_TOWN: "af-south-1",
34
+ FRANKFURT: "eu-central-1",
35
+ HONG_KONG: "ap-east-1",
36
+ HYDERABAD: "ap-south-2",
37
+ IRELAND: "eu-west-1",
38
+ JAKARTA: "ap-southeast-3",
39
+ LONDON: "eu-west-2",
40
+ MILANO: "eu-south-1",
41
+ MUMBAI: "ap-south-1",
42
+ NINGXIA: "cn-northwest-1",
43
+ NORTHERN_CALIFORNIA: "us-west-1",
44
+ OHIO: "us-east-2",
45
+ OREGON: "us-west-2",
46
+ OSAKA: "ap-northeast-3",
47
+ PARIS: "eu-west-3",
48
+ SAO_PAULO: "sa-east-1",
49
+ SEOUL: "ap-northeast-2",
50
+ SINGAPORE: "ap-southeast-1",
51
+ SPAIN: "eu-south-2",
52
+ STOCKHOLM: "eu-north-1",
53
+ SYDNEY: "ap-southeast-2",
54
+ TOKYO: "ap-northeast-1",
55
+ UAE: "me-central-1",
56
+ US_STANDARD: "us-east-1",
57
+ ZURICH: "eu-central-2",
58
+ };
59
+ export const TimeUnit = {
60
+ DAILY: "DAILY",
61
+ HOURLY: "HOURLY",
62
+ MONTHLY: "MONTHLY",
63
+ };
@@ -0,0 +1,71 @@
1
+ import { CostAndUsageReportServiceServiceException as __BaseException } from "./CostAndUsageReportServiceServiceException";
2
+ export class InternalErrorException extends __BaseException {
3
+ name = "InternalErrorException";
4
+ $fault = "server";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "InternalErrorException",
9
+ $fault: "server",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, InternalErrorException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class ValidationException extends __BaseException {
17
+ name = "ValidationException";
18
+ $fault = "client";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "ValidationException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, ValidationException.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class ResourceNotFoundException extends __BaseException {
31
+ name = "ResourceNotFoundException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceNotFoundException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class DuplicateReportNameException extends __BaseException {
45
+ name = "DuplicateReportNameException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "DuplicateReportNameException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, DuplicateReportNameException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ReportLimitReachedException extends __BaseException {
59
+ name = "ReportLimitReachedException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "ReportLimitReachedException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, ReportLimitReachedException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
@@ -1,134 +1 @@
1
- import { CostAndUsageReportServiceServiceException as __BaseException } from "./CostAndUsageReportServiceServiceException";
2
- export const AdditionalArtifact = {
3
- ATHENA: "ATHENA",
4
- QUICKSIGHT: "QUICKSIGHT",
5
- REDSHIFT: "REDSHIFT",
6
- };
7
- export class InternalErrorException extends __BaseException {
8
- name = "InternalErrorException";
9
- $fault = "server";
10
- Message;
11
- constructor(opts) {
12
- super({
13
- name: "InternalErrorException",
14
- $fault: "server",
15
- ...opts,
16
- });
17
- Object.setPrototypeOf(this, InternalErrorException.prototype);
18
- this.Message = opts.Message;
19
- }
20
- }
21
- export class ValidationException extends __BaseException {
22
- name = "ValidationException";
23
- $fault = "client";
24
- Message;
25
- constructor(opts) {
26
- super({
27
- name: "ValidationException",
28
- $fault: "client",
29
- ...opts,
30
- });
31
- Object.setPrototypeOf(this, ValidationException.prototype);
32
- this.Message = opts.Message;
33
- }
34
- }
35
- export const SchemaElement = {
36
- MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY",
37
- RESOURCES: "RESOURCES",
38
- SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA",
39
- };
40
- export const CompressionFormat = {
41
- GZIP: "GZIP",
42
- Parquet: "Parquet",
43
- ZIP: "ZIP",
44
- };
45
- export const ReportFormat = {
46
- CSV: "textORcsv",
47
- Parquet: "Parquet",
48
- };
49
- export const LastStatus = {
50
- ERROR_NO_BUCKET: "ERROR_NO_BUCKET",
51
- ERROR_PERMISSIONS: "ERROR_PERMISSIONS",
52
- SUCCESS: "SUCCESS",
53
- };
54
- export const ReportVersioning = {
55
- CREATE_NEW_REPORT: "CREATE_NEW_REPORT",
56
- OVERWRITE_REPORT: "OVERWRITE_REPORT",
57
- };
58
- export const AWSRegion = {
59
- BAHRAIN: "me-south-1",
60
- BEIJING: "cn-north-1",
61
- CANADA_CENTRAL: "ca-central-1",
62
- CAPE_TOWN: "af-south-1",
63
- FRANKFURT: "eu-central-1",
64
- HONG_KONG: "ap-east-1",
65
- HYDERABAD: "ap-south-2",
66
- IRELAND: "eu-west-1",
67
- JAKARTA: "ap-southeast-3",
68
- LONDON: "eu-west-2",
69
- MILANO: "eu-south-1",
70
- MUMBAI: "ap-south-1",
71
- NINGXIA: "cn-northwest-1",
72
- NORTHERN_CALIFORNIA: "us-west-1",
73
- OHIO: "us-east-2",
74
- OREGON: "us-west-2",
75
- OSAKA: "ap-northeast-3",
76
- PARIS: "eu-west-3",
77
- SAO_PAULO: "sa-east-1",
78
- SEOUL: "ap-northeast-2",
79
- SINGAPORE: "ap-southeast-1",
80
- SPAIN: "eu-south-2",
81
- STOCKHOLM: "eu-north-1",
82
- SYDNEY: "ap-southeast-2",
83
- TOKYO: "ap-northeast-1",
84
- UAE: "me-central-1",
85
- US_STANDARD: "us-east-1",
86
- ZURICH: "eu-central-2",
87
- };
88
- export const TimeUnit = {
89
- DAILY: "DAILY",
90
- HOURLY: "HOURLY",
91
- MONTHLY: "MONTHLY",
92
- };
93
- export class ResourceNotFoundException extends __BaseException {
94
- name = "ResourceNotFoundException";
95
- $fault = "client";
96
- Message;
97
- constructor(opts) {
98
- super({
99
- name: "ResourceNotFoundException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
104
- this.Message = opts.Message;
105
- }
106
- }
107
- export class DuplicateReportNameException extends __BaseException {
108
- name = "DuplicateReportNameException";
109
- $fault = "client";
110
- Message;
111
- constructor(opts) {
112
- super({
113
- name: "DuplicateReportNameException",
114
- $fault: "client",
115
- ...opts,
116
- });
117
- Object.setPrototypeOf(this, DuplicateReportNameException.prototype);
118
- this.Message = opts.Message;
119
- }
120
- }
121
- export class ReportLimitReachedException extends __BaseException {
122
- name = "ReportLimitReachedException";
123
- $fault = "client";
124
- Message;
125
- constructor(opts) {
126
- super({
127
- name: "ReportLimitReachedException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, ReportLimitReachedException.prototype);
132
- this.Message = opts.Message;
133
- }
134
- }
1
+ export {};
@@ -59,7 +59,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.costandusagereportservice";
59
59
  const n0 = "com.amazonaws.costandusagereportservice";
60
60
  import { TypeRegistry } from "@smithy/core/schema";
61
61
  import { CostAndUsageReportServiceServiceException as __CostAndUsageReportServiceServiceException } from "../models/CostAndUsageReportServiceServiceException";
62
- import { DuplicateReportNameException as __DuplicateReportNameException, InternalErrorException as __InternalErrorException, ReportLimitReachedException as __ReportLimitReachedException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/index";
62
+ import { DuplicateReportNameException as __DuplicateReportNameException, InternalErrorException as __InternalErrorException, ReportLimitReachedException as __ReportLimitReachedException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/errors";
63
63
  export var DeleteReportDefinitionRequest = [3, n0, _DRDR, 0, [_RN], [0]];
64
64
  export var DeleteReportDefinitionResponse = [3, n0, _DRDRe, 0, [_RM], [0]];
65
65
  export var DescribeReportDefinitionsRequest = [3, n0, _DRDRes, 0, [_MR, _NT], [1, 0]];
@@ -26,5 +26,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
26
26
  export type { CostAndUsageReportServiceExtensionConfiguration } from "./extensionConfiguration";
27
27
  export * from "./commands";
28
28
  export * from "./pagination";
29
- export * from "./models";
29
+ export * from "./models/enums";
30
+ export * from "./models/errors";
31
+ export type * from "./models/models_0";
30
32
  export { CostAndUsageReportServiceServiceException } from "./models/CostAndUsageReportServiceServiceException";
@@ -0,0 +1,127 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AdditionalArtifact: {
6
+ readonly ATHENA: "ATHENA";
7
+ readonly QUICKSIGHT: "QUICKSIGHT";
8
+ readonly REDSHIFT: "REDSHIFT";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type AdditionalArtifact = (typeof AdditionalArtifact)[keyof typeof AdditionalArtifact];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const SchemaElement: {
19
+ readonly MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY";
20
+ readonly RESOURCES: "RESOURCES";
21
+ readonly SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type SchemaElement = (typeof SchemaElement)[keyof typeof SchemaElement];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const CompressionFormat: {
32
+ readonly GZIP: "GZIP";
33
+ readonly Parquet: "Parquet";
34
+ readonly ZIP: "ZIP";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type CompressionFormat = (typeof CompressionFormat)[keyof typeof CompressionFormat];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const ReportFormat: {
45
+ readonly CSV: "textORcsv";
46
+ readonly Parquet: "Parquet";
47
+ };
48
+ /**
49
+ * @public
50
+ */
51
+ export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
52
+ /**
53
+ * @public
54
+ * @enum
55
+ */
56
+ export declare const LastStatus: {
57
+ readonly ERROR_NO_BUCKET: "ERROR_NO_BUCKET";
58
+ readonly ERROR_PERMISSIONS: "ERROR_PERMISSIONS";
59
+ readonly SUCCESS: "SUCCESS";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type LastStatus = (typeof LastStatus)[keyof typeof LastStatus];
65
+ /**
66
+ * @public
67
+ * @enum
68
+ */
69
+ export declare const ReportVersioning: {
70
+ readonly CREATE_NEW_REPORT: "CREATE_NEW_REPORT";
71
+ readonly OVERWRITE_REPORT: "OVERWRITE_REPORT";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type ReportVersioning = (typeof ReportVersioning)[keyof typeof ReportVersioning];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const AWSRegion: {
82
+ readonly BAHRAIN: "me-south-1";
83
+ readonly BEIJING: "cn-north-1";
84
+ readonly CANADA_CENTRAL: "ca-central-1";
85
+ readonly CAPE_TOWN: "af-south-1";
86
+ readonly FRANKFURT: "eu-central-1";
87
+ readonly HONG_KONG: "ap-east-1";
88
+ readonly HYDERABAD: "ap-south-2";
89
+ readonly IRELAND: "eu-west-1";
90
+ readonly JAKARTA: "ap-southeast-3";
91
+ readonly LONDON: "eu-west-2";
92
+ readonly MILANO: "eu-south-1";
93
+ readonly MUMBAI: "ap-south-1";
94
+ readonly NINGXIA: "cn-northwest-1";
95
+ readonly NORTHERN_CALIFORNIA: "us-west-1";
96
+ readonly OHIO: "us-east-2";
97
+ readonly OREGON: "us-west-2";
98
+ readonly OSAKA: "ap-northeast-3";
99
+ readonly PARIS: "eu-west-3";
100
+ readonly SAO_PAULO: "sa-east-1";
101
+ readonly SEOUL: "ap-northeast-2";
102
+ readonly SINGAPORE: "ap-southeast-1";
103
+ readonly SPAIN: "eu-south-2";
104
+ readonly STOCKHOLM: "eu-north-1";
105
+ readonly SYDNEY: "ap-southeast-2";
106
+ readonly TOKYO: "ap-northeast-1";
107
+ readonly UAE: "me-central-1";
108
+ readonly US_STANDARD: "us-east-1";
109
+ readonly ZURICH: "eu-central-2";
110
+ };
111
+ /**
112
+ * @public
113
+ */
114
+ export type AWSRegion = (typeof AWSRegion)[keyof typeof AWSRegion];
115
+ /**
116
+ * @public
117
+ * @enum
118
+ */
119
+ export declare const TimeUnit: {
120
+ readonly DAILY: "DAILY";
121
+ readonly HOURLY: "HOURLY";
122
+ readonly MONTHLY: "MONTHLY";
123
+ };
124
+ /**
125
+ * @public
126
+ */
127
+ export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
@@ -0,0 +1,87 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CostAndUsageReportServiceServiceException as __BaseException } from "./CostAndUsageReportServiceServiceException";
3
+ /**
4
+ * <p>An error on the server occurred during the processing of your request. Try again later.</p>
5
+ * @public
6
+ */
7
+ export declare class InternalErrorException extends __BaseException {
8
+ readonly name: "InternalErrorException";
9
+ readonly $fault: "server";
10
+ /**
11
+ * <p>A message to show the detail of the exception.</p>
12
+ * @public
13
+ */
14
+ Message?: string | undefined;
15
+ /**
16
+ * @internal
17
+ */
18
+ constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
19
+ }
20
+ /**
21
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
22
+ * @public
23
+ */
24
+ export declare class ValidationException extends __BaseException {
25
+ readonly name: "ValidationException";
26
+ readonly $fault: "client";
27
+ /**
28
+ * <p>A message to show the detail of the exception.</p>
29
+ * @public
30
+ */
31
+ Message?: string | undefined;
32
+ /**
33
+ * @internal
34
+ */
35
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
36
+ }
37
+ /**
38
+ * <p>The specified report (<code>ReportName</code>) in the request doesn't exist.</p>
39
+ * @public
40
+ */
41
+ export declare class ResourceNotFoundException extends __BaseException {
42
+ readonly name: "ResourceNotFoundException";
43
+ readonly $fault: "client";
44
+ /**
45
+ * <p>A message to show the detail of the exception.</p>
46
+ * @public
47
+ */
48
+ Message?: string | undefined;
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
53
+ }
54
+ /**
55
+ * <p>A report with the specified name already exists in the account. Specify a different report name.</p>
56
+ * @public
57
+ */
58
+ export declare class DuplicateReportNameException extends __BaseException {
59
+ readonly name: "DuplicateReportNameException";
60
+ readonly $fault: "client";
61
+ /**
62
+ * <p>A message to show the detail of the exception.</p>
63
+ * @public
64
+ */
65
+ Message?: string | undefined;
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<DuplicateReportNameException, __BaseException>);
70
+ }
71
+ /**
72
+ * <p>This account already has five reports defined. To define a new report, you must delete an existing report.</p>
73
+ * @public
74
+ */
75
+ export declare class ReportLimitReachedException extends __BaseException {
76
+ readonly name: "ReportLimitReachedException";
77
+ readonly $fault: "client";
78
+ /**
79
+ * <p>A message to show the detail of the exception.</p>
80
+ * @public
81
+ */
82
+ Message?: string | undefined;
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<ReportLimitReachedException, __BaseException>);
87
+ }
@@ -1,18 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CostAndUsageReportServiceServiceException as __BaseException } from "./CostAndUsageReportServiceServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const AdditionalArtifact: {
8
- readonly ATHENA: "ATHENA";
9
- readonly QUICKSIGHT: "QUICKSIGHT";
10
- readonly REDSHIFT: "REDSHIFT";
11
- };
12
- /**
13
- * @public
14
- */
15
- export type AdditionalArtifact = (typeof AdditionalArtifact)[keyof typeof AdditionalArtifact];
1
+ import { AdditionalArtifact, AWSRegion, CompressionFormat, LastStatus, ReportFormat, ReportVersioning, SchemaElement, TimeUnit } from "./enums";
16
2
  /**
17
3
  * <p>Deletes the specified report.</p>
18
4
  * @public
@@ -35,40 +21,6 @@ export interface DeleteReportDefinitionResponse {
35
21
  */
36
22
  ResponseMessage?: string | undefined;
37
23
  }
38
- /**
39
- * <p>An error on the server occurred during the processing of your request. Try again later.</p>
40
- * @public
41
- */
42
- export declare class InternalErrorException extends __BaseException {
43
- readonly name: "InternalErrorException";
44
- readonly $fault: "server";
45
- /**
46
- * <p>A message to show the detail of the exception.</p>
47
- * @public
48
- */
49
- Message?: string | undefined;
50
- /**
51
- * @internal
52
- */
53
- constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
54
- }
55
- /**
56
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
57
- * @public
58
- */
59
- export declare class ValidationException extends __BaseException {
60
- readonly name: "ValidationException";
61
- readonly $fault: "client";
62
- /**
63
- * <p>A message to show the detail of the exception.</p>
64
- * @public
65
- */
66
- Message?: string | undefined;
67
- /**
68
- * @internal
69
- */
70
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
71
- }
72
24
  /**
73
25
  * <p>Requests a Amazon Web Services Cost and Usage Report list owned by the account.</p>
74
26
  * @public
@@ -85,57 +37,6 @@ export interface DescribeReportDefinitionsRequest {
85
37
  */
86
38
  NextToken?: string | undefined;
87
39
  }
88
- /**
89
- * @public
90
- * @enum
91
- */
92
- export declare const SchemaElement: {
93
- readonly MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY";
94
- readonly RESOURCES: "RESOURCES";
95
- readonly SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA";
96
- };
97
- /**
98
- * @public
99
- */
100
- export type SchemaElement = (typeof SchemaElement)[keyof typeof SchemaElement];
101
- /**
102
- * @public
103
- * @enum
104
- */
105
- export declare const CompressionFormat: {
106
- readonly GZIP: "GZIP";
107
- readonly Parquet: "Parquet";
108
- readonly ZIP: "ZIP";
109
- };
110
- /**
111
- * @public
112
- */
113
- export type CompressionFormat = (typeof CompressionFormat)[keyof typeof CompressionFormat];
114
- /**
115
- * @public
116
- * @enum
117
- */
118
- export declare const ReportFormat: {
119
- readonly CSV: "textORcsv";
120
- readonly Parquet: "Parquet";
121
- };
122
- /**
123
- * @public
124
- */
125
- export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
126
- /**
127
- * @public
128
- * @enum
129
- */
130
- export declare const LastStatus: {
131
- readonly ERROR_NO_BUCKET: "ERROR_NO_BUCKET";
132
- readonly ERROR_PERMISSIONS: "ERROR_PERMISSIONS";
133
- readonly SUCCESS: "SUCCESS";
134
- };
135
- /**
136
- * @public
137
- */
138
- export type LastStatus = (typeof LastStatus)[keyof typeof LastStatus];
139
40
  /**
140
41
  * <p>A two element dictionary with a <code>lastDelivery</code> and <code>lastStatus</code> key
141
42
  * whose values describe the date and status of the last delivered report for a particular report
@@ -154,69 +55,6 @@ export interface ReportStatus {
154
55
  */
155
56
  lastStatus?: LastStatus | undefined;
156
57
  }
157
- /**
158
- * @public
159
- * @enum
160
- */
161
- export declare const ReportVersioning: {
162
- readonly CREATE_NEW_REPORT: "CREATE_NEW_REPORT";
163
- readonly OVERWRITE_REPORT: "OVERWRITE_REPORT";
164
- };
165
- /**
166
- * @public
167
- */
168
- export type ReportVersioning = (typeof ReportVersioning)[keyof typeof ReportVersioning];
169
- /**
170
- * @public
171
- * @enum
172
- */
173
- export declare const AWSRegion: {
174
- readonly BAHRAIN: "me-south-1";
175
- readonly BEIJING: "cn-north-1";
176
- readonly CANADA_CENTRAL: "ca-central-1";
177
- readonly CAPE_TOWN: "af-south-1";
178
- readonly FRANKFURT: "eu-central-1";
179
- readonly HONG_KONG: "ap-east-1";
180
- readonly HYDERABAD: "ap-south-2";
181
- readonly IRELAND: "eu-west-1";
182
- readonly JAKARTA: "ap-southeast-3";
183
- readonly LONDON: "eu-west-2";
184
- readonly MILANO: "eu-south-1";
185
- readonly MUMBAI: "ap-south-1";
186
- readonly NINGXIA: "cn-northwest-1";
187
- readonly NORTHERN_CALIFORNIA: "us-west-1";
188
- readonly OHIO: "us-east-2";
189
- readonly OREGON: "us-west-2";
190
- readonly OSAKA: "ap-northeast-3";
191
- readonly PARIS: "eu-west-3";
192
- readonly SAO_PAULO: "sa-east-1";
193
- readonly SEOUL: "ap-northeast-2";
194
- readonly SINGAPORE: "ap-southeast-1";
195
- readonly SPAIN: "eu-south-2";
196
- readonly STOCKHOLM: "eu-north-1";
197
- readonly SYDNEY: "ap-southeast-2";
198
- readonly TOKYO: "ap-northeast-1";
199
- readonly UAE: "me-central-1";
200
- readonly US_STANDARD: "us-east-1";
201
- readonly ZURICH: "eu-central-2";
202
- };
203
- /**
204
- * @public
205
- */
206
- export type AWSRegion = (typeof AWSRegion)[keyof typeof AWSRegion];
207
- /**
208
- * @public
209
- * @enum
210
- */
211
- export declare const TimeUnit: {
212
- readonly DAILY: "DAILY";
213
- readonly HOURLY: "HOURLY";
214
- readonly MONTHLY: "MONTHLY";
215
- };
216
- /**
217
- * @public
218
- */
219
- export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
220
58
  /**
221
59
  * <p>The definition of Amazon Web Services Cost and Usage Report. You can specify the report name,
222
60
  * time unit, report format, compression format, S3 bucket, additional artifacts, and schema
@@ -352,23 +190,6 @@ export interface ListTagsForResourceResponse {
352
190
  */
353
191
  Tags?: Tag[] | undefined;
354
192
  }
355
- /**
356
- * <p>The specified report (<code>ReportName</code>) in the request doesn't exist.</p>
357
- * @public
358
- */
359
- export declare class ResourceNotFoundException extends __BaseException {
360
- readonly name: "ResourceNotFoundException";
361
- readonly $fault: "client";
362
- /**
363
- * <p>A message to show the detail of the exception.</p>
364
- * @public
365
- */
366
- Message?: string | undefined;
367
- /**
368
- * @internal
369
- */
370
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
371
- }
372
193
  /**
373
194
  * @public
374
195
  */
@@ -393,23 +214,6 @@ export interface ModifyReportDefinitionRequest {
393
214
  */
394
215
  export interface ModifyReportDefinitionResponse {
395
216
  }
396
- /**
397
- * <p>A report with the specified name already exists in the account. Specify a different report name.</p>
398
- * @public
399
- */
400
- export declare class DuplicateReportNameException extends __BaseException {
401
- readonly name: "DuplicateReportNameException";
402
- readonly $fault: "client";
403
- /**
404
- * <p>A message to show the detail of the exception.</p>
405
- * @public
406
- */
407
- Message?: string | undefined;
408
- /**
409
- * @internal
410
- */
411
- constructor(opts: __ExceptionOptionType<DuplicateReportNameException, __BaseException>);
412
- }
413
217
  /**
414
218
  * <p>Creates a Cost and Usage Report.</p>
415
219
  * @public
@@ -433,23 +237,6 @@ export interface PutReportDefinitionRequest {
433
237
  */
434
238
  export interface PutReportDefinitionResponse {
435
239
  }
436
- /**
437
- * <p>This account already has five reports defined. To define a new report, you must delete an existing report.</p>
438
- * @public
439
- */
440
- export declare class ReportLimitReachedException extends __BaseException {
441
- readonly name: "ReportLimitReachedException";
442
- readonly $fault: "client";
443
- /**
444
- * <p>A message to show the detail of the exception.</p>
445
- * @public
446
- */
447
- Message?: string | undefined;
448
- /**
449
- * @internal
450
- */
451
- constructor(opts: __ExceptionOptionType<ReportLimitReachedException, __BaseException>);
452
- }
453
240
  /**
454
241
  * @public
455
242
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CostAndUsageReportServiceExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { CostAndUsageReportServiceServiceException } from "./models/CostAndUsageReportServiceServiceException";
@@ -0,0 +1,74 @@
1
+ export declare const AdditionalArtifact: {
2
+ readonly ATHENA: "ATHENA";
3
+ readonly QUICKSIGHT: "QUICKSIGHT";
4
+ readonly REDSHIFT: "REDSHIFT";
5
+ };
6
+ export type AdditionalArtifact =
7
+ (typeof AdditionalArtifact)[keyof typeof AdditionalArtifact];
8
+ export declare const SchemaElement: {
9
+ readonly MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY";
10
+ readonly RESOURCES: "RESOURCES";
11
+ readonly SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA";
12
+ };
13
+ export type SchemaElement = (typeof SchemaElement)[keyof typeof SchemaElement];
14
+ export declare const CompressionFormat: {
15
+ readonly GZIP: "GZIP";
16
+ readonly Parquet: "Parquet";
17
+ readonly ZIP: "ZIP";
18
+ };
19
+ export type CompressionFormat =
20
+ (typeof CompressionFormat)[keyof typeof CompressionFormat];
21
+ export declare const ReportFormat: {
22
+ readonly CSV: "textORcsv";
23
+ readonly Parquet: "Parquet";
24
+ };
25
+ export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
26
+ export declare const LastStatus: {
27
+ readonly ERROR_NO_BUCKET: "ERROR_NO_BUCKET";
28
+ readonly ERROR_PERMISSIONS: "ERROR_PERMISSIONS";
29
+ readonly SUCCESS: "SUCCESS";
30
+ };
31
+ export type LastStatus = (typeof LastStatus)[keyof typeof LastStatus];
32
+ export declare const ReportVersioning: {
33
+ readonly CREATE_NEW_REPORT: "CREATE_NEW_REPORT";
34
+ readonly OVERWRITE_REPORT: "OVERWRITE_REPORT";
35
+ };
36
+ export type ReportVersioning =
37
+ (typeof ReportVersioning)[keyof typeof ReportVersioning];
38
+ export declare const AWSRegion: {
39
+ readonly BAHRAIN: "me-south-1";
40
+ readonly BEIJING: "cn-north-1";
41
+ readonly CANADA_CENTRAL: "ca-central-1";
42
+ readonly CAPE_TOWN: "af-south-1";
43
+ readonly FRANKFURT: "eu-central-1";
44
+ readonly HONG_KONG: "ap-east-1";
45
+ readonly HYDERABAD: "ap-south-2";
46
+ readonly IRELAND: "eu-west-1";
47
+ readonly JAKARTA: "ap-southeast-3";
48
+ readonly LONDON: "eu-west-2";
49
+ readonly MILANO: "eu-south-1";
50
+ readonly MUMBAI: "ap-south-1";
51
+ readonly NINGXIA: "cn-northwest-1";
52
+ readonly NORTHERN_CALIFORNIA: "us-west-1";
53
+ readonly OHIO: "us-east-2";
54
+ readonly OREGON: "us-west-2";
55
+ readonly OSAKA: "ap-northeast-3";
56
+ readonly PARIS: "eu-west-3";
57
+ readonly SAO_PAULO: "sa-east-1";
58
+ readonly SEOUL: "ap-northeast-2";
59
+ readonly SINGAPORE: "ap-southeast-1";
60
+ readonly SPAIN: "eu-south-2";
61
+ readonly STOCKHOLM: "eu-north-1";
62
+ readonly SYDNEY: "ap-southeast-2";
63
+ readonly TOKYO: "ap-northeast-1";
64
+ readonly UAE: "me-central-1";
65
+ readonly US_STANDARD: "us-east-1";
66
+ readonly ZURICH: "eu-central-2";
67
+ };
68
+ export type AWSRegion = (typeof AWSRegion)[keyof typeof AWSRegion];
69
+ export declare const TimeUnit: {
70
+ readonly DAILY: "DAILY";
71
+ readonly HOURLY: "HOURLY";
72
+ readonly MONTHLY: "MONTHLY";
73
+ };
74
+ export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
@@ -0,0 +1,42 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { CostAndUsageReportServiceServiceException as __BaseException } from "./CostAndUsageReportServiceServiceException";
3
+ export declare class InternalErrorException extends __BaseException {
4
+ readonly name: "InternalErrorException";
5
+ readonly $fault: "server";
6
+ Message?: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<InternalErrorException, __BaseException>
9
+ );
10
+ }
11
+ export declare class ValidationException extends __BaseException {
12
+ readonly name: "ValidationException";
13
+ readonly $fault: "client";
14
+ Message?: string | undefined;
15
+ constructor(
16
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
17
+ );
18
+ }
19
+ export declare class ResourceNotFoundException extends __BaseException {
20
+ readonly name: "ResourceNotFoundException";
21
+ readonly $fault: "client";
22
+ Message?: string | undefined;
23
+ constructor(
24
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
25
+ );
26
+ }
27
+ export declare class DuplicateReportNameException extends __BaseException {
28
+ readonly name: "DuplicateReportNameException";
29
+ readonly $fault: "client";
30
+ Message?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<DuplicateReportNameException, __BaseException>
33
+ );
34
+ }
35
+ export declare class ReportLimitReachedException extends __BaseException {
36
+ readonly name: "ReportLimitReachedException";
37
+ readonly $fault: "client";
38
+ Message?: string | undefined;
39
+ constructor(
40
+ opts: __ExceptionOptionType<ReportLimitReachedException, __BaseException>
41
+ );
42
+ }
@@ -1,109 +1,27 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CostAndUsageReportServiceServiceException as __BaseException } from "./CostAndUsageReportServiceServiceException";
3
- export declare const AdditionalArtifact: {
4
- readonly ATHENA: "ATHENA";
5
- readonly QUICKSIGHT: "QUICKSIGHT";
6
- readonly REDSHIFT: "REDSHIFT";
7
- };
8
- export type AdditionalArtifact =
9
- (typeof AdditionalArtifact)[keyof typeof AdditionalArtifact];
1
+ import {
2
+ AdditionalArtifact,
3
+ AWSRegion,
4
+ CompressionFormat,
5
+ LastStatus,
6
+ ReportFormat,
7
+ ReportVersioning,
8
+ SchemaElement,
9
+ TimeUnit,
10
+ } from "./enums";
10
11
  export interface DeleteReportDefinitionRequest {
11
12
  ReportName: string | undefined;
12
13
  }
13
14
  export interface DeleteReportDefinitionResponse {
14
15
  ResponseMessage?: string | undefined;
15
16
  }
16
- export declare class InternalErrorException extends __BaseException {
17
- readonly name: "InternalErrorException";
18
- readonly $fault: "server";
19
- Message?: string | undefined;
20
- constructor(
21
- opts: __ExceptionOptionType<InternalErrorException, __BaseException>
22
- );
23
- }
24
- export declare class ValidationException extends __BaseException {
25
- readonly name: "ValidationException";
26
- readonly $fault: "client";
27
- Message?: string | undefined;
28
- constructor(
29
- opts: __ExceptionOptionType<ValidationException, __BaseException>
30
- );
31
- }
32
17
  export interface DescribeReportDefinitionsRequest {
33
18
  MaxResults?: number | undefined;
34
19
  NextToken?: string | undefined;
35
20
  }
36
- export declare const SchemaElement: {
37
- readonly MANUAL_DISCOUNT_COMPATIBILITY: "MANUAL_DISCOUNT_COMPATIBILITY";
38
- readonly RESOURCES: "RESOURCES";
39
- readonly SPLIT_COST_ALLOCATION_DATA: "SPLIT_COST_ALLOCATION_DATA";
40
- };
41
- export type SchemaElement = (typeof SchemaElement)[keyof typeof SchemaElement];
42
- export declare const CompressionFormat: {
43
- readonly GZIP: "GZIP";
44
- readonly Parquet: "Parquet";
45
- readonly ZIP: "ZIP";
46
- };
47
- export type CompressionFormat =
48
- (typeof CompressionFormat)[keyof typeof CompressionFormat];
49
- export declare const ReportFormat: {
50
- readonly CSV: "textORcsv";
51
- readonly Parquet: "Parquet";
52
- };
53
- export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
54
- export declare const LastStatus: {
55
- readonly ERROR_NO_BUCKET: "ERROR_NO_BUCKET";
56
- readonly ERROR_PERMISSIONS: "ERROR_PERMISSIONS";
57
- readonly SUCCESS: "SUCCESS";
58
- };
59
- export type LastStatus = (typeof LastStatus)[keyof typeof LastStatus];
60
21
  export interface ReportStatus {
61
22
  lastDelivery?: string | undefined;
62
23
  lastStatus?: LastStatus | undefined;
63
24
  }
64
- export declare const ReportVersioning: {
65
- readonly CREATE_NEW_REPORT: "CREATE_NEW_REPORT";
66
- readonly OVERWRITE_REPORT: "OVERWRITE_REPORT";
67
- };
68
- export type ReportVersioning =
69
- (typeof ReportVersioning)[keyof typeof ReportVersioning];
70
- export declare const AWSRegion: {
71
- readonly BAHRAIN: "me-south-1";
72
- readonly BEIJING: "cn-north-1";
73
- readonly CANADA_CENTRAL: "ca-central-1";
74
- readonly CAPE_TOWN: "af-south-1";
75
- readonly FRANKFURT: "eu-central-1";
76
- readonly HONG_KONG: "ap-east-1";
77
- readonly HYDERABAD: "ap-south-2";
78
- readonly IRELAND: "eu-west-1";
79
- readonly JAKARTA: "ap-southeast-3";
80
- readonly LONDON: "eu-west-2";
81
- readonly MILANO: "eu-south-1";
82
- readonly MUMBAI: "ap-south-1";
83
- readonly NINGXIA: "cn-northwest-1";
84
- readonly NORTHERN_CALIFORNIA: "us-west-1";
85
- readonly OHIO: "us-east-2";
86
- readonly OREGON: "us-west-2";
87
- readonly OSAKA: "ap-northeast-3";
88
- readonly PARIS: "eu-west-3";
89
- readonly SAO_PAULO: "sa-east-1";
90
- readonly SEOUL: "ap-northeast-2";
91
- readonly SINGAPORE: "ap-southeast-1";
92
- readonly SPAIN: "eu-south-2";
93
- readonly STOCKHOLM: "eu-north-1";
94
- readonly SYDNEY: "ap-southeast-2";
95
- readonly TOKYO: "ap-northeast-1";
96
- readonly UAE: "me-central-1";
97
- readonly US_STANDARD: "us-east-1";
98
- readonly ZURICH: "eu-central-2";
99
- };
100
- export type AWSRegion = (typeof AWSRegion)[keyof typeof AWSRegion];
101
- export declare const TimeUnit: {
102
- readonly DAILY: "DAILY";
103
- readonly HOURLY: "HOURLY";
104
- readonly MONTHLY: "MONTHLY";
105
- };
106
- export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
107
25
  export interface ReportDefinition {
108
26
  ReportName: string | undefined;
109
27
  TimeUnit: TimeUnit | undefined;
@@ -133,40 +51,16 @@ export interface Tag {
133
51
  export interface ListTagsForResourceResponse {
134
52
  Tags?: Tag[] | undefined;
135
53
  }
136
- export declare class ResourceNotFoundException extends __BaseException {
137
- readonly name: "ResourceNotFoundException";
138
- readonly $fault: "client";
139
- Message?: string | undefined;
140
- constructor(
141
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
142
- );
143
- }
144
54
  export interface ModifyReportDefinitionRequest {
145
55
  ReportName: string | undefined;
146
56
  ReportDefinition: ReportDefinition | undefined;
147
57
  }
148
58
  export interface ModifyReportDefinitionResponse {}
149
- export declare class DuplicateReportNameException extends __BaseException {
150
- readonly name: "DuplicateReportNameException";
151
- readonly $fault: "client";
152
- Message?: string | undefined;
153
- constructor(
154
- opts: __ExceptionOptionType<DuplicateReportNameException, __BaseException>
155
- );
156
- }
157
59
  export interface PutReportDefinitionRequest {
158
60
  ReportDefinition: ReportDefinition | undefined;
159
61
  Tags?: Tag[] | undefined;
160
62
  }
161
63
  export interface PutReportDefinitionResponse {}
162
- export declare class ReportLimitReachedException extends __BaseException {
163
- readonly name: "ReportLimitReachedException";
164
- readonly $fault: "client";
165
- Message?: string | undefined;
166
- constructor(
167
- opts: __ExceptionOptionType<ReportLimitReachedException, __BaseException>
168
- );
169
- }
170
64
  export interface TagResourceRequest {
171
65
  ReportName: string | undefined;
172
66
  Tags: Tag[] | undefined;
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cost-and-usage-report-service",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";