AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeReservedDBInstancesOfferingsInput

import "github.com/aws/aws-sdk-go/service/rds"

type DescribeReservedDBInstancesOfferingsInput struct { DBInstanceClass *string `type:"string"` Duration *string `type:"string"` Filters []*Filter `locationNameList:"Filter" type:"list"` Marker *string `type:"string"` MaxRecords *int64 `type:"integer"` MultiAZ *bool `type:"boolean"` OfferingType *string `type:"string"` ProductDescription *string `type:"string"` ReservedDBInstancesOfferingId *string `type:"string"` }

DBInstanceClass

Type: *string

The DB instance class filter value. Specify this parameter to show only the available offerings matching the specified DB instance class.

Duration

Type: *string

Duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.

Valid Values: 1 | 3 | 31536000 | 94608000

Filters

A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as IDs. The filters supported by a describe operation are documented with the describe operation.

Currently, wildcards are not supported in filters.

The following actions can be filtered:

  • DescribeDBClusterBacktracks

  • DescribeDBClusterEndpoints

  • DescribeDBClusters

  • DescribeDBInstances

  • DescribePendingMaintenanceActions

Marker

Type: *string

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords

Type: *int64

The maximum number of records to include in the response. If more than the MaxRecords value is available, a pagination token called a marker is included in the response so that the following results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

MultiAZ

Type: *bool

The Multi-AZ filter value. Specify this parameter to show only the available offerings matching the specified Multi-AZ parameter.

OfferingType

Type: *string

The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.

Valid Values: "Partial Upfront" | "All Upfront" | "No Upfront"

ProductDescription

Type: *string

Product description filter value. Specify this parameter to show only the available offerings that contain the specified product description.

The results show offerings that partially match the filter value.

ReservedDBInstancesOfferingId

Type: *string

The offering identifier filter value. Specify this parameter to show only the available offering that matches the specified reservation identifier.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Method

GoString

func (s DescribeReservedDBInstancesOfferingsInput) GoString() string

GoString returns the string representation

SetDBInstanceClass

func (s *DescribeReservedDBInstancesOfferingsInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesOfferingsInput

SetDBInstanceClass sets the DBInstanceClass field's value.

SetDuration

func (s *DescribeReservedDBInstancesOfferingsInput) SetDuration(v string) *DescribeReservedDBInstancesOfferingsInput

SetDuration sets the Duration field's value.

SetFilters

func (s *DescribeReservedDBInstancesOfferingsInput) SetFilters(v []*Filter) *DescribeReservedDBInstancesOfferingsInput

SetFilters sets the Filters field's value.

SetMarker

func (s *DescribeReservedDBInstancesOfferingsInput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsInput

SetMarker sets the Marker field's value.

SetMaxRecords

func (s *DescribeReservedDBInstancesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesOfferingsInput

SetMaxRecords sets the MaxRecords field's value.

SetMultiAZ

func (s *DescribeReservedDBInstancesOfferingsInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesOfferingsInput

SetMultiAZ sets the MultiAZ field's value.

SetOfferingType

func (s *DescribeReservedDBInstancesOfferingsInput) SetOfferingType(v string) *DescribeReservedDBInstancesOfferingsInput

SetOfferingType sets the OfferingType field's value.

SetProductDescription

func (s *DescribeReservedDBInstancesOfferingsInput) SetProductDescription(v string) *DescribeReservedDBInstancesOfferingsInput

SetProductDescription sets the ProductDescription field's value.

SetReservedDBInstancesOfferingId

func (s *DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesOfferingsInput

SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value.

String

func (s DescribeReservedDBInstancesOfferingsInput) String() string

String returns the string representation

Validate

func (s *DescribeReservedDBInstancesOfferingsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: