GetReservationPurchaseRecommendationRequest

public struct GetReservationPurchaseRecommendationRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The account ID that is associated with the recommendation.

    Declaration

    Swift

    public let accountId: String?
  • 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?
  • The number of previous days that you want AWS to consider when it calculates your recommendations.

    Declaration

    Swift

    public let lookbackPeriodInDays: LookbackPeriodInDays?
  • The pagination token that indicates the next set of results that you want to retrieve.

    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 reservation purchase option that you want recommendations for.

    Declaration

    Swift

    public let paymentOption: PaymentOption?
  • The specific service that you want recommendations for.

    Declaration

    Swift

    public let service: String
  • The hardware specifications for the service instances that you want recommendations for, such as standard or convertible Amazon EC2 instances.

    Declaration

    Swift

    public let serviceSpecification: ServiceSpecification?
  • The reservation term that you want recommendations for.

    Declaration

    Swift

    public let termInYears: TermInYears?
  • Undocumented

    Declaration

    Swift

    public init(accountId: String? = nil, accountScope: AccountScope? = nil, lookbackPeriodInDays: LookbackPeriodInDays? = nil, nextPageToken: String? = nil, pageSize: Int? = nil, paymentOption: PaymentOption? = nil, service: String, serviceSpecification: ServiceSpecification? = nil, termInYears: TermInYears? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws