savingsplans

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 7 Imported by: 11

Documentation

Overview

Package savingsplans provides the client and types for making API requests to AWSSavingsPlans.

Savings Plans are a pricing model that offer significant savings on AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the AWS Savings Plans User Guide (https://docs.aws.amazon.com/savingsplans/latest/userguide/).

See https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28 for more information on this service.

See savingsplans package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/savingsplans/

Using the Client

To use AWSSavingsPlans with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWSSavingsPlans client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/savingsplans/#New

Index

Constants

View Source
const (
	ServiceName = "AWSSavingsPlans" // Service's name
	ServiceID   = "Savingsplans"    // Service's identifier
	EndpointsID = "savingsplans"    // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An unexpected error occurred.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// A service quota has been exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// One of the input parameters is not valid.
	ErrCodeValidationException = "ValidationException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AWSSavingsPlans. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := savingsplans.New(myConfig)

func (*Client) CreateSavingsPlanRequest

func (c *Client) CreateSavingsPlanRequest(input *CreateSavingsPlanInput) CreateSavingsPlanRequest

CreateSavingsPlanRequest returns a request value for making API operation for AWS Savings Plans.

Creates a Savings Plan.

// Example sending a request using CreateSavingsPlanRequest.
req := client.CreateSavingsPlanRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/CreateSavingsPlan

func (*Client) DescribeSavingsPlanRatesRequest

func (c *Client) DescribeSavingsPlanRatesRequest(input *DescribeSavingsPlanRatesInput) DescribeSavingsPlanRatesRequest

DescribeSavingsPlanRatesRequest returns a request value for making API operation for AWS Savings Plans.

Describes the specified Savings Plans rates.

// Example sending a request using DescribeSavingsPlanRatesRequest.
req := client.DescribeSavingsPlanRatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlanRates

func (*Client) DescribeSavingsPlansOfferingRatesRequest

func (c *Client) DescribeSavingsPlansOfferingRatesRequest(input *DescribeSavingsPlansOfferingRatesInput) DescribeSavingsPlansOfferingRatesRequest

DescribeSavingsPlansOfferingRatesRequest returns a request value for making API operation for AWS Savings Plans.

Describes the specified Savings Plans offering rates.

// Example sending a request using DescribeSavingsPlansOfferingRatesRequest.
req := client.DescribeSavingsPlansOfferingRatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlansOfferingRates

func (*Client) DescribeSavingsPlansOfferingsRequest

func (c *Client) DescribeSavingsPlansOfferingsRequest(input *DescribeSavingsPlansOfferingsInput) DescribeSavingsPlansOfferingsRequest

DescribeSavingsPlansOfferingsRequest returns a request value for making API operation for AWS Savings Plans.

Describes the specified Savings Plans offerings.

// Example sending a request using DescribeSavingsPlansOfferingsRequest.
req := client.DescribeSavingsPlansOfferingsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlansOfferings

func (*Client) DescribeSavingsPlansRequest

func (c *Client) DescribeSavingsPlansRequest(input *DescribeSavingsPlansInput) DescribeSavingsPlansRequest

DescribeSavingsPlansRequest returns a request value for making API operation for AWS Savings Plans.

Describes the specified Savings Plans.

// Example sending a request using DescribeSavingsPlansRequest.
req := client.DescribeSavingsPlansRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlans

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS Savings Plans.

Lists the tags for the specified resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/ListTagsForResource

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS Savings Plans.

Adds the specified tags to the specified resource.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS Savings Plans.

Removes the specified tags from the specified resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/UntagResource

type CreateSavingsPlanInput

type CreateSavingsPlanInput struct {

	// Unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"`

	// 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 is a required field
	Commitment *string `locationName:"commitment" type:"string" required:"true"`

	// The ID of the offering.
	//
	// SavingsPlanOfferingId is a required field
	SavingsPlanOfferingId *string `locationName:"savingsPlanOfferingId" type:"string" required:"true"`

	// One or more tags.
	Tags map[string]string `locationName:"tags" type:"map"`

	// 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 *string `locationName:"upfrontPaymentAmount" type:"string"`
	// contains filtered or unexported fields
}

func (CreateSavingsPlanInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSavingsPlanInput) String

func (s CreateSavingsPlanInput) String() string

String returns the string representation

func (*CreateSavingsPlanInput) Validate

func (s *CreateSavingsPlanInput) Validate() error

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

type CreateSavingsPlanOutput

type CreateSavingsPlanOutput struct {

	// The ID of the Savings Plan.
	SavingsPlanId *string `locationName:"savingsPlanId" type:"string"`
	// contains filtered or unexported fields
}

func (CreateSavingsPlanOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateSavingsPlanOutput) String

func (s CreateSavingsPlanOutput) String() string

String returns the string representation

type CreateSavingsPlanRequest

type CreateSavingsPlanRequest struct {
	*aws.Request
	Input *CreateSavingsPlanInput
	Copy  func(*CreateSavingsPlanInput) CreateSavingsPlanRequest
}

CreateSavingsPlanRequest is the request type for the CreateSavingsPlan API operation.

func (CreateSavingsPlanRequest) Send

Send marshals and sends the CreateSavingsPlan API request.

type CreateSavingsPlanResponse

type CreateSavingsPlanResponse struct {
	*CreateSavingsPlanOutput
	// contains filtered or unexported fields
}

CreateSavingsPlanResponse is the response type for the CreateSavingsPlan API operation.

func (*CreateSavingsPlanResponse) SDKResponseMetdata

func (r *CreateSavingsPlanResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateSavingsPlan request.

type CurrencyCode

type CurrencyCode string
const (
	CurrencyCodeCny CurrencyCode = "CNY"
	CurrencyCodeUsd CurrencyCode = "USD"
)

Enum values for CurrencyCode

func (CurrencyCode) MarshalValue

func (enum CurrencyCode) MarshalValue() (string, error)

func (CurrencyCode) MarshalValueBuf

func (enum CurrencyCode) MarshalValueBuf(b []byte) ([]byte, error)

type DescribeSavingsPlanRatesInput

type DescribeSavingsPlanRatesInput struct {

	// The filters.
	Filters []SavingsPlanRateFilter `locationName:"filters" type:"list"`

	// The maximum number of results to return with a single call. To retrieve additional
	// results, make another call with the returned token value.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The ID of the Savings Plan.
	//
	// SavingsPlanId is a required field
	SavingsPlanId *string `locationName:"savingsPlanId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlanRatesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlanRatesInput) String

String returns the string representation

func (*DescribeSavingsPlanRatesInput) Validate

func (s *DescribeSavingsPlanRatesInput) Validate() error

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

type DescribeSavingsPlanRatesOutput

type DescribeSavingsPlanRatesOutput struct {

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The ID of the Savings Plan.
	SavingsPlanId *string `locationName:"savingsPlanId" type:"string"`

	// Information about the Savings Plans rates.
	SearchResults []SavingsPlanRate `locationName:"searchResults" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlanRatesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlanRatesOutput) String

String returns the string representation

type DescribeSavingsPlanRatesRequest

type DescribeSavingsPlanRatesRequest struct {
	*aws.Request
	Input *DescribeSavingsPlanRatesInput
	Copy  func(*DescribeSavingsPlanRatesInput) DescribeSavingsPlanRatesRequest
}

DescribeSavingsPlanRatesRequest is the request type for the DescribeSavingsPlanRates API operation.

func (DescribeSavingsPlanRatesRequest) Send

Send marshals and sends the DescribeSavingsPlanRates API request.

type DescribeSavingsPlanRatesResponse

type DescribeSavingsPlanRatesResponse struct {
	*DescribeSavingsPlanRatesOutput
	// contains filtered or unexported fields
}

DescribeSavingsPlanRatesResponse is the response type for the DescribeSavingsPlanRates API operation.

func (*DescribeSavingsPlanRatesResponse) SDKResponseMetdata

func (r *DescribeSavingsPlanRatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSavingsPlanRates request.

type DescribeSavingsPlansInput

type DescribeSavingsPlansInput struct {

	// The filters.
	Filters []SavingsPlanFilter `locationName:"filters" type:"list"`

	// The maximum number of results to return with a single call. To retrieve additional
	// results, make another call with the returned token value.
	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The Amazon Resource Names (ARN) of the Savings Plans.
	SavingsPlanArns []string `locationName:"savingsPlanArns" type:"list"`

	// The IDs of the Savings Plans.
	SavingsPlanIds []string `locationName:"savingsPlanIds" type:"list"`

	// The states.
	States []SavingsPlanState `locationName:"states" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlansInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlansInput) String

func (s DescribeSavingsPlansInput) String() string

String returns the string representation

func (*DescribeSavingsPlansInput) Validate

func (s *DescribeSavingsPlansInput) Validate() error

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

type DescribeSavingsPlansOfferingRatesInput

type DescribeSavingsPlansOfferingRatesInput struct {

	// The filters.
	Filters []SavingsPlanOfferingRateFilterElement `locationName:"filters" type:"list"`

	// The maximum number of results to return with a single call. To retrieve additional
	// results, make another call with the returned token value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The specific AWS operation for the line item in the billing report.
	Operations []string `locationName:"operations" type:"list"`

	// The AWS products.
	Products []SavingsPlanProductType `locationName:"products" type:"list"`

	// The IDs of the offerings.
	SavingsPlanOfferingIds []string `locationName:"savingsPlanOfferingIds" type:"list"`

	// The payment options.
	SavingsPlanPaymentOptions []SavingsPlanPaymentOption `locationName:"savingsPlanPaymentOptions" type:"list"`

	// The plan types.
	SavingsPlanTypes []SavingsPlanType `locationName:"savingsPlanTypes" type:"list"`

	// The services.
	ServiceCodes []SavingsPlanRateServiceCode `locationName:"serviceCodes" type:"list"`

	// The usage details of the line item in the billing report.
	UsageTypes []string `locationName:"usageTypes" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlansOfferingRatesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlansOfferingRatesInput) String

String returns the string representation

type DescribeSavingsPlansOfferingRatesOutput

type DescribeSavingsPlansOfferingRatesOutput struct {

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the Savings Plans offering rates.
	SearchResults []SavingsPlanOfferingRate `locationName:"searchResults" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlansOfferingRatesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlansOfferingRatesOutput) String

String returns the string representation

type DescribeSavingsPlansOfferingRatesRequest

DescribeSavingsPlansOfferingRatesRequest is the request type for the DescribeSavingsPlansOfferingRates API operation.

func (DescribeSavingsPlansOfferingRatesRequest) Send

Send marshals and sends the DescribeSavingsPlansOfferingRates API request.

type DescribeSavingsPlansOfferingRatesResponse

type DescribeSavingsPlansOfferingRatesResponse struct {
	*DescribeSavingsPlansOfferingRatesOutput
	// contains filtered or unexported fields
}

DescribeSavingsPlansOfferingRatesResponse is the response type for the DescribeSavingsPlansOfferingRates API operation.

func (*DescribeSavingsPlansOfferingRatesResponse) SDKResponseMetdata

func (r *DescribeSavingsPlansOfferingRatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSavingsPlansOfferingRates request.

type DescribeSavingsPlansOfferingsInput

type DescribeSavingsPlansOfferingsInput struct {

	// The currencies.
	Currencies []CurrencyCode `locationName:"currencies" type:"list"`

	// The descriptions.
	Descriptions []string `locationName:"descriptions" type:"list"`

	// The durations, in seconds.
	Durations []int64 `locationName:"durations" type:"list"`

	// The filters.
	Filters []SavingsPlanOfferingFilterElement `locationName:"filters" type:"list"`

	// The maximum number of results to return with a single call. To retrieve additional
	// results, make another call with the returned token value.
	MaxResults *int64 `locationName:"maxResults" type:"integer"`

	// The token for the next page of results.
	NextToken *string `locationName:"nextToken" type:"string"`

	// The IDs of the offerings.
	OfferingIds []string `locationName:"offeringIds" type:"list"`

	// The specific AWS operation for the line item in the billing report.
	Operations []string `locationName:"operations" type:"list"`

	// The payment options.
	PaymentOptions []SavingsPlanPaymentOption `locationName:"paymentOptions" type:"list"`

	// The plan type.
	PlanTypes []SavingsPlanType `locationName:"planTypes" type:"list"`

	// The product type.
	ProductType SavingsPlanProductType `locationName:"productType" type:"string" enum:"true"`

	// The services.
	ServiceCodes []string `locationName:"serviceCodes" type:"list"`

	// The usage details of the line item in the billing report.
	UsageTypes []string `locationName:"usageTypes" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlansOfferingsInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlansOfferingsInput) String

String returns the string representation

type DescribeSavingsPlansOfferingsOutput

type DescribeSavingsPlansOfferingsOutput struct {

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the Savings Plans offerings.
	SearchResults []SavingsPlanOffering `locationName:"searchResults" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlansOfferingsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlansOfferingsOutput) String

String returns the string representation

type DescribeSavingsPlansOfferingsRequest

type DescribeSavingsPlansOfferingsRequest struct {
	*aws.Request
	Input *DescribeSavingsPlansOfferingsInput
	Copy  func(*DescribeSavingsPlansOfferingsInput) DescribeSavingsPlansOfferingsRequest
}

DescribeSavingsPlansOfferingsRequest is the request type for the DescribeSavingsPlansOfferings API operation.

func (DescribeSavingsPlansOfferingsRequest) Send

Send marshals and sends the DescribeSavingsPlansOfferings API request.

type DescribeSavingsPlansOfferingsResponse

type DescribeSavingsPlansOfferingsResponse struct {
	*DescribeSavingsPlansOfferingsOutput
	// contains filtered or unexported fields
}

DescribeSavingsPlansOfferingsResponse is the response type for the DescribeSavingsPlansOfferings API operation.

func (*DescribeSavingsPlansOfferingsResponse) SDKResponseMetdata

func (r *DescribeSavingsPlansOfferingsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSavingsPlansOfferings request.

type DescribeSavingsPlansOutput

type DescribeSavingsPlansOutput struct {

	// The token to use to retrieve the next page of results. This value is null
	// when there are no more results to return.
	NextToken *string `locationName:"nextToken" type:"string"`

	// Information about the Savings Plans.
	SavingsPlans []SavingsPlan `locationName:"savingsPlans" type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSavingsPlansOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DescribeSavingsPlansOutput) String

String returns the string representation

type DescribeSavingsPlansRequest

type DescribeSavingsPlansRequest struct {
	*aws.Request
	Input *DescribeSavingsPlansInput
	Copy  func(*DescribeSavingsPlansInput) DescribeSavingsPlansRequest
}

DescribeSavingsPlansRequest is the request type for the DescribeSavingsPlans API operation.

func (DescribeSavingsPlansRequest) Send

Send marshals and sends the DescribeSavingsPlans API request.

type DescribeSavingsPlansResponse

type DescribeSavingsPlansResponse struct {
	*DescribeSavingsPlansOutput
	// contains filtered or unexported fields
}

DescribeSavingsPlansResponse is the response type for the DescribeSavingsPlans API operation.

func (*DescribeSavingsPlansResponse) SDKResponseMetdata

func (r *DescribeSavingsPlansResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeSavingsPlans request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// Information about the tags.
	Tags map[string]string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type ParentSavingsPlanOffering

type ParentSavingsPlanOffering struct {

	// The currency.
	Currency CurrencyCode `locationName:"currency" type:"string" enum:"true"`

	// The duration, in seconds.
	DurationSeconds *int64 `locationName:"durationSeconds" type:"long"`

	// The ID of the offering.
	OfferingId *string `locationName:"offeringId" type:"string"`

	// The payment option.
	PaymentOption SavingsPlanPaymentOption `locationName:"paymentOption" type:"string" enum:"true"`

	// The description.
	PlanDescription *string `locationName:"planDescription" type:"string"`

	// The plan type.
	PlanType SavingsPlanType `locationName:"planType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about a Savings Plan offering.

func (ParentSavingsPlanOffering) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ParentSavingsPlanOffering) String

func (s ParentSavingsPlanOffering) String() string

String returns the string representation

type SavingsPlan

type SavingsPlan struct {

	// The hourly commitment, in USD.
	Commitment *string `locationName:"commitment" type:"string"`

	// The currency.
	Currency CurrencyCode `locationName:"currency" type:"string" enum:"true"`

	// The description.
	Description *string `locationName:"description" type:"string"`

	// The EC2 instance family.
	Ec2InstanceFamily *string `locationName:"ec2InstanceFamily" type:"string"`

	// The end time.
	End *string `locationName:"end" type:"string"`

	// The ID of the offering.
	OfferingId *string `locationName:"offeringId" type:"string"`

	// The payment option.
	PaymentOption SavingsPlanPaymentOption `locationName:"paymentOption" type:"string" enum:"true"`

	// The product types.
	ProductTypes []SavingsPlanProductType `locationName:"productTypes" type:"list"`

	// The recurring payment amount.
	RecurringPaymentAmount *string `locationName:"recurringPaymentAmount" type:"string"`

	// The AWS Region.
	Region *string `locationName:"region" type:"string"`

	// The Amazon Resource Name (ARN) of the Savings Plan.
	SavingsPlanArn *string `locationName:"savingsPlanArn" type:"string"`

	// The ID of the Savings Plan.
	SavingsPlanId *string `locationName:"savingsPlanId" type:"string"`

	// The plan type.
	SavingsPlanType SavingsPlanType `locationName:"savingsPlanType" type:"string" enum:"true"`

	// The start time.
	Start *string `locationName:"start" type:"string"`

	// The state.
	State SavingsPlanState `locationName:"state" type:"string" enum:"true"`

	// One or more tags.
	Tags map[string]string `locationName:"tags" type:"map"`

	// The duration of the term, in seconds.
	TermDurationInSeconds *int64 `locationName:"termDurationInSeconds" type:"long"`

	// The up-front payment amount.
	UpfrontPaymentAmount *string `locationName:"upfrontPaymentAmount" type:"string"`
	// contains filtered or unexported fields
}

Information about a Savings Plan.

func (SavingsPlan) MarshalFields

func (s SavingsPlan) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlan) String

func (s SavingsPlan) String() string

String returns the string representation

type SavingsPlanFilter

type SavingsPlanFilter struct {

	// The filter name.
	Name SavingsPlansFilterName `locationName:"name" type:"string" enum:"true"`

	// The filter value.
	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Information about a filter.

func (SavingsPlanFilter) MarshalFields

func (s SavingsPlanFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanFilter) String

func (s SavingsPlanFilter) String() string

String returns the string representation

type SavingsPlanOffering

type SavingsPlanOffering struct {

	// The currency.
	Currency CurrencyCode `locationName:"currency" type:"string" enum:"true"`

	// The description.
	Description *string `locationName:"description" type:"string"`

	// The duration, in seconds.
	DurationSeconds *int64 `locationName:"durationSeconds" type:"long"`

	// The ID of the offering.
	OfferingId *string `locationName:"offeringId" type:"string"`

	// The specific AWS operation for the line item in the billing report.
	Operation *string `locationName:"operation" type:"string"`

	// The payment option.
	PaymentOption SavingsPlanPaymentOption `locationName:"paymentOption" type:"string" enum:"true"`

	// The plan type.
	PlanType SavingsPlanType `locationName:"planType" type:"string" enum:"true"`

	// The product type.
	ProductTypes []SavingsPlanProductType `locationName:"productTypes" type:"list"`

	// The properties.
	Properties []SavingsPlanOfferingProperty `locationName:"properties" type:"list"`

	// The service.
	ServiceCode *string `locationName:"serviceCode" type:"string"`

	// The usage details of the line item in the billing report.
	UsageType *string `locationName:"usageType" type:"string"`
	// contains filtered or unexported fields
}

Information about a Savings Plan offering.

func (SavingsPlanOffering) MarshalFields

func (s SavingsPlanOffering) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanOffering) String

func (s SavingsPlanOffering) String() string

String returns the string representation

type SavingsPlanOfferingFilterAttribute

type SavingsPlanOfferingFilterAttribute string
const (
	SavingsPlanOfferingFilterAttributeRegion         SavingsPlanOfferingFilterAttribute = "region"
	SavingsPlanOfferingFilterAttributeInstanceFamily SavingsPlanOfferingFilterAttribute = "instanceFamily"
)

Enum values for SavingsPlanOfferingFilterAttribute

func (SavingsPlanOfferingFilterAttribute) MarshalValue

func (enum SavingsPlanOfferingFilterAttribute) MarshalValue() (string, error)

func (SavingsPlanOfferingFilterAttribute) MarshalValueBuf

func (enum SavingsPlanOfferingFilterAttribute) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanOfferingFilterElement

type SavingsPlanOfferingFilterElement struct {

	// The filter name.
	Name SavingsPlanOfferingFilterAttribute `locationName:"name" type:"string" enum:"true"`

	// The filter values.
	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Information about a filter.

func (SavingsPlanOfferingFilterElement) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanOfferingFilterElement) String

String returns the string representation

type SavingsPlanOfferingProperty

type SavingsPlanOfferingProperty struct {

	// The property name.
	Name SavingsPlanOfferingPropertyKey `locationName:"name" type:"string" enum:"true"`

	// The property value.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Information about a property.

func (SavingsPlanOfferingProperty) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanOfferingProperty) String

String returns the string representation

type SavingsPlanOfferingPropertyKey

type SavingsPlanOfferingPropertyKey string
const (
	SavingsPlanOfferingPropertyKeyRegion         SavingsPlanOfferingPropertyKey = "region"
	SavingsPlanOfferingPropertyKeyInstanceFamily SavingsPlanOfferingPropertyKey = "instanceFamily"
)

Enum values for SavingsPlanOfferingPropertyKey

func (SavingsPlanOfferingPropertyKey) MarshalValue

func (enum SavingsPlanOfferingPropertyKey) MarshalValue() (string, error)

func (SavingsPlanOfferingPropertyKey) MarshalValueBuf

func (enum SavingsPlanOfferingPropertyKey) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanOfferingRate

type SavingsPlanOfferingRate struct {

	// The specific AWS operation for the line item in the billing report.
	Operation *string `locationName:"operation" type:"string"`

	// The product type.
	ProductType SavingsPlanProductType `locationName:"productType" type:"string" enum:"true"`

	// The properties.
	Properties []SavingsPlanOfferingRateProperty `locationName:"properties" type:"list"`

	// The Savings Plan rate.
	Rate *string `locationName:"rate" type:"string"`

	// The Savings Plan offering.
	SavingsPlanOffering *ParentSavingsPlanOffering `locationName:"savingsPlanOffering" type:"structure"`

	// The service.
	ServiceCode SavingsPlanRateServiceCode `locationName:"serviceCode" type:"string" enum:"true"`

	// The unit.
	Unit SavingsPlanRateUnit `locationName:"unit" type:"string" enum:"true"`

	// The usage details of the line item in the billing report.
	UsageType *string `locationName:"usageType" type:"string"`
	// contains filtered or unexported fields
}

Information about a Savings Plan offering rate.

func (SavingsPlanOfferingRate) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanOfferingRate) String

func (s SavingsPlanOfferingRate) String() string

String returns the string representation

type SavingsPlanOfferingRateFilterElement

type SavingsPlanOfferingRateFilterElement struct {

	// The filter name.
	Name SavingsPlanRateFilterAttribute `locationName:"name" type:"string" enum:"true"`

	// The filter values.
	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Information about a filter.

func (SavingsPlanOfferingRateFilterElement) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanOfferingRateFilterElement) String

String returns the string representation

type SavingsPlanOfferingRateProperty

type SavingsPlanOfferingRateProperty struct {

	// The property name.
	Name *string `locationName:"name" type:"string"`

	// The property value.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Information about a property.

func (SavingsPlanOfferingRateProperty) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanOfferingRateProperty) String

String returns the string representation

type SavingsPlanPaymentOption

type SavingsPlanPaymentOption string
const (
	SavingsPlanPaymentOptionAllUpfront     SavingsPlanPaymentOption = "All Upfront"
	SavingsPlanPaymentOptionPartialUpfront SavingsPlanPaymentOption = "Partial Upfront"
	SavingsPlanPaymentOptionNoUpfront      SavingsPlanPaymentOption = "No Upfront"
)

Enum values for SavingsPlanPaymentOption

func (SavingsPlanPaymentOption) MarshalValue

func (enum SavingsPlanPaymentOption) MarshalValue() (string, error)

func (SavingsPlanPaymentOption) MarshalValueBuf

func (enum SavingsPlanPaymentOption) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanProductType

type SavingsPlanProductType string
const (
	SavingsPlanProductTypeEc2     SavingsPlanProductType = "EC2"
	SavingsPlanProductTypeFargate SavingsPlanProductType = "Fargate"
	SavingsPlanProductTypeLambda  SavingsPlanProductType = "Lambda"
)

Enum values for SavingsPlanProductType

func (SavingsPlanProductType) MarshalValue

func (enum SavingsPlanProductType) MarshalValue() (string, error)

func (SavingsPlanProductType) MarshalValueBuf

func (enum SavingsPlanProductType) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanRate

type SavingsPlanRate struct {

	// The currency.
	Currency CurrencyCode `locationName:"currency" type:"string" enum:"true"`

	// The specific AWS operation for the line item in the billing report.
	Operation *string `locationName:"operation" type:"string"`

	// The product type.
	ProductType SavingsPlanProductType `locationName:"productType" type:"string" enum:"true"`

	// The properties.
	Properties []SavingsPlanRateProperty `locationName:"properties" type:"list"`

	// The rate.
	Rate *string `locationName:"rate" type:"string"`

	// The service.
	ServiceCode SavingsPlanRateServiceCode `locationName:"serviceCode" type:"string" enum:"true"`

	// The unit.
	Unit SavingsPlanRateUnit `locationName:"unit" type:"string" enum:"true"`

	// The usage details of the line item in the billing report.
	UsageType *string `locationName:"usageType" type:"string"`
	// contains filtered or unexported fields
}

Information about a Savings Plan rate.

func (SavingsPlanRate) MarshalFields

func (s SavingsPlanRate) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanRate) String

func (s SavingsPlanRate) String() string

String returns the string representation

type SavingsPlanRateFilter

type SavingsPlanRateFilter struct {

	// The filter name.
	Name SavingsPlanRateFilterName `locationName:"name" type:"string" enum:"true"`

	// The filter values.
	Values []string `locationName:"values" type:"list"`
	// contains filtered or unexported fields
}

Information about a filter.

func (SavingsPlanRateFilter) MarshalFields

func (s SavingsPlanRateFilter) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanRateFilter) String

func (s SavingsPlanRateFilter) String() string

String returns the string representation

type SavingsPlanRateFilterAttribute

type SavingsPlanRateFilterAttribute string
const (
	SavingsPlanRateFilterAttributeRegion             SavingsPlanRateFilterAttribute = "region"
	SavingsPlanRateFilterAttributeInstanceFamily     SavingsPlanRateFilterAttribute = "instanceFamily"
	SavingsPlanRateFilterAttributeInstanceType       SavingsPlanRateFilterAttribute = "instanceType"
	SavingsPlanRateFilterAttributeProductDescription SavingsPlanRateFilterAttribute = "productDescription"
	SavingsPlanRateFilterAttributeTenancy            SavingsPlanRateFilterAttribute = "tenancy"
	SavingsPlanRateFilterAttributeProductId          SavingsPlanRateFilterAttribute = "productId"
)

Enum values for SavingsPlanRateFilterAttribute

func (SavingsPlanRateFilterAttribute) MarshalValue

func (enum SavingsPlanRateFilterAttribute) MarshalValue() (string, error)

func (SavingsPlanRateFilterAttribute) MarshalValueBuf

func (enum SavingsPlanRateFilterAttribute) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanRateFilterName

type SavingsPlanRateFilterName string
const (
	SavingsPlanRateFilterNameRegion             SavingsPlanRateFilterName = "region"
	SavingsPlanRateFilterNameInstanceType       SavingsPlanRateFilterName = "instanceType"
	SavingsPlanRateFilterNameProductDescription SavingsPlanRateFilterName = "productDescription"
	SavingsPlanRateFilterNameTenancy            SavingsPlanRateFilterName = "tenancy"
	SavingsPlanRateFilterNameProductType        SavingsPlanRateFilterName = "productType"
	SavingsPlanRateFilterNameServiceCode        SavingsPlanRateFilterName = "serviceCode"
	SavingsPlanRateFilterNameUsageType          SavingsPlanRateFilterName = "usageType"
	SavingsPlanRateFilterNameOperation          SavingsPlanRateFilterName = "operation"
)

Enum values for SavingsPlanRateFilterName

func (SavingsPlanRateFilterName) MarshalValue

func (enum SavingsPlanRateFilterName) MarshalValue() (string, error)

func (SavingsPlanRateFilterName) MarshalValueBuf

func (enum SavingsPlanRateFilterName) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanRateProperty

type SavingsPlanRateProperty struct {

	// The property name.
	Name SavingsPlanRatePropertyKey `locationName:"name" type:"string" enum:"true"`

	// The property value.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Information about a property.

func (SavingsPlanRateProperty) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (SavingsPlanRateProperty) String

func (s SavingsPlanRateProperty) String() string

String returns the string representation

type SavingsPlanRatePropertyKey

type SavingsPlanRatePropertyKey string
const (
	SavingsPlanRatePropertyKeyRegion             SavingsPlanRatePropertyKey = "region"
	SavingsPlanRatePropertyKeyInstanceType       SavingsPlanRatePropertyKey = "instanceType"
	SavingsPlanRatePropertyKeyInstanceFamily     SavingsPlanRatePropertyKey = "instanceFamily"
	SavingsPlanRatePropertyKeyProductDescription SavingsPlanRatePropertyKey = "productDescription"
	SavingsPlanRatePropertyKeyTenancy            SavingsPlanRatePropertyKey = "tenancy"
)

Enum values for SavingsPlanRatePropertyKey

func (SavingsPlanRatePropertyKey) MarshalValue

func (enum SavingsPlanRatePropertyKey) MarshalValue() (string, error)

func (SavingsPlanRatePropertyKey) MarshalValueBuf

func (enum SavingsPlanRatePropertyKey) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanRateServiceCode

type SavingsPlanRateServiceCode string
const (
	SavingsPlanRateServiceCodeAmazonEc2 SavingsPlanRateServiceCode = "AmazonEC2"
	SavingsPlanRateServiceCodeAmazonEcs SavingsPlanRateServiceCode = "AmazonECS"
	SavingsPlanRateServiceCodeAwslambda SavingsPlanRateServiceCode = "AWSLambda"
)

Enum values for SavingsPlanRateServiceCode

func (SavingsPlanRateServiceCode) MarshalValue

func (enum SavingsPlanRateServiceCode) MarshalValue() (string, error)

func (SavingsPlanRateServiceCode) MarshalValueBuf

func (enum SavingsPlanRateServiceCode) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanRateUnit

type SavingsPlanRateUnit string
const (
	SavingsPlanRateUnitHrs            SavingsPlanRateUnit = "Hrs"
	SavingsPlanRateUnitLambdaGbSecond SavingsPlanRateUnit = "Lambda-GB-Second"
	SavingsPlanRateUnitRequest        SavingsPlanRateUnit = "Request"
)

Enum values for SavingsPlanRateUnit

func (SavingsPlanRateUnit) MarshalValue

func (enum SavingsPlanRateUnit) MarshalValue() (string, error)

func (SavingsPlanRateUnit) MarshalValueBuf

func (enum SavingsPlanRateUnit) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanState

type SavingsPlanState string
const (
	SavingsPlanStatePaymentPending SavingsPlanState = "payment-pending"
	SavingsPlanStatePaymentFailed  SavingsPlanState = "payment-failed"
	SavingsPlanStateActive         SavingsPlanState = "active"
	SavingsPlanStateRetired        SavingsPlanState = "retired"
)

Enum values for SavingsPlanState

func (SavingsPlanState) MarshalValue

func (enum SavingsPlanState) MarshalValue() (string, error)

func (SavingsPlanState) MarshalValueBuf

func (enum SavingsPlanState) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlanType

type SavingsPlanType string
const (
	SavingsPlanTypeCompute     SavingsPlanType = "Compute"
	SavingsPlanTypeEc2instance SavingsPlanType = "EC2Instance"
)

Enum values for SavingsPlanType

func (SavingsPlanType) MarshalValue

func (enum SavingsPlanType) MarshalValue() (string, error)

func (SavingsPlanType) MarshalValueBuf

func (enum SavingsPlanType) MarshalValueBuf(b []byte) ([]byte, error)

type SavingsPlansFilterName

type SavingsPlansFilterName string
const (
	SavingsPlansFilterNameRegion            SavingsPlansFilterName = "region"
	SavingsPlansFilterNameEc2InstanceFamily SavingsPlansFilterName = "ec2-instance-family"
	SavingsPlansFilterNameCommitment        SavingsPlansFilterName = "commitment"
	SavingsPlansFilterNameUpfront           SavingsPlansFilterName = "upfront"
	SavingsPlansFilterNameTerm              SavingsPlansFilterName = "term"
	SavingsPlansFilterNameSavingsPlanType   SavingsPlansFilterName = "savings-plan-type"
	SavingsPlansFilterNamePaymentOption     SavingsPlansFilterName = "payment-option"
	SavingsPlansFilterNameStart             SavingsPlansFilterName = "start"
	SavingsPlansFilterNameEnd               SavingsPlansFilterName = "end"
)

Enum values for SavingsPlansFilterName

func (SavingsPlansFilterName) MarshalValue

func (enum SavingsPlansFilterName) MarshalValue() (string, error)

func (SavingsPlansFilterName) MarshalValueBuf

func (enum SavingsPlansFilterName) MarshalValueBuf(b []byte) ([]byte, error)

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"}
	// }.
	//
	// Tags is a required field
	Tags map[string]string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"`

	// The tag keys.
	//
	// TagKeys is a required field
	TagKeys []string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

Directories

Path Synopsis
Package savingsplansiface provides an interface to enable mocking the AWS Savings Plans service client for testing your code.
Package savingsplansiface provides an interface to enable mocking the AWS Savings Plans service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL