@aws-sdk/client-savingsplans 3.170.0 → 3.178.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 CHANGED
@@ -3,6 +3,22 @@
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.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-savingsplans
9
+
10
+
11
+
12
+
13
+
14
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-savingsplans
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-savingsplans
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
31
31
  tls?: boolean | undefined;
32
32
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
33
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
34
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
34
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
35
35
  signingEscapePath?: boolean | undefined;
36
36
  systemClockOffset?: number | undefined;
37
37
  signingRegion?: string | undefined;
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
32
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
33
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
34
34
  signingEscapePath?: boolean | undefined;
35
35
  systemClockOffset?: number | undefined;
36
36
  signingRegion?: string | undefined;
@@ -36,7 +36,6 @@ import {
36
36
  UntagResourceCommandOutput,
37
37
  } from "./commands/UntagResourceCommand";
38
38
  import { SavingsplansClient } from "./SavingsplansClient";
39
-
40
39
  export declare class Savingsplans extends SavingsplansClient {
41
40
  createSavingsPlan(
42
41
  args: CreateSavingsPlanCommandInput,
@@ -51,7 +50,6 @@ export declare class Savingsplans extends SavingsplansClient {
51
50
  options: __HttpHandlerOptions,
52
51
  cb: (err: any, data?: CreateSavingsPlanCommandOutput) => void
53
52
  ): void;
54
-
55
53
  deleteQueuedSavingsPlan(
56
54
  args: DeleteQueuedSavingsPlanCommandInput,
57
55
  options?: __HttpHandlerOptions
@@ -65,7 +63,6 @@ export declare class Savingsplans extends SavingsplansClient {
65
63
  options: __HttpHandlerOptions,
66
64
  cb: (err: any, data?: DeleteQueuedSavingsPlanCommandOutput) => void
67
65
  ): void;
68
-
69
66
  describeSavingsPlanRates(
70
67
  args: DescribeSavingsPlanRatesCommandInput,
71
68
  options?: __HttpHandlerOptions
@@ -79,7 +76,6 @@ export declare class Savingsplans extends SavingsplansClient {
79
76
  options: __HttpHandlerOptions,
80
77
  cb: (err: any, data?: DescribeSavingsPlanRatesCommandOutput) => void
81
78
  ): void;
82
-
83
79
  describeSavingsPlans(
84
80
  args: DescribeSavingsPlansCommandInput,
85
81
  options?: __HttpHandlerOptions
@@ -93,7 +89,6 @@ export declare class Savingsplans extends SavingsplansClient {
93
89
  options: __HttpHandlerOptions,
94
90
  cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void
95
91
  ): void;
96
-
97
92
  describeSavingsPlansOfferingRates(
98
93
  args: DescribeSavingsPlansOfferingRatesCommandInput,
99
94
  options?: __HttpHandlerOptions
@@ -113,7 +108,6 @@ export declare class Savingsplans extends SavingsplansClient {
113
108
  data?: DescribeSavingsPlansOfferingRatesCommandOutput
114
109
  ) => void
115
110
  ): void;
116
-
117
111
  describeSavingsPlansOfferings(
118
112
  args: DescribeSavingsPlansOfferingsCommandInput,
119
113
  options?: __HttpHandlerOptions
@@ -127,7 +121,6 @@ export declare class Savingsplans extends SavingsplansClient {
127
121
  options: __HttpHandlerOptions,
128
122
  cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void
129
123
  ): void;
130
-
131
124
  listTagsForResource(
132
125
  args: ListTagsForResourceCommandInput,
133
126
  options?: __HttpHandlerOptions
@@ -141,7 +134,6 @@ export declare class Savingsplans extends SavingsplansClient {
141
134
  options: __HttpHandlerOptions,
142
135
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
143
136
  ): void;
144
-
145
137
  tagResource(
146
138
  args: TagResourceCommandInput,
147
139
  options?: __HttpHandlerOptions
@@ -155,7 +147,6 @@ export declare class Savingsplans extends SavingsplansClient {
155
147
  options: __HttpHandlerOptions,
156
148
  cb: (err: any, data?: TagResourceCommandOutput) => void
157
149
  ): void;
158
-
159
150
  untagResource(
160
151
  args: UntagResourceCommandInput,
161
152
  options?: __HttpHandlerOptions
@@ -101,47 +101,26 @@ export declare type ServiceOutputTypes =
101
101
  export interface ClientDefaults
102
102
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
103
103
  requestHandler?: __HttpHandler;
104
-
105
104
  sha256?: __HashConstructor;
106
-
107
105
  urlParser?: __UrlParser;
108
-
109
106
  bodyLengthChecker?: __BodyLengthCalculator;
110
-
111
107
  streamCollector?: __StreamCollector;
112
-
113
108
  base64Decoder?: __Decoder;
114
-
115
109
  base64Encoder?: __Encoder;
116
-
117
110
  utf8Decoder?: __Decoder;
118
-
119
111
  utf8Encoder?: __Encoder;
120
-
121
112
  runtime?: string;
122
-
123
113
  disableHostPrefix?: boolean;
124
-
125
114
  maxAttempts?: number | __Provider<number>;
126
-
127
115
  retryMode?: string | __Provider<string>;
128
-
129
116
  logger?: __Logger;
130
-
131
117
  useDualstackEndpoint?: boolean | __Provider<boolean>;
132
-
133
118
  useFipsEndpoint?: boolean | __Provider<boolean>;
134
-
135
119
  serviceId?: string;
136
-
137
120
  region?: string | __Provider<string>;
138
-
139
121
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
140
-
141
122
  regionInfoProvider?: RegionInfoProvider;
142
-
143
123
  defaultUserAgentProvider?: Provider<__UserAgent>;
144
-
145
124
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
146
125
  }
147
126
  declare type SavingsplansClientConfigType = Partial<
@@ -154,7 +133,6 @@ declare type SavingsplansClientConfigType = Partial<
154
133
  HostHeaderInputConfig &
155
134
  AwsAuthInputConfig &
156
135
  UserAgentInputConfig;
157
-
158
136
  export interface SavingsplansClientConfig
159
137
  extends SavingsplansClientConfigType {}
160
138
  declare type SavingsplansClientResolvedConfigType =
@@ -166,10 +144,8 @@ declare type SavingsplansClientResolvedConfigType =
166
144
  HostHeaderResolvedConfig &
167
145
  AwsAuthResolvedConfig &
168
146
  UserAgentResolvedConfig;
169
-
170
147
  export interface SavingsplansClientResolvedConfig
171
148
  extends SavingsplansClientResolvedConfigType {}
172
-
173
149
  export declare class SavingsplansClient extends __Client<
174
150
  __HttpHandlerOptions,
175
151
  ServiceInputTypes,
@@ -178,7 +154,6 @@ export declare class SavingsplansClient extends __Client<
178
154
  > {
179
155
  readonly config: SavingsplansClientResolvedConfig;
180
156
  constructor(configuration: SavingsplansClientConfig);
181
-
182
157
  destroy(): void;
183
158
  }
184
159
  export {};
@@ -19,7 +19,6 @@ export interface CreateSavingsPlanCommandInput
19
19
  export interface CreateSavingsPlanCommandOutput
20
20
  extends CreateSavingsPlanResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class CreateSavingsPlanCommand extends $Command<
24
23
  CreateSavingsPlanCommandInput,
25
24
  CreateSavingsPlanCommandOutput,
@@ -27,7 +26,6 @@ export declare class CreateSavingsPlanCommand extends $Command<
27
26
  > {
28
27
  readonly input: CreateSavingsPlanCommandInput;
29
28
  constructor(input: CreateSavingsPlanCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DeleteQueuedSavingsPlanCommandInput
19
19
  export interface DeleteQueuedSavingsPlanCommandOutput
20
20
  extends DeleteQueuedSavingsPlanResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DeleteQueuedSavingsPlanCommand extends $Command<
24
23
  DeleteQueuedSavingsPlanCommandInput,
25
24
  DeleteQueuedSavingsPlanCommandOutput,
@@ -27,7 +26,6 @@ export declare class DeleteQueuedSavingsPlanCommand extends $Command<
27
26
  > {
28
27
  readonly input: DeleteQueuedSavingsPlanCommandInput;
29
28
  constructor(input: DeleteQueuedSavingsPlanCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DescribeSavingsPlanRatesCommandInput
19
19
  export interface DescribeSavingsPlanRatesCommandOutput
20
20
  extends DescribeSavingsPlanRatesResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeSavingsPlanRatesCommand extends $Command<
24
23
  DescribeSavingsPlanRatesCommandInput,
25
24
  DescribeSavingsPlanRatesCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeSavingsPlanRatesCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeSavingsPlanRatesCommandInput;
29
28
  constructor(input: DescribeSavingsPlanRatesCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DescribeSavingsPlansCommandInput
19
19
  export interface DescribeSavingsPlansCommandOutput
20
20
  extends DescribeSavingsPlansResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeSavingsPlansCommand extends $Command<
24
23
  DescribeSavingsPlansCommandInput,
25
24
  DescribeSavingsPlansCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeSavingsPlansCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeSavingsPlansCommandInput;
29
28
  constructor(input: DescribeSavingsPlansCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DescribeSavingsPlansOfferingRatesCommandInput
19
19
  export interface DescribeSavingsPlansOfferingRatesCommandOutput
20
20
  extends DescribeSavingsPlansOfferingRatesResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeSavingsPlansOfferingRatesCommand extends $Command<
24
23
  DescribeSavingsPlansOfferingRatesCommandInput,
25
24
  DescribeSavingsPlansOfferingRatesCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeSavingsPlansOfferingRatesCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeSavingsPlansOfferingRatesCommandInput;
29
28
  constructor(input: DescribeSavingsPlansOfferingRatesCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface DescribeSavingsPlansOfferingsCommandInput
19
19
  export interface DescribeSavingsPlansOfferingsCommandOutput
20
20
  extends DescribeSavingsPlansOfferingsResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeSavingsPlansOfferingsCommand extends $Command<
24
23
  DescribeSavingsPlansOfferingsCommandInput,
25
24
  DescribeSavingsPlansOfferingsCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeSavingsPlansOfferingsCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeSavingsPlansOfferingsCommandInput;
29
28
  constructor(input: DescribeSavingsPlansOfferingsCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface ListTagsForResourceCommandInput
19
19
  export interface ListTagsForResourceCommandOutput
20
20
  extends ListTagsForResourceResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class ListTagsForResourceCommand extends $Command<
24
23
  ListTagsForResourceCommandInput,
25
24
  ListTagsForResourceCommandOutput,
@@ -27,7 +26,6 @@ export declare class ListTagsForResourceCommand extends $Command<
27
26
  > {
28
27
  readonly input: ListTagsForResourceCommandInput;
29
28
  constructor(input: ListTagsForResourceCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: SavingsplansClientResolvedConfig,
@@ -15,7 +15,6 @@ export interface TagResourceCommandInput extends TagResourceRequest {}
15
15
  export interface TagResourceCommandOutput
16
16
  extends TagResourceResponse,
17
17
  __MetadataBearer {}
18
-
19
18
  export declare class TagResourceCommand extends $Command<
20
19
  TagResourceCommandInput,
21
20
  TagResourceCommandOutput,
@@ -23,7 +22,6 @@ export declare class TagResourceCommand extends $Command<
23
22
  > {
24
23
  readonly input: TagResourceCommandInput;
25
24
  constructor(input: TagResourceCommandInput);
26
-
27
25
  resolveMiddleware(
28
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
27
  configuration: SavingsplansClientResolvedConfig,
@@ -18,7 +18,6 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {}
18
18
  export interface UntagResourceCommandOutput
19
19
  extends UntagResourceResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class UntagResourceCommand extends $Command<
23
22
  UntagResourceCommandInput,
24
23
  UntagResourceCommandOutput,
@@ -26,7 +25,6 @@ export declare class UntagResourceCommand extends $Command<
26
25
  > {
27
26
  readonly input: UntagResourceCommandInput;
28
27
  constructor(input: UntagResourceCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: SavingsplansClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class SavingsplansServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -2,52 +2,39 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
3
3
  export interface CreateSavingsPlanRequest {
4
4
  savingsPlanOfferingId: string | undefined;
5
-
6
5
  commitment: string | undefined;
7
-
8
6
  upfrontPaymentAmount?: string;
9
-
10
7
  purchaseTime?: Date;
11
-
12
8
  clientToken?: string;
13
-
14
9
  tags?: Record<string, string>;
15
10
  }
16
11
  export interface CreateSavingsPlanResponse {
17
12
  savingsPlanId?: string;
18
13
  }
19
-
20
14
  export declare class InternalServerException extends __BaseException {
21
15
  readonly name: "InternalServerException";
22
16
  readonly $fault: "server";
23
-
24
17
  constructor(
25
18
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
26
19
  );
27
20
  }
28
-
29
21
  export declare class ResourceNotFoundException extends __BaseException {
30
22
  readonly name: "ResourceNotFoundException";
31
23
  readonly $fault: "client";
32
-
33
24
  constructor(
34
25
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
35
26
  );
36
27
  }
37
-
38
28
  export declare class ServiceQuotaExceededException extends __BaseException {
39
29
  readonly name: "ServiceQuotaExceededException";
40
30
  readonly $fault: "client";
41
-
42
31
  constructor(
43
32
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
44
33
  );
45
34
  }
46
-
47
35
  export declare class ValidationException extends __BaseException {
48
36
  readonly name: "ValidationException";
49
37
  readonly $fault: "client";
50
-
51
38
  constructor(
52
39
  opts: __ExceptionOptionType<ValidationException, __BaseException>
53
40
  );
@@ -66,19 +53,14 @@ export declare enum SavingsPlanRateFilterName {
66
53
  TENANCY = "tenancy",
67
54
  USAGE_TYPE = "usageType",
68
55
  }
69
-
70
56
  export interface SavingsPlanRateFilter {
71
57
  name?: SavingsPlanRateFilterName | string;
72
-
73
58
  values?: string[];
74
59
  }
75
60
  export interface DescribeSavingsPlanRatesRequest {
76
61
  savingsPlanId: string | undefined;
77
-
78
62
  filters?: SavingsPlanRateFilter[];
79
-
80
63
  nextToken?: string;
81
-
82
64
  maxResults?: number;
83
65
  }
84
66
  export declare type CurrencyCode = "CNY" | "USD";
@@ -95,10 +77,8 @@ export declare enum SavingsPlanRatePropertyKey {
95
77
  REGION = "region",
96
78
  TENANCY = "tenancy",
97
79
  }
98
-
99
80
  export interface SavingsPlanRateProperty {
100
81
  name?: SavingsPlanRatePropertyKey | string;
101
-
102
82
  value?: string;
103
83
  }
104
84
  export declare enum SavingsPlanRateServiceCode {
@@ -113,29 +93,19 @@ export declare enum SavingsPlanRateUnit {
113
93
  LAMBDA_GB_SECOND = "Lambda-GB-Second",
114
94
  REQUEST = "Request",
115
95
  }
116
-
117
96
  export interface SavingsPlanRate {
118
97
  rate?: string;
119
-
120
98
  currency?: CurrencyCode | string;
121
-
122
99
  unit?: SavingsPlanRateUnit | string;
123
-
124
100
  productType?: SavingsPlanProductType | string;
125
-
126
101
  serviceCode?: SavingsPlanRateServiceCode | string;
127
-
128
102
  usageType?: string;
129
-
130
103
  operation?: string;
131
-
132
104
  properties?: SavingsPlanRateProperty[];
133
105
  }
134
106
  export interface DescribeSavingsPlanRatesResponse {
135
107
  savingsPlanId?: string;
136
-
137
108
  searchResults?: SavingsPlanRate[];
138
-
139
109
  nextToken?: string;
140
110
  }
141
111
  export declare enum SavingsPlansFilterName {
@@ -149,10 +119,8 @@ export declare enum SavingsPlansFilterName {
149
119
  TERM = "term",
150
120
  UPFRONT = "upfront",
151
121
  }
152
-
153
122
  export interface SavingsPlanFilter {
154
123
  name?: SavingsPlansFilterName | string;
155
-
156
124
  values?: string[];
157
125
  }
158
126
  export declare enum SavingsPlanState {
@@ -165,15 +133,10 @@ export declare enum SavingsPlanState {
165
133
  }
166
134
  export interface DescribeSavingsPlansRequest {
167
135
  savingsPlanArns?: string[];
168
-
169
136
  savingsPlanIds?: string[];
170
-
171
137
  nextToken?: string;
172
-
173
138
  maxResults?: number;
174
-
175
139
  states?: (SavingsPlanState | string)[];
176
-
177
140
  filters?: SavingsPlanFilter[];
178
141
  }
179
142
  export declare enum SavingsPlanPaymentOption {
@@ -186,47 +149,28 @@ export declare enum SavingsPlanType {
186
149
  EC2_INSTANCE = "EC2Instance",
187
150
  SAGEMAKER = "SageMaker",
188
151
  }
189
-
190
152
  export interface SavingsPlan {
191
153
  offeringId?: string;
192
-
193
154
  savingsPlanId?: string;
194
-
195
155
  savingsPlanArn?: string;
196
-
197
156
  description?: string;
198
-
199
157
  start?: string;
200
-
201
158
  end?: string;
202
-
203
159
  state?: SavingsPlanState | string;
204
-
205
160
  region?: string;
206
-
207
161
  ec2InstanceFamily?: string;
208
-
209
162
  savingsPlanType?: SavingsPlanType | string;
210
-
211
163
  paymentOption?: SavingsPlanPaymentOption | string;
212
-
213
164
  productTypes?: (SavingsPlanProductType | string)[];
214
-
215
165
  currency?: CurrencyCode | string;
216
-
217
166
  commitment?: string;
218
-
219
167
  upfrontPaymentAmount?: string;
220
-
221
168
  recurringPaymentAmount?: string;
222
-
223
169
  termDurationInSeconds?: number;
224
-
225
170
  tags?: Record<string, string>;
226
171
  }
227
172
  export interface DescribeSavingsPlansResponse {
228
173
  savingsPlans?: SavingsPlan[];
229
-
230
174
  nextToken?: string;
231
175
  }
232
176
  export declare enum SavingsPlanRateFilterAttribute {
@@ -237,150 +181,94 @@ export declare enum SavingsPlanRateFilterAttribute {
237
181
  REGION = "region",
238
182
  TENANCY = "tenancy",
239
183
  }
240
-
241
184
  export interface SavingsPlanOfferingRateFilterElement {
242
185
  name?: SavingsPlanRateFilterAttribute | string;
243
-
244
186
  values?: string[];
245
187
  }
246
188
  export interface DescribeSavingsPlansOfferingRatesRequest {
247
189
  savingsPlanOfferingIds?: string[];
248
-
249
190
  savingsPlanPaymentOptions?: (SavingsPlanPaymentOption | string)[];
250
-
251
191
  savingsPlanTypes?: (SavingsPlanType | string)[];
252
-
253
192
  products?: (SavingsPlanProductType | string)[];
254
-
255
193
  serviceCodes?: (SavingsPlanRateServiceCode | string)[];
256
-
257
194
  usageTypes?: string[];
258
-
259
195
  operations?: string[];
260
-
261
196
  filters?: SavingsPlanOfferingRateFilterElement[];
262
-
263
197
  nextToken?: string;
264
-
265
198
  maxResults?: number;
266
199
  }
267
-
268
200
  export interface SavingsPlanOfferingRateProperty {
269
201
  name?: string;
270
-
271
202
  value?: string;
272
203
  }
273
-
274
204
  export interface ParentSavingsPlanOffering {
275
205
  offeringId?: string;
276
-
277
206
  paymentOption?: SavingsPlanPaymentOption | string;
278
-
279
207
  planType?: SavingsPlanType | string;
280
-
281
208
  durationSeconds?: number;
282
-
283
209
  currency?: CurrencyCode | string;
284
-
285
210
  planDescription?: string;
286
211
  }
287
-
288
212
  export interface SavingsPlanOfferingRate {
289
213
  savingsPlanOffering?: ParentSavingsPlanOffering;
290
-
291
214
  rate?: string;
292
-
293
215
  unit?: SavingsPlanRateUnit | string;
294
-
295
216
  productType?: SavingsPlanProductType | string;
296
-
297
217
  serviceCode?: SavingsPlanRateServiceCode | string;
298
-
299
218
  usageType?: string;
300
-
301
219
  operation?: string;
302
-
303
220
  properties?: SavingsPlanOfferingRateProperty[];
304
221
  }
305
222
  export interface DescribeSavingsPlansOfferingRatesResponse {
306
223
  searchResults?: SavingsPlanOfferingRate[];
307
-
308
224
  nextToken?: string;
309
225
  }
310
226
  export declare enum SavingsPlanOfferingFilterAttribute {
311
227
  instanceFamily = "instanceFamily",
312
228
  region = "region",
313
229
  }
314
-
315
230
  export interface SavingsPlanOfferingFilterElement {
316
231
  name?: SavingsPlanOfferingFilterAttribute | string;
317
-
318
232
  values?: string[];
319
233
  }
320
234
  export interface DescribeSavingsPlansOfferingsRequest {
321
235
  offeringIds?: string[];
322
-
323
236
  paymentOptions?: (SavingsPlanPaymentOption | string)[];
324
-
325
237
  productType?: SavingsPlanProductType | string;
326
-
327
238
  planTypes?: (SavingsPlanType | string)[];
328
-
329
239
  durations?: number[];
330
-
331
240
  currencies?: (CurrencyCode | string)[];
332
-
333
241
  descriptions?: string[];
334
-
335
242
  serviceCodes?: string[];
336
-
337
243
  usageTypes?: string[];
338
-
339
244
  operations?: string[];
340
-
341
245
  filters?: SavingsPlanOfferingFilterElement[];
342
-
343
246
  nextToken?: string;
344
-
345
247
  maxResults?: number;
346
248
  }
347
249
  export declare enum SavingsPlanOfferingPropertyKey {
348
250
  INSTANCE_FAMILY = "instanceFamily",
349
251
  REGION = "region",
350
252
  }
351
-
352
253
  export interface SavingsPlanOfferingProperty {
353
254
  name?: SavingsPlanOfferingPropertyKey | string;
354
-
355
255
  value?: string;
356
256
  }
357
-
358
257
  export interface SavingsPlanOffering {
359
258
  offeringId?: string;
360
-
361
259
  productTypes?: (SavingsPlanProductType | string)[];
362
-
363
260
  planType?: SavingsPlanType | string;
364
-
365
261
  description?: string;
366
-
367
262
  paymentOption?: SavingsPlanPaymentOption | string;
368
-
369
263
  durationSeconds?: number;
370
-
371
264
  currency?: CurrencyCode | string;
372
-
373
265
  serviceCode?: string;
374
-
375
266
  usageType?: string;
376
-
377
267
  operation?: string;
378
-
379
268
  properties?: SavingsPlanOfferingProperty[];
380
269
  }
381
270
  export interface DescribeSavingsPlansOfferingsResponse {
382
271
  searchResults?: SavingsPlanOffering[];
383
-
384
272
  nextToken?: string;
385
273
  }
386
274
  export interface ListTagsForResourceRequest {
@@ -391,131 +279,99 @@ export interface ListTagsForResourceResponse {
391
279
  }
392
280
  export interface TagResourceRequest {
393
281
  resourceArn: string | undefined;
394
-
395
282
  tags: Record<string, string> | undefined;
396
283
  }
397
284
  export interface TagResourceResponse {}
398
285
  export interface UntagResourceRequest {
399
286
  resourceArn: string | undefined;
400
-
401
287
  tagKeys: string[] | undefined;
402
288
  }
403
289
  export interface UntagResourceResponse {}
404
-
405
290
  export declare const CreateSavingsPlanRequestFilterSensitiveLog: (
406
291
  obj: CreateSavingsPlanRequest
407
292
  ) => any;
408
-
409
293
  export declare const CreateSavingsPlanResponseFilterSensitiveLog: (
410
294
  obj: CreateSavingsPlanResponse
411
295
  ) => any;
412
-
413
296
  export declare const DeleteQueuedSavingsPlanRequestFilterSensitiveLog: (
414
297
  obj: DeleteQueuedSavingsPlanRequest
415
298
  ) => any;
416
-
417
299
  export declare const DeleteQueuedSavingsPlanResponseFilterSensitiveLog: (
418
300
  obj: DeleteQueuedSavingsPlanResponse
419
301
  ) => any;
420
-
421
302
  export declare const SavingsPlanRateFilterFilterSensitiveLog: (
422
303
  obj: SavingsPlanRateFilter
423
304
  ) => any;
424
-
425
305
  export declare const DescribeSavingsPlanRatesRequestFilterSensitiveLog: (
426
306
  obj: DescribeSavingsPlanRatesRequest
427
307
  ) => any;
428
-
429
308
  export declare const SavingsPlanRatePropertyFilterSensitiveLog: (
430
309
  obj: SavingsPlanRateProperty
431
310
  ) => any;
432
-
433
311
  export declare const SavingsPlanRateFilterSensitiveLog: (
434
312
  obj: SavingsPlanRate
435
313
  ) => any;
436
-
437
314
  export declare const DescribeSavingsPlanRatesResponseFilterSensitiveLog: (
438
315
  obj: DescribeSavingsPlanRatesResponse
439
316
  ) => any;
440
-
441
317
  export declare const SavingsPlanFilterFilterSensitiveLog: (
442
318
  obj: SavingsPlanFilter
443
319
  ) => any;
444
-
445
320
  export declare const DescribeSavingsPlansRequestFilterSensitiveLog: (
446
321
  obj: DescribeSavingsPlansRequest
447
322
  ) => any;
448
-
449
323
  export declare const SavingsPlanFilterSensitiveLog: (obj: SavingsPlan) => any;
450
-
451
324
  export declare const DescribeSavingsPlansResponseFilterSensitiveLog: (
452
325
  obj: DescribeSavingsPlansResponse
453
326
  ) => any;
454
-
455
327
  export declare const SavingsPlanOfferingRateFilterElementFilterSensitiveLog: (
456
328
  obj: SavingsPlanOfferingRateFilterElement
457
329
  ) => any;
458
-
459
330
  export declare const DescribeSavingsPlansOfferingRatesRequestFilterSensitiveLog: (
460
331
  obj: DescribeSavingsPlansOfferingRatesRequest
461
332
  ) => any;
462
-
463
333
  export declare const SavingsPlanOfferingRatePropertyFilterSensitiveLog: (
464
334
  obj: SavingsPlanOfferingRateProperty
465
335
  ) => any;
466
-
467
336
  export declare const ParentSavingsPlanOfferingFilterSensitiveLog: (
468
337
  obj: ParentSavingsPlanOffering
469
338
  ) => any;
470
-
471
339
  export declare const SavingsPlanOfferingRateFilterSensitiveLog: (
472
340
  obj: SavingsPlanOfferingRate
473
341
  ) => any;
474
-
475
342
  export declare const DescribeSavingsPlansOfferingRatesResponseFilterSensitiveLog: (
476
343
  obj: DescribeSavingsPlansOfferingRatesResponse
477
344
  ) => any;
478
-
479
345
  export declare const SavingsPlanOfferingFilterElementFilterSensitiveLog: (
480
346
  obj: SavingsPlanOfferingFilterElement
481
347
  ) => any;
482
-
483
348
  export declare const DescribeSavingsPlansOfferingsRequestFilterSensitiveLog: (
484
349
  obj: DescribeSavingsPlansOfferingsRequest
485
350
  ) => any;
486
-
487
351
  export declare const SavingsPlanOfferingPropertyFilterSensitiveLog: (
488
352
  obj: SavingsPlanOfferingProperty
489
353
  ) => any;
490
-
491
354
  export declare const SavingsPlanOfferingFilterSensitiveLog: (
492
355
  obj: SavingsPlanOffering
493
356
  ) => any;
494
-
495
357
  export declare const DescribeSavingsPlansOfferingsResponseFilterSensitiveLog: (
496
358
  obj: DescribeSavingsPlansOfferingsResponse
497
359
  ) => any;
498
-
499
360
  export declare const ListTagsForResourceRequestFilterSensitiveLog: (
500
361
  obj: ListTagsForResourceRequest
501
362
  ) => any;
502
-
503
363
  export declare const ListTagsForResourceResponseFilterSensitiveLog: (
504
364
  obj: ListTagsForResourceResponse
505
365
  ) => any;
506
-
507
366
  export declare const TagResourceRequestFilterSensitiveLog: (
508
367
  obj: TagResourceRequest
509
368
  ) => any;
510
-
511
369
  export declare const TagResourceResponseFilterSensitiveLog: (
512
370
  obj: TagResourceResponse
513
371
  ) => any;
514
-
515
372
  export declare const UntagResourceRequestFilterSensitiveLog: (
516
373
  obj: UntagResourceRequest
517
374
  ) => any;
518
-
519
375
  export declare const UntagResourceResponseFilterSensitiveLog: (
520
376
  obj: UntagResourceResponse
521
377
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { SavingsplansClientConfig } from "./SavingsplansClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -51,7 +50,9 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
51
50
  | undefined;
52
51
  signer?:
53
52
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
56
  | undefined;
56
57
  signingEscapePath?: boolean | undefined;
57
58
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { SavingsplansClientConfig } from "./SavingsplansClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -51,7 +50,9 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
51
50
  | undefined;
52
51
  signer?:
53
52
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
56
  | undefined;
56
57
  signingEscapePath?: boolean | undefined;
57
58
  systemClockOffset?: number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { SavingsplansClientConfig } from "./SavingsplansClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -52,7 +51,9 @@ export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
52
51
  | undefined;
53
52
  signer?:
54
53
  | import("@aws-sdk/types").RequestSigner
55
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
54
+ | ((
55
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
56
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
56
57
  | undefined;
57
58
  signingEscapePath?: boolean | undefined;
58
59
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { SavingsplansClientConfig } from "./SavingsplansClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: SavingsplansClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-savingsplans",
3
3
  "description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
4
- "version": "3.170.0",
4
+ "version": "3.178.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.178.0",
23
+ "@aws-sdk/config-resolver": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.178.0",
25
+ "@aws-sdk/fetch-http-handler": "3.178.0",
26
+ "@aws-sdk/hash-node": "3.178.0",
27
+ "@aws-sdk/invalid-dependency": "3.178.0",
28
+ "@aws-sdk/middleware-content-length": "3.178.0",
29
+ "@aws-sdk/middleware-host-header": "3.178.0",
30
+ "@aws-sdk/middleware-logger": "3.178.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
+ "@aws-sdk/middleware-retry": "3.178.0",
33
+ "@aws-sdk/middleware-serde": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.178.0",
35
+ "@aws-sdk/middleware-stack": "3.178.0",
36
+ "@aws-sdk/middleware-user-agent": "3.178.0",
37
+ "@aws-sdk/node-config-provider": "3.178.0",
38
+ "@aws-sdk/node-http-handler": "3.178.0",
39
+ "@aws-sdk/protocol-http": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.178.0",
41
+ "@aws-sdk/types": "3.178.0",
42
+ "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
50
+ "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1",