GetSavingsPlansPurchaseRecommendationRequest
public struct GetSavingsPlansPurchaseRecommendationRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the payer account and linked accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual linked accounts only.
Declaration
Swift
public let accountScope: AccountScope?
-
You can filter your recommendations by Account ID with the LINKED_ACCOUNT dimension. To filter your recommendations by Account ID, specify Key as LINKED_ACCOUNT and Value as the comma-separated Acount ID(s) for which you want to see Savings Plans purchase recommendations. For GetSavingsPlansPurchaseRecommendation, the Filter does not include CostCategories or Tags. It only includes Dimensions. With Dimensions, Key must be LINKED_ACCOUNT and Value can be a single Account ID or multiple comma-separated Account IDs for which you want to see Savings Plans Purchase Recommendations. AND and OR operators are not supported.
Declaration
Swift
public let filter: Expression?
-
The lookback period used to generate the recommendation.
Declaration
Swift
public let lookbackPeriodInDays: LookbackPeriodInDays
-
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
Declaration
Swift
public let nextPageToken: String?
-
The number of recommendations that you want returned in a single response object.
Declaration
Swift
public let pageSize: Int?
-
The payment option used to generate these recommendations.
Declaration
Swift
public let paymentOption: PaymentOption
-
The Savings Plans recommendation type requested.
Declaration
Swift
public let savingsPlansType: SupportedSavingsPlansType
-
The savings plan recommendation term used to generate these recommendations.
Declaration
Swift
public let termInYears: TermInYears
-
init(accountScope:filter:lookbackPeriodInDays:nextPageToken:pageSize:paymentOption:savingsPlansType:termInYears:)
Undocumented
Declaration
Swift
public init(accountScope: AccountScope? = nil, filter: Expression? = nil, lookbackPeriodInDays: LookbackPeriodInDays, nextPageToken: String? = nil, pageSize: Int? = nil, paymentOption: PaymentOption, savingsPlansType: SupportedSavingsPlansType, termInYears: TermInYears)
-
Declaration
Swift
public func validate(name: String) throws