savingsplans.d.ts 22.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
declare class SavingsPlans extends Service {
  /**
   * Constructs a service object. This object has one method for each API operation.
   */
  constructor(options?: SavingsPlans.Types.ClientConfiguration)
  config: Config & SavingsPlans.Types.ClientConfiguration;
  /**
   * Creates a Savings Plan.
   */
  createSavingsPlan(params: SavingsPlans.Types.CreateSavingsPlanRequest, callback?: (err: AWSError, data: SavingsPlans.Types.CreateSavingsPlanResponse) => void): Request<SavingsPlans.Types.CreateSavingsPlanResponse, AWSError>;
  /**
   * Creates a Savings Plan.
   */
  createSavingsPlan(callback?: (err: AWSError, data: SavingsPlans.Types.CreateSavingsPlanResponse) => void): Request<SavingsPlans.Types.CreateSavingsPlanResponse, AWSError>;
  /**
   * Describes the specified Savings Plans rates.
   */
  describeSavingsPlanRates(params: SavingsPlans.Types.DescribeSavingsPlanRatesRequest, callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlanRatesResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlanRatesResponse, AWSError>;
  /**
   * Describes the specified Savings Plans rates.
   */
  describeSavingsPlanRates(callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlanRatesResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlanRatesResponse, AWSError>;
  /**
   * Describes the specified Savings Plans.
   */
  describeSavingsPlans(params: SavingsPlans.Types.DescribeSavingsPlansRequest, callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlansResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlansResponse, AWSError>;
  /**
   * Describes the specified Savings Plans.
   */
  describeSavingsPlans(callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlansResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlansResponse, AWSError>;
  /**
   * Describes the specified Savings Plans offering rates.
   */
  describeSavingsPlansOfferingRates(params: SavingsPlans.Types.DescribeSavingsPlansOfferingRatesRequest, callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlansOfferingRatesResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlansOfferingRatesResponse, AWSError>;
  /**
   * Describes the specified Savings Plans offering rates.
   */
  describeSavingsPlansOfferingRates(callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlansOfferingRatesResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlansOfferingRatesResponse, AWSError>;
  /**
   * Describes the specified Savings Plans offerings.
   */
  describeSavingsPlansOfferings(params: SavingsPlans.Types.DescribeSavingsPlansOfferingsRequest, callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlansOfferingsResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlansOfferingsResponse, AWSError>;
  /**
   * Describes the specified Savings Plans offerings.
   */
  describeSavingsPlansOfferings(callback?: (err: AWSError, data: SavingsPlans.Types.DescribeSavingsPlansOfferingsResponse) => void): Request<SavingsPlans.Types.DescribeSavingsPlansOfferingsResponse, AWSError>;
  /**
   * Lists the tags for the specified resource.
   */
  listTagsForResource(params: SavingsPlans.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: SavingsPlans.Types.ListTagsForResourceResponse) => void): Request<SavingsPlans.Types.ListTagsForResourceResponse, AWSError>;
  /**
   * Lists the tags for the specified resource.
   */
  listTagsForResource(callback?: (err: AWSError, data: SavingsPlans.Types.ListTagsForResourceResponse) => void): Request<SavingsPlans.Types.ListTagsForResourceResponse, AWSError>;
  /**
   * Adds the specified tags to the specified resource.
   */
  tagResource(params: SavingsPlans.Types.TagResourceRequest, callback?: (err: AWSError, data: SavingsPlans.Types.TagResourceResponse) => void): Request<SavingsPlans.Types.TagResourceResponse, AWSError>;
  /**
   * Adds the specified tags to the specified resource.
   */
  tagResource(callback?: (err: AWSError, data: SavingsPlans.Types.TagResourceResponse) => void): Request<SavingsPlans.Types.TagResourceResponse, AWSError>;
  /**
   * Removes the specified tags from the specified resource.
   */
  untagResource(params: SavingsPlans.Types.UntagResourceRequest, callback?: (err: AWSError, data: SavingsPlans.Types.UntagResourceResponse) => void): Request<SavingsPlans.Types.UntagResourceResponse, AWSError>;
  /**
   * Removes the specified tags from the specified resource.
   */
  untagResource(callback?: (err: AWSError, data: SavingsPlans.Types.UntagResourceResponse) => void): Request<SavingsPlans.Types.UntagResourceResponse, AWSError>;
}
declare namespace SavingsPlans {
  export type Amount = string;
  export type ClientToken = string;
  export interface CreateSavingsPlanRequest {
    /**
     * The ID of the offering.
     */
    savingsPlanOfferingId: SavingsPlanOfferingId;
    /**
     * The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more than three digits after the decimal point.
     */
    commitment: Amount;
    /**
     * The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is supported only if the payment option is Partial Upfront.
     */
    upfrontPaymentAmount?: Amount;
    /**
     * Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
     */
    clientToken?: ClientToken;
    /**
     * One or more tags.
     */
    tags?: TagMap;
  }
  export interface CreateSavingsPlanResponse {
    /**
     * The ID of the Savings Plan.
     */
    savingsPlanId?: SavingsPlanId;
  }
  export type CurrencyCode = "CNY"|"USD"|string;
  export type CurrencyList = CurrencyCode[];
  export interface DescribeSavingsPlanRatesRequest {
    /**
     * The ID of the Savings Plan.
     */
    savingsPlanId: SavingsPlanId;
    /**
     * The filters.
     */
    filters?: SavingsPlanRateFilterList;
    /**
     * The token for the next page of results.
     */
    nextToken?: PaginationToken;
    /**
     * The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
     */
    maxResults?: MaxResults;
  }
  export interface DescribeSavingsPlanRatesResponse {
    /**
     * The ID of the Savings Plan.
     */
    savingsPlanId?: SavingsPlanId;
    /**
     * Information about the Savings Plans rates.
     */
    searchResults?: SavingsPlanRateList;
    /**
     * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
     */
    nextToken?: PaginationToken;
  }
  export interface DescribeSavingsPlansOfferingRatesRequest {
    /**
     * The IDs of the offerings.
     */
    savingsPlanOfferingIds?: UUIDs;
    /**
     * The payment options.
     */
    savingsPlanPaymentOptions?: SavingsPlanPaymentOptionList;
    /**
     * The plan types.
     */
    savingsPlanTypes?: SavingsPlanTypeList;
    /**
     * The AWS products.
     */
    products?: SavingsPlanProductTypeList;
    /**
     * The services.
     */
    serviceCodes?: SavingsPlanRateServiceCodeList;
    /**
     * The usage details of the line item in the billing report.
     */
    usageTypes?: SavingsPlanRateUsageTypeList;
    /**
     * The specific AWS operation for the line item in the billing report.
     */
    operations?: SavingsPlanRateOperationList;
    /**
     * The filters.
     */
    filters?: SavingsPlanOfferingRateFiltersList;
    /**
     * The token for the next page of results.
     */
    nextToken?: PaginationToken;
    /**
     * The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
     */
    maxResults?: PageSize;
  }
  export interface DescribeSavingsPlansOfferingRatesResponse {
    /**
     * Information about the Savings Plans offering rates.
     */
    searchResults?: SavingsPlanOfferingRatesList;
    /**
     * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
     */
    nextToken?: PaginationToken;
  }
  export interface DescribeSavingsPlansOfferingsRequest {
    /**
     * The IDs of the offerings.
     */
    offeringIds?: UUIDs;
    /**
     * The payment options.
     */
    paymentOptions?: SavingsPlanPaymentOptionList;
    /**
     * The product type.
     */
    productType?: SavingsPlanProductType;
    /**
     * The plan type.
     */
    planTypes?: SavingsPlanTypeList;
    /**
     * The durations, in seconds.
     */
    durations?: DurationsList;
    /**
     * The currencies.
     */
    currencies?: CurrencyList;
    /**
     * The descriptions.
     */
    descriptions?: SavingsPlanDescriptionsList;
    /**
     * The services.
     */
    serviceCodes?: SavingsPlanServiceCodeList;
    /**
     * The usage details of the line item in the billing report.
     */
    usageTypes?: SavingsPlanUsageTypeList;
    /**
     * The specific AWS operation for the line item in the billing report.
     */
    operations?: SavingsPlanOperationList;
    /**
     * The filters.
     */
    filters?: SavingsPlanOfferingFiltersList;
    /**
     * The token for the next page of results.
     */
    nextToken?: PaginationToken;
    /**
     * The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
     */
    maxResults?: PageSize;
  }
  export interface DescribeSavingsPlansOfferingsResponse {
    /**
     * Information about the Savings Plans offerings.
     */
    searchResults?: SavingsPlanOfferingsList;
    /**
     * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
     */
    nextToken?: PaginationToken;
  }
  export interface DescribeSavingsPlansRequest {
    /**
     * The Amazon Resource Names (ARN) of the Savings Plans.
     */
    savingsPlanArns?: SavingsPlanArnList;
    /**
     * The IDs of the Savings Plans.
     */
    savingsPlanIds?: SavingsPlanIdList;
    /**
     * The token for the next page of results.
     */
    nextToken?: PaginationToken;
    /**
     * The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
     */
    maxResults?: MaxResults;
    /**
     * The states.
     */
    states?: SavingsPlanStateList;
    /**
     * The filters.
     */
    filters?: SavingsPlanFilterList;
  }
  export interface DescribeSavingsPlansResponse {
    /**
     * Information about the Savings Plans.
     */
    savingsPlans?: SavingsPlanList;
    /**
     * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
     */
    nextToken?: PaginationToken;
  }
  export type DurationsList = SavingsPlansDuration[];
  export type EC2InstanceFamily = string;
  export type FilterValuesList = JsonSafeFilterValueString[];
  export type JsonSafeFilterValueString = string;
  export type ListOfStrings = String[];
  export interface ListTagsForResourceRequest {
    /**
     * The Amazon Resource Name (ARN) of the resource.
     */
    resourceArn: SavingsPlanArn;
  }
  export interface ListTagsForResourceResponse {
    /**
     * Information about the tags.
     */
    tags?: TagMap;
  }
  export type MaxResults = number;
  export type PageSize = number;
  export type PaginationToken = string;
  export interface ParentSavingsPlanOffering {
    /**
     * The ID of the offering.
     */
    offeringId?: UUID;
    /**
     * The payment option.
     */
    paymentOption?: SavingsPlanPaymentOption;
    /**
     * The plan type.
     */
    planType?: SavingsPlanType;
    /**
     * The duration, in seconds.
     */
    durationSeconds?: SavingsPlansDuration;
    /**
     * The currency.
     */
    currency?: CurrencyCode;
    /**
     * The description.
     */
    planDescription?: SavingsPlanDescription;
  }
  export type Region = string;
  export interface SavingsPlan {
    /**
     * The ID of the offering.
     */
    offeringId?: SavingsPlanOfferingId;
    /**
     * The ID of the Savings Plan.
     */
    savingsPlanId?: SavingsPlanId;
    /**
     * The Amazon Resource Name (ARN) of the Savings Plan.
     */
    savingsPlanArn?: SavingsPlanArn;
    /**
     * The description.
     */
    description?: String;
    /**
     * The start time.
     */
    start?: String;
    /**
     * The end time.
     */
    end?: String;
    /**
     * The state.
     */
    state?: SavingsPlanState;
    /**
     * The AWS Region.
     */
    region?: Region;
    /**
     * The EC2 instance family.
     */
    ec2InstanceFamily?: EC2InstanceFamily;
    /**
     * The plan type.
     */
    savingsPlanType?: SavingsPlanType;
    /**
     * The payment option.
     */
    paymentOption?: SavingsPlanPaymentOption;
    /**
     * The product types.
     */
    productTypes?: SavingsPlanProductTypeList;
    /**
     * The currency.
     */
    currency?: CurrencyCode;
    /**
     * The hourly commitment, in USD.
     */
    commitment?: Amount;
    /**
     * The up-front payment amount.
     */
    upfrontPaymentAmount?: Amount;
    /**
     * The recurring payment amount.
     */
    recurringPaymentAmount?: Amount;
    /**
     * The duration of the term, in seconds.
     */
    termDurationInSeconds?: TermDurationInSeconds;
    /**
     * One or more tags.
     */
    tags?: TagMap;
  }
  export type SavingsPlanArn = string;
  export type SavingsPlanArnList = SavingsPlanArn[];
  export type SavingsPlanDescription = string;
  export type SavingsPlanDescriptionsList = SavingsPlanDescription[];
  export interface SavingsPlanFilter {
    /**
     * The filter name.
     */
    name?: SavingsPlansFilterName;
    /**
     * The filter value.
     */
    values?: ListOfStrings;
  }
  export type SavingsPlanFilterList = SavingsPlanFilter[];
  export type SavingsPlanId = string;
  export type SavingsPlanIdList = SavingsPlanId[];
  export type SavingsPlanList = SavingsPlan[];
  export interface SavingsPlanOffering {
    /**
     * The ID of the offering.
     */
    offeringId?: UUID;
    /**
     * The product type.
     */
    productTypes?: SavingsPlanProductTypeList;
    /**
     * The plan type.
     */
    planType?: SavingsPlanType;
    /**
     * The description.
     */
    description?: SavingsPlanDescription;
    /**
     * The payment option.
     */
    paymentOption?: SavingsPlanPaymentOption;
    /**
     * The duration, in seconds.
     */
    durationSeconds?: SavingsPlansDuration;
    /**
     * The currency.
     */
    currency?: CurrencyCode;
    /**
     * The service.
     */
    serviceCode?: SavingsPlanServiceCode;
    /**
     * The usage details of the line item in the billing report.
     */
    usageType?: SavingsPlanUsageType;
    /**
     * The specific AWS operation for the line item in the billing report.
     */
    operation?: SavingsPlanOperation;
    /**
     * The properties.
     */
    properties?: SavingsPlanOfferingPropertyList;
  }
  export type SavingsPlanOfferingFilterAttribute = "region"|"instanceFamily"|string;
  export interface SavingsPlanOfferingFilterElement {
    /**
     * The filter name.
     */
    name?: SavingsPlanOfferingFilterAttribute;
    /**
     * The filter values.
     */
    values?: FilterValuesList;
  }
  export type SavingsPlanOfferingFiltersList = SavingsPlanOfferingFilterElement[];
  export type SavingsPlanOfferingId = string;
  export interface SavingsPlanOfferingProperty {
    /**
     * The property name.
     */
    name?: SavingsPlanOfferingPropertyKey;
    /**
     * The property value.
     */
    value?: JsonSafeFilterValueString;
  }
  export type SavingsPlanOfferingPropertyKey = "region"|"instanceFamily"|string;
  export type SavingsPlanOfferingPropertyList = SavingsPlanOfferingProperty[];
  export interface SavingsPlanOfferingRate {
    /**
     * The Savings Plan offering.
     */
    savingsPlanOffering?: ParentSavingsPlanOffering;
    /**
     * The Savings Plan rate.
     */
    rate?: SavingsPlanRatePricePerUnit;
    /**
     * The unit.
     */
    unit?: SavingsPlanRateUnit;
    /**
     * The product type.
     */
    productType?: SavingsPlanProductType;
    /**
     * The service.
     */
    serviceCode?: SavingsPlanRateServiceCode;
    /**
     * The usage details of the line item in the billing report.
     */
    usageType?: SavingsPlanRateUsageType;
    /**
     * The specific AWS operation for the line item in the billing report.
     */
    operation?: SavingsPlanRateOperation;
    /**
     * The properties.
     */
    properties?: SavingsPlanOfferingRatePropertyList;
  }
  export interface SavingsPlanOfferingRateFilterElement {
    /**
     * The filter name.
     */
    name?: SavingsPlanRateFilterAttribute;
    /**
     * The filter values.
     */
    values?: FilterValuesList;
  }
  export type SavingsPlanOfferingRateFiltersList = SavingsPlanOfferingRateFilterElement[];
  export interface SavingsPlanOfferingRateProperty {
    /**
     * The property name.
     */
    name?: JsonSafeFilterValueString;
    /**
     * The property value.
     */
    value?: JsonSafeFilterValueString;
  }
  export type SavingsPlanOfferingRatePropertyList = SavingsPlanOfferingRateProperty[];
  export type SavingsPlanOfferingRatesList = SavingsPlanOfferingRate[];
  export type SavingsPlanOfferingsList = SavingsPlanOffering[];
  export type SavingsPlanOperation = string;
  export type SavingsPlanOperationList = SavingsPlanOperation[];
  export type SavingsPlanPaymentOption = "All Upfront"|"Partial Upfront"|"No Upfront"|string;
  export type SavingsPlanPaymentOptionList = SavingsPlanPaymentOption[];
  export type SavingsPlanProductType = "EC2"|"Fargate"|string;
  export type SavingsPlanProductTypeList = SavingsPlanProductType[];
  export interface SavingsPlanRate {
    /**
     * The rate.
     */
    rate?: Amount;
    /**
     * The currency.
     */
    currency?: CurrencyCode;
    /**
     * The unit.
     */
    unit?: SavingsPlanRateUnit;
    /**
     * The product type.
     */
    productType?: SavingsPlanProductType;
    /**
     * The service.
     */
    serviceCode?: SavingsPlanRateServiceCode;
    /**
     * The usage details of the line item in the billing report.
     */
    usageType?: SavingsPlanRateUsageType;
    /**
     * The specific AWS operation for the line item in the billing report.
     */
    operation?: SavingsPlanRateOperation;
    /**
     * The properties.
     */
    properties?: SavingsPlanRatePropertyList;
  }
  export interface SavingsPlanRateFilter {
    /**
     * The filter name.
     */
    name?: SavingsPlanRateFilterName;
    /**
     * The filter values.
     */
    values?: ListOfStrings;
  }
  export type SavingsPlanRateFilterAttribute = "region"|"instanceFamily"|"instanceType"|"productDescription"|"tenancy"|"productId"|string;
  export type SavingsPlanRateFilterList = SavingsPlanRateFilter[];
  export type SavingsPlanRateFilterName = "region"|"instanceType"|"productDescription"|"tenancy"|"productType"|"serviceCode"|"usageType"|"operation"|string;
  export type SavingsPlanRateList = SavingsPlanRate[];
  export type SavingsPlanRateOperation = string;
  export type SavingsPlanRateOperationList = SavingsPlanRateOperation[];
  export type SavingsPlanRatePricePerUnit = string;
  export interface SavingsPlanRateProperty {
    /**
     * The property name.
     */
    name?: SavingsPlanRatePropertyKey;
    /**
     * The property value.
     */
    value?: JsonSafeFilterValueString;
  }
  export type SavingsPlanRatePropertyKey = "region"|"instanceType"|"instanceFamily"|"productDescription"|"tenancy"|string;
  export type SavingsPlanRatePropertyList = SavingsPlanRateProperty[];
  export type SavingsPlanRateServiceCode = "AmazonEC2"|"AmazonECS"|string;
  export type SavingsPlanRateServiceCodeList = SavingsPlanRateServiceCode[];
  export type SavingsPlanRateUnit = "Hrs"|string;
  export type SavingsPlanRateUsageType = string;
  export type SavingsPlanRateUsageTypeList = SavingsPlanRateUsageType[];
  export type SavingsPlanServiceCode = string;
  export type SavingsPlanServiceCodeList = SavingsPlanServiceCode[];
  export type SavingsPlanState = "payment-pending"|"payment-failed"|"active"|"retired"|string;
  export type SavingsPlanStateList = SavingsPlanState[];
  export type SavingsPlanType = "Compute"|"EC2Instance"|string;
  export type SavingsPlanTypeList = SavingsPlanType[];
  export type SavingsPlanUsageType = string;
  export type SavingsPlanUsageTypeList = SavingsPlanUsageType[];
  export type SavingsPlansDuration = number;
  export type SavingsPlansFilterName = "region"|"ec2-instance-family"|"commitment"|"upfront"|"term"|"savings-plan-type"|"payment-option"|"start"|"end"|string;
  export type String = string;
  export type TagKey = string;
  export type TagKeyList = TagKey[];
  export type TagMap = {[key: string]: TagValue};
  export interface TagResourceRequest {
    /**
     * The Amazon Resource Name (ARN) of the resource.
     */
    resourceArn: SavingsPlanArn;
    /**
     * One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
     */
    tags: TagMap;
  }
  export interface TagResourceResponse {
  }
  export type TagValue = string;
  export type TermDurationInSeconds = number;
  export type UUID = string;
  export type UUIDs = UUID[];
  export interface UntagResourceRequest {
    /**
     * The Amazon Resource Name (ARN) of the resource.
     */
    resourceArn: SavingsPlanArn;
    /**
     * The tag keys.
     */
    tagKeys: TagKeyList;
  }
  export interface UntagResourceResponse {
  }
  /**
   * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
   */
  export type apiVersion = "2019-06-28"|"latest"|string;
  export interface ClientApiVersions {
    /**
     * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
     */
    apiVersion?: apiVersion;
  }
  export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  /**
   * Contains interfaces for use with the SavingsPlans client.
   */
  export import Types = SavingsPlans;
}
export = SavingsPlans;