@aws-sdk/client-pricing-plan-manager 3.1099.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.
Files changed (103) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +244 -0
  3. package/dist-cjs/index.js +729 -0
  4. package/dist-es/PricingPlanManager.js +29 -0
  5. package/dist-es/PricingPlanManagerClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commandBuilder.js +6 -0
  9. package/dist-es/commands/ApprovePaidSubscriptionCommand.js +4 -0
  10. package/dist-es/commands/AssociateResourcesToSubscriptionCommand.js +4 -0
  11. package/dist-es/commands/CancelSubscriptionChangeCommand.js +4 -0
  12. package/dist-es/commands/CancelSubscriptionCommand.js +4 -0
  13. package/dist-es/commands/CreateSubscriptionCommand.js +4 -0
  14. package/dist-es/commands/DisassociateResourcesFromSubscriptionCommand.js +4 -0
  15. package/dist-es/commands/GetSubscriptionCommand.js +4 -0
  16. package/dist-es/commands/ListSubscriptionsCommand.js +4 -0
  17. package/dist-es/commands/UpdateSubscriptionCommand.js +4 -0
  18. package/dist-es/commands/index.js +9 -0
  19. package/dist-es/endpoint/EndpointParameters.js +9 -0
  20. package/dist-es/endpoint/bdd.js +19 -0
  21. package/dist-es/endpoint/endpointResolver.js +14 -0
  22. package/dist-es/extensionConfiguration.js +1 -0
  23. package/dist-es/index.js +10 -0
  24. package/dist-es/models/PricingPlanManagerServiceException.js +8 -0
  25. package/dist-es/models/enums.js +14 -0
  26. package/dist-es/models/errors.js +91 -0
  27. package/dist-es/models/models_0.js +1 -0
  28. package/dist-es/pagination/Interfaces.js +1 -0
  29. package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/runtimeConfig.browser.js +29 -0
  32. package/dist-es/runtimeConfig.js +43 -0
  33. package/dist-es/runtimeConfig.native.js +9 -0
  34. package/dist-es/runtimeConfig.shared.js +40 -0
  35. package/dist-es/runtimeExtensions.js +9 -0
  36. package/dist-es/schemas/schemas_0.js +258 -0
  37. package/dist-types/PricingPlanManager.d.ts +81 -0
  38. package/dist-types/PricingPlanManagerClient.d.ts +195 -0
  39. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  40. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/ApprovePaidSubscriptionCommand.d.ts +138 -0
  43. package/dist-types/commands/AssociateResourcesToSubscriptionCommand.d.ts +145 -0
  44. package/dist-types/commands/CancelSubscriptionChangeCommand.d.ts +138 -0
  45. package/dist-types/commands/CancelSubscriptionCommand.d.ts +142 -0
  46. package/dist-types/commands/CreateSubscriptionCommand.d.ts +184 -0
  47. package/dist-types/commands/DisassociateResourcesFromSubscriptionCommand.d.ts +144 -0
  48. package/dist-types/commands/GetSubscriptionCommand.d.ts +132 -0
  49. package/dist-types/commands/ListSubscriptionsCommand.d.ts +135 -0
  50. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +144 -0
  51. package/dist-types/commands/index.d.ts +9 -0
  52. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  53. package/dist-types/endpoint/bdd.d.ts +2 -0
  54. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  55. package/dist-types/extensionConfiguration.d.ts +9 -0
  56. package/dist-types/index.d.ts +18 -0
  57. package/dist-types/models/PricingPlanManagerServiceException.d.ts +14 -0
  58. package/dist-types/models/enums.d.ts +38 -0
  59. package/dist-types/models/errors.d.ts +101 -0
  60. package/dist-types/models/models_0.d.ts +474 -0
  61. package/dist-types/pagination/Interfaces.d.ts +8 -0
  62. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/runtimeConfig.browser.d.ts +57 -0
  65. package/dist-types/runtimeConfig.d.ts +57 -0
  66. package/dist-types/runtimeConfig.native.d.ts +56 -0
  67. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  68. package/dist-types/runtimeExtensions.d.ts +17 -0
  69. package/dist-types/schemas/schemas_0.d.ts +46 -0
  70. package/dist-types/ts3.4/PricingPlanManager.d.ts +172 -0
  71. package/dist-types/ts3.4/PricingPlanManagerClient.d.ts +157 -0
  72. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
  73. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  74. package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
  75. package/dist-types/ts3.4/commands/ApprovePaidSubscriptionCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/AssociateResourcesToSubscriptionCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/CancelSubscriptionChangeCommand.d.ts +39 -0
  78. package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +39 -0
  79. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/DisassociateResourcesFromSubscriptionCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/GetSubscriptionCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +39 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
  86. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  87. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  88. package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
  89. package/dist-types/ts3.4/index.d.ts +13 -0
  90. package/dist-types/ts3.4/models/PricingPlanManagerServiceException.d.ts +9 -0
  91. package/dist-types/ts3.4/models/enums.d.ts +17 -0
  92. package/dist-types/ts3.4/models/errors.d.ts +40 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +116 -0
  94. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  95. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  97. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  98. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  99. package/dist-types/ts3.4/runtimeConfig.native.d.ts +99 -0
  100. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  101. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  102. package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
  103. package/package.json +69 -0
@@ -0,0 +1,474 @@
1
+ import type { ApprovalMode, ScheduledChangeType, Status } from "./enums";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ApprovePaidSubscriptionInput {
6
+ /**
7
+ * <p>The ARN of the subscription to approve.</p>
8
+ * @public
9
+ */
10
+ arn: string | undefined;
11
+ /**
12
+ * <p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response. This ensures you are approving the expected version of the subscription.</p>
13
+ * @public
14
+ */
15
+ ifMatch: string | undefined;
16
+ /**
17
+ * <p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>
18
+ * @public
19
+ */
20
+ clientToken?: string | undefined;
21
+ }
22
+ /**
23
+ * <p>A pending change on a subscription that takes effect at the end of the current billing period, such as a tier downgrade or cancellation.</p>
24
+ * @public
25
+ */
26
+ export interface ScheduledChange {
27
+ /**
28
+ * <p>The type of pending change. Possible values are <code>DOWNGRADE</code> (a tier change to a lower level) and <code>CANCELLATION</code> (subscription termination).</p>
29
+ * @public
30
+ */
31
+ changeType: ScheduledChangeType | undefined;
32
+ /**
33
+ * <p>The date and time when the change takes effect, in ISO 8601 format. This value is populated after the change is confirmed by the billing system.</p>
34
+ * @public
35
+ */
36
+ effectiveDate?: Date | undefined;
37
+ /**
38
+ * <p>For downgrades, the tier level that the subscription will change to. Not present for cancellations.</p>
39
+ * @public
40
+ */
41
+ planTier?: string | undefined;
42
+ /**
43
+ * <p>For downgrades, the target usage level after the change takes effect.</p>
44
+ * @public
45
+ */
46
+ usageLevel?: string | undefined;
47
+ }
48
+ /**
49
+ * <p>The full details of a flat-rate pricing subscription, including its current configuration, status, and associated resources.</p>
50
+ * @public
51
+ */
52
+ export interface Subscription {
53
+ /**
54
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies this subscription.</p>
55
+ * @public
56
+ */
57
+ arn: string | undefined;
58
+ /**
59
+ * <p>The pricing plan family for the subscription, such as <code>CloudFront</code>.</p>
60
+ * @public
61
+ */
62
+ planFamily: string | undefined;
63
+ /**
64
+ * <p>The current tier level of the pricing plan, such as <code>FREE</code>, <code>PRO</code>, <code>BUSINESS</code>, or <code>PREMIUM</code>.</p>
65
+ * @public
66
+ */
67
+ planTier: string | undefined;
68
+ /**
69
+ * <p>The usage level within the plan tier. When present, indicates a specific capacity configuration beyond the base tier.</p>
70
+ * @public
71
+ */
72
+ usageLevel?: string | undefined;
73
+ /**
74
+ * <p>A pending change that will take effect at the end of the current billing period. This field is present only when a downgrade or cancellation is scheduled.</p>
75
+ * @public
76
+ */
77
+ scheduledChange?: ScheduledChange | undefined;
78
+ /**
79
+ * <p>The current status of the subscription. For the list of possible values, see the <code>Status</code> type.</p>
80
+ * @public
81
+ */
82
+ status: Status | undefined;
83
+ /**
84
+ * <p>A human-readable explanation of the current status, present when additional context is available.</p>
85
+ * @public
86
+ */
87
+ statusReason?: string | undefined;
88
+ /**
89
+ * <p>The ARNs of the AWS resources covered by this subscription.</p>
90
+ * @public
91
+ */
92
+ resourceArns: string[] | undefined;
93
+ /**
94
+ * <p>The date and time when the subscription was created, in ISO 8601 format.</p>
95
+ * @public
96
+ */
97
+ createdAt: Date | undefined;
98
+ /**
99
+ * <p>The date and time when the subscription was last modified, in ISO 8601 format.</p>
100
+ * @public
101
+ */
102
+ updatedAt: Date | undefined;
103
+ }
104
+ /**
105
+ * @public
106
+ */
107
+ export interface ApprovePaidSubscriptionOutput {
108
+ /**
109
+ * <p>The details of the approved subscription.</p>
110
+ * @public
111
+ */
112
+ subscription: Subscription | undefined;
113
+ /**
114
+ * <p>The updated entity tag for concurrency control.</p>
115
+ * @public
116
+ */
117
+ eTag: string | undefined;
118
+ }
119
+ /**
120
+ * @public
121
+ */
122
+ export interface AssociateResourcesToSubscriptionInput {
123
+ /**
124
+ * <p>The ARN of the subscription to add resources to.</p>
125
+ * @public
126
+ */
127
+ arn: string | undefined;
128
+ /**
129
+ * <p>The ARNs of the resources to add to the subscription.</p>
130
+ * @public
131
+ */
132
+ resourceArns: string[] | undefined;
133
+ /**
134
+ * <p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response.</p>
135
+ * @public
136
+ */
137
+ ifMatch: string | undefined;
138
+ /**
139
+ * <p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>
140
+ * @public
141
+ */
142
+ clientToken?: string | undefined;
143
+ }
144
+ /**
145
+ * @public
146
+ */
147
+ export interface AssociateResourcesToSubscriptionOutput {
148
+ /**
149
+ * <p>The details of the subscription with the newly added resources.</p>
150
+ * @public
151
+ */
152
+ subscription: Subscription | undefined;
153
+ /**
154
+ * <p>The updated entity tag for concurrency control.</p>
155
+ * @public
156
+ */
157
+ eTag: string | undefined;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export interface CancelSubscriptionInput {
163
+ /**
164
+ * <p>The ARN of the subscription to cancel.</p>
165
+ * @public
166
+ */
167
+ arn: string | undefined;
168
+ /**
169
+ * <p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response.</p>
170
+ * @public
171
+ */
172
+ ifMatch: string | undefined;
173
+ /**
174
+ * <p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>
175
+ * @public
176
+ */
177
+ clientToken?: string | undefined;
178
+ }
179
+ /**
180
+ * @public
181
+ */
182
+ export interface CancelSubscriptionOutput {
183
+ /**
184
+ * <p>The details of the subscription with the pending cancellation. For active subscriptions, a <code>scheduledChange</code> of type <code>CANCELLATION</code> is included.</p>
185
+ * @public
186
+ */
187
+ subscription: Subscription | undefined;
188
+ /**
189
+ * <p>The updated entity tag for concurrency control.</p>
190
+ * @public
191
+ */
192
+ eTag: string | undefined;
193
+ }
194
+ /**
195
+ * @public
196
+ */
197
+ export interface CancelSubscriptionChangeInput {
198
+ /**
199
+ * <p>The ARN of the subscription whose pending change you want to cancel.</p>
200
+ * @public
201
+ */
202
+ arn: string | undefined;
203
+ /**
204
+ * <p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response.</p>
205
+ * @public
206
+ */
207
+ ifMatch: string | undefined;
208
+ /**
209
+ * <p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>
210
+ * @public
211
+ */
212
+ clientToken?: string | undefined;
213
+ }
214
+ /**
215
+ * @public
216
+ */
217
+ export interface CancelSubscriptionChangeOutput {
218
+ /**
219
+ * <p>The details of the subscription with the pending change removed.</p>
220
+ * @public
221
+ */
222
+ subscription: Subscription | undefined;
223
+ /**
224
+ * <p>The updated entity tag for concurrency control.</p>
225
+ * @public
226
+ */
227
+ eTag: string | undefined;
228
+ }
229
+ /**
230
+ * @public
231
+ */
232
+ export interface CreateSubscriptionInput {
233
+ /**
234
+ * <p>The pricing plan family to subscribe to, such as <code>CloudFront</code>.</p>
235
+ * @public
236
+ */
237
+ planFamily: string | undefined;
238
+ /**
239
+ * <p>The tier level for the subscription, such as <code>FREE</code>, <code>PRO</code>, <code>BUSINESS</code>, or <code>PREMIUM</code>.</p>
240
+ * @public
241
+ */
242
+ planTier: string | undefined;
243
+ /**
244
+ * <p>The usage level within the plan tier. Specify <code>DEFAULT</code> for the base configuration, or a higher level if your plan tier supports it.</p>
245
+ * @public
246
+ */
247
+ usageLevel?: string | undefined;
248
+ /**
249
+ * <p>The ARNs of the AWS resources to include in the subscription. Specify one or more supported resources.</p> <note> <p>For subscriptions in the CloudFront plan family, the resources must include exactly one Amazon CloudFront distribution and exactly one AWS WAF web ACL. You can also include other supported resources, such as Amazon Route 53 hosted zones and CloudFront KeyValueStores.</p> </note>
250
+ * @public
251
+ */
252
+ resourceArns: string[] | undefined;
253
+ /**
254
+ * <p>Determines whether the subscription requires explicit approval before billing starts. Set to <code>MANUAL</code> to require a separate <code>ApprovePaidSubscription</code> call, or <code>IMMEDIATE</code> to activate the subscription right away. Defaults to <code>IMMEDIATE</code> if not specified.</p>
255
+ * @public
256
+ */
257
+ approvalMode?: ApprovalMode | undefined;
258
+ /**
259
+ * <p>A unique, case-sensitive identifier that you provide to ensure that the request is handled only once. If you send the same request with the same client token, the API returns the original response without creating a duplicate subscription.</p>
260
+ * @public
261
+ */
262
+ clientToken?: string | undefined;
263
+ }
264
+ /**
265
+ * @public
266
+ */
267
+ export interface CreateSubscriptionOutput {
268
+ /**
269
+ * <p>The details of the newly created subscription.</p>
270
+ * @public
271
+ */
272
+ subscription: Subscription | undefined;
273
+ /**
274
+ * <p>The entity tag for concurrency control. Use this value in the <code>If-Match</code> header for subsequent operations on this subscription.</p>
275
+ * @public
276
+ */
277
+ eTag: string | undefined;
278
+ }
279
+ /**
280
+ * @public
281
+ */
282
+ export interface DisassociateResourcesFromSubscriptionInput {
283
+ /**
284
+ * <p>The ARN of the subscription to remove resources from.</p>
285
+ * @public
286
+ */
287
+ arn: string | undefined;
288
+ /**
289
+ * <p>The ARNs of the resources to remove from the subscription. For subscriptions in the CloudFront plan family, you cannot remove the required CloudFront distribution or WAF web ACL.</p>
290
+ * @public
291
+ */
292
+ resourceArns: string[] | undefined;
293
+ /**
294
+ * <p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response.</p>
295
+ * @public
296
+ */
297
+ ifMatch: string | undefined;
298
+ /**
299
+ * <p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>
300
+ * @public
301
+ */
302
+ clientToken?: string | undefined;
303
+ }
304
+ /**
305
+ * @public
306
+ */
307
+ export interface DisassociateResourcesFromSubscriptionOutput {
308
+ /**
309
+ * <p>The details of the subscription with the specified resources removed.</p>
310
+ * @public
311
+ */
312
+ subscription: Subscription | undefined;
313
+ /**
314
+ * <p>The updated entity tag for concurrency control.</p>
315
+ * @public
316
+ */
317
+ eTag: string | undefined;
318
+ }
319
+ /**
320
+ * @public
321
+ */
322
+ export interface GetSubscriptionInput {
323
+ /**
324
+ * <p>The ARN of the subscription to retrieve.</p>
325
+ * @public
326
+ */
327
+ arn: string | undefined;
328
+ }
329
+ /**
330
+ * @public
331
+ */
332
+ export interface GetSubscriptionOutput {
333
+ /**
334
+ * <p>The details of the requested subscription.</p>
335
+ * @public
336
+ */
337
+ subscription: Subscription | undefined;
338
+ /**
339
+ * <p>The entity tag for concurrency control. Use this value in the <code>If-Match</code> header for subsequent operations on this subscription.</p>
340
+ * @public
341
+ */
342
+ eTag: string | undefined;
343
+ }
344
+ /**
345
+ * @public
346
+ */
347
+ export interface ListSubscriptionsInput {
348
+ /**
349
+ * <p>A token from a previous <code>ListSubscriptions</code> response. If the response included a <code>nextToken</code>, there are more results available. Pass this value to retrieve the next page of results.</p>
350
+ * @public
351
+ */
352
+ nextToken?: string | undefined;
353
+ }
354
+ /**
355
+ * <p>Summary information for a flat-rate pricing subscription, as returned by list operations.</p>
356
+ * @public
357
+ */
358
+ export interface SubscriptionSummary {
359
+ /**
360
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies this subscription.</p>
361
+ * @public
362
+ */
363
+ arn: string | undefined;
364
+ /**
365
+ * <p>The pricing plan family for the subscription, such as <code>CloudFront</code>.</p>
366
+ * @public
367
+ */
368
+ planFamily: string | undefined;
369
+ /**
370
+ * <p>The current tier level of the pricing plan.</p>
371
+ * @public
372
+ */
373
+ planTier: string | undefined;
374
+ /**
375
+ * <p>The usage level within the plan tier.</p>
376
+ * @public
377
+ */
378
+ usageLevel?: string | undefined;
379
+ /**
380
+ * <p>A pending change that will take effect at the end of the current billing period, if any.</p>
381
+ * @public
382
+ */
383
+ scheduledChange?: ScheduledChange | undefined;
384
+ /**
385
+ * <p>The current status of the subscription.</p>
386
+ * @public
387
+ */
388
+ status: Status | undefined;
389
+ /**
390
+ * <p>A human-readable explanation of the current status, present when additional context is available.</p>
391
+ * @public
392
+ */
393
+ statusReason?: string | undefined;
394
+ /**
395
+ * <p>The ARNs of the AWS resources covered by this subscription.</p>
396
+ * @public
397
+ */
398
+ resourceArns: string[] | undefined;
399
+ /**
400
+ * <p>The date and time when the subscription was created, in ISO 8601 format.</p>
401
+ * @public
402
+ */
403
+ createdAt: Date | undefined;
404
+ /**
405
+ * <p>The date and time when the subscription was last modified, in ISO 8601 format.</p>
406
+ * @public
407
+ */
408
+ updatedAt: Date | undefined;
409
+ /**
410
+ * <p>The entity tag for concurrency control. Pass this value in the <code>If-Match</code> header when making changes to this subscription.</p>
411
+ * @public
412
+ */
413
+ eTag: string | undefined;
414
+ }
415
+ /**
416
+ * @public
417
+ */
418
+ export interface ListSubscriptionsOutput {
419
+ /**
420
+ * <p>The list of subscription summaries for the calling account.</p>
421
+ * @public
422
+ */
423
+ subscriptionSummaries: SubscriptionSummary[] | undefined;
424
+ /**
425
+ * <p>A token that indicates there are more results available. Pass this value in a subsequent <code>ListSubscriptions</code> request to retrieve the next page of results.</p>
426
+ * @public
427
+ */
428
+ nextToken?: string | undefined;
429
+ }
430
+ /**
431
+ * @public
432
+ */
433
+ export interface UpdateSubscriptionInput {
434
+ /**
435
+ * <p>The ARN of the subscription to update.</p>
436
+ * @public
437
+ */
438
+ arn: string | undefined;
439
+ /**
440
+ * <p>The new tier level for the subscription.</p>
441
+ * @public
442
+ */
443
+ planTier: string | undefined;
444
+ /**
445
+ * <p>The usage level within the plan tier. Specify <code>DEFAULT</code> for the base configuration. If omitted, the usage level is reset to the default.</p>
446
+ * @public
447
+ */
448
+ usageLevel?: string | undefined;
449
+ /**
450
+ * <p>The <code>ETag</code> value from a previous <code>GetSubscription</code> or <code>ListSubscriptions</code> response. This ensures you are updating the expected version of the subscription.</p>
451
+ * @public
452
+ */
453
+ ifMatch: string | undefined;
454
+ /**
455
+ * <p>A unique, case-sensitive identifier that you provide to ensure the request is handled only once.</p>
456
+ * @public
457
+ */
458
+ clientToken?: string | undefined;
459
+ }
460
+ /**
461
+ * @public
462
+ */
463
+ export interface UpdateSubscriptionOutput {
464
+ /**
465
+ * <p>The details of the updated subscription. For downgrades, the current tier remains unchanged and a <code>scheduledChange</code> indicates the pending change.</p>
466
+ * @public
467
+ */
468
+ subscription: Subscription | undefined;
469
+ /**
470
+ * <p>The updated entity tag for concurrency control.</p>
471
+ * @public
472
+ */
473
+ eTag: string | undefined;
474
+ }
@@ -0,0 +1,8 @@
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
+ import { PricingPlanManagerClient } from "../PricingPlanManagerClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface PricingPlanManagerPaginationConfiguration extends PaginationConfiguration {
7
+ client: PricingPlanManagerClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput } from "../commands/ListSubscriptionsCommand";
3
+ import type { PricingPlanManagerPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListSubscriptions: (config: PricingPlanManagerPaginationConfiguration, input: ListSubscriptionsCommandInput, ...rest: any[]) => Paginator<ListSubscriptionsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListSubscriptionsPaginator";
@@ -0,0 +1,57 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import type { PricingPlanManagerClientConfig } from "./PricingPlanManagerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: PricingPlanManagerClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
17
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
18
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
+ cacheMiddleware?: boolean | undefined;
20
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
21
+ protocolSettings: {
22
+ defaultNamespace?: string;
23
+ [setting: string]: unknown;
24
+ };
25
+ apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
+ urlParser: import("@smithy/types").UrlParser;
28
+ base64Decoder: import("@smithy/types").Decoder;
29
+ base64Encoder: (_input: Uint8Array | string) => string;
30
+ utf8Decoder: import("@smithy/types").Decoder;
31
+ utf8Encoder: (input: Uint8Array | string) => string;
32
+ disableHostPrefix: boolean;
33
+ serviceId: string;
34
+ profile?: string;
35
+ logger: import("@smithy/types").Logger;
36
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
37
+ customUserAgent?: string | import("@smithy/types").UserAgent;
38
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
39
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
40
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
41
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
42
+ logger?: import("@smithy/types").Logger;
43
+ }) => import("@smithy/types").EndpointV2;
44
+ tls?: boolean;
45
+ ignoreConfiguredEndpointUrls?: boolean;
46
+ serviceConfiguredEndpoint?: never;
47
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
48
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PricingPlanManagerHttpAuthSchemeProvider;
50
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
+ signingEscapePath?: boolean;
53
+ systemClockOffset?: number;
54
+ signingRegion?: string;
55
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
57
+ };
@@ -0,0 +1,57 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import type { PricingPlanManagerClientConfig } from "./PricingPlanManagerClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: PricingPlanManagerClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ cacheMiddleware?: boolean | undefined;
22
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
23
+ protocolSettings: {
24
+ defaultNamespace?: string;
25
+ [setting: string]: unknown;
26
+ };
27
+ apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
+ urlParser: import("@smithy/types").UrlParser;
30
+ base64Decoder: import("@smithy/types").Decoder;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
32
+ utf8Decoder: import("@smithy/types").Decoder;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
34
+ disableHostPrefix: boolean;
35
+ serviceId: string;
36
+ profile?: string;
37
+ logger: import("@smithy/types").Logger;
38
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
40
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
41
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
42
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
43
+ logger?: import("@smithy/types").Logger;
44
+ }) => import("@smithy/types").EndpointV2;
45
+ tls?: boolean;
46
+ ignoreConfiguredEndpointUrls?: boolean;
47
+ serviceConfiguredEndpoint?: never;
48
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
49
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PricingPlanManagerHttpAuthSchemeProvider;
50
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
51
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
52
+ signingEscapePath?: boolean;
53
+ systemClockOffset?: number;
54
+ signingRegion?: string;
55
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
56
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
57
+ };
@@ -0,0 +1,56 @@
1
+ import type { PricingPlanManagerClientConfig } from "./PricingPlanManagerClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: PricingPlanManagerClientConfig) => {
6
+ runtime: string;
7
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ cacheMiddleware?: boolean;
9
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
10
+ protocolSettings: {
11
+ defaultNamespace?: string;
12
+ [setting: string]: unknown;
13
+ };
14
+ apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
+ streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: (_input: Uint8Array | string) => string;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: (input: Uint8Array | string) => string;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
+ region: string | import("@smithy/types").Provider<any>;
28
+ profile?: string;
29
+ defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
30
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
31
+ maxAttempts: number | import("@smithy/types").Provider<number>;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ logger: import("@smithy/types").Logger;
34
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
35
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent;
37
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
39
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
40
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
41
+ logger?: import("@smithy/types").Logger;
42
+ }) => import("@smithy/types").EndpointV2;
43
+ tls?: boolean;
44
+ ignoreConfiguredEndpointUrls?: boolean;
45
+ serviceConfiguredEndpoint?: never;
46
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
47
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
48
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PricingPlanManagerHttpAuthSchemeProvider;
49
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
50
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
51
+ signingEscapePath?: boolean;
52
+ systemClockOffset?: number;
53
+ signingRegion?: string;
54
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
55
+ disableClockSkewCorrection?: boolean | import("@smithy/types").Provider<boolean>;
56
+ };