import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Data source for getting AWS Savings Plans Offerings. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.savingsplans.getOfferings({ * filters: [{ * name: "region", * values: ["us-west-2"], * }], * productType: "EC2", * }); * ``` */ export declare function getOfferings(args?: GetOfferingsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOfferings. */ export interface GetOfferingsArgs { /** * List of currencies. */ currencies?: string[]; /** * List of descriptions. */ descriptions?: string[]; /** * List of durations, in seconds. */ durations?: number[]; /** * List of filters. See Filter. */ filters?: inputs.savingsplans.GetOfferingsFilter[]; /** * List of offering IDs. */ offeringIds?: string[]; /** * List of operations. */ operations?: string[]; /** * List of payment options. */ paymentOptions?: string[]; /** * List of plan types. */ planTypes?: string[]; /** * Product type. */ productType?: string; /** * List of service codes. */ serviceCodes?: string[]; /** * List of usage types. */ usageTypes?: string[]; } /** * A collection of values returned by getOfferings. */ export interface GetOfferingsResult { readonly currencies?: string[]; readonly descriptions?: string[]; readonly durations?: number[]; readonly filters?: outputs.savingsplans.GetOfferingsFilter[]; readonly offeringIds?: string[]; /** * List of Savings Plans Offerings. See `offerings` Attribute Reference. */ readonly offerings: outputs.savingsplans.GetOfferingsOffering[]; readonly operations?: string[]; readonly paymentOptions?: string[]; readonly planTypes?: string[]; readonly productType?: string; readonly serviceCodes?: string[]; readonly usageTypes?: string[]; } /** * Data source for getting AWS Savings Plans Offerings. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.savingsplans.getOfferings({ * filters: [{ * name: "region", * values: ["us-west-2"], * }], * productType: "EC2", * }); * ``` */ export declare function getOfferingsOutput(args?: GetOfferingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOfferings. */ export interface GetOfferingsOutputArgs { /** * List of currencies. */ currencies?: pulumi.Input[] | undefined>; /** * List of descriptions. */ descriptions?: pulumi.Input[] | undefined>; /** * List of durations, in seconds. */ durations?: pulumi.Input[] | undefined>; /** * List of filters. See Filter. */ filters?: pulumi.Input[] | undefined>; /** * List of offering IDs. */ offeringIds?: pulumi.Input[] | undefined>; /** * List of operations. */ operations?: pulumi.Input[] | undefined>; /** * List of payment options. */ paymentOptions?: pulumi.Input[] | undefined>; /** * List of plan types. */ planTypes?: pulumi.Input[] | undefined>; /** * Product type. */ productType?: pulumi.Input; /** * List of service codes. */ serviceCodes?: pulumi.Input[] | undefined>; /** * List of usage types. */ usageTypes?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getOfferings.d.ts.map