@aws-sdk/client-freetier 3.686.0 → 3.691.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.
@@ -65,56 +65,56 @@ export interface FreeTierUsage {
65
65
  * Amazon Elastic Compute Cloud.</p>
66
66
  * @public
67
67
  */
68
- service?: string;
68
+ service?: string | undefined;
69
69
  /**
70
70
  * <p>Describes <code>usageType</code> more granularly with the specific Amazon Web Service API
71
71
  * operation. For example, this can be the <code>RunInstances</code> API operation for
72
72
  * Amazon Elastic Compute Cloud.</p>
73
73
  * @public
74
74
  */
75
- operation?: string;
75
+ operation?: string | undefined;
76
76
  /**
77
77
  * <p>Describes the usage details of the offer. For example, this might be
78
78
  * <code>Global-BoxUsage:freetrial</code>.</p>
79
79
  * @public
80
80
  */
81
- usageType?: string;
81
+ usageType?: string | undefined;
82
82
  /**
83
83
  * <p>Describes the Amazon Web Services Region for which this offer is applicable</p>
84
84
  * @public
85
85
  */
86
- region?: string;
86
+ region?: string | undefined;
87
87
  /**
88
88
  * <p>Describes the actual usage accrued month-to-day (MTD) that you've used so far.</p>
89
89
  * @public
90
90
  */
91
- actualUsageAmount?: number;
91
+ actualUsageAmount?: number | undefined;
92
92
  /**
93
93
  * <p>Describes the forecasted usage by the month that you're expected to use.</p>
94
94
  * @public
95
95
  */
96
- forecastedUsageAmount?: number;
96
+ forecastedUsageAmount?: number | undefined;
97
97
  /**
98
98
  * <p>Describes the maximum usage allowed in Free Tier.</p>
99
99
  * @public
100
100
  */
101
- limit?: number;
101
+ limit?: number | undefined;
102
102
  /**
103
103
  * <p>Describes the unit of the <code>usageType</code>, such as <code>Hrs</code>.</p>
104
104
  * @public
105
105
  */
106
- unit?: string;
106
+ unit?: string | undefined;
107
107
  /**
108
108
  * <p>The description of the Free Tier offer.</p>
109
109
  * @public
110
110
  */
111
- description?: string;
111
+ description?: string | undefined;
112
112
  /**
113
113
  * <p>Describes the type of the Free Tier offer. For example, the offer can be <code>"12 Months
114
114
  * Free"</code>, <code>"Always Free"</code>, and <code>"Free Trial"</code>.</p>
115
115
  * @public
116
116
  */
117
- freeTierType?: string;
117
+ freeTierType?: string | undefined;
118
118
  }
119
119
  /**
120
120
  * @public
@@ -129,7 +129,7 @@ export interface GetFreeTierUsageResponse {
129
129
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
130
130
  * @public
131
131
  */
132
- nextToken?: string;
132
+ nextToken?: string | undefined;
133
133
  }
134
134
  /**
135
135
  * <p>An unexpected error occurred during the processing of your request.</p>
@@ -211,23 +211,23 @@ export interface Expression {
211
211
  * array.</p>
212
212
  * @public
213
213
  */
214
- Or?: Expression[];
214
+ Or?: Expression[] | undefined;
215
215
  /**
216
216
  * <p>Return results that match all <code>Expressions</code> that you specified in the
217
217
  * array.</p>
218
218
  * @public
219
219
  */
220
- And?: Expression[];
220
+ And?: Expression[] | undefined;
221
221
  /**
222
222
  * <p>Return results that don’t match the <code>Expression</code> that you specified.</p>
223
223
  * @public
224
224
  */
225
- Not?: Expression;
225
+ Not?: Expression | undefined;
226
226
  /**
227
227
  * <p>The specific dimension, values, and match type to filter objects with.</p>
228
228
  * @public
229
229
  */
230
- Dimensions?: DimensionValues;
230
+ Dimensions?: DimensionValues | undefined;
231
231
  }
232
232
  /**
233
233
  * @public
@@ -238,17 +238,17 @@ export interface GetFreeTierUsageRequest {
238
238
  * to meet.</p>
239
239
  * @public
240
240
  */
241
- filter?: Expression;
241
+ filter?: Expression | undefined;
242
242
  /**
243
243
  * <p>The maximum number of results to return in the response. <code>MaxResults</code> means
244
244
  * that there can be up to the specified number of values, but there might be fewer results based
245
245
  * on your filters.</p>
246
246
  * @public
247
247
  */
248
- maxResults?: number;
248
+ maxResults?: number | undefined;
249
249
  /**
250
250
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
251
251
  * @public
252
252
  */
253
- nextToken?: string;
253
+ nextToken?: string | undefined;
254
254
  }
@@ -24,20 +24,20 @@ export interface DimensionValues {
24
24
  MatchOptions: MatchOption[] | undefined;
25
25
  }
26
26
  export interface FreeTierUsage {
27
- service?: string;
28
- operation?: string;
29
- usageType?: string;
30
- region?: string;
31
- actualUsageAmount?: number;
32
- forecastedUsageAmount?: number;
33
- limit?: number;
34
- unit?: string;
35
- description?: string;
36
- freeTierType?: string;
27
+ service?: string | undefined;
28
+ operation?: string | undefined;
29
+ usageType?: string | undefined;
30
+ region?: string | undefined;
31
+ actualUsageAmount?: number | undefined;
32
+ forecastedUsageAmount?: number | undefined;
33
+ limit?: number | undefined;
34
+ unit?: string | undefined;
35
+ description?: string | undefined;
36
+ freeTierType?: string | undefined;
37
37
  }
38
38
  export interface GetFreeTierUsageResponse {
39
39
  freeTierUsages: FreeTierUsage[] | undefined;
40
- nextToken?: string;
40
+ nextToken?: string | undefined;
41
41
  }
42
42
  export declare class InternalServerException extends __BaseException {
43
43
  readonly name: "InternalServerException";
@@ -61,13 +61,13 @@ export declare class ValidationException extends __BaseException {
61
61
  );
62
62
  }
63
63
  export interface Expression {
64
- Or?: Expression[];
65
- And?: Expression[];
66
- Not?: Expression;
67
- Dimensions?: DimensionValues;
64
+ Or?: Expression[] | undefined;
65
+ And?: Expression[] | undefined;
66
+ Not?: Expression | undefined;
67
+ Dimensions?: DimensionValues | undefined;
68
68
  }
69
69
  export interface GetFreeTierUsageRequest {
70
- filter?: Expression;
71
- maxResults?: number;
72
- nextToken?: string;
70
+ filter?: Expression | undefined;
71
+ maxResults?: number | undefined;
72
+ nextToken?: string | undefined;
73
73
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-freetier",
3
3
  "description": "AWS SDK for JavaScript Freetier Client for Node.js, Browser and React Native",
4
- "version": "3.686.0",
4
+ "version": "3.691.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-freetier",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",