@aws-sdk/client-applicationcostprofiler 3.301.0 → 3.303.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.
@@ -54,24 +54,21 @@ class ValidationException extends ApplicationCostProfilerServiceException_1.Appl
54
54
  }
55
55
  }
56
56
  exports.ValidationException = ValidationException;
57
- var Format;
58
- (function (Format) {
59
- Format["CSV"] = "CSV";
60
- Format["PARQUET"] = "PARQUET";
61
- })(Format = exports.Format || (exports.Format = {}));
62
- var ReportFrequency;
63
- (function (ReportFrequency) {
64
- ReportFrequency["ALL"] = "ALL";
65
- ReportFrequency["DAILY"] = "DAILY";
66
- ReportFrequency["MONTHLY"] = "MONTHLY";
67
- })(ReportFrequency = exports.ReportFrequency || (exports.ReportFrequency = {}));
68
- var S3BucketRegion;
69
- (function (S3BucketRegion) {
70
- S3BucketRegion["AF_SOUTH_1"] = "af-south-1";
71
- S3BucketRegion["AP_EAST_1"] = "ap-east-1";
72
- S3BucketRegion["EU_SOUTH_1"] = "eu-south-1";
73
- S3BucketRegion["ME_SOUTH_1"] = "me-south-1";
74
- })(S3BucketRegion = exports.S3BucketRegion || (exports.S3BucketRegion = {}));
57
+ exports.Format = {
58
+ CSV: "CSV",
59
+ PARQUET: "PARQUET",
60
+ };
61
+ exports.ReportFrequency = {
62
+ ALL: "ALL",
63
+ DAILY: "DAILY",
64
+ MONTHLY: "MONTHLY",
65
+ };
66
+ exports.S3BucketRegion = {
67
+ AF_SOUTH_1: "af-south-1",
68
+ AP_EAST_1: "ap-east-1",
69
+ EU_SOUTH_1: "eu-south-1",
70
+ ME_SOUTH_1: "me-south-1",
71
+ };
75
72
  class ServiceQuotaExceededException extends ApplicationCostProfilerServiceException_1.ApplicationCostProfilerServiceException {
76
73
  constructor(opts) {
77
74
  super({
@@ -47,24 +47,21 @@ export class ValidationException extends __BaseException {
47
47
  Object.setPrototypeOf(this, ValidationException.prototype);
48
48
  }
49
49
  }
50
- export var Format;
51
- (function (Format) {
52
- Format["CSV"] = "CSV";
53
- Format["PARQUET"] = "PARQUET";
54
- })(Format || (Format = {}));
55
- export var ReportFrequency;
56
- (function (ReportFrequency) {
57
- ReportFrequency["ALL"] = "ALL";
58
- ReportFrequency["DAILY"] = "DAILY";
59
- ReportFrequency["MONTHLY"] = "MONTHLY";
60
- })(ReportFrequency || (ReportFrequency = {}));
61
- export var S3BucketRegion;
62
- (function (S3BucketRegion) {
63
- S3BucketRegion["AF_SOUTH_1"] = "af-south-1";
64
- S3BucketRegion["AP_EAST_1"] = "ap-east-1";
65
- S3BucketRegion["EU_SOUTH_1"] = "eu-south-1";
66
- S3BucketRegion["ME_SOUTH_1"] = "me-south-1";
67
- })(S3BucketRegion || (S3BucketRegion = {}));
50
+ export const Format = {
51
+ CSV: "CSV",
52
+ PARQUET: "PARQUET",
53
+ };
54
+ export const ReportFrequency = {
55
+ ALL: "ALL",
56
+ DAILY: "DAILY",
57
+ MONTHLY: "MONTHLY",
58
+ };
59
+ export const S3BucketRegion = {
60
+ AF_SOUTH_1: "af-south-1",
61
+ AP_EAST_1: "ap-east-1",
62
+ EU_SOUTH_1: "eu-south-1",
63
+ ME_SOUTH_1: "me-south-1",
64
+ };
68
65
  export class ServiceQuotaExceededException extends __BaseException {
69
66
  constructor(opts) {
70
67
  super({
@@ -92,19 +92,29 @@ export interface S3Location {
92
92
  }
93
93
  /**
94
94
  * @public
95
+ * @enum
95
96
  */
96
- export declare enum Format {
97
- CSV = "CSV",
98
- PARQUET = "PARQUET"
99
- }
97
+ export declare const Format: {
98
+ readonly CSV: "CSV";
99
+ readonly PARQUET: "PARQUET";
100
+ };
100
101
  /**
101
102
  * @public
102
103
  */
103
- export declare enum ReportFrequency {
104
- ALL = "ALL",
105
- DAILY = "DAILY",
106
- MONTHLY = "MONTHLY"
107
- }
104
+ export type Format = (typeof Format)[keyof typeof Format];
105
+ /**
106
+ * @public
107
+ * @enum
108
+ */
109
+ export declare const ReportFrequency: {
110
+ readonly ALL: "ALL";
111
+ readonly DAILY: "DAILY";
112
+ readonly MONTHLY: "MONTHLY";
113
+ };
114
+ /**
115
+ * @public
116
+ */
117
+ export type ReportFrequency = (typeof ReportFrequency)[keyof typeof ReportFrequency];
108
118
  /**
109
119
  * @public
110
120
  */
@@ -140,13 +150,18 @@ export interface GetReportDefinitionResult {
140
150
  }
141
151
  /**
142
152
  * @public
153
+ * @enum
143
154
  */
144
- export declare enum S3BucketRegion {
145
- AF_SOUTH_1 = "af-south-1",
146
- AP_EAST_1 = "ap-east-1",
147
- EU_SOUTH_1 = "eu-south-1",
148
- ME_SOUTH_1 = "me-south-1"
149
- }
155
+ export declare const S3BucketRegion: {
156
+ readonly AF_SOUTH_1: "af-south-1";
157
+ readonly AP_EAST_1: "ap-east-1";
158
+ readonly EU_SOUTH_1: "eu-south-1";
159
+ readonly ME_SOUTH_1: "me-south-1";
160
+ };
161
+ /**
162
+ * @public
163
+ */
164
+ export type S3BucketRegion = (typeof S3BucketRegion)[keyof typeof S3BucketRegion];
150
165
  /**
151
166
  * @public
152
167
  * <p>Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read
@@ -41,15 +41,18 @@ export interface S3Location {
41
41
  bucket: string | undefined;
42
42
  prefix: string | undefined;
43
43
  }
44
- export declare enum Format {
45
- CSV = "CSV",
46
- PARQUET = "PARQUET",
47
- }
48
- export declare enum ReportFrequency {
49
- ALL = "ALL",
50
- DAILY = "DAILY",
51
- MONTHLY = "MONTHLY",
52
- }
44
+ export declare const Format: {
45
+ readonly CSV: "CSV";
46
+ readonly PARQUET: "PARQUET";
47
+ };
48
+ export type Format = (typeof Format)[keyof typeof Format];
49
+ export declare const ReportFrequency: {
50
+ readonly ALL: "ALL";
51
+ readonly DAILY: "DAILY";
52
+ readonly MONTHLY: "MONTHLY";
53
+ };
54
+ export type ReportFrequency =
55
+ (typeof ReportFrequency)[keyof typeof ReportFrequency];
53
56
  export interface GetReportDefinitionResult {
54
57
  reportId: string | undefined;
55
58
  reportDescription: string | undefined;
@@ -59,12 +62,14 @@ export interface GetReportDefinitionResult {
59
62
  createdAt: Date | undefined;
60
63
  lastUpdated: Date | undefined;
61
64
  }
62
- export declare enum S3BucketRegion {
63
- AF_SOUTH_1 = "af-south-1",
64
- AP_EAST_1 = "ap-east-1",
65
- EU_SOUTH_1 = "eu-south-1",
66
- ME_SOUTH_1 = "me-south-1",
67
- }
65
+ export declare const S3BucketRegion: {
66
+ readonly AF_SOUTH_1: "af-south-1";
67
+ readonly AP_EAST_1: "ap-east-1";
68
+ readonly EU_SOUTH_1: "eu-south-1";
69
+ readonly ME_SOUTH_1: "me-south-1";
70
+ };
71
+ export type S3BucketRegion =
72
+ (typeof S3BucketRegion)[keyof typeof S3BucketRegion];
68
73
  export interface SourceS3Location {
69
74
  bucket: string | undefined;
70
75
  key: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-applicationcostprofiler",
3
3
  "description": "AWS SDK for JavaScript Applicationcostprofiler Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.303.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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",