@aws-sdk/client-savingsplans 3.940.0 → 3.946.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 (40) hide show
  1. package/dist-cjs/index.js +47 -50
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/SavingsplansClient.js +2 -2
  5. package/dist-es/models/enums.js +33 -0
  6. package/dist-es/runtimeConfig.browser.js +2 -2
  7. package/dist-es/runtimeConfig.js +2 -3
  8. package/dist-es/schemas/schemas_0.js +14 -50
  9. package/dist-types/Savingsplans.d.ts +1 -1
  10. package/dist-types/SavingsplansClient.d.ts +10 -10
  11. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  12. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  13. package/dist-types/commands/CreateSavingsPlanCommand.d.ts +3 -3
  14. package/dist-types/commands/DeleteQueuedSavingsPlanCommand.d.ts +3 -3
  15. package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +11 -8
  16. package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +7 -7
  17. package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +12 -12
  18. package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +9 -9
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  20. package/dist-types/commands/ReturnSavingsPlanCommand.d.ts +3 -3
  21. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  22. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  23. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  24. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  25. package/dist-types/extensionConfiguration.d.ts +4 -4
  26. package/dist-types/models/SavingsplansServiceException.d.ts +1 -1
  27. package/dist-types/models/enums.d.ts +33 -0
  28. package/dist-types/models/errors.d.ts +1 -1
  29. package/dist-types/models/models_0.d.ts +1 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  31. package/dist-types/runtimeConfig.d.ts +1 -1
  32. package/dist-types/runtimeConfig.native.d.ts +1 -1
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  34. package/dist-types/runtimeExtensions.d.ts +1 -1
  35. package/dist-types/schemas/schemas_0.d.ts +1 -1
  36. package/dist-types/ts3.4/SavingsplansClient.d.ts +3 -3
  37. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  38. package/dist-types/ts3.4/models/SavingsplansServiceException.d.ts +1 -1
  39. package/dist-types/ts3.4/models/enums.d.ts +33 -0
  40. package/package.json +13 -12
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeSavingsPlanRatesRequest, DescribeSavingsPlanRatesResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeSavingsPlanRatesRequest, DescribeSavingsPlanRatesResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,7 +27,7 @@ declare const DescribeSavingsPlanRatesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Describes the rates for the specified Savings Plan.</p>
30
+ * <p>Describes the rates for a specific, existing Savings Plan.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -56,10 +56,10 @@ declare const DescribeSavingsPlanRatesCommand_base: {
56
56
  * // searchResults: [ // SavingsPlanRateList
57
57
  * // { // SavingsPlanRate
58
58
  * // rate: "STRING_VALUE",
59
- * // currency: "CNY" || "USD",
60
- * // unit: "Hrs" || "Lambda-GB-Second" || "Request",
61
- * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker",
62
- * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker",
59
+ * // currency: "CNY" || "USD" || "EUR",
60
+ * // unit: "Hrs" || "Lambda-GB-Second" || "Request" || "ACU-Hr" || "ReadRequestUnits" || "WriteRequestUnits" || "ReadCapacityUnit-Hrs" || "WriteCapacityUnit-Hrs" || "ReplicatedWriteRequestUnits" || "ReplicatedWriteCapacityUnit-Hrs" || "GB-Hours" || "DPU" || "ElastiCacheProcessingUnit" || "DCU-Hr" || "NCU-hr",
61
+ * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
62
+ * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
63
63
  * // usageType: "STRING_VALUE",
64
64
  * // operation: "STRING_VALUE",
65
65
  * // properties: [ // SavingsPlanRatePropertyList
@@ -81,6 +81,9 @@ declare const DescribeSavingsPlanRatesCommand_base: {
81
81
  * @see {@link DescribeSavingsPlanRatesCommandOutput} for command's `response` shape.
82
82
  * @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
83
83
  *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>An unexpected error occurred.</p>
86
+ *
84
87
  * @throws {@link ResourceNotFoundException} (client fault)
85
88
  * <p>The specified resource was not found.</p>
86
89
  *
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeSavingsPlansRequest, DescribeSavingsPlansResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeSavingsPlansRequest, DescribeSavingsPlansResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -50,7 +50,7 @@ declare const DescribeSavingsPlansCommand_base: {
50
50
  * ],
51
51
  * filters: [ // SavingsPlanFilterList
52
52
  * { // SavingsPlanFilter
53
- * name: "region" || "ec2-instance-family" || "commitment" || "upfront" || "term" || "savings-plan-type" || "payment-option" || "start" || "end",
53
+ * name: "region" || "ec2-instance-family" || "commitment" || "upfront" || "term" || "savings-plan-type" || "payment-option" || "start" || "end" || "instance-family",
54
54
  * values: [ // ListOfStrings
55
55
  * "STRING_VALUE",
56
56
  * ],
@@ -71,12 +71,12 @@ declare const DescribeSavingsPlansCommand_base: {
71
71
  * // state: "payment-pending" || "payment-failed" || "active" || "retired" || "queued" || "queued-deleted" || "pending-return" || "returned",
72
72
  * // region: "STRING_VALUE",
73
73
  * // ec2InstanceFamily: "STRING_VALUE",
74
- * // savingsPlanType: "Compute" || "EC2Instance" || "SageMaker",
74
+ * // savingsPlanType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
75
75
  * // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
76
76
  * // productTypes: [ // SavingsPlanProductTypeList
77
- * // "EC2" || "Fargate" || "Lambda" || "SageMaker",
77
+ * // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
78
78
  * // ],
79
- * // currency: "CNY" || "USD",
79
+ * // currency: "CNY" || "USD" || "EUR",
80
80
  * // commitment: "STRING_VALUE",
81
81
  * // upfrontPaymentAmount: "STRING_VALUE",
82
82
  * // recurringPaymentAmount: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeSavingsPlansOfferingRatesRequest, DescribeSavingsPlansOfferingRatesResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeSavingsPlansOfferingRatesRequest, DescribeSavingsPlansOfferingRatesResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -27,7 +27,7 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Describes the offering rates for the specified Savings Plans.</p>
30
+ * <p>Describes the offering rates for Savings Plans you might want to purchase.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -44,13 +44,13 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
44
44
  * "All Upfront" || "Partial Upfront" || "No Upfront",
45
45
  * ],
46
46
  * savingsPlanTypes: [ // SavingsPlanTypeList
47
- * "Compute" || "EC2Instance" || "SageMaker",
47
+ * "Compute" || "EC2Instance" || "SageMaker" || "Database",
48
48
  * ],
49
49
  * products: [ // SavingsPlanProductTypeList
50
- * "EC2" || "Fargate" || "Lambda" || "SageMaker",
50
+ * "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
51
51
  * ],
52
52
  * serviceCodes: [ // SavingsPlanRateServiceCodeList
53
- * "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker",
53
+ * "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
54
54
  * ],
55
55
  * usageTypes: [ // SavingsPlanRateUsageTypeList
56
56
  * "STRING_VALUE",
@@ -77,15 +77,15 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
77
77
  * // savingsPlanOffering: { // ParentSavingsPlanOffering
78
78
  * // offeringId: "STRING_VALUE",
79
79
  * // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
80
- * // planType: "Compute" || "EC2Instance" || "SageMaker",
80
+ * // planType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
81
81
  * // durationSeconds: Number("long"),
82
- * // currency: "CNY" || "USD",
82
+ * // currency: "CNY" || "USD" || "EUR",
83
83
  * // planDescription: "STRING_VALUE",
84
84
  * // },
85
85
  * // rate: "STRING_VALUE",
86
- * // unit: "Hrs" || "Lambda-GB-Second" || "Request",
87
- * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker",
88
- * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker",
86
+ * // unit: "Hrs" || "Lambda-GB-Second" || "Request" || "ACU-Hr" || "ReadRequestUnits" || "WriteRequestUnits" || "ReadCapacityUnit-Hrs" || "WriteCapacityUnit-Hrs" || "ReplicatedWriteRequestUnits" || "ReplicatedWriteCapacityUnit-Hrs" || "GB-Hours" || "DPU" || "ElastiCacheProcessingUnit" || "DCU-Hr" || "NCU-hr",
87
+ * // productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
88
+ * // serviceCode: "AmazonEC2" || "AmazonECS" || "AmazonEKS" || "AWSLambda" || "AmazonSageMaker" || "AmazonRDS" || "AuroraDSQL" || "AmazonDynamoDB" || "AmazonElastiCache" || "AmazonDocDB" || "AmazonNeptune" || "AmazonTimestream" || "AmazonMCS" || "AWSDatabaseMigrationSvc",
89
89
  * // usageType: "STRING_VALUE",
90
90
  * // operation: "STRING_VALUE",
91
91
  * // properties: [ // SavingsPlanOfferingRatePropertyList
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeSavingsPlansOfferingsRequest, DescribeSavingsPlansOfferingsResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeSavingsPlansOfferingsRequest, DescribeSavingsPlansOfferingsResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -43,15 +43,15 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
43
43
  * paymentOptions: [ // SavingsPlanPaymentOptionList
44
44
  * "All Upfront" || "Partial Upfront" || "No Upfront",
45
45
  * ],
46
- * productType: "EC2" || "Fargate" || "Lambda" || "SageMaker",
46
+ * productType: "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
47
47
  * planTypes: [ // SavingsPlanTypeList
48
- * "Compute" || "EC2Instance" || "SageMaker",
48
+ * "Compute" || "EC2Instance" || "SageMaker" || "Database",
49
49
  * ],
50
50
  * durations: [ // DurationsList
51
51
  * Number("long"),
52
52
  * ],
53
53
  * currencies: [ // CurrencyList
54
- * "CNY" || "USD",
54
+ * "CNY" || "USD" || "EUR",
55
55
  * ],
56
56
  * descriptions: [ // SavingsPlanDescriptionsList
57
57
  * "STRING_VALUE",
@@ -83,13 +83,13 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
83
83
  * // { // SavingsPlanOffering
84
84
  * // offeringId: "STRING_VALUE",
85
85
  * // productTypes: [ // SavingsPlanProductTypeList
86
- * // "EC2" || "Fargate" || "Lambda" || "SageMaker",
86
+ * // "EC2" || "Fargate" || "Lambda" || "SageMaker" || "RDS" || "DSQL" || "DynamoDB" || "ElastiCache" || "DocDB" || "Neptune" || "Timestream" || "Keyspaces" || "DMS",
87
87
  * // ],
88
- * // planType: "Compute" || "EC2Instance" || "SageMaker",
88
+ * // planType: "Compute" || "EC2Instance" || "SageMaker" || "Database",
89
89
  * // description: "STRING_VALUE",
90
90
  * // paymentOption: "All Upfront" || "Partial Upfront" || "No Upfront",
91
91
  * // durationSeconds: Number("long"),
92
- * // currency: "CNY" || "USD",
92
+ * // currency: "CNY" || "USD" || "EUR",
93
93
  * // serviceCode: "STRING_VALUE",
94
94
  * // usageType: "STRING_VALUE",
95
95
  * // operation: "STRING_VALUE",
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ReturnSavingsPlanRequest, ReturnSavingsPlanResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ReturnSavingsPlanRequest, ReturnSavingsPlanResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
- import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import type { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -22,6 +22,7 @@ export type SavingsPlanRateFilterName = (typeof SavingsPlanRateFilterName)[keyof
22
22
  */
23
23
  export declare const CurrencyCode: {
24
24
  readonly CNY: "CNY";
25
+ readonly EUR: "EUR";
25
26
  readonly USD: "USD";
26
27
  };
27
28
  /**
@@ -33,10 +34,19 @@ export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
33
34
  * @enum
34
35
  */
35
36
  export declare const SavingsPlanProductType: {
37
+ readonly DMS: "DMS";
38
+ readonly DOCDB: "DocDB";
39
+ readonly DSQL: "DSQL";
40
+ readonly DYNAMODB: "DynamoDB";
36
41
  readonly EC2: "EC2";
42
+ readonly ELASTICACHE: "ElastiCache";
37
43
  readonly FARGATE: "Fargate";
44
+ readonly KEYSPACES: "Keyspaces";
38
45
  readonly LAMBDA: "Lambda";
46
+ readonly NEPTUNE: "Neptune";
47
+ readonly RDS: "RDS";
39
48
  readonly SAGEMAKER: "SageMaker";
49
+ readonly TIMESTREAM: "Timestream";
40
50
  };
41
51
  /**
42
52
  * @public
@@ -62,11 +72,20 @@ export type SavingsPlanRatePropertyKey = (typeof SavingsPlanRatePropertyKey)[key
62
72
  * @enum
63
73
  */
64
74
  export declare const SavingsPlanRateServiceCode: {
75
+ readonly AURORA: "AuroraDSQL";
76
+ readonly DMS: "AWSDatabaseMigrationSvc";
77
+ readonly DOCDB: "AmazonDocDB";
78
+ readonly DYNAMODB: "AmazonDynamoDB";
65
79
  readonly EC2: "AmazonEC2";
80
+ readonly ELASTICACHE: "AmazonElastiCache";
66
81
  readonly FARGATE: "AmazonECS";
67
82
  readonly FARGATE_EKS: "AmazonEKS";
68
83
  readonly LAMBDA: "AWSLambda";
84
+ readonly MCS: "AmazonMCS";
85
+ readonly NEPTUNE: "AmazonNeptune";
86
+ readonly RDS: "AmazonRDS";
69
87
  readonly SAGEMAKER: "AmazonSageMaker";
88
+ readonly TIMESTREAM: "AmazonTimestream";
70
89
  };
71
90
  /**
72
91
  * @public
@@ -77,9 +96,21 @@ export type SavingsPlanRateServiceCode = (typeof SavingsPlanRateServiceCode)[key
77
96
  * @enum
78
97
  */
79
98
  export declare const SavingsPlanRateUnit: {
99
+ readonly ACU_HR: "ACU-Hr";
100
+ readonly DCU_HR: "DCU-Hr";
101
+ readonly DPU: "DPU";
102
+ readonly ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit";
103
+ readonly GB_HOURS: "GB-Hours";
80
104
  readonly HOURS: "Hrs";
81
105
  readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
106
+ readonly NCU_HR: "NCU-hr";
107
+ readonly READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs";
108
+ readonly READ_REQUEST_UNITS: "ReadRequestUnits";
109
+ readonly REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs";
110
+ readonly REPLICATED_WRITE_REQUEST_UNITS: "ReplicatedWriteRequestUnits";
82
111
  readonly REQUEST: "Request";
112
+ readonly WRITE_CAPACITY_UNIT_HRS: "WriteCapacityUnit-Hrs";
113
+ readonly WRITE_REQUEST_UNITS: "WriteRequestUnits";
83
114
  };
84
115
  /**
85
116
  * @public
@@ -93,6 +124,7 @@ export declare const SavingsPlansFilterName: {
93
124
  readonly COMMITMENT: "commitment";
94
125
  readonly EC2_INSTANCE_FAMILY: "ec2-instance-family";
95
126
  readonly END: "end";
127
+ readonly INSTANCE_FAMILY: "instance-family";
96
128
  readonly PAYMENT_OPTION: "payment-option";
97
129
  readonly REGION: "region";
98
130
  readonly SAVINGS_PLAN_TYPE: "savings-plan-type";
@@ -141,6 +173,7 @@ export type SavingsPlanPaymentOption = (typeof SavingsPlanPaymentOption)[keyof t
141
173
  */
142
174
  export declare const SavingsPlanType: {
143
175
  readonly COMPUTE: "Compute";
176
+ readonly DATABASE: "Database";
144
177
  readonly EC2_INSTANCE: "EC2Instance";
145
178
  readonly SAGEMAKER: "SageMaker";
146
179
  };
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
3
3
  /**
4
4
  * <p>An unexpected error occurred.</p>
@@ -340,7 +340,7 @@ export interface SavingsPlan {
340
340
  tags?: Record<string, string> | undefined;
341
341
  /**
342
342
  * <p>The time until when a return for the Savings Plan can be requested. If the
343
- * Savings Plan is not returnable, the field reflects the Savings Plan start time.</p>
343
+ * Savings Plan is not returnable, the field reflects the Savings Plans start time.</p>
344
344
  * @public
345
345
  */
346
346
  returnableUntil?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { SavingsplansClientConfig } from "./SavingsplansClient";
2
+ import type { SavingsplansClientConfig } from "./SavingsplansClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { SavingsplansClientConfig } from "./SavingsplansClient";
2
+ import type { SavingsplansClientConfig } from "./SavingsplansClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { SavingsplansClientConfig } from "./SavingsplansClient";
1
+ import type { SavingsplansClientConfig } from "./SavingsplansClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { SavingsplansClientConfig } from "./SavingsplansClient";
1
+ import type { SavingsplansClientConfig } from "./SavingsplansClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { SavingsplansExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { SavingsplansExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var CreateSavingsPlanRequest: StaticStructureSchema;
3
3
  export declare var CreateSavingsPlanResponse: StaticStructureSchema;
4
4
  export declare var DeleteQueuedSavingsPlanRequest: StaticStructureSchema;
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,9 +38,10 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  StreamCollector as __StreamCollector,
44
42
  UrlParser as __UrlParser,
43
+ AwsCredentialIdentityProvider,
44
+ Provider,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
47
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { SavingsplansHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -12,14 +12,24 @@ export type SavingsPlanRateFilterName =
12
12
  (typeof SavingsPlanRateFilterName)[keyof typeof SavingsPlanRateFilterName];
13
13
  export declare const CurrencyCode: {
14
14
  readonly CNY: "CNY";
15
+ readonly EUR: "EUR";
15
16
  readonly USD: "USD";
16
17
  };
17
18
  export type CurrencyCode = (typeof CurrencyCode)[keyof typeof CurrencyCode];
18
19
  export declare const SavingsPlanProductType: {
20
+ readonly DMS: "DMS";
21
+ readonly DOCDB: "DocDB";
22
+ readonly DSQL: "DSQL";
23
+ readonly DYNAMODB: "DynamoDB";
19
24
  readonly EC2: "EC2";
25
+ readonly ELASTICACHE: "ElastiCache";
20
26
  readonly FARGATE: "Fargate";
27
+ readonly KEYSPACES: "Keyspaces";
21
28
  readonly LAMBDA: "Lambda";
29
+ readonly NEPTUNE: "Neptune";
30
+ readonly RDS: "RDS";
22
31
  readonly SAGEMAKER: "SageMaker";
32
+ readonly TIMESTREAM: "Timestream";
23
33
  };
24
34
  export type SavingsPlanProductType =
25
35
  (typeof SavingsPlanProductType)[keyof typeof SavingsPlanProductType];
@@ -33,18 +43,39 @@ export declare const SavingsPlanRatePropertyKey: {
33
43
  export type SavingsPlanRatePropertyKey =
34
44
  (typeof SavingsPlanRatePropertyKey)[keyof typeof SavingsPlanRatePropertyKey];
35
45
  export declare const SavingsPlanRateServiceCode: {
46
+ readonly AURORA: "AuroraDSQL";
47
+ readonly DMS: "AWSDatabaseMigrationSvc";
48
+ readonly DOCDB: "AmazonDocDB";
49
+ readonly DYNAMODB: "AmazonDynamoDB";
36
50
  readonly EC2: "AmazonEC2";
51
+ readonly ELASTICACHE: "AmazonElastiCache";
37
52
  readonly FARGATE: "AmazonECS";
38
53
  readonly FARGATE_EKS: "AmazonEKS";
39
54
  readonly LAMBDA: "AWSLambda";
55
+ readonly MCS: "AmazonMCS";
56
+ readonly NEPTUNE: "AmazonNeptune";
57
+ readonly RDS: "AmazonRDS";
40
58
  readonly SAGEMAKER: "AmazonSageMaker";
59
+ readonly TIMESTREAM: "AmazonTimestream";
41
60
  };
42
61
  export type SavingsPlanRateServiceCode =
43
62
  (typeof SavingsPlanRateServiceCode)[keyof typeof SavingsPlanRateServiceCode];
44
63
  export declare const SavingsPlanRateUnit: {
64
+ readonly ACU_HR: "ACU-Hr";
65
+ readonly DCU_HR: "DCU-Hr";
66
+ readonly DPU: "DPU";
67
+ readonly ELASTI_CACHE_PROCESSING_UNIT: "ElastiCacheProcessingUnit";
68
+ readonly GB_HOURS: "GB-Hours";
45
69
  readonly HOURS: "Hrs";
46
70
  readonly LAMBDA_GB_SECOND: "Lambda-GB-Second";
71
+ readonly NCU_HR: "NCU-hr";
72
+ readonly READ_CAPACITY_UNIT_HRS: "ReadCapacityUnit-Hrs";
73
+ readonly READ_REQUEST_UNITS: "ReadRequestUnits";
74
+ readonly REPLICATED_WRITE_CAPACITY_UNIT_HRS: "ReplicatedWriteCapacityUnit-Hrs";
75
+ readonly REPLICATED_WRITE_REQUEST_UNITS: "ReplicatedWriteRequestUnits";
47
76
  readonly REQUEST: "Request";
77
+ readonly WRITE_CAPACITY_UNIT_HRS: "WriteCapacityUnit-Hrs";
78
+ readonly WRITE_REQUEST_UNITS: "WriteRequestUnits";
48
79
  };
49
80
  export type SavingsPlanRateUnit =
50
81
  (typeof SavingsPlanRateUnit)[keyof typeof SavingsPlanRateUnit];
@@ -52,6 +83,7 @@ export declare const SavingsPlansFilterName: {
52
83
  readonly COMMITMENT: "commitment";
53
84
  readonly EC2_INSTANCE_FAMILY: "ec2-instance-family";
54
85
  readonly END: "end";
86
+ readonly INSTANCE_FAMILY: "instance-family";
55
87
  readonly PAYMENT_OPTION: "payment-option";
56
88
  readonly REGION: "region";
57
89
  readonly SAVINGS_PLAN_TYPE: "savings-plan-type";
@@ -82,6 +114,7 @@ export type SavingsPlanPaymentOption =
82
114
  (typeof SavingsPlanPaymentOption)[keyof typeof SavingsPlanPaymentOption];
83
115
  export declare const SavingsPlanType: {
84
116
  readonly COMPUTE: "Compute";
117
+ readonly DATABASE: "Database";
85
118
  readonly EC2_INSTANCE: "EC2Instance";
86
119
  readonly SAGEMAKER: "SageMaker";
87
120
  };