billingconductor

package
v1.44.52 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Overview

Package billingconductor provides the client and types for making API requests to AWSBillingConductor.

Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a pro forma (https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/understanding-eb.html#eb-other-definitions) version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console (https://console.aws.amazon.com/billing), or configure a cost and usage report per billing group.

This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor (https://console.aws.amazon.com/enterprisebilling/) user interface, see the Amazon Web Services Enterprise Billing Console User Guide (https://docs.aws.amazon.com/enterprisebilling/6b7c01c5-b592-467e-9769-90052eaf359c/userguide/what-is-enterprisebilling.html).

See https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30 for more information on this service.

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

Using the Client

To contact AWSBillingConductor 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 AWSBillingConductor client BillingConductor for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/billingconductor/#New

Index

Constants

View Source
const (
	// AssociateResourceErrorReasonInvalidArn is a AssociateResourceErrorReason enum value
	AssociateResourceErrorReasonInvalidArn = "INVALID_ARN"

	// AssociateResourceErrorReasonServiceLimitExceeded is a AssociateResourceErrorReason enum value
	AssociateResourceErrorReasonServiceLimitExceeded = "SERVICE_LIMIT_EXCEEDED"

	// AssociateResourceErrorReasonIllegalCustomlineitem is a AssociateResourceErrorReason enum value
	AssociateResourceErrorReasonIllegalCustomlineitem = "ILLEGAL_CUSTOMLINEITEM"

	// AssociateResourceErrorReasonInternalServerException is a AssociateResourceErrorReason enum value
	AssociateResourceErrorReasonInternalServerException = "INTERNAL_SERVER_EXCEPTION"
)
View Source
const (
	// BillingGroupStatusActive is a BillingGroupStatus enum value
	BillingGroupStatusActive = "ACTIVE"

	// BillingGroupStatusPrimaryAccountMissing is a BillingGroupStatus enum value
	BillingGroupStatusPrimaryAccountMissing = "PRIMARY_ACCOUNT_MISSING"
)
View Source
const (
	// CurrencyCodeUsd is a CurrencyCode enum value
	CurrencyCodeUsd = "USD"

	// CurrencyCodeCny is a CurrencyCode enum value
	CurrencyCodeCny = "CNY"
)
View Source
const (
	// CustomLineItemRelationshipParent is a CustomLineItemRelationship enum value
	CustomLineItemRelationshipParent = "PARENT"

	// CustomLineItemRelationshipChild is a CustomLineItemRelationship enum value
	CustomLineItemRelationshipChild = "CHILD"
)
View Source
const (
	// CustomLineItemTypeCredit is a CustomLineItemType enum value
	CustomLineItemTypeCredit = "CREDIT"

	// CustomLineItemTypeFee is a CustomLineItemType enum value
	CustomLineItemTypeFee = "FEE"
)
View Source
const (
	// PricingRuleScopeGlobal is a PricingRuleScope enum value
	PricingRuleScopeGlobal = "GLOBAL"

	// PricingRuleScopeService is a PricingRuleScope enum value
	PricingRuleScopeService = "SERVICE"
)
View Source
const (
	// PricingRuleTypeMarkup is a PricingRuleType enum value
	PricingRuleTypeMarkup = "MARKUP"

	// PricingRuleTypeDiscount is a PricingRuleType enum value
	PricingRuleTypeDiscount = "DISCOUNT"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"

	// ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
	ValidationExceptionReasonCannotParse = "CANNOT_PARSE"

	// ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
	ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "OTHER"

	// ValidationExceptionReasonPrimaryNotAssociated is a ValidationExceptionReason enum value
	ValidationExceptionReasonPrimaryNotAssociated = "PRIMARY_NOT_ASSOCIATED"

	// ValidationExceptionReasonPrimaryCannotDisassociate is a ValidationExceptionReason enum value
	ValidationExceptionReasonPrimaryCannotDisassociate = "PRIMARY_CANNOT_DISASSOCIATE"

	// ValidationExceptionReasonAccountsNotAssociated is a ValidationExceptionReason enum value
	ValidationExceptionReasonAccountsNotAssociated = "ACCOUNTS_NOT_ASSOCIATED"

	// ValidationExceptionReasonAccountsAlreadyAssociated is a ValidationExceptionReason enum value
	ValidationExceptionReasonAccountsAlreadyAssociated = "ACCOUNTS_ALREADY_ASSOCIATED"

	// ValidationExceptionReasonIllegalPrimaryAccount is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalPrimaryAccount = "ILLEGAL_PRIMARY_ACCOUNT"

	// ValidationExceptionReasonIllegalAccounts is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalAccounts = "ILLEGAL_ACCOUNTS"

	// ValidationExceptionReasonMismatchedBillinggroupArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMismatchedBillinggroupArn = "MISMATCHED_BILLINGGROUP_ARN"

	// ValidationExceptionReasonMissingBillinggroup is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissingBillinggroup = "MISSING_BILLINGGROUP"

	// ValidationExceptionReasonMismatchedCustomlineitemArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMismatchedCustomlineitemArn = "MISMATCHED_CUSTOMLINEITEM_ARN"

	// ValidationExceptionReasonIllegalBillingPeriod is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalBillingPeriod = "ILLEGAL_BILLING_PERIOD"

	// ValidationExceptionReasonIllegalBillingPeriodRange is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalBillingPeriodRange = "ILLEGAL_BILLING_PERIOD_RANGE"

	// ValidationExceptionReasonTooManyAccountsInRequest is a ValidationExceptionReason enum value
	ValidationExceptionReasonTooManyAccountsInRequest = "TOO_MANY_ACCOUNTS_IN_REQUEST"

	// ValidationExceptionReasonDuplicateAccount is a ValidationExceptionReason enum value
	ValidationExceptionReasonDuplicateAccount = "DUPLICATE_ACCOUNT"

	// ValidationExceptionReasonInvalidBillingGroupStatus is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidBillingGroupStatus = "INVALID_BILLING_GROUP_STATUS"

	// ValidationExceptionReasonMismatchedPricingplanArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMismatchedPricingplanArn = "MISMATCHED_PRICINGPLAN_ARN"

	// ValidationExceptionReasonMissingPricingplan is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissingPricingplan = "MISSING_PRICINGPLAN"

	// ValidationExceptionReasonMismatchedPricingruleArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMismatchedPricingruleArn = "MISMATCHED_PRICINGRULE_ARN"

	// ValidationExceptionReasonDuplicatePricingruleArns is a ValidationExceptionReason enum value
	ValidationExceptionReasonDuplicatePricingruleArns = "DUPLICATE_PRICINGRULE_ARNS"

	// ValidationExceptionReasonIllegalExpression is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalExpression = "ILLEGAL_EXPRESSION"

	// ValidationExceptionReasonIllegalScope is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalScope = "ILLEGAL_SCOPE"

	// ValidationExceptionReasonIllegalService is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalService = "ILLEGAL_SERVICE"

	// ValidationExceptionReasonPricingrulesNotExist is a ValidationExceptionReason enum value
	ValidationExceptionReasonPricingrulesNotExist = "PRICINGRULES_NOT_EXIST"

	// ValidationExceptionReasonPricingrulesAlreadyAssociated is a ValidationExceptionReason enum value
	ValidationExceptionReasonPricingrulesAlreadyAssociated = "PRICINGRULES_ALREADY_ASSOCIATED"

	// ValidationExceptionReasonPricingrulesNotAssociated is a ValidationExceptionReason enum value
	ValidationExceptionReasonPricingrulesNotAssociated = "PRICINGRULES_NOT_ASSOCIATED"

	// ValidationExceptionReasonInvalidTimeRange is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidTimeRange = "INVALID_TIME_RANGE"

	// ValidationExceptionReasonInvalidBillingviewArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidBillingviewArn = "INVALID_BILLINGVIEW_ARN"

	// ValidationExceptionReasonMismatchedBillingviewArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMismatchedBillingviewArn = "MISMATCHED_BILLINGVIEW_ARN"

	// ValidationExceptionReasonIllegalCustomlineitem is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalCustomlineitem = "ILLEGAL_CUSTOMLINEITEM"

	// ValidationExceptionReasonMissingCustomlineitem is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissingCustomlineitem = "MISSING_CUSTOMLINEITEM"

	// ValidationExceptionReasonIllegalCustomlineitemUpdate is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalCustomlineitemUpdate = "ILLEGAL_CUSTOMLINEITEM_UPDATE"

	// ValidationExceptionReasonTooManyCustomlineitemsInRequest is a ValidationExceptionReason enum value
	ValidationExceptionReasonTooManyCustomlineitemsInRequest = "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST"

	// ValidationExceptionReasonIllegalChargeDetails is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalChargeDetails = "ILLEGAL_CHARGE_DETAILS"

	// ValidationExceptionReasonIllegalUpdateChargeDetails is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalUpdateChargeDetails = "ILLEGAL_UPDATE_CHARGE_DETAILS"

	// ValidationExceptionReasonInvalidArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidArn = "INVALID_ARN"

	// ValidationExceptionReasonIllegalResourceArns is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalResourceArns = "ILLEGAL_RESOURCE_ARNS"

	// ValidationExceptionReasonIllegalCustomlineitemModification is a ValidationExceptionReason enum value
	ValidationExceptionReasonIllegalCustomlineitemModification = "ILLEGAL_CUSTOMLINEITEM_MODIFICATION"

	// ValidationExceptionReasonMissingLinkedAccountIds is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissingLinkedAccountIds = "MISSING_LINKED_ACCOUNT_IDS"

	// ValidationExceptionReasonMultipleLinkedAccountIds is a ValidationExceptionReason enum value
	ValidationExceptionReasonMultipleLinkedAccountIds = "MULTIPLE_LINKED_ACCOUNT_IDS"

	// ValidationExceptionReasonMissingPricingPlanArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMissingPricingPlanArn = "MISSING_PRICING_PLAN_ARN"

	// ValidationExceptionReasonMultiplePricingPlanArn is a ValidationExceptionReason enum value
	ValidationExceptionReasonMultiplePricingPlanArn = "MULTIPLE_PRICING_PLAN_ARN"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You do not have sufficient access to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// You can cause an inconsistent state by updating or deleting a resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An unexpected error occurred while processing a request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The request references a resource that doesn't exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceLimitExceededException for service response error code
	// "ServiceLimitExceededException".
	//
	// The request would cause a service limit to exceed.
	ErrCodeServiceLimitExceededException = "ServiceLimitExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was denied due to request throttling.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input doesn't match with the constraints specified by Amazon Web Services
	// services.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "billingconductor" // Name of service.
	EndpointsID = ServiceName        // ID to lookup a service endpoint with.
	ServiceID   = "billingconductor" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func AssociateResourceErrorReason_Values

func AssociateResourceErrorReason_Values() []string

AssociateResourceErrorReason_Values returns all elements of the AssociateResourceErrorReason enum

func BillingGroupStatus_Values

func BillingGroupStatus_Values() []string

BillingGroupStatus_Values returns all elements of the BillingGroupStatus enum

func CurrencyCode_Values

func CurrencyCode_Values() []string

CurrencyCode_Values returns all elements of the CurrencyCode enum

func CustomLineItemRelationship_Values

func CustomLineItemRelationship_Values() []string

CustomLineItemRelationship_Values returns all elements of the CustomLineItemRelationship enum

func CustomLineItemType_Values

func CustomLineItemType_Values() []string

CustomLineItemType_Values returns all elements of the CustomLineItemType enum

func PricingRuleScope_Values

func PricingRuleScope_Values() []string

PricingRuleScope_Values returns all elements of the PricingRuleScope enum

func PricingRuleType_Values

func PricingRuleType_Values() []string

PricingRuleType_Values returns all elements of the PricingRuleType enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You do not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountAssociationsListElement

type AccountAssociationsListElement struct {

	// The Amazon Web Services account email.
	//
	// AccountEmail is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountAssociationsListElement's
	// String and GoString methods.
	AccountEmail *string `type:"string" sensitive:"true"`

	// The associating array of account IDs.
	AccountId *string `type:"string"`

	// The Amazon Web Services account name.
	//
	// AccountName is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by AccountAssociationsListElement's
	// String and GoString methods.
	AccountName *string `type:"string" sensitive:"true"`

	// The Billing Group Arn that the linked account is associated to.
	BillingGroupArn *string `type:"string"`
	// contains filtered or unexported fields
}
Amazon Web Services Billing Conductor is in beta release and is subject
to change. Your use of Amazon Web Services Billing Conductor is subject
to the Beta Service Participation terms of the Amazon Web Services Service
Terms (https://aws.amazon.com/service-terms/) (Section 1.10).

A representation of a linked account.

func (AccountAssociationsListElement) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountAssociationsListElement) SetAccountEmail

SetAccountEmail sets the AccountEmail field's value.

func (*AccountAssociationsListElement) SetAccountId

SetAccountId sets the AccountId field's value.

func (*AccountAssociationsListElement) SetAccountName

SetAccountName sets the AccountName field's value.

func (*AccountAssociationsListElement) SetBillingGroupArn

SetBillingGroupArn sets the BillingGroupArn field's value.

func (AccountAssociationsListElement) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AccountGrouping

type AccountGrouping struct {

	// The account IDs that make up the billing group. Account IDs must be a part
	// of the consolidated billing family, and not associated with another billing
	// group.
	//
	// LinkedAccountIds is a required field
	LinkedAccountIds []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

The set of accounts that will be under the billing group. The set of accounts resemble the linked accounts in a consolidated family.

func (AccountGrouping) GoString

func (s AccountGrouping) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountGrouping) SetLinkedAccountIds

func (s *AccountGrouping) SetLinkedAccountIds(v []*string) *AccountGrouping

SetLinkedAccountIds sets the LinkedAccountIds field's value.

func (AccountGrouping) String

func (s AccountGrouping) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccountGrouping) Validate

func (s *AccountGrouping) Validate() error

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

type AssociateAccountsInput

type AssociateAccountsInput struct {

	// The associating array of account IDs.
	//
	// AccountIds is a required field
	AccountIds []*string `min:"1" type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the billing group that associates the array
	// of account IDs.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssociateAccountsInput) GoString

func (s AssociateAccountsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateAccountsInput) SetAccountIds

func (s *AssociateAccountsInput) SetAccountIds(v []*string) *AssociateAccountsInput

SetAccountIds sets the AccountIds field's value.

func (*AssociateAccountsInput) SetArn

SetArn sets the Arn field's value.

func (AssociateAccountsInput) String

func (s AssociateAccountsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateAccountsInput) Validate

func (s *AssociateAccountsInput) Validate() error

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

type AssociateAccountsOutput

type AssociateAccountsOutput struct {

	// The Amazon Resource Name (ARN) of the billing group that associates the array
	// of account IDs.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (AssociateAccountsOutput) GoString

func (s AssociateAccountsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateAccountsOutput) SetArn

SetArn sets the Arn field's value.

func (AssociateAccountsOutput) String

func (s AssociateAccountsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociatePricingRulesInput

type AssociatePricingRulesInput struct {

	// The PricingPlanArn that the PricingRuleArns are associated with.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The PricingRuleArns that are associated with the Pricing Plan.
	//
	// PricingRuleArns is a required field
	PricingRuleArns []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AssociatePricingRulesInput) GoString

func (s AssociatePricingRulesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociatePricingRulesInput) SetArn

SetArn sets the Arn field's value.

func (*AssociatePricingRulesInput) SetPricingRuleArns

func (s *AssociatePricingRulesInput) SetPricingRuleArns(v []*string) *AssociatePricingRulesInput

SetPricingRuleArns sets the PricingRuleArns field's value.

func (AssociatePricingRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociatePricingRulesInput) Validate

func (s *AssociatePricingRulesInput) Validate() error

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

type AssociatePricingRulesOutput

type AssociatePricingRulesOutput struct {

	// The PricingPlanArn that the PricingRuleArns are associated with.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (AssociatePricingRulesOutput) GoString

func (s AssociatePricingRulesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociatePricingRulesOutput) SetArn

SetArn sets the Arn field's value.

func (AssociatePricingRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateResourceError

type AssociateResourceError struct {

	// The reason the resource association failed.
	Message *string `type:"string"`

	// A static error code that used to classify the type of failure.
	Reason *string `type:"string" enum:"AssociateResourceErrorReason"`
	// contains filtered or unexported fields
}

A representation of a resource association error.

func (AssociateResourceError) GoString

func (s AssociateResourceError) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceError) SetMessage

SetMessage sets the Message field's value.

func (*AssociateResourceError) SetReason

SetReason sets the Reason field's value.

func (AssociateResourceError) String

func (s AssociateResourceError) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AssociateResourceResponseElement

type AssociateResourceResponseElement struct {

	// The resource ARN that was associated to the custom line item.
	Arn *string `type:"string"`

	// An AssociateResourceError that will populate if the resource association
	// fails.
	Error *AssociateResourceError `type:"structure"`
	// contains filtered or unexported fields
}

A resource association result for a percentage custom line item.

func (AssociateResourceResponseElement) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AssociateResourceResponseElement) SetArn

SetArn sets the Arn field's value.

func (*AssociateResourceResponseElement) SetError

SetError sets the Error field's value.

func (AssociateResourceResponseElement) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchAssociateResourcesToCustomLineItemInput

type BatchAssociateResourcesToCustomLineItemInput struct {

	// The billing period range in which the custom line item request will be applied.
	BillingPeriodRange *CustomLineItemBillingPeriodRange `type:"structure"`

	// A list containing the ARNs of the resources to be associated.
	//
	// ResourceArns is a required field
	ResourceArns []*string `min:"1" type:"list" required:"true"`

	// A percentage custom line item ARN to associate the resources to.
	//
	// TargetArn is a required field
	TargetArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchAssociateResourcesToCustomLineItemInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateResourcesToCustomLineItemInput) SetBillingPeriodRange

SetBillingPeriodRange sets the BillingPeriodRange field's value.

func (*BatchAssociateResourcesToCustomLineItemInput) SetResourceArns

SetResourceArns sets the ResourceArns field's value.

func (*BatchAssociateResourcesToCustomLineItemInput) SetTargetArn

SetTargetArn sets the TargetArn field's value.

func (BatchAssociateResourcesToCustomLineItemInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateResourcesToCustomLineItemInput) Validate

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

type BatchAssociateResourcesToCustomLineItemOutput

type BatchAssociateResourcesToCustomLineItemOutput struct {

	// A list of AssociateResourceResponseElement for each resource that failed
	// association to a percentage custom line item.
	FailedAssociatedResources []*AssociateResourceResponseElement `type:"list"`

	// A list of AssociateResourceResponseElement for each resource that's been
	// associated to a percentage custom line item successfully.
	SuccessfullyAssociatedResources []*AssociateResourceResponseElement `type:"list"`
	// contains filtered or unexported fields
}

func (BatchAssociateResourcesToCustomLineItemOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchAssociateResourcesToCustomLineItemOutput) SetFailedAssociatedResources

SetFailedAssociatedResources sets the FailedAssociatedResources field's value.

func (*BatchAssociateResourcesToCustomLineItemOutput) SetSuccessfullyAssociatedResources

SetSuccessfullyAssociatedResources sets the SuccessfullyAssociatedResources field's value.

func (BatchAssociateResourcesToCustomLineItemOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BatchDisassociateResourcesFromCustomLineItemInput

type BatchDisassociateResourcesFromCustomLineItemInput struct {

	// The billing period range in which the custom line item request will be applied.
	BillingPeriodRange *CustomLineItemBillingPeriodRange `type:"structure"`

	// A list containing the ARNs of resources to be disassociated.
	//
	// ResourceArns is a required field
	ResourceArns []*string `min:"1" type:"list" required:"true"`

	// A percentage custom line item ARN to disassociate the resources from.
	//
	// TargetArn is a required field
	TargetArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (BatchDisassociateResourcesFromCustomLineItemInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateResourcesFromCustomLineItemInput) SetBillingPeriodRange

SetBillingPeriodRange sets the BillingPeriodRange field's value.

func (*BatchDisassociateResourcesFromCustomLineItemInput) SetResourceArns

SetResourceArns sets the ResourceArns field's value.

func (*BatchDisassociateResourcesFromCustomLineItemInput) SetTargetArn

SetTargetArn sets the TargetArn field's value.

func (BatchDisassociateResourcesFromCustomLineItemInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateResourcesFromCustomLineItemInput) Validate

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

type BatchDisassociateResourcesFromCustomLineItemOutput

type BatchDisassociateResourcesFromCustomLineItemOutput struct {

	// A list of DisassociateResourceResponseElement for each resource that failed
	// disassociation from a percentage custom line item.
	FailedDisassociatedResources []*DisassociateResourceResponseElement `type:"list"`

	// A list of DisassociateResourceResponseElement for each resource that's been
	// disassociated from a percentage custom line item successfully.
	SuccessfullyDisassociatedResources []*DisassociateResourceResponseElement `type:"list"`
	// contains filtered or unexported fields
}

func (BatchDisassociateResourcesFromCustomLineItemOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BatchDisassociateResourcesFromCustomLineItemOutput) SetFailedDisassociatedResources

SetFailedDisassociatedResources sets the FailedDisassociatedResources field's value.

func (*BatchDisassociateResourcesFromCustomLineItemOutput) SetSuccessfullyDisassociatedResources

SetSuccessfullyDisassociatedResources sets the SuccessfullyDisassociatedResources field's value.

func (BatchDisassociateResourcesFromCustomLineItemOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BillingConductor

type BillingConductor struct {
	*client.Client
}

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

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

func New

New creates a new instance of the BillingConductor client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a BillingConductor client from just a session.
svc := billingconductor.New(mySession)

// Create a BillingConductor client with additional configuration
svc := billingconductor.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*BillingConductor) AssociateAccounts

func (c *BillingConductor) AssociateAccounts(input *AssociateAccountsInput) (*AssociateAccountsOutput, error)

AssociateAccounts API operation for AWSBillingConductor.

Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation AssociateAccounts for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociateAccounts

func (*BillingConductor) AssociateAccountsRequest

func (c *BillingConductor) AssociateAccountsRequest(input *AssociateAccountsInput) (req *request.Request, output *AssociateAccountsOutput)

AssociateAccountsRequest generates a "aws/request.Request" representing the client's request for the AssociateAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateAccounts for more information on using the AssociateAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateAccountsRequest method.
req, resp := client.AssociateAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociateAccounts

func (*BillingConductor) AssociateAccountsWithContext

func (c *BillingConductor) AssociateAccountsWithContext(ctx aws.Context, input *AssociateAccountsInput, opts ...request.Option) (*AssociateAccountsOutput, error)

AssociateAccountsWithContext is the same as AssociateAccounts with the addition of the ability to pass a context and additional request options.

See AssociateAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) AssociatePricingRules

AssociatePricingRules API operation for AWSBillingConductor.

Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation AssociatePricingRules for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociatePricingRules

func (*BillingConductor) AssociatePricingRulesRequest

func (c *BillingConductor) AssociatePricingRulesRequest(input *AssociatePricingRulesInput) (req *request.Request, output *AssociatePricingRulesOutput)

AssociatePricingRulesRequest generates a "aws/request.Request" representing the client's request for the AssociatePricingRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociatePricingRules for more information on using the AssociatePricingRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociatePricingRulesRequest method.
req, resp := client.AssociatePricingRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociatePricingRules

func (*BillingConductor) AssociatePricingRulesWithContext

func (c *BillingConductor) AssociatePricingRulesWithContext(ctx aws.Context, input *AssociatePricingRulesInput, opts ...request.Option) (*AssociatePricingRulesOutput, error)

AssociatePricingRulesWithContext is the same as AssociatePricingRules with the addition of the ability to pass a context and additional request options.

See AssociatePricingRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) BatchAssociateResourcesToCustomLineItem

BatchAssociateResourcesToCustomLineItem API operation for AWSBillingConductor.

Associates a batch of resources to a percentage custom line item.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation BatchAssociateResourcesToCustomLineItem for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchAssociateResourcesToCustomLineItem

func (*BillingConductor) BatchAssociateResourcesToCustomLineItemRequest

func (c *BillingConductor) BatchAssociateResourcesToCustomLineItemRequest(input *BatchAssociateResourcesToCustomLineItemInput) (req *request.Request, output *BatchAssociateResourcesToCustomLineItemOutput)

BatchAssociateResourcesToCustomLineItemRequest generates a "aws/request.Request" representing the client's request for the BatchAssociateResourcesToCustomLineItem operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchAssociateResourcesToCustomLineItem for more information on using the BatchAssociateResourcesToCustomLineItem API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchAssociateResourcesToCustomLineItemRequest method.
req, resp := client.BatchAssociateResourcesToCustomLineItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchAssociateResourcesToCustomLineItem

func (*BillingConductor) BatchAssociateResourcesToCustomLineItemWithContext

func (c *BillingConductor) BatchAssociateResourcesToCustomLineItemWithContext(ctx aws.Context, input *BatchAssociateResourcesToCustomLineItemInput, opts ...request.Option) (*BatchAssociateResourcesToCustomLineItemOutput, error)

BatchAssociateResourcesToCustomLineItemWithContext is the same as BatchAssociateResourcesToCustomLineItem with the addition of the ability to pass a context and additional request options.

See BatchAssociateResourcesToCustomLineItem for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) BatchDisassociateResourcesFromCustomLineItem

BatchDisassociateResourcesFromCustomLineItem API operation for AWSBillingConductor.

Disassociates a batch of resources from a percentage custom line item.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation BatchDisassociateResourcesFromCustomLineItem for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchDisassociateResourcesFromCustomLineItem

func (*BillingConductor) BatchDisassociateResourcesFromCustomLineItemRequest

func (c *BillingConductor) BatchDisassociateResourcesFromCustomLineItemRequest(input *BatchDisassociateResourcesFromCustomLineItemInput) (req *request.Request, output *BatchDisassociateResourcesFromCustomLineItemOutput)

BatchDisassociateResourcesFromCustomLineItemRequest generates a "aws/request.Request" representing the client's request for the BatchDisassociateResourcesFromCustomLineItem operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchDisassociateResourcesFromCustomLineItem for more information on using the BatchDisassociateResourcesFromCustomLineItem API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchDisassociateResourcesFromCustomLineItemRequest method.
req, resp := client.BatchDisassociateResourcesFromCustomLineItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchDisassociateResourcesFromCustomLineItem

func (*BillingConductor) BatchDisassociateResourcesFromCustomLineItemWithContext

func (c *BillingConductor) BatchDisassociateResourcesFromCustomLineItemWithContext(ctx aws.Context, input *BatchDisassociateResourcesFromCustomLineItemInput, opts ...request.Option) (*BatchDisassociateResourcesFromCustomLineItemOutput, error)

BatchDisassociateResourcesFromCustomLineItemWithContext is the same as BatchDisassociateResourcesFromCustomLineItem with the addition of the ability to pass a context and additional request options.

See BatchDisassociateResourcesFromCustomLineItem for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) CreateBillingGroup

func (c *BillingConductor) CreateBillingGroup(input *CreateBillingGroupInput) (*CreateBillingGroupOutput, error)

CreateBillingGroup API operation for AWSBillingConductor.

Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation CreateBillingGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateBillingGroup

func (*BillingConductor) CreateBillingGroupRequest

func (c *BillingConductor) CreateBillingGroupRequest(input *CreateBillingGroupInput) (req *request.Request, output *CreateBillingGroupOutput)

CreateBillingGroupRequest generates a "aws/request.Request" representing the client's request for the CreateBillingGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBillingGroup for more information on using the CreateBillingGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBillingGroupRequest method.
req, resp := client.CreateBillingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateBillingGroup

func (*BillingConductor) CreateBillingGroupWithContext

func (c *BillingConductor) CreateBillingGroupWithContext(ctx aws.Context, input *CreateBillingGroupInput, opts ...request.Option) (*CreateBillingGroupOutput, error)

CreateBillingGroupWithContext is the same as CreateBillingGroup with the addition of the ability to pass a context and additional request options.

See CreateBillingGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) CreateCustomLineItem

func (c *BillingConductor) CreateCustomLineItem(input *CreateCustomLineItemInput) (*CreateCustomLineItemOutput, error)

CreateCustomLineItem API operation for AWSBillingConductor.

Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation CreateCustomLineItem for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateCustomLineItem

func (*BillingConductor) CreateCustomLineItemRequest

func (c *BillingConductor) CreateCustomLineItemRequest(input *CreateCustomLineItemInput) (req *request.Request, output *CreateCustomLineItemOutput)

CreateCustomLineItemRequest generates a "aws/request.Request" representing the client's request for the CreateCustomLineItem operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateCustomLineItem for more information on using the CreateCustomLineItem API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateCustomLineItemRequest method.
req, resp := client.CreateCustomLineItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateCustomLineItem

func (*BillingConductor) CreateCustomLineItemWithContext

func (c *BillingConductor) CreateCustomLineItemWithContext(ctx aws.Context, input *CreateCustomLineItemInput, opts ...request.Option) (*CreateCustomLineItemOutput, error)

CreateCustomLineItemWithContext is the same as CreateCustomLineItem with the addition of the ability to pass a context and additional request options.

See CreateCustomLineItem for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) CreatePricingPlan

func (c *BillingConductor) CreatePricingPlan(input *CreatePricingPlanInput) (*CreatePricingPlanOutput, error)

CreatePricingPlan API operation for AWSBillingConductor.

Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation CreatePricingPlan for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingPlan

func (*BillingConductor) CreatePricingPlanRequest

func (c *BillingConductor) CreatePricingPlanRequest(input *CreatePricingPlanInput) (req *request.Request, output *CreatePricingPlanOutput)

CreatePricingPlanRequest generates a "aws/request.Request" representing the client's request for the CreatePricingPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePricingPlan for more information on using the CreatePricingPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePricingPlanRequest method.
req, resp := client.CreatePricingPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingPlan

func (*BillingConductor) CreatePricingPlanWithContext

func (c *BillingConductor) CreatePricingPlanWithContext(ctx aws.Context, input *CreatePricingPlanInput, opts ...request.Option) (*CreatePricingPlanOutput, error)

CreatePricingPlanWithContext is the same as CreatePricingPlan with the addition of the ability to pass a context and additional request options.

See CreatePricingPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) CreatePricingRule

func (c *BillingConductor) CreatePricingRule(input *CreatePricingRuleInput) (*CreatePricingRuleOutput, error)

CreatePricingRule API operation for AWSBillingConductor.

Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation CreatePricingRule for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • ServiceLimitExceededException The request would cause a service limit to exceed.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingRule

func (*BillingConductor) CreatePricingRuleRequest

func (c *BillingConductor) CreatePricingRuleRequest(input *CreatePricingRuleInput) (req *request.Request, output *CreatePricingRuleOutput)

CreatePricingRuleRequest generates a "aws/request.Request" representing the client's request for the CreatePricingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePricingRule for more information on using the CreatePricingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePricingRuleRequest method.
req, resp := client.CreatePricingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingRule

func (*BillingConductor) CreatePricingRuleWithContext

func (c *BillingConductor) CreatePricingRuleWithContext(ctx aws.Context, input *CreatePricingRuleInput, opts ...request.Option) (*CreatePricingRuleOutput, error)

CreatePricingRuleWithContext is the same as CreatePricingRule with the addition of the ability to pass a context and additional request options.

See CreatePricingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) DeleteBillingGroup

func (c *BillingConductor) DeleteBillingGroup(input *DeleteBillingGroupInput) (*DeleteBillingGroupOutput, error)

DeleteBillingGroup API operation for AWSBillingConductor.

Deletes a billing group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation DeleteBillingGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteBillingGroup

func (*BillingConductor) DeleteBillingGroupRequest

func (c *BillingConductor) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) (req *request.Request, output *DeleteBillingGroupOutput)

DeleteBillingGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteBillingGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBillingGroup for more information on using the DeleteBillingGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBillingGroupRequest method.
req, resp := client.DeleteBillingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteBillingGroup

func (*BillingConductor) DeleteBillingGroupWithContext

func (c *BillingConductor) DeleteBillingGroupWithContext(ctx aws.Context, input *DeleteBillingGroupInput, opts ...request.Option) (*DeleteBillingGroupOutput, error)

DeleteBillingGroupWithContext is the same as DeleteBillingGroup with the addition of the ability to pass a context and additional request options.

See DeleteBillingGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) DeleteCustomLineItem

func (c *BillingConductor) DeleteCustomLineItem(input *DeleteCustomLineItemInput) (*DeleteCustomLineItemOutput, error)

DeleteCustomLineItem API operation for AWSBillingConductor.

Deletes the custom line item identified by the given ARN in the current, or previous billing period.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation DeleteCustomLineItem for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteCustomLineItem

func (*BillingConductor) DeleteCustomLineItemRequest

func (c *BillingConductor) DeleteCustomLineItemRequest(input *DeleteCustomLineItemInput) (req *request.Request, output *DeleteCustomLineItemOutput)

DeleteCustomLineItemRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomLineItem operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteCustomLineItem for more information on using the DeleteCustomLineItem API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteCustomLineItemRequest method.
req, resp := client.DeleteCustomLineItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteCustomLineItem

func (*BillingConductor) DeleteCustomLineItemWithContext

func (c *BillingConductor) DeleteCustomLineItemWithContext(ctx aws.Context, input *DeleteCustomLineItemInput, opts ...request.Option) (*DeleteCustomLineItemOutput, error)

DeleteCustomLineItemWithContext is the same as DeleteCustomLineItem with the addition of the ability to pass a context and additional request options.

See DeleteCustomLineItem for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) DeletePricingPlan

func (c *BillingConductor) DeletePricingPlan(input *DeletePricingPlanInput) (*DeletePricingPlanOutput, error)

DeletePricingPlan API operation for AWSBillingConductor.

Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation DeletePricingPlan for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingPlan

func (*BillingConductor) DeletePricingPlanRequest

func (c *BillingConductor) DeletePricingPlanRequest(input *DeletePricingPlanInput) (req *request.Request, output *DeletePricingPlanOutput)

DeletePricingPlanRequest generates a "aws/request.Request" representing the client's request for the DeletePricingPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePricingPlan for more information on using the DeletePricingPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePricingPlanRequest method.
req, resp := client.DeletePricingPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingPlan

func (*BillingConductor) DeletePricingPlanWithContext

func (c *BillingConductor) DeletePricingPlanWithContext(ctx aws.Context, input *DeletePricingPlanInput, opts ...request.Option) (*DeletePricingPlanOutput, error)

DeletePricingPlanWithContext is the same as DeletePricingPlan with the addition of the ability to pass a context and additional request options.

See DeletePricingPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) DeletePricingRule

func (c *BillingConductor) DeletePricingRule(input *DeletePricingRuleInput) (*DeletePricingRuleOutput, error)

DeletePricingRule API operation for AWSBillingConductor.

Deletes the pricing rule identified by the input Amazon Resource Name (ARN).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation DeletePricingRule for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingRule

func (*BillingConductor) DeletePricingRuleRequest

func (c *BillingConductor) DeletePricingRuleRequest(input *DeletePricingRuleInput) (req *request.Request, output *DeletePricingRuleOutput)

DeletePricingRuleRequest generates a "aws/request.Request" representing the client's request for the DeletePricingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeletePricingRule for more information on using the DeletePricingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeletePricingRuleRequest method.
req, resp := client.DeletePricingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingRule

func (*BillingConductor) DeletePricingRuleWithContext

func (c *BillingConductor) DeletePricingRuleWithContext(ctx aws.Context, input *DeletePricingRuleInput, opts ...request.Option) (*DeletePricingRuleOutput, error)

DeletePricingRuleWithContext is the same as DeletePricingRule with the addition of the ability to pass a context and additional request options.

See DeletePricingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) DisassociateAccounts

func (c *BillingConductor) DisassociateAccounts(input *DisassociateAccountsInput) (*DisassociateAccountsOutput, error)

DisassociateAccounts API operation for AWSBillingConductor.

Removes the specified list of account IDs from the given billing group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation DisassociateAccounts for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociateAccounts

func (*BillingConductor) DisassociateAccountsRequest

func (c *BillingConductor) DisassociateAccountsRequest(input *DisassociateAccountsInput) (req *request.Request, output *DisassociateAccountsOutput)

DisassociateAccountsRequest generates a "aws/request.Request" representing the client's request for the DisassociateAccounts operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateAccounts for more information on using the DisassociateAccounts API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateAccountsRequest method.
req, resp := client.DisassociateAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociateAccounts

func (*BillingConductor) DisassociateAccountsWithContext

func (c *BillingConductor) DisassociateAccountsWithContext(ctx aws.Context, input *DisassociateAccountsInput, opts ...request.Option) (*DisassociateAccountsOutput, error)

DisassociateAccountsWithContext is the same as DisassociateAccounts with the addition of the ability to pass a context and additional request options.

See DisassociateAccounts for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) DisassociatePricingRules

DisassociatePricingRules API operation for AWSBillingConductor.

Disassociates a list of pricing rules from a pricing plan.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation DisassociatePricingRules for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociatePricingRules

func (*BillingConductor) DisassociatePricingRulesRequest

func (c *BillingConductor) DisassociatePricingRulesRequest(input *DisassociatePricingRulesInput) (req *request.Request, output *DisassociatePricingRulesOutput)

DisassociatePricingRulesRequest generates a "aws/request.Request" representing the client's request for the DisassociatePricingRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociatePricingRules for more information on using the DisassociatePricingRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociatePricingRulesRequest method.
req, resp := client.DisassociatePricingRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociatePricingRules

func (*BillingConductor) DisassociatePricingRulesWithContext

func (c *BillingConductor) DisassociatePricingRulesWithContext(ctx aws.Context, input *DisassociatePricingRulesInput, opts ...request.Option) (*DisassociatePricingRulesOutput, error)

DisassociatePricingRulesWithContext is the same as DisassociatePricingRules with the addition of the ability to pass a context and additional request options.

See DisassociatePricingRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListAccountAssociations

ListAccountAssociations API operation for AWSBillingConductor.

Amazon Web Services Billing Conductor is in beta release and is subject
to change. Your use of Amazon Web Services Billing Conductor is subject
to the Beta Service Participation terms of the Amazon Web Services Service
Terms (https://aws.amazon.com/service-terms/) (Section 1.10).

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group associated with the linked account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListAccountAssociations for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListAccountAssociations

func (*BillingConductor) ListAccountAssociationsPages

func (c *BillingConductor) ListAccountAssociationsPages(input *ListAccountAssociationsInput, fn func(*ListAccountAssociationsOutput, bool) bool) error

ListAccountAssociationsPages iterates over the pages of a ListAccountAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAccountAssociations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAccountAssociations operation.
pageNum := 0
err := client.ListAccountAssociationsPages(params,
    func(page *billingconductor.ListAccountAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListAccountAssociationsPagesWithContext

func (c *BillingConductor) ListAccountAssociationsPagesWithContext(ctx aws.Context, input *ListAccountAssociationsInput, fn func(*ListAccountAssociationsOutput, bool) bool, opts ...request.Option) error

ListAccountAssociationsPagesWithContext same as ListAccountAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListAccountAssociationsRequest

func (c *BillingConductor) ListAccountAssociationsRequest(input *ListAccountAssociationsInput) (req *request.Request, output *ListAccountAssociationsOutput)

ListAccountAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListAccountAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListAccountAssociations for more information on using the ListAccountAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListAccountAssociationsRequest method.
req, resp := client.ListAccountAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListAccountAssociations

func (*BillingConductor) ListAccountAssociationsWithContext

func (c *BillingConductor) ListAccountAssociationsWithContext(ctx aws.Context, input *ListAccountAssociationsInput, opts ...request.Option) (*ListAccountAssociationsOutput, error)

ListAccountAssociationsWithContext is the same as ListAccountAssociations with the addition of the ability to pass a context and additional request options.

See ListAccountAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListBillingGroupCostReports

ListBillingGroupCostReports API operation for AWSBillingConductor.

A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListBillingGroupCostReports for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupCostReports

func (*BillingConductor) ListBillingGroupCostReportsPages

func (c *BillingConductor) ListBillingGroupCostReportsPages(input *ListBillingGroupCostReportsInput, fn func(*ListBillingGroupCostReportsOutput, bool) bool) error

ListBillingGroupCostReportsPages iterates over the pages of a ListBillingGroupCostReports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBillingGroupCostReports method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBillingGroupCostReports operation.
pageNum := 0
err := client.ListBillingGroupCostReportsPages(params,
    func(page *billingconductor.ListBillingGroupCostReportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListBillingGroupCostReportsPagesWithContext

func (c *BillingConductor) ListBillingGroupCostReportsPagesWithContext(ctx aws.Context, input *ListBillingGroupCostReportsInput, fn func(*ListBillingGroupCostReportsOutput, bool) bool, opts ...request.Option) error

ListBillingGroupCostReportsPagesWithContext same as ListBillingGroupCostReportsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListBillingGroupCostReportsRequest

func (c *BillingConductor) ListBillingGroupCostReportsRequest(input *ListBillingGroupCostReportsInput) (req *request.Request, output *ListBillingGroupCostReportsOutput)

ListBillingGroupCostReportsRequest generates a "aws/request.Request" representing the client's request for the ListBillingGroupCostReports operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBillingGroupCostReports for more information on using the ListBillingGroupCostReports API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBillingGroupCostReportsRequest method.
req, resp := client.ListBillingGroupCostReportsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupCostReports

func (*BillingConductor) ListBillingGroupCostReportsWithContext

func (c *BillingConductor) ListBillingGroupCostReportsWithContext(ctx aws.Context, input *ListBillingGroupCostReportsInput, opts ...request.Option) (*ListBillingGroupCostReportsOutput, error)

ListBillingGroupCostReportsWithContext is the same as ListBillingGroupCostReports with the addition of the ability to pass a context and additional request options.

See ListBillingGroupCostReports for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListBillingGroups

func (c *BillingConductor) ListBillingGroups(input *ListBillingGroupsInput) (*ListBillingGroupsOutput, error)

ListBillingGroups API operation for AWSBillingConductor.

A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListBillingGroups for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroups

func (*BillingConductor) ListBillingGroupsPages

func (c *BillingConductor) ListBillingGroupsPages(input *ListBillingGroupsInput, fn func(*ListBillingGroupsOutput, bool) bool) error

ListBillingGroupsPages iterates over the pages of a ListBillingGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListBillingGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListBillingGroups operation.
pageNum := 0
err := client.ListBillingGroupsPages(params,
    func(page *billingconductor.ListBillingGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListBillingGroupsPagesWithContext

func (c *BillingConductor) ListBillingGroupsPagesWithContext(ctx aws.Context, input *ListBillingGroupsInput, fn func(*ListBillingGroupsOutput, bool) bool, opts ...request.Option) error

ListBillingGroupsPagesWithContext same as ListBillingGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListBillingGroupsRequest

func (c *BillingConductor) ListBillingGroupsRequest(input *ListBillingGroupsInput) (req *request.Request, output *ListBillingGroupsOutput)

ListBillingGroupsRequest generates a "aws/request.Request" representing the client's request for the ListBillingGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListBillingGroups for more information on using the ListBillingGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListBillingGroupsRequest method.
req, resp := client.ListBillingGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroups

func (*BillingConductor) ListBillingGroupsWithContext

func (c *BillingConductor) ListBillingGroupsWithContext(ctx aws.Context, input *ListBillingGroupsInput, opts ...request.Option) (*ListBillingGroupsOutput, error)

ListBillingGroupsWithContext is the same as ListBillingGroups with the addition of the ability to pass a context and additional request options.

See ListBillingGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListCustomLineItems

func (c *BillingConductor) ListCustomLineItems(input *ListCustomLineItemsInput) (*ListCustomLineItemsOutput, error)

ListCustomLineItems API operation for AWSBillingConductor.

A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListCustomLineItems for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItems

func (*BillingConductor) ListCustomLineItemsPages

func (c *BillingConductor) ListCustomLineItemsPages(input *ListCustomLineItemsInput, fn func(*ListCustomLineItemsOutput, bool) bool) error

ListCustomLineItemsPages iterates over the pages of a ListCustomLineItems operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomLineItems method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomLineItems operation.
pageNum := 0
err := client.ListCustomLineItemsPages(params,
    func(page *billingconductor.ListCustomLineItemsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListCustomLineItemsPagesWithContext

func (c *BillingConductor) ListCustomLineItemsPagesWithContext(ctx aws.Context, input *ListCustomLineItemsInput, fn func(*ListCustomLineItemsOutput, bool) bool, opts ...request.Option) error

ListCustomLineItemsPagesWithContext same as ListCustomLineItemsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListCustomLineItemsRequest

func (c *BillingConductor) ListCustomLineItemsRequest(input *ListCustomLineItemsInput) (req *request.Request, output *ListCustomLineItemsOutput)

ListCustomLineItemsRequest generates a "aws/request.Request" representing the client's request for the ListCustomLineItems operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListCustomLineItems for more information on using the ListCustomLineItems API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListCustomLineItemsRequest method.
req, resp := client.ListCustomLineItemsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItems

func (*BillingConductor) ListCustomLineItemsWithContext

func (c *BillingConductor) ListCustomLineItemsWithContext(ctx aws.Context, input *ListCustomLineItemsInput, opts ...request.Option) (*ListCustomLineItemsOutput, error)

ListCustomLineItemsWithContext is the same as ListCustomLineItems with the addition of the ability to pass a context and additional request options.

See ListCustomLineItems for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingPlans

func (c *BillingConductor) ListPricingPlans(input *ListPricingPlansInput) (*ListPricingPlansOutput, error)

ListPricingPlans API operation for AWSBillingConductor.

A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListPricingPlans for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlans

func (*BillingConductor) ListPricingPlansAssociatedWithPricingRule

ListPricingPlansAssociatedWithPricingRule API operation for AWSBillingConductor.

A list of the pricing plans associated with a pricing rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListPricingPlansAssociatedWithPricingRule for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlansAssociatedWithPricingRule

func (*BillingConductor) ListPricingPlansAssociatedWithPricingRulePages

func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRulePages(input *ListPricingPlansAssociatedWithPricingRuleInput, fn func(*ListPricingPlansAssociatedWithPricingRuleOutput, bool) bool) error

ListPricingPlansAssociatedWithPricingRulePages iterates over the pages of a ListPricingPlansAssociatedWithPricingRule operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPricingPlansAssociatedWithPricingRule method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPricingPlansAssociatedWithPricingRule operation.
pageNum := 0
err := client.ListPricingPlansAssociatedWithPricingRulePages(params,
    func(page *billingconductor.ListPricingPlansAssociatedWithPricingRuleOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListPricingPlansAssociatedWithPricingRulePagesWithContext

func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRulePagesWithContext(ctx aws.Context, input *ListPricingPlansAssociatedWithPricingRuleInput, fn func(*ListPricingPlansAssociatedWithPricingRuleOutput, bool) bool, opts ...request.Option) error

ListPricingPlansAssociatedWithPricingRulePagesWithContext same as ListPricingPlansAssociatedWithPricingRulePages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingPlansAssociatedWithPricingRuleRequest

func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRuleRequest(input *ListPricingPlansAssociatedWithPricingRuleInput) (req *request.Request, output *ListPricingPlansAssociatedWithPricingRuleOutput)

ListPricingPlansAssociatedWithPricingRuleRequest generates a "aws/request.Request" representing the client's request for the ListPricingPlansAssociatedWithPricingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPricingPlansAssociatedWithPricingRule for more information on using the ListPricingPlansAssociatedWithPricingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPricingPlansAssociatedWithPricingRuleRequest method.
req, resp := client.ListPricingPlansAssociatedWithPricingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlansAssociatedWithPricingRule

func (*BillingConductor) ListPricingPlansAssociatedWithPricingRuleWithContext

func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRuleWithContext(ctx aws.Context, input *ListPricingPlansAssociatedWithPricingRuleInput, opts ...request.Option) (*ListPricingPlansAssociatedWithPricingRuleOutput, error)

ListPricingPlansAssociatedWithPricingRuleWithContext is the same as ListPricingPlansAssociatedWithPricingRule with the addition of the ability to pass a context and additional request options.

See ListPricingPlansAssociatedWithPricingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingPlansPages

func (c *BillingConductor) ListPricingPlansPages(input *ListPricingPlansInput, fn func(*ListPricingPlansOutput, bool) bool) error

ListPricingPlansPages iterates over the pages of a ListPricingPlans operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPricingPlans method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPricingPlans operation.
pageNum := 0
err := client.ListPricingPlansPages(params,
    func(page *billingconductor.ListPricingPlansOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListPricingPlansPagesWithContext

func (c *BillingConductor) ListPricingPlansPagesWithContext(ctx aws.Context, input *ListPricingPlansInput, fn func(*ListPricingPlansOutput, bool) bool, opts ...request.Option) error

ListPricingPlansPagesWithContext same as ListPricingPlansPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingPlansRequest

func (c *BillingConductor) ListPricingPlansRequest(input *ListPricingPlansInput) (req *request.Request, output *ListPricingPlansOutput)

ListPricingPlansRequest generates a "aws/request.Request" representing the client's request for the ListPricingPlans operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPricingPlans for more information on using the ListPricingPlans API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPricingPlansRequest method.
req, resp := client.ListPricingPlansRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlans

func (*BillingConductor) ListPricingPlansWithContext

func (c *BillingConductor) ListPricingPlansWithContext(ctx aws.Context, input *ListPricingPlansInput, opts ...request.Option) (*ListPricingPlansOutput, error)

ListPricingPlansWithContext is the same as ListPricingPlans with the addition of the ability to pass a context and additional request options.

See ListPricingPlans for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingRules

func (c *BillingConductor) ListPricingRules(input *ListPricingRulesInput) (*ListPricingRulesOutput, error)

ListPricingRules API operation for AWSBillingConductor.

Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListPricingRules for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules

func (*BillingConductor) ListPricingRulesAssociatedToPricingPlan

ListPricingRulesAssociatedToPricingPlan API operation for AWSBillingConductor.

Lists the pricing rules associated with a pricing plan.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListPricingRulesAssociatedToPricingPlan for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRulesAssociatedToPricingPlan

func (*BillingConductor) ListPricingRulesAssociatedToPricingPlanPages

func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanPages(input *ListPricingRulesAssociatedToPricingPlanInput, fn func(*ListPricingRulesAssociatedToPricingPlanOutput, bool) bool) error

ListPricingRulesAssociatedToPricingPlanPages iterates over the pages of a ListPricingRulesAssociatedToPricingPlan operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPricingRulesAssociatedToPricingPlan method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPricingRulesAssociatedToPricingPlan operation.
pageNum := 0
err := client.ListPricingRulesAssociatedToPricingPlanPages(params,
    func(page *billingconductor.ListPricingRulesAssociatedToPricingPlanOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListPricingRulesAssociatedToPricingPlanPagesWithContext

func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanPagesWithContext(ctx aws.Context, input *ListPricingRulesAssociatedToPricingPlanInput, fn func(*ListPricingRulesAssociatedToPricingPlanOutput, bool) bool, opts ...request.Option) error

ListPricingRulesAssociatedToPricingPlanPagesWithContext same as ListPricingRulesAssociatedToPricingPlanPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingRulesAssociatedToPricingPlanRequest

func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanRequest(input *ListPricingRulesAssociatedToPricingPlanInput) (req *request.Request, output *ListPricingRulesAssociatedToPricingPlanOutput)

ListPricingRulesAssociatedToPricingPlanRequest generates a "aws/request.Request" representing the client's request for the ListPricingRulesAssociatedToPricingPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPricingRulesAssociatedToPricingPlan for more information on using the ListPricingRulesAssociatedToPricingPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPricingRulesAssociatedToPricingPlanRequest method.
req, resp := client.ListPricingRulesAssociatedToPricingPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRulesAssociatedToPricingPlan

func (*BillingConductor) ListPricingRulesAssociatedToPricingPlanWithContext

func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanWithContext(ctx aws.Context, input *ListPricingRulesAssociatedToPricingPlanInput, opts ...request.Option) (*ListPricingRulesAssociatedToPricingPlanOutput, error)

ListPricingRulesAssociatedToPricingPlanWithContext is the same as ListPricingRulesAssociatedToPricingPlan with the addition of the ability to pass a context and additional request options.

See ListPricingRulesAssociatedToPricingPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingRulesPages

func (c *BillingConductor) ListPricingRulesPages(input *ListPricingRulesInput, fn func(*ListPricingRulesOutput, bool) bool) error

ListPricingRulesPages iterates over the pages of a ListPricingRules operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListPricingRules method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListPricingRules operation.
pageNum := 0
err := client.ListPricingRulesPages(params,
    func(page *billingconductor.ListPricingRulesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListPricingRulesPagesWithContext

func (c *BillingConductor) ListPricingRulesPagesWithContext(ctx aws.Context, input *ListPricingRulesInput, fn func(*ListPricingRulesOutput, bool) bool, opts ...request.Option) error

ListPricingRulesPagesWithContext same as ListPricingRulesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListPricingRulesRequest

func (c *BillingConductor) ListPricingRulesRequest(input *ListPricingRulesInput) (req *request.Request, output *ListPricingRulesOutput)

ListPricingRulesRequest generates a "aws/request.Request" representing the client's request for the ListPricingRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListPricingRules for more information on using the ListPricingRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListPricingRulesRequest method.
req, resp := client.ListPricingRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules

func (*BillingConductor) ListPricingRulesWithContext

func (c *BillingConductor) ListPricingRulesWithContext(ctx aws.Context, input *ListPricingRulesInput, opts ...request.Option) (*ListPricingRulesOutput, error)

ListPricingRulesWithContext is the same as ListPricingRules with the addition of the ability to pass a context and additional request options.

See ListPricingRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListResourcesAssociatedToCustomLineItem

ListResourcesAssociatedToCustomLineItem API operation for AWSBillingConductor.

List the resources associated to a custom line item.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListResourcesAssociatedToCustomLineItem for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListResourcesAssociatedToCustomLineItem

func (*BillingConductor) ListResourcesAssociatedToCustomLineItemPages

func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemPages(input *ListResourcesAssociatedToCustomLineItemInput, fn func(*ListResourcesAssociatedToCustomLineItemOutput, bool) bool) error

ListResourcesAssociatedToCustomLineItemPages iterates over the pages of a ListResourcesAssociatedToCustomLineItem operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResourcesAssociatedToCustomLineItem method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListResourcesAssociatedToCustomLineItem operation.
pageNum := 0
err := client.ListResourcesAssociatedToCustomLineItemPages(params,
    func(page *billingconductor.ListResourcesAssociatedToCustomLineItemOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*BillingConductor) ListResourcesAssociatedToCustomLineItemPagesWithContext

func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemPagesWithContext(ctx aws.Context, input *ListResourcesAssociatedToCustomLineItemInput, fn func(*ListResourcesAssociatedToCustomLineItemOutput, bool) bool, opts ...request.Option) error

ListResourcesAssociatedToCustomLineItemPagesWithContext same as ListResourcesAssociatedToCustomLineItemPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListResourcesAssociatedToCustomLineItemRequest

func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemRequest(input *ListResourcesAssociatedToCustomLineItemInput) (req *request.Request, output *ListResourcesAssociatedToCustomLineItemOutput)

ListResourcesAssociatedToCustomLineItemRequest generates a "aws/request.Request" representing the client's request for the ListResourcesAssociatedToCustomLineItem operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResourcesAssociatedToCustomLineItem for more information on using the ListResourcesAssociatedToCustomLineItem API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResourcesAssociatedToCustomLineItemRequest method.
req, resp := client.ListResourcesAssociatedToCustomLineItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListResourcesAssociatedToCustomLineItem

func (*BillingConductor) ListResourcesAssociatedToCustomLineItemWithContext

func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemWithContext(ctx aws.Context, input *ListResourcesAssociatedToCustomLineItemInput, opts ...request.Option) (*ListResourcesAssociatedToCustomLineItemOutput, error)

ListResourcesAssociatedToCustomLineItemWithContext is the same as ListResourcesAssociatedToCustomLineItem with the addition of the ability to pass a context and additional request options.

See ListResourcesAssociatedToCustomLineItem for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) ListTagsForResource

func (c *BillingConductor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWSBillingConductor.

A list the tags for a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation ListTagsForResource for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListTagsForResource

func (*BillingConductor) ListTagsForResourceRequest

func (c *BillingConductor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListTagsForResource

func (*BillingConductor) ListTagsForResourceWithContext

func (c *BillingConductor) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) TagResource

func (c *BillingConductor) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWSBillingConductor.

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation TagResource for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/TagResource

func (*BillingConductor) TagResourceRequest

func (c *BillingConductor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/TagResource

func (*BillingConductor) TagResourceWithContext

func (c *BillingConductor) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) UntagResource

func (c *BillingConductor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWSBillingConductor.

Deletes specified tags from a resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation UntagResource for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UntagResource

func (*BillingConductor) UntagResourceRequest

func (c *BillingConductor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UntagResource

func (*BillingConductor) UntagResourceWithContext

func (c *BillingConductor) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) UpdateBillingGroup

func (c *BillingConductor) UpdateBillingGroup(input *UpdateBillingGroupInput) (*UpdateBillingGroupOutput, error)

UpdateBillingGroup API operation for AWSBillingConductor.

This updates an existing billing group.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation UpdateBillingGroup for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroup

func (*BillingConductor) UpdateBillingGroupRequest

func (c *BillingConductor) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) (req *request.Request, output *UpdateBillingGroupOutput)

UpdateBillingGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateBillingGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateBillingGroup for more information on using the UpdateBillingGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateBillingGroupRequest method.
req, resp := client.UpdateBillingGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroup

func (*BillingConductor) UpdateBillingGroupWithContext

func (c *BillingConductor) UpdateBillingGroupWithContext(ctx aws.Context, input *UpdateBillingGroupInput, opts ...request.Option) (*UpdateBillingGroupOutput, error)

UpdateBillingGroupWithContext is the same as UpdateBillingGroup with the addition of the ability to pass a context and additional request options.

See UpdateBillingGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) UpdateCustomLineItem

func (c *BillingConductor) UpdateCustomLineItem(input *UpdateCustomLineItemInput) (*UpdateCustomLineItemOutput, error)

UpdateCustomLineItem API operation for AWSBillingConductor.

Update an existing custom line item in the current or previous billing period.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation UpdateCustomLineItem for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateCustomLineItem

func (*BillingConductor) UpdateCustomLineItemRequest

func (c *BillingConductor) UpdateCustomLineItemRequest(input *UpdateCustomLineItemInput) (req *request.Request, output *UpdateCustomLineItemOutput)

UpdateCustomLineItemRequest generates a "aws/request.Request" representing the client's request for the UpdateCustomLineItem operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateCustomLineItem for more information on using the UpdateCustomLineItem API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateCustomLineItemRequest method.
req, resp := client.UpdateCustomLineItemRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateCustomLineItem

func (*BillingConductor) UpdateCustomLineItemWithContext

func (c *BillingConductor) UpdateCustomLineItemWithContext(ctx aws.Context, input *UpdateCustomLineItemInput, opts ...request.Option) (*UpdateCustomLineItemOutput, error)

UpdateCustomLineItemWithContext is the same as UpdateCustomLineItem with the addition of the ability to pass a context and additional request options.

See UpdateCustomLineItem for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) UpdatePricingPlan

func (c *BillingConductor) UpdatePricingPlan(input *UpdatePricingPlanInput) (*UpdatePricingPlanOutput, error)

UpdatePricingPlan API operation for AWSBillingConductor.

This updates an existing pricing plan.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation UpdatePricingPlan for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingPlan

func (*BillingConductor) UpdatePricingPlanRequest

func (c *BillingConductor) UpdatePricingPlanRequest(input *UpdatePricingPlanInput) (req *request.Request, output *UpdatePricingPlanOutput)

UpdatePricingPlanRequest generates a "aws/request.Request" representing the client's request for the UpdatePricingPlan operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePricingPlan for more information on using the UpdatePricingPlan API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePricingPlanRequest method.
req, resp := client.UpdatePricingPlanRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingPlan

func (*BillingConductor) UpdatePricingPlanWithContext

func (c *BillingConductor) UpdatePricingPlanWithContext(ctx aws.Context, input *UpdatePricingPlanInput, opts ...request.Option) (*UpdatePricingPlanOutput, error)

UpdatePricingPlanWithContext is the same as UpdatePricingPlan with the addition of the ability to pass a context and additional request options.

See UpdatePricingPlan for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*BillingConductor) UpdatePricingRule

func (c *BillingConductor) UpdatePricingRule(input *UpdatePricingRuleInput) (*UpdatePricingRuleOutput, error)

UpdatePricingRule API operation for AWSBillingConductor.

Updates an existing pricing rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWSBillingConductor's API operation UpdatePricingRule for usage and error information.

Returned Error Types:

  • ThrottlingException The request was denied due to request throttling.

  • ConflictException You can cause an inconsistent state by updating or deleting a resource.

  • AccessDeniedException You do not have sufficient access to perform this action.

  • ValidationException The input doesn't match with the constraints specified by Amazon Web Services services.

  • InternalServerException An unexpected error occurred while processing a request.

  • ResourceNotFoundException The request references a resource that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRule

func (*BillingConductor) UpdatePricingRuleRequest

func (c *BillingConductor) UpdatePricingRuleRequest(input *UpdatePricingRuleInput) (req *request.Request, output *UpdatePricingRuleOutput)

UpdatePricingRuleRequest generates a "aws/request.Request" representing the client's request for the UpdatePricingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdatePricingRule for more information on using the UpdatePricingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdatePricingRuleRequest method.
req, resp := client.UpdatePricingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRule

func (*BillingConductor) UpdatePricingRuleWithContext

func (c *BillingConductor) UpdatePricingRuleWithContext(ctx aws.Context, input *UpdatePricingRuleInput, opts ...request.Option) (*UpdatePricingRuleOutput, error)

UpdatePricingRuleWithContext is the same as UpdatePricingRule with the addition of the ability to pass a context and additional request options.

See UpdatePricingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type BillingGroupCostReportElement

type BillingGroupCostReportElement struct {

	// The actual Amazon Web Services charges for the billing group.
	AWSCost *string `type:"string"`

	// The Amazon Resource Name (ARN) of a billing group.
	Arn *string `type:"string"`

	// The displayed currency.
	Currency *string `type:"string"`

	// The billing group margin.
	Margin *string `type:"string"`

	// The percentage of billing group margin.
	MarginPercentage *string `type:"string"`

	// The hypothetical Amazon Web Services charges based on the associated pricing
	// plan of a billing group.
	ProformaCost *string `type:"string"`
	// contains filtered or unexported fields
}

A summary report of actual Amazon Web Services charges and calculated Amazon Web Services charges, based on the associated pricing plan of a billing group.

func (BillingGroupCostReportElement) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BillingGroupCostReportElement) SetAWSCost

SetAWSCost sets the AWSCost field's value.

func (*BillingGroupCostReportElement) SetArn

SetArn sets the Arn field's value.

func (*BillingGroupCostReportElement) SetCurrency

SetCurrency sets the Currency field's value.

func (*BillingGroupCostReportElement) SetMargin

SetMargin sets the Margin field's value.

func (*BillingGroupCostReportElement) SetMarginPercentage

SetMarginPercentage sets the MarginPercentage field's value.

func (*BillingGroupCostReportElement) SetProformaCost

SetProformaCost sets the ProformaCost field's value.

func (BillingGroupCostReportElement) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type BillingGroupListElement

type BillingGroupListElement struct {

	// The Amazon Resource Number (ARN) that can be used to uniquely identify the
	// billing group.
	Arn *string `type:"string"`

	// The preferences and settings that will be used to compute the Amazon Web
	// Services charges for a billing group.
	ComputationPreference *ComputationPreference `type:"structure"`

	// The time the billing group was created.
	CreationTime *int64 `type:"long"`

	// The billing group description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by BillingGroupListElement's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The most recent time the billing group was modified.
	LastModifiedTime *int64 `type:"long"`

	// The billing group's name.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by BillingGroupListElement's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The account ID that serves as the main account in a billing group.
	PrimaryAccountId *string `type:"string"`

	// The number of accounts in the particular billing group.
	Size *int64 `type:"long"`

	// The billing group status. Only one of the valid values can be used.
	Status *string `type:"string" enum:"BillingGroupStatus"`

	// The reason why the billing group is in its current status.
	StatusReason *string `type:"string"`
	// contains filtered or unexported fields
}

A representation of a billing group.

func (BillingGroupListElement) GoString

func (s BillingGroupListElement) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*BillingGroupListElement) SetArn

SetArn sets the Arn field's value.

func (*BillingGroupListElement) SetComputationPreference

SetComputationPreference sets the ComputationPreference field's value.

func (*BillingGroupListElement) SetCreationTime

func (s *BillingGroupListElement) SetCreationTime(v int64) *BillingGroupListElement

SetCreationTime sets the CreationTime field's value.

func (*BillingGroupListElement) SetDescription

SetDescription sets the Description field's value.

func (*BillingGroupListElement) SetLastModifiedTime

func (s *BillingGroupListElement) SetLastModifiedTime(v int64) *BillingGroupListElement

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*BillingGroupListElement) SetName

SetName sets the Name field's value.

func (*BillingGroupListElement) SetPrimaryAccountId

func (s *BillingGroupListElement) SetPrimaryAccountId(v string) *BillingGroupListElement

SetPrimaryAccountId sets the PrimaryAccountId field's value.

func (*BillingGroupListElement) SetSize

SetSize sets the Size field's value.

func (*BillingGroupListElement) SetStatus

SetStatus sets the Status field's value.

func (*BillingGroupListElement) SetStatusReason

SetStatusReason sets the StatusReason field's value.

func (BillingGroupListElement) String

func (s BillingGroupListElement) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ComputationPreference

type ComputationPreference struct {

	// The Amazon Resource Name (ARN) of the pricing plan used to compute the Amazon
	// Web Services charges for a billing group.
	//
	// PricingPlanArn is a required field
	PricingPlanArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The preferences and settings that will be used to compute the Amazon Web Services charges for a billing group.

func (ComputationPreference) GoString

func (s ComputationPreference) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ComputationPreference) SetPricingPlanArn

func (s *ComputationPreference) SetPricingPlanArn(v string) *ComputationPreference

SetPricingPlanArn sets the PricingPlanArn field's value.

func (ComputationPreference) String

func (s ComputationPreference) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ComputationPreference) Validate

func (s *ComputationPreference) Validate() error

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

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Identifier of the resource in use.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// Type of the resource in use.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

You can cause an inconsistent state by updating or deleting a resource.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateBillingGroupInput

type CreateBillingGroupInput struct {

	// The set of accounts that will be under the billing group. The set of accounts
	// resemble the linked accounts in a consolidated family.
	//
	// AccountGrouping is a required field
	AccountGrouping *AccountGrouping `type:"structure" required:"true"`

	// The token that is needed to support idempotency. Idempotency isn't currently
	// supported, but will be implemented in a future update.
	ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"`

	// The preferences and settings that will be used to compute the Amazon Web
	// Services charges for a billing group.
	//
	// ComputationPreference is a required field
	ComputationPreference *ComputationPreference `type:"structure" required:"true"`

	// The billing group description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateBillingGroupInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The billing group name. The names must be unique.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateBillingGroupInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The account ID that serves as the main account in a billing group.
	PrimaryAccountId *string `type:"string"`

	// A map that contains tag keys and tag values that are attached to a billing
	// group. This feature isn't available during the beta.
	Tags map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateBillingGroupInput) GoString

func (s CreateBillingGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBillingGroupInput) SetAccountGrouping

SetAccountGrouping sets the AccountGrouping field's value.

func (*CreateBillingGroupInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateBillingGroupInput) SetComputationPreference

SetComputationPreference sets the ComputationPreference field's value.

func (*CreateBillingGroupInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateBillingGroupInput) SetName

SetName sets the Name field's value.

func (*CreateBillingGroupInput) SetPrimaryAccountId

func (s *CreateBillingGroupInput) SetPrimaryAccountId(v string) *CreateBillingGroupInput

SetPrimaryAccountId sets the PrimaryAccountId field's value.

func (*CreateBillingGroupInput) SetTags

SetTags sets the Tags field's value.

func (CreateBillingGroupInput) String

func (s CreateBillingGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBillingGroupInput) Validate

func (s *CreateBillingGroupInput) Validate() error

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

type CreateBillingGroupOutput

type CreateBillingGroupOutput struct {

	// The Amazon Resource Name (ARN) of the created billing group.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateBillingGroupOutput) GoString

func (s CreateBillingGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateBillingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (CreateBillingGroupOutput) String

func (s CreateBillingGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateCustomLineItemInput

type CreateCustomLineItemInput struct {

	// The Amazon Resource Name (ARN) that references the billing group where the
	// custom line item applies to.
	//
	// BillingGroupArn is a required field
	BillingGroupArn *string `type:"string" required:"true"`

	// A time range for which the custom line item is effective.
	BillingPeriodRange *CustomLineItemBillingPeriodRange `type:"structure"`

	// A CustomLineItemChargeDetails that describes the charge details for a custom
	// line item.
	//
	// ChargeDetails is a required field
	ChargeDetails *CustomLineItemChargeDetails `type:"structure" required:"true"`

	// The token that is needed to support idempotency. Idempotency isn't currently
	// supported, but will be implemented in a future update.
	ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"`

	// The description of the custom line item. This is shown on the Bills page
	// in association with the charge value.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateCustomLineItemInput's
	// String and GoString methods.
	//
	// Description is a required field
	Description *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The name of the custom line item.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreateCustomLineItemInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// A map that contains tag keys and tag values that are attached to a custom
	// line item.
	Tags map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreateCustomLineItemInput) GoString

func (s CreateCustomLineItemInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateCustomLineItemInput) SetBillingGroupArn

SetBillingGroupArn sets the BillingGroupArn field's value.

func (*CreateCustomLineItemInput) SetBillingPeriodRange

SetBillingPeriodRange sets the BillingPeriodRange field's value.

func (*CreateCustomLineItemInput) SetChargeDetails

SetChargeDetails sets the ChargeDetails field's value.

func (*CreateCustomLineItemInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreateCustomLineItemInput) SetDescription

SetDescription sets the Description field's value.

func (*CreateCustomLineItemInput) SetName

SetName sets the Name field's value.

func (*CreateCustomLineItemInput) SetTags

SetTags sets the Tags field's value.

func (CreateCustomLineItemInput) String

func (s CreateCustomLineItemInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateCustomLineItemInput) Validate

func (s *CreateCustomLineItemInput) Validate() error

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

type CreateCustomLineItemOutput

type CreateCustomLineItemOutput struct {

	// The Amazon Resource Name (ARN) of the created custom line item.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateCustomLineItemOutput) GoString

func (s CreateCustomLineItemOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateCustomLineItemOutput) SetArn

SetArn sets the Arn field's value.

func (CreateCustomLineItemOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePricingPlanInput

type CreatePricingPlanInput struct {

	// The token that is needed to support idempotency. Idempotency isn't currently
	// supported, but will be implemented in a future update.
	ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"`

	// The pricing plan description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreatePricingPlanInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The pricing plan name. The names must be unique to each pricing plan.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreatePricingPlanInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
	PricingRuleArns []*string `type:"list"`

	// A map that contains tag keys and tag values that are attached to a pricing
	// plan.
	Tags map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (CreatePricingPlanInput) GoString

func (s CreatePricingPlanInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePricingPlanInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreatePricingPlanInput) SetDescription

SetDescription sets the Description field's value.

func (*CreatePricingPlanInput) SetName

SetName sets the Name field's value.

func (*CreatePricingPlanInput) SetPricingRuleArns

func (s *CreatePricingPlanInput) SetPricingRuleArns(v []*string) *CreatePricingPlanInput

SetPricingRuleArns sets the PricingRuleArns field's value.

func (*CreatePricingPlanInput) SetTags

SetTags sets the Tags field's value.

func (CreatePricingPlanInput) String

func (s CreatePricingPlanInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePricingPlanInput) Validate

func (s *CreatePricingPlanInput) Validate() error

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

type CreatePricingPlanOutput

type CreatePricingPlanOutput struct {

	// The Amazon Resource Name (ARN) of the created pricing plan.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreatePricingPlanOutput) GoString

func (s CreatePricingPlanOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePricingPlanOutput) SetArn

SetArn sets the Arn field's value.

func (CreatePricingPlanOutput) String

func (s CreatePricingPlanOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreatePricingRuleInput

type CreatePricingRuleInput struct {

	// The token that is needed to support idempotency. Idempotency isn't currently
	// supported, but will be implemented in a future update.
	ClientToken *string `location:"header" locationName:"X-Amzn-Client-Token" min:"1" type:"string" idempotencyToken:"true"`

	// The pricing rule description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreatePricingRuleInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// A percentage modifier applied on the public pricing rates.
	//
	// ModifierPercentage is a required field
	ModifierPercentage *float64 `type:"double" required:"true"`

	// The pricing rule name. The names must be unique to each pricing rule.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CreatePricingRuleInput's
	// String and GoString methods.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true" sensitive:"true"`

	// The scope of pricing rule that indicates if it is globally applicable, or
	// is service-specific.
	//
	// Scope is a required field
	Scope *string `type:"string" required:"true" enum:"PricingRuleScope"`

	// If the Scope attribute is set to SERVICE, the attribute indicates which service
	// the PricingRule is applicable for.
	Service *string `min:"1" type:"string"`

	// A map that contains tag keys and tag values that are attached to a pricing
	// rule.
	Tags map[string]*string `min:"1" type:"map"`

	// The type of pricing rule.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"PricingRuleType"`
	// contains filtered or unexported fields
}

func (CreatePricingRuleInput) GoString

func (s CreatePricingRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePricingRuleInput) SetClientToken

SetClientToken sets the ClientToken field's value.

func (*CreatePricingRuleInput) SetDescription

SetDescription sets the Description field's value.

func (*CreatePricingRuleInput) SetModifierPercentage

func (s *CreatePricingRuleInput) SetModifierPercentage(v float64) *CreatePricingRuleInput

SetModifierPercentage sets the ModifierPercentage field's value.

func (*CreatePricingRuleInput) SetName

SetName sets the Name field's value.

func (*CreatePricingRuleInput) SetScope

SetScope sets the Scope field's value.

func (*CreatePricingRuleInput) SetService

SetService sets the Service field's value.

func (*CreatePricingRuleInput) SetTags

SetTags sets the Tags field's value.

func (*CreatePricingRuleInput) SetType

SetType sets the Type field's value.

func (CreatePricingRuleInput) String

func (s CreatePricingRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePricingRuleInput) Validate

func (s *CreatePricingRuleInput) Validate() error

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

type CreatePricingRuleOutput

type CreatePricingRuleOutput struct {

	// The Amazon Resource Name (ARN) of the created pricing rule.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreatePricingRuleOutput) GoString

func (s CreatePricingRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreatePricingRuleOutput) SetArn

SetArn sets the Arn field's value.

func (CreatePricingRuleOutput) String

func (s CreatePricingRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CustomLineItemBillingPeriodRange

type CustomLineItemBillingPeriodRange struct {

	// The inclusive end billing period that defines a billing period range where
	// a custom line is applied.
	//
	// ExclusiveEndBillingPeriod is a required field
	ExclusiveEndBillingPeriod *string `type:"string" required:"true"`

	// The inclusive start billing period that defines a billing period range where
	// a custom line is applied.
	//
	// InclusiveStartBillingPeriod is a required field
	InclusiveStartBillingPeriod *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The billing period range in which the custom line item request will be applied.

func (CustomLineItemBillingPeriodRange) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemBillingPeriodRange) SetExclusiveEndBillingPeriod

func (s *CustomLineItemBillingPeriodRange) SetExclusiveEndBillingPeriod(v string) *CustomLineItemBillingPeriodRange

SetExclusiveEndBillingPeriod sets the ExclusiveEndBillingPeriod field's value.

func (*CustomLineItemBillingPeriodRange) SetInclusiveStartBillingPeriod

func (s *CustomLineItemBillingPeriodRange) SetInclusiveStartBillingPeriod(v string) *CustomLineItemBillingPeriodRange

SetInclusiveStartBillingPeriod sets the InclusiveStartBillingPeriod field's value.

func (CustomLineItemBillingPeriodRange) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemBillingPeriodRange) Validate

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

type CustomLineItemChargeDetails

type CustomLineItemChargeDetails struct {

	// A CustomLineItemFlatChargeDetails that describes the charge details of a
	// flat custom line item.
	Flat *CustomLineItemFlatChargeDetails `type:"structure"`

	// A CustomLineItemPercentageChargeDetails that describes the charge details
	// of a percentage custom line item.
	Percentage *CustomLineItemPercentageChargeDetails `type:"structure"`

	// The type of the custom line item that indicates whether the charge is a fee
	// or credit.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"CustomLineItemType"`
	// contains filtered or unexported fields
}

The charge details of a custom line item. It should contain only one of Flat or Percentage.

func (CustomLineItemChargeDetails) GoString

func (s CustomLineItemChargeDetails) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemChargeDetails) SetFlat

SetFlat sets the Flat field's value.

func (*CustomLineItemChargeDetails) SetPercentage

SetPercentage sets the Percentage field's value.

func (*CustomLineItemChargeDetails) SetType

SetType sets the Type field's value.

func (CustomLineItemChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemChargeDetails) Validate

func (s *CustomLineItemChargeDetails) Validate() error

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

type CustomLineItemFlatChargeDetails

type CustomLineItemFlatChargeDetails struct {

	// The custom line item's fixed charge value in USD.
	//
	// ChargeValue is a required field
	ChargeValue *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

A representation of the charge details associated with a flat custom line item.

func (CustomLineItemFlatChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemFlatChargeDetails) SetChargeValue

SetChargeValue sets the ChargeValue field's value.

func (CustomLineItemFlatChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemFlatChargeDetails) Validate

func (s *CustomLineItemFlatChargeDetails) Validate() error

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

type CustomLineItemListElement

type CustomLineItemListElement struct {

	// The Amazon Resource Names (ARNs) for custom line items.
	Arn *string `type:"string"`

	// The number of resources that are associated to the custom line item.
	AssociationSize *int64 `type:"long"`

	// The Amazon Resource Name (ARN) that references the billing group where the
	// custom line item applies to.
	BillingGroupArn *string `type:"string"`

	// A ListCustomLineItemChargeDetails that describes the charge details of a
	// custom line item.
	ChargeDetails *ListCustomLineItemChargeDetails `type:"structure"`

	// The time created.
	CreationTime *int64 `type:"long"`

	// The custom line item's charge value currency. Only one of the valid values
	// can be used.
	CurrencyCode *string `type:"string" enum:"CurrencyCode"`

	// The custom line item's description. This is shown on the Bills page in association
	// with the charge value.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CustomLineItemListElement's
	// String and GoString methods.
	Description *string `min:"1" type:"string" sensitive:"true"`

	// The most recent time the custom line item was modified.
	LastModifiedTime *int64 `type:"long"`

	// The custom line item's name.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by CustomLineItemListElement's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The product code associated with the custom line item.
	ProductCode *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

A representation of a custom line item.

func (CustomLineItemListElement) GoString

func (s CustomLineItemListElement) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemListElement) SetArn

SetArn sets the Arn field's value.

func (*CustomLineItemListElement) SetAssociationSize

func (s *CustomLineItemListElement) SetAssociationSize(v int64) *CustomLineItemListElement

SetAssociationSize sets the AssociationSize field's value.

func (*CustomLineItemListElement) SetBillingGroupArn

SetBillingGroupArn sets the BillingGroupArn field's value.

func (*CustomLineItemListElement) SetChargeDetails

SetChargeDetails sets the ChargeDetails field's value.

func (*CustomLineItemListElement) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*CustomLineItemListElement) SetCurrencyCode

SetCurrencyCode sets the CurrencyCode field's value.

func (*CustomLineItemListElement) SetDescription

SetDescription sets the Description field's value.

func (*CustomLineItemListElement) SetLastModifiedTime

func (s *CustomLineItemListElement) SetLastModifiedTime(v int64) *CustomLineItemListElement

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CustomLineItemListElement) SetName

SetName sets the Name field's value.

func (*CustomLineItemListElement) SetProductCode

SetProductCode sets the ProductCode field's value.

func (CustomLineItemListElement) String

func (s CustomLineItemListElement) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CustomLineItemPercentageChargeDetails

type CustomLineItemPercentageChargeDetails struct {

	// A list of resource ARNs to associate to the percentage custom line item.
	AssociatedValues []*string `type:"list"`

	// The custom line item's percentage value. This will be multiplied against
	// the combined value of its associated resources to determine its charge value.
	//
	// PercentageValue is a required field
	PercentageValue *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

A representation of the charge details associated with a percentage custom line item.

func (CustomLineItemPercentageChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemPercentageChargeDetails) SetAssociatedValues

SetAssociatedValues sets the AssociatedValues field's value.

func (*CustomLineItemPercentageChargeDetails) SetPercentageValue

SetPercentageValue sets the PercentageValue field's value.

func (CustomLineItemPercentageChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CustomLineItemPercentageChargeDetails) Validate

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

type DeleteBillingGroupInput

type DeleteBillingGroupInput struct {

	// The Amazon Resource Name (ARN) of the billing group you're deleting.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteBillingGroupInput) GoString

func (s DeleteBillingGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBillingGroupInput) SetArn

SetArn sets the Arn field's value.

func (DeleteBillingGroupInput) String

func (s DeleteBillingGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBillingGroupInput) Validate

func (s *DeleteBillingGroupInput) Validate() error

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

type DeleteBillingGroupOutput

type DeleteBillingGroupOutput struct {

	// The Amazon Resource Name (ARN) of the deleted billing group.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteBillingGroupOutput) GoString

func (s DeleteBillingGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteBillingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (DeleteBillingGroupOutput) String

func (s DeleteBillingGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteCustomLineItemInput

type DeleteCustomLineItemInput struct {

	// The ARN of the custom line item to be deleted.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The billing period range in which the custom line item request will be applied.
	BillingPeriodRange *CustomLineItemBillingPeriodRange `type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteCustomLineItemInput) GoString

func (s DeleteCustomLineItemInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCustomLineItemInput) SetArn

SetArn sets the Arn field's value.

func (*DeleteCustomLineItemInput) SetBillingPeriodRange

SetBillingPeriodRange sets the BillingPeriodRange field's value.

func (DeleteCustomLineItemInput) String

func (s DeleteCustomLineItemInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCustomLineItemInput) Validate

func (s *DeleteCustomLineItemInput) Validate() error

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

type DeleteCustomLineItemOutput

type DeleteCustomLineItemOutput struct {

	// Then ARN of the deleted custom line item.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeleteCustomLineItemOutput) GoString

func (s DeleteCustomLineItemOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteCustomLineItemOutput) SetArn

SetArn sets the Arn field's value.

func (DeleteCustomLineItemOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePricingPlanInput

type DeletePricingPlanInput struct {

	// The Amazon Resource Name (ARN) of the pricing plan you're deleting.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePricingPlanInput) GoString

func (s DeletePricingPlanInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePricingPlanInput) SetArn

SetArn sets the Arn field's value.

func (DeletePricingPlanInput) String

func (s DeletePricingPlanInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePricingPlanInput) Validate

func (s *DeletePricingPlanInput) Validate() error

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

type DeletePricingPlanOutput

type DeletePricingPlanOutput struct {

	// The Amazon Resource Name (ARN) of the deleted pricing plan.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeletePricingPlanOutput) GoString

func (s DeletePricingPlanOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePricingPlanOutput) SetArn

SetArn sets the Arn field's value.

func (DeletePricingPlanOutput) String

func (s DeletePricingPlanOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeletePricingRuleInput

type DeletePricingRuleInput struct {

	// The Amazon Resource Name (ARN) of the pricing rule you are deleting.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeletePricingRuleInput) GoString

func (s DeletePricingRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePricingRuleInput) SetArn

SetArn sets the Arn field's value.

func (DeletePricingRuleInput) String

func (s DeletePricingRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePricingRuleInput) Validate

func (s *DeletePricingRuleInput) Validate() error

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

type DeletePricingRuleOutput

type DeletePricingRuleOutput struct {

	// The Amazon Resource Name (ARN) of the deleted pricing rule.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DeletePricingRuleOutput) GoString

func (s DeletePricingRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeletePricingRuleOutput) SetArn

SetArn sets the Arn field's value.

func (DeletePricingRuleOutput) String

func (s DeletePricingRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateAccountsInput

type DisassociateAccountsInput struct {

	// The array of account IDs to disassociate.
	//
	// AccountIds is a required field
	AccountIds []*string `min:"1" type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the billing group that the array of account
	// IDs will disassociate from.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateAccountsInput) GoString

func (s DisassociateAccountsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateAccountsInput) SetAccountIds

SetAccountIds sets the AccountIds field's value.

func (*DisassociateAccountsInput) SetArn

SetArn sets the Arn field's value.

func (DisassociateAccountsInput) String

func (s DisassociateAccountsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateAccountsInput) Validate

func (s *DisassociateAccountsInput) Validate() error

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

type DisassociateAccountsOutput

type DisassociateAccountsOutput struct {

	// The Amazon Resource Name (ARN) of the billing group that the array of account
	// IDs is disassociated from.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DisassociateAccountsOutput) GoString

func (s DisassociateAccountsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateAccountsOutput) SetArn

SetArn sets the Arn field's value.

func (DisassociateAccountsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociatePricingRulesInput

type DisassociatePricingRulesInput struct {

	// The pricing plan Amazon Resource Name (ARN) to disassociate pricing rules
	// from.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// A list containing the Amazon Resource Name (ARN) of the pricing rules that
	// will be disassociated.
	//
	// PricingRuleArns is a required field
	PricingRuleArns []*string `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociatePricingRulesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociatePricingRulesInput) SetArn

SetArn sets the Arn field's value.

func (*DisassociatePricingRulesInput) SetPricingRuleArns

SetPricingRuleArns sets the PricingRuleArns field's value.

func (DisassociatePricingRulesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociatePricingRulesInput) Validate

func (s *DisassociatePricingRulesInput) Validate() error

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

type DisassociatePricingRulesOutput

type DisassociatePricingRulesOutput struct {

	// The Amazon Resource Name (ARN) of the pricing plan that the pricing rules
	// successfully disassociated from.
	Arn *string `type:"string"`
	// contains filtered or unexported fields
}

func (DisassociatePricingRulesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociatePricingRulesOutput) SetArn

SetArn sets the Arn field's value.

func (DisassociatePricingRulesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DisassociateResourceResponseElement

type DisassociateResourceResponseElement struct {

	// The resource ARN that was disassociated from the custom line item.
	Arn *string `type:"string"`

	// An AssociateResourceError shown if the resource disassociation fails.
	Error *AssociateResourceError `type:"structure"`
	// contains filtered or unexported fields
}

A resource disassociation result for a percentage custom line item.

func (DisassociateResourceResponseElement) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DisassociateResourceResponseElement) SetArn

SetArn sets the Arn field's value.

func (*DisassociateResourceResponseElement) SetError

SetError sets the Error field's value.

func (DisassociateResourceResponseElement) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Number of seconds you can retry after the call.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

An unexpected error occurred while processing a request.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccountAssociationsFilter

type ListAccountAssociationsFilter struct {

	// The Amazon Web Services account ID to filter on.
	AccountId *string `type:"string"`

	// MONITORED: linked accounts that are associated to billing groups.
	//
	// UNMONITORED: linked accounts that are not associated to billing groups.
	//
	// Billing Group Arn: linked accounts that are associated to the provided Billing
	// Group Arn.
	Association *string `type:"string"`
	// contains filtered or unexported fields
}

The filter on the account ID of the linked account, or any of the following:

MONITORED: linked accounts that are associated to billing groups.

UNMONITORED: linked accounts that are not associated to billing groups.

Billing Group Arn: linked accounts that are associated to the provided Billing Group Arn.

func (ListAccountAssociationsFilter) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccountAssociationsFilter) SetAccountId

SetAccountId sets the AccountId field's value.

func (*ListAccountAssociationsFilter) SetAssociation

SetAssociation sets the Association field's value.

func (ListAccountAssociationsFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccountAssociationsInput

type ListAccountAssociationsInput struct {

	// The preferred billing period to get account associations.
	BillingPeriod *string `type:"string"`

	// The filter on the account ID of the linked account, or any of the following:
	//
	// MONITORED: linked accounts that are associated to billing groups.
	//
	// UNMONITORED: linked accounts that are not associated to billing groups.
	//
	// Billing Group Arn: linked accounts that are associated to the provided billing
	// group Arn.
	Filters *ListAccountAssociationsFilter `type:"structure"`

	// The pagination token used on subsequent calls to retrieve accounts.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListAccountAssociationsInput) GoString

func (s ListAccountAssociationsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccountAssociationsInput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListAccountAssociationsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListAccountAssociationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAccountAssociationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListAccountAssociationsOutput

type ListAccountAssociationsOutput struct {

	// The list of linked accounts in the payer account.
	LinkedAccounts []*AccountAssociationsListElement `type:"list"`

	// The pagination token used on subsequent calls to get accounts.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListAccountAssociationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListAccountAssociationsOutput) SetLinkedAccounts

SetLinkedAccounts sets the LinkedAccounts field's value.

func (*ListAccountAssociationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAccountAssociationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBillingGroupCostReportsFilter

type ListBillingGroupCostReportsFilter struct {

	// The list of Amazon Resource Names (ARNs) used to filter billing groups to
	// retrieve reports.
	BillingGroupArns []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

The filter used to retrieve specific BillingGroupCostReportElements.

func (ListBillingGroupCostReportsFilter) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupCostReportsFilter) SetBillingGroupArns

SetBillingGroupArns sets the BillingGroupArns field's value.

func (ListBillingGroupCostReportsFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupCostReportsFilter) Validate

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

type ListBillingGroupCostReportsInput

type ListBillingGroupCostReportsInput struct {

	// The preferred billing period for your report.
	BillingPeriod *string `type:"string"`

	// A ListBillingGroupCostReportsFilter to specify billing groups to retrieve
	// reports from.
	Filters *ListBillingGroupCostReportsFilter `type:"structure"`

	// The maximum number of reports to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token used on subsequent calls to get reports.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBillingGroupCostReportsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupCostReportsInput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListBillingGroupCostReportsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListBillingGroupCostReportsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListBillingGroupCostReportsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBillingGroupCostReportsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupCostReportsInput) Validate

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

type ListBillingGroupCostReportsOutput

type ListBillingGroupCostReportsOutput struct {

	// A list of BillingGroupCostReportElement retrieved.
	BillingGroupCostReports []*BillingGroupCostReportElement `type:"list"`

	// The pagination token used on subsequent calls to get reports.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBillingGroupCostReportsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupCostReportsOutput) SetBillingGroupCostReports

SetBillingGroupCostReports sets the BillingGroupCostReports field's value.

func (*ListBillingGroupCostReportsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBillingGroupCostReportsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListBillingGroupsFilter

type ListBillingGroupsFilter struct {

	// The list of billing group Amazon Resource Names (ARNs) to retrieve information.
	Arns []*string `min:"1" type:"list"`

	// The pricing plan Amazon Resource Names (ARNs) to retrieve information.
	PricingPlan *string `type:"string"`
	// contains filtered or unexported fields
}

The filter that specifies the billing groups and pricing plans to retrieve billing group information.

func (ListBillingGroupsFilter) GoString

func (s ListBillingGroupsFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupsFilter) SetArns

SetArns sets the Arns field's value.

func (*ListBillingGroupsFilter) SetPricingPlan

SetPricingPlan sets the PricingPlan field's value.

func (ListBillingGroupsFilter) String

func (s ListBillingGroupsFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupsFilter) Validate

func (s *ListBillingGroupsFilter) Validate() error

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

type ListBillingGroupsInput

type ListBillingGroupsInput struct {

	// The preferred billing period to get billing groups.
	BillingPeriod *string `type:"string"`

	// A ListBillingGroupsFilter that specifies the billing group and pricing plan
	// to retrieve billing group information.
	Filters *ListBillingGroupsFilter `type:"structure"`

	// The maximum number of billing groups to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token used on subsequent calls to get billing groups.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBillingGroupsInput) GoString

func (s ListBillingGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupsInput) SetBillingPeriod

func (s *ListBillingGroupsInput) SetBillingPeriod(v string) *ListBillingGroupsInput

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListBillingGroupsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListBillingGroupsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListBillingGroupsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBillingGroupsInput) String

func (s ListBillingGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupsInput) Validate

func (s *ListBillingGroupsInput) Validate() error

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

type ListBillingGroupsOutput

type ListBillingGroupsOutput struct {

	// A list of BillingGroupListElement retrieved.
	BillingGroups []*BillingGroupListElement `type:"list"`

	// The pagination token used on subsequent calls to get billing groups.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListBillingGroupsOutput) GoString

func (s ListBillingGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListBillingGroupsOutput) SetBillingGroups

SetBillingGroups sets the BillingGroups field's value.

func (*ListBillingGroupsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListBillingGroupsOutput) String

func (s ListBillingGroupsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCustomLineItemChargeDetails

type ListCustomLineItemChargeDetails struct {

	// A ListCustomLineItemFlatChargeDetails that describes the charge details of
	// a flat custom line item.
	Flat *ListCustomLineItemFlatChargeDetails `type:"structure"`

	// A ListCustomLineItemPercentageChargeDetails that describes the charge details
	// of a percentage custom line item.
	Percentage *ListCustomLineItemPercentageChargeDetails `type:"structure"`

	// The type of the custom line item that indicates whether the charge is a fee
	// or credit.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"CustomLineItemType"`
	// contains filtered or unexported fields
}

A representation of the charge details of a custom line item.

func (ListCustomLineItemChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemChargeDetails) SetFlat

SetFlat sets the Flat field's value.

func (*ListCustomLineItemChargeDetails) SetPercentage

SetPercentage sets the Percentage field's value.

func (*ListCustomLineItemChargeDetails) SetType

SetType sets the Type field's value.

func (ListCustomLineItemChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCustomLineItemFlatChargeDetails

type ListCustomLineItemFlatChargeDetails struct {

	// The custom line item's fixed charge value in USD.
	//
	// ChargeValue is a required field
	ChargeValue *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

A representation of the charge details associated with a flat custom line item.

func (ListCustomLineItemFlatChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemFlatChargeDetails) SetChargeValue

SetChargeValue sets the ChargeValue field's value.

func (ListCustomLineItemFlatChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCustomLineItemPercentageChargeDetails

type ListCustomLineItemPercentageChargeDetails struct {

	// The custom line item's percentage value. This will be multiplied against
	// the combined value of its associated resources to determine its charge value.
	//
	// PercentageValue is a required field
	PercentageValue *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

A representation of the charge details associated with a percentage custom line item.

func (ListCustomLineItemPercentageChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemPercentageChargeDetails) SetPercentageValue

SetPercentageValue sets the PercentageValue field's value.

func (ListCustomLineItemPercentageChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListCustomLineItemsFilter

type ListCustomLineItemsFilter struct {

	// A list of custom line item ARNs to retrieve information.
	Arns []*string `min:"1" type:"list"`

	// The billing group Amazon Resource Names (ARNs) to retrieve information.
	BillingGroups []*string `min:"1" type:"list"`

	// A list of custom line items to retrieve information.
	Names []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

A filter that specifies the custom line items and billing groups to retrieve FFLI information.

func (ListCustomLineItemsFilter) GoString

func (s ListCustomLineItemsFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemsFilter) SetArns

SetArns sets the Arns field's value.

func (*ListCustomLineItemsFilter) SetBillingGroups

func (s *ListCustomLineItemsFilter) SetBillingGroups(v []*string) *ListCustomLineItemsFilter

SetBillingGroups sets the BillingGroups field's value.

func (*ListCustomLineItemsFilter) SetNames

SetNames sets the Names field's value.

func (ListCustomLineItemsFilter) String

func (s ListCustomLineItemsFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemsFilter) Validate

func (s *ListCustomLineItemsFilter) Validate() error

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

type ListCustomLineItemsInput

type ListCustomLineItemsInput struct {

	// The preferred billing period to get custom line items (FFLIs).
	BillingPeriod *string `type:"string"`

	// A ListCustomLineItemsFilter that specifies the custom line item names and/or
	// billing group Amazon Resource Names (ARNs) to retrieve FFLI information.
	Filters *ListCustomLineItemsFilter `type:"structure"`

	// The maximum number of billing groups to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token used on subsequent calls to get custom line items (FFLIs).
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListCustomLineItemsInput) GoString

func (s ListCustomLineItemsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemsInput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListCustomLineItemsInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListCustomLineItemsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListCustomLineItemsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListCustomLineItemsInput) String

func (s ListCustomLineItemsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemsInput) Validate

func (s *ListCustomLineItemsInput) Validate() error

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

type ListCustomLineItemsOutput

type ListCustomLineItemsOutput struct {

	// A list of FreeFormLineItemListElements received.
	CustomLineItems []*CustomLineItemListElement `type:"list"`

	// The pagination token used on subsequent calls to get custom line items (FFLIs).
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListCustomLineItemsOutput) GoString

func (s ListCustomLineItemsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListCustomLineItemsOutput) SetCustomLineItems

SetCustomLineItems sets the CustomLineItems field's value.

func (*ListCustomLineItemsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListCustomLineItemsOutput) String

func (s ListCustomLineItemsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPricingPlansAssociatedWithPricingRuleInput

type ListPricingPlansAssociatedWithPricingRuleInput struct {

	// The pricing plan billing period for which associations will be listed.
	BillingPeriod *string `type:"string"`

	// The optional maximum number of pricing rule associations to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The optional pagination token returned by a previous call.
	NextToken *string `type:"string"`

	// The pricing rule Amazon Resource Name (ARN) for which associations will be
	// listed.
	//
	// PricingRuleArn is a required field
	PricingRuleArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPricingPlansAssociatedWithPricingRuleInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansAssociatedWithPricingRuleInput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingPlansAssociatedWithPricingRuleInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPricingPlansAssociatedWithPricingRuleInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPricingPlansAssociatedWithPricingRuleInput) SetPricingRuleArn

SetPricingRuleArn sets the PricingRuleArn field's value.

func (ListPricingPlansAssociatedWithPricingRuleInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansAssociatedWithPricingRuleInput) Validate

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

type ListPricingPlansAssociatedWithPricingRuleOutput

type ListPricingPlansAssociatedWithPricingRuleOutput struct {

	// The pricing plan billing period for which associations will be listed.
	BillingPeriod *string `type:"string"`

	// The pagination token to be used on subsequent calls.
	NextToken *string `type:"string"`

	// The list containing pricing plans associated with the requested pricing rule.
	PricingPlanArns []*string `min:"1" type:"list"`

	// The pricing rule Amazon Resource Name (ARN) for which associations will be
	// listed.
	PricingRuleArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListPricingPlansAssociatedWithPricingRuleOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansAssociatedWithPricingRuleOutput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingPlansAssociatedWithPricingRuleOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPricingPlansAssociatedWithPricingRuleOutput) SetPricingPlanArns

SetPricingPlanArns sets the PricingPlanArns field's value.

func (*ListPricingPlansAssociatedWithPricingRuleOutput) SetPricingRuleArn

SetPricingRuleArn sets the PricingRuleArn field's value.

func (ListPricingPlansAssociatedWithPricingRuleOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPricingPlansFilter

type ListPricingPlansFilter struct {

	// A list of pricing plan Amazon Resource Names (ARNs) to retrieve information.
	Arns []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

The filter that specifies the Amazon Resource Names (ARNs) of pricing plans, to retrieve pricing plan information.

func (ListPricingPlansFilter) GoString

func (s ListPricingPlansFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansFilter) SetArns

SetArns sets the Arns field's value.

func (ListPricingPlansFilter) String

func (s ListPricingPlansFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansFilter) Validate

func (s *ListPricingPlansFilter) Validate() error

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

type ListPricingPlansInput

type ListPricingPlansInput struct {

	// The preferred billing period to get pricing plan.
	BillingPeriod *string `type:"string"`

	// A ListPricingPlansFilter that specifies the Amazon Resource Name (ARNs) of
	// pricing plans to retrieve pricing plans information.
	Filters *ListPricingPlansFilter `type:"structure"`

	// The maximum number of pricing plans to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token used on subsequent call to get pricing plans.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListPricingPlansInput) GoString

func (s ListPricingPlansInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansInput) SetBillingPeriod

func (s *ListPricingPlansInput) SetBillingPeriod(v string) *ListPricingPlansInput

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingPlansInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListPricingPlansInput) SetMaxResults

func (s *ListPricingPlansInput) SetMaxResults(v int64) *ListPricingPlansInput

SetMaxResults sets the MaxResults field's value.

func (*ListPricingPlansInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPricingPlansInput) String

func (s ListPricingPlansInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansInput) Validate

func (s *ListPricingPlansInput) Validate() error

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

type ListPricingPlansOutput

type ListPricingPlansOutput struct {

	// The billing period for which the described pricing plans are applicable.
	BillingPeriod *string `type:"string"`

	// The pagination token used on subsequent calls to get pricing plans.
	NextToken *string `type:"string"`

	// A list of PricingPlanListElement retrieved.
	PricingPlans []*PricingPlanListElement `type:"list"`
	// contains filtered or unexported fields
}

func (ListPricingPlansOutput) GoString

func (s ListPricingPlansOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingPlansOutput) SetBillingPeriod

func (s *ListPricingPlansOutput) SetBillingPeriod(v string) *ListPricingPlansOutput

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingPlansOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPricingPlansOutput) SetPricingPlans

SetPricingPlans sets the PricingPlans field's value.

func (ListPricingPlansOutput) String

func (s ListPricingPlansOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPricingRulesAssociatedToPricingPlanInput

type ListPricingRulesAssociatedToPricingPlanInput struct {

	// The billing period for which the pricing rule associations are to be listed.
	BillingPeriod *string `type:"string"`

	// The optional maximum number of pricing rule associations to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The optional pagination token returned by a previous call.
	NextToken *string `type:"string"`

	// The Amazon Resource Name (ARN) of the pricing plan for which associations
	// are to be listed.
	//
	// PricingPlanArn is a required field
	PricingPlanArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListPricingRulesAssociatedToPricingPlanInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesAssociatedToPricingPlanInput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingRulesAssociatedToPricingPlanInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListPricingRulesAssociatedToPricingPlanInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPricingRulesAssociatedToPricingPlanInput) SetPricingPlanArn

SetPricingPlanArn sets the PricingPlanArn field's value.

func (ListPricingRulesAssociatedToPricingPlanInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesAssociatedToPricingPlanInput) Validate

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

type ListPricingRulesAssociatedToPricingPlanOutput

type ListPricingRulesAssociatedToPricingPlanOutput struct {

	// The billing period for which the pricing rule associations are listed.
	BillingPeriod *string `type:"string"`

	// The pagination token to be used on subsequent calls.
	NextToken *string `type:"string"`

	// The Amazon Resource Name (ARN) of the pricing plan for which associations
	// are listed.
	PricingPlanArn *string `type:"string"`

	// A list containing pricing rules associated with the requested pricing plan.
	PricingRuleArns []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (ListPricingRulesAssociatedToPricingPlanOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesAssociatedToPricingPlanOutput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingRulesAssociatedToPricingPlanOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPricingRulesAssociatedToPricingPlanOutput) SetPricingPlanArn

SetPricingPlanArn sets the PricingPlanArn field's value.

func (*ListPricingRulesAssociatedToPricingPlanOutput) SetPricingRuleArns

SetPricingRuleArns sets the PricingRuleArns field's value.

func (ListPricingRulesAssociatedToPricingPlanOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListPricingRulesFilter

type ListPricingRulesFilter struct {

	// A list containing the pricing rule Amazon Resource Names (ARNs) to include
	// in the API response.
	Arns []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

The filter that specifies criteria that the pricing rules returned by the ListPricingRules API will adhere to.

func (ListPricingRulesFilter) GoString

func (s ListPricingRulesFilter) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesFilter) SetArns

SetArns sets the Arns field's value.

func (ListPricingRulesFilter) String

func (s ListPricingRulesFilter) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesFilter) Validate

func (s *ListPricingRulesFilter) Validate() error

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

type ListPricingRulesInput

type ListPricingRulesInput struct {

	// The preferred billing period to get the pricing plan.
	BillingPeriod *string `type:"string"`

	// A DescribePricingRuleFilter that specifies the Amazon Resource Name (ARNs)
	// of pricing rules to retrieve pricing rules information.
	Filters *ListPricingRulesFilter `type:"structure"`

	// The maximum number of pricing rules to retrieve.
	MaxResults *int64 `min:"1" type:"integer"`

	// The pagination token used on subsequent call to get pricing rules.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListPricingRulesInput) GoString

func (s ListPricingRulesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesInput) SetBillingPeriod

func (s *ListPricingRulesInput) SetBillingPeriod(v string) *ListPricingRulesInput

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingRulesInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListPricingRulesInput) SetMaxResults

func (s *ListPricingRulesInput) SetMaxResults(v int64) *ListPricingRulesInput

SetMaxResults sets the MaxResults field's value.

func (*ListPricingRulesInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListPricingRulesInput) String

func (s ListPricingRulesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesInput) Validate

func (s *ListPricingRulesInput) Validate() error

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

type ListPricingRulesOutput

type ListPricingRulesOutput struct {

	// The billing period for which the described pricing rules are applicable.
	BillingPeriod *string `type:"string"`

	// The pagination token used on subsequent calls to get pricing rules.
	NextToken *string `type:"string"`

	// A list containing the described pricing rules.
	PricingRules []*PricingRuleListElement `type:"list"`
	// contains filtered or unexported fields
}

func (ListPricingRulesOutput) GoString

func (s ListPricingRulesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListPricingRulesOutput) SetBillingPeriod

func (s *ListPricingRulesOutput) SetBillingPeriod(v string) *ListPricingRulesOutput

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListPricingRulesOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListPricingRulesOutput) SetPricingRules

SetPricingRules sets the PricingRules field's value.

func (ListPricingRulesOutput) String

func (s ListPricingRulesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourcesAssociatedToCustomLineItemFilter

type ListResourcesAssociatedToCustomLineItemFilter struct {

	// The type of relationship between the custom line item and the associated
	// resource.
	Relationship *string `type:"string" enum:"CustomLineItemRelationship"`
	// contains filtered or unexported fields
}

A filter that specifies the type of resource associations that should be retrieved for a custom line item.

func (ListResourcesAssociatedToCustomLineItemFilter) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesAssociatedToCustomLineItemFilter) SetRelationship

SetRelationship sets the Relationship field's value.

func (ListResourcesAssociatedToCustomLineItemFilter) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourcesAssociatedToCustomLineItemInput

type ListResourcesAssociatedToCustomLineItemInput struct {

	// The ARN of the custom line item for which the resource associations will
	// be listed.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The billing period for which the resource associations will be listed.
	BillingPeriod *string `type:"string"`

	// (Optional) A ListResourcesAssociatedToCustomLineItemFilter that can specify
	// the types of resources that should be retrieved.
	Filters *ListResourcesAssociatedToCustomLineItemFilter `type:"structure"`

	// (Optional) The maximum number of resource associations to be retrieved.
	MaxResults *int64 `min:"1" type:"integer"`

	// (Optional) The pagination token returned by a previous request.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListResourcesAssociatedToCustomLineItemInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesAssociatedToCustomLineItemInput) SetArn

SetArn sets the Arn field's value.

func (*ListResourcesAssociatedToCustomLineItemInput) SetBillingPeriod

SetBillingPeriod sets the BillingPeriod field's value.

func (*ListResourcesAssociatedToCustomLineItemInput) SetFilters

SetFilters sets the Filters field's value.

func (*ListResourcesAssociatedToCustomLineItemInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListResourcesAssociatedToCustomLineItemInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListResourcesAssociatedToCustomLineItemInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesAssociatedToCustomLineItemInput) Validate

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

type ListResourcesAssociatedToCustomLineItemOutput

type ListResourcesAssociatedToCustomLineItemOutput struct {

	// The custom line item ARN for which the resource associations are listed.
	Arn *string `type:"string"`

	// A list of ListResourcesAssociatedToCustomLineItemResponseElement for each
	// resource association retrieved.
	AssociatedResources []*ListResourcesAssociatedToCustomLineItemResponseElement `type:"list"`

	// The pagination token to be used in subsequent requests to retrieve additional
	// results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListResourcesAssociatedToCustomLineItemOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesAssociatedToCustomLineItemOutput) SetArn

SetArn sets the Arn field's value.

func (*ListResourcesAssociatedToCustomLineItemOutput) SetAssociatedResources

SetAssociatedResources sets the AssociatedResources field's value.

func (*ListResourcesAssociatedToCustomLineItemOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListResourcesAssociatedToCustomLineItemOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListResourcesAssociatedToCustomLineItemResponseElement

type ListResourcesAssociatedToCustomLineItemResponseElement struct {

	// The ARN of the associated resource.
	Arn *string `type:"string"`

	// The type of relationship between the custom line item and the associated
	// resource.
	Relationship *string `type:"string" enum:"CustomLineItemRelationship"`
	// contains filtered or unexported fields
}

A representation of a resource association for a custom line item.

func (ListResourcesAssociatedToCustomLineItemResponseElement) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListResourcesAssociatedToCustomLineItemResponseElement) SetArn

SetArn sets the Arn field's value.

func (*ListResourcesAssociatedToCustomLineItemResponseElement) SetRelationship

SetRelationship sets the Relationship field's value.

func (ListResourcesAssociatedToCustomLineItemResponseElement) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) that identifies the resource to list the tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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 {

	// The tags for the resource.
	Tags map[string]*string `min:"1" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PricingPlanListElement

type PricingPlanListElement struct {

	// The pricing plan Amazon Resource Names (ARN). This can be used to uniquely
	// identify a pricing plan.
	Arn *string `type:"string"`

	// The time the pricing plan was created.
	CreationTime *int64 `type:"long"`

	// The pricing plan description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PricingPlanListElement's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The most recent time the pricing plan was modified.
	LastModifiedTime *int64 `type:"long"`

	// The name of a pricing plan.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PricingPlanListElement's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The pricing rules count currently associated with this pricing plan list
	// element.
	Size *int64 `min:"1" type:"long"`
	// contains filtered or unexported fields
}

A representation of a pricing plan.

func (PricingPlanListElement) GoString

func (s PricingPlanListElement) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PricingPlanListElement) SetArn

SetArn sets the Arn field's value.

func (*PricingPlanListElement) SetCreationTime

func (s *PricingPlanListElement) SetCreationTime(v int64) *PricingPlanListElement

SetCreationTime sets the CreationTime field's value.

func (*PricingPlanListElement) SetDescription

SetDescription sets the Description field's value.

func (*PricingPlanListElement) SetLastModifiedTime

func (s *PricingPlanListElement) SetLastModifiedTime(v int64) *PricingPlanListElement

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*PricingPlanListElement) SetName

SetName sets the Name field's value.

func (*PricingPlanListElement) SetSize

SetSize sets the Size field's value.

func (PricingPlanListElement) String

func (s PricingPlanListElement) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PricingRuleListElement

type PricingRuleListElement struct {

	// The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
	Arn *string `type:"string"`

	// The pricing plans count that this pricing rule is associated with.
	AssociatedPricingPlanCount *int64 `type:"long"`

	// The time the pricing rule was created.
	CreationTime *int64 `type:"long"`

	// The pricing rule description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PricingRuleListElement's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The most recent time the pricing rule was modified.
	LastModifiedTime *int64 `type:"long"`

	// A percentage modifier applied on the public pricing rates.
	ModifierPercentage *float64 `type:"double"`

	// The name of a pricing rule.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by PricingRuleListElement's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The scope of pricing rule that indicates if it is globally applicable, or
	// if it is service-specific.
	Scope *string `type:"string" enum:"PricingRuleScope"`

	// If the Scope attribute is SERVICE, this attribute indicates which service
	// the PricingRule is applicable for.
	Service *string `min:"1" type:"string"`

	// The type of pricing rule.
	Type *string `type:"string" enum:"PricingRuleType"`
	// contains filtered or unexported fields
}

A representation of a pricing rule.

func (PricingRuleListElement) GoString

func (s PricingRuleListElement) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PricingRuleListElement) SetArn

SetArn sets the Arn field's value.

func (*PricingRuleListElement) SetAssociatedPricingPlanCount

func (s *PricingRuleListElement) SetAssociatedPricingPlanCount(v int64) *PricingRuleListElement

SetAssociatedPricingPlanCount sets the AssociatedPricingPlanCount field's value.

func (*PricingRuleListElement) SetCreationTime

func (s *PricingRuleListElement) SetCreationTime(v int64) *PricingRuleListElement

SetCreationTime sets the CreationTime field's value.

func (*PricingRuleListElement) SetDescription

SetDescription sets the Description field's value.

func (*PricingRuleListElement) SetLastModifiedTime

func (s *PricingRuleListElement) SetLastModifiedTime(v int64) *PricingRuleListElement

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*PricingRuleListElement) SetModifierPercentage

func (s *PricingRuleListElement) SetModifierPercentage(v float64) *PricingRuleListElement

SetModifierPercentage sets the ModifierPercentage field's value.

func (*PricingRuleListElement) SetName

SetName sets the Name field's value.

func (*PricingRuleListElement) SetScope

SetScope sets the Scope field's value.

func (*PricingRuleListElement) SetService

SetService sets the Service field's value.

func (*PricingRuleListElement) SetType

SetType sets the Type field's value.

func (PricingRuleListElement) String

func (s PricingRuleListElement) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Resource identifier that was not found.
	//
	// ResourceId is a required field
	ResourceId *string `type:"string" required:"true"`

	// Resource type that was not found.
	//
	// ResourceType is a required field
	ResourceType *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The request references a resource that doesn't exist.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceLimitExceededException

type ServiceLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The unique code identifier of the service limit that is being exceeded.
	//
	// LimitCode is a required field
	LimitCode *string `type:"string" required:"true"`

	Message_ *string `locationName:"Message" type:"string"`

	// Identifier of the resource affected.
	ResourceId *string `type:"string"`

	// Type of the resource affected.
	ResourceType *string `type:"string"`

	// The unique code for the service of the limit that is being exceeded.
	//
	// ServiceCode is a required field
	ServiceCode *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The request would cause a service limit to exceed.

func (*ServiceLimitExceededException) Code

Code returns the exception type name.

func (*ServiceLimitExceededException) Error

func (ServiceLimitExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceLimitExceededException) Message

Message returns the exception's message.

func (*ServiceLimitExceededException) OrigErr

func (s *ServiceLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceLimitExceededException) RequestID

func (s *ServiceLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceLimitExceededException) StatusCode

func (s *ServiceLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceLimitExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which to add tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tags to add to the resource as a list of key-value pairs.
	//
	// Tags is a required field
	Tags map[string]*string `min:"1" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ThrottlingException

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`

	// Number of seconds you can safely retry after the call.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

The request was denied due to request throttling.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which to delete tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`

	// The tags to delete from the resource as a list of key-value pairs.
	//
	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

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) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateBillingGroupInput

type UpdateBillingGroupInput struct {

	// The Amazon Resource Name (ARN) of the billing group being updated.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The preferences and settings that will be used to compute the Amazon Web
	// Services charges for a billing group.
	ComputationPreference *ComputationPreference `type:"structure"`

	// A description of the billing group.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateBillingGroupInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The name of the billing group. The names must be unique to each billing group.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateBillingGroupInput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The status of the billing group. Only one of the valid values can be used.
	Status *string `type:"string" enum:"BillingGroupStatus"`
	// contains filtered or unexported fields
}

func (UpdateBillingGroupInput) GoString

func (s UpdateBillingGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateBillingGroupInput) SetArn

SetArn sets the Arn field's value.

func (*UpdateBillingGroupInput) SetComputationPreference

SetComputationPreference sets the ComputationPreference field's value.

func (*UpdateBillingGroupInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateBillingGroupInput) SetName

SetName sets the Name field's value.

func (*UpdateBillingGroupInput) SetStatus

SetStatus sets the Status field's value.

func (UpdateBillingGroupInput) String

func (s UpdateBillingGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateBillingGroupInput) Validate

func (s *UpdateBillingGroupInput) Validate() error

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

type UpdateBillingGroupOutput

type UpdateBillingGroupOutput struct {

	// The Amazon Resource Name (ARN) of the billing group that was updated.
	Arn *string `type:"string"`

	// A description of the billing group.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateBillingGroupOutput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The most recent time the billing group was modified.
	LastModifiedTime *int64 `type:"long"`

	// The name of the billing group. The names must be unique to each billing group.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateBillingGroupOutput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The Amazon Resource Name (ARN) of the pricing plan to compute Amazon Web
	// Services charges for the billing group.
	PricingPlanArn *string `type:"string"`

	// The account ID that serves as the main account in a billing group.
	PrimaryAccountId *string `type:"string"`

	// The number of accounts in the particular billing group.
	Size *int64 `type:"long"`

	// The status of the billing group. Only one of the valid values can be used.
	Status *string `type:"string" enum:"BillingGroupStatus"`

	// The reason why the billing group is in its current status.
	StatusReason *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateBillingGroupOutput) GoString

func (s UpdateBillingGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateBillingGroupOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateBillingGroupOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateBillingGroupOutput) SetLastModifiedTime

func (s *UpdateBillingGroupOutput) SetLastModifiedTime(v int64) *UpdateBillingGroupOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateBillingGroupOutput) SetName

SetName sets the Name field's value.

func (*UpdateBillingGroupOutput) SetPricingPlanArn

func (s *UpdateBillingGroupOutput) SetPricingPlanArn(v string) *UpdateBillingGroupOutput

SetPricingPlanArn sets the PricingPlanArn field's value.

func (*UpdateBillingGroupOutput) SetPrimaryAccountId

func (s *UpdateBillingGroupOutput) SetPrimaryAccountId(v string) *UpdateBillingGroupOutput

SetPrimaryAccountId sets the PrimaryAccountId field's value.

func (*UpdateBillingGroupOutput) SetSize

SetSize sets the Size field's value.

func (*UpdateBillingGroupOutput) SetStatus

SetStatus sets the Status field's value.

func (*UpdateBillingGroupOutput) SetStatusReason

SetStatusReason sets the StatusReason field's value.

func (UpdateBillingGroupOutput) String

func (s UpdateBillingGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateCustomLineItemChargeDetails

type UpdateCustomLineItemChargeDetails struct {

	// An UpdateCustomLineItemFlatChargeDetails that describes the new charge details
	// of a flat custom line item.
	Flat *UpdateCustomLineItemFlatChargeDetails `type:"structure"`

	// An UpdateCustomLineItemPercentageChargeDetails that describes the new charge
	// details of a percentage custom line item.
	Percentage *UpdateCustomLineItemPercentageChargeDetails `type:"structure"`
	// contains filtered or unexported fields
}

A representation of the new charge details of a custom line item. This should contain only one of Flat or Percentage.

func (UpdateCustomLineItemChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemChargeDetails) SetFlat

SetFlat sets the Flat field's value.

func (*UpdateCustomLineItemChargeDetails) SetPercentage

SetPercentage sets the Percentage field's value.

func (UpdateCustomLineItemChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemChargeDetails) Validate

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

type UpdateCustomLineItemFlatChargeDetails

type UpdateCustomLineItemFlatChargeDetails struct {

	// The custom line item's new fixed charge value in USD.
	//
	// ChargeValue is a required field
	ChargeValue *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

A representation of the new charge details associated with a flat custom line item.

func (UpdateCustomLineItemFlatChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemFlatChargeDetails) SetChargeValue

SetChargeValue sets the ChargeValue field's value.

func (UpdateCustomLineItemFlatChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemFlatChargeDetails) Validate

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

type UpdateCustomLineItemInput

type UpdateCustomLineItemInput struct {

	// The ARN of the custom line item to be updated.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The billing period range in which the custom line item request will be applied.
	BillingPeriodRange *CustomLineItemBillingPeriodRange `type:"structure"`

	// A ListCustomLineItemChargeDetails containing the new charge details for the
	// custom line item.
	ChargeDetails *UpdateCustomLineItemChargeDetails `type:"structure"`

	// The new line item description of the custom line item.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateCustomLineItemInput's
	// String and GoString methods.
	Description *string `min:"1" type:"string" sensitive:"true"`

	// The new name for the custom line item.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateCustomLineItemInput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateCustomLineItemInput) GoString

func (s UpdateCustomLineItemInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemInput) SetArn

SetArn sets the Arn field's value.

func (*UpdateCustomLineItemInput) SetBillingPeriodRange

SetBillingPeriodRange sets the BillingPeriodRange field's value.

func (*UpdateCustomLineItemInput) SetChargeDetails

SetChargeDetails sets the ChargeDetails field's value.

func (*UpdateCustomLineItemInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateCustomLineItemInput) SetName

SetName sets the Name field's value.

func (UpdateCustomLineItemInput) String

func (s UpdateCustomLineItemInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemInput) Validate

func (s *UpdateCustomLineItemInput) Validate() error

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

type UpdateCustomLineItemOutput

type UpdateCustomLineItemOutput struct {

	// The ARN of the successfully updated custom line item.
	Arn *string `type:"string"`

	// The number of resources that are associated to the custom line item.
	AssociationSize *int64 `type:"long"`

	// The ARN of the billing group that the custom line item is applied to.
	BillingGroupArn *string `type:"string"`

	// A ListCustomLineItemChargeDetails containing the charge details of the successfully
	// updated custom line item.
	ChargeDetails *ListCustomLineItemChargeDetails `type:"structure"`

	// The description of the successfully updated custom line item.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateCustomLineItemOutput's
	// String and GoString methods.
	Description *string `min:"1" type:"string" sensitive:"true"`

	// The most recent time the custom line item was modified.
	LastModifiedTime *int64 `type:"long"`

	// The name of the successfully updated custom line item.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdateCustomLineItemOutput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdateCustomLineItemOutput) GoString

func (s UpdateCustomLineItemOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateCustomLineItemOutput) SetAssociationSize

SetAssociationSize sets the AssociationSize field's value.

func (*UpdateCustomLineItemOutput) SetBillingGroupArn

SetBillingGroupArn sets the BillingGroupArn field's value.

func (*UpdateCustomLineItemOutput) SetChargeDetails

SetChargeDetails sets the ChargeDetails field's value.

func (*UpdateCustomLineItemOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdateCustomLineItemOutput) SetLastModifiedTime

func (s *UpdateCustomLineItemOutput) SetLastModifiedTime(v int64) *UpdateCustomLineItemOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateCustomLineItemOutput) SetName

SetName sets the Name field's value.

func (UpdateCustomLineItemOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdateCustomLineItemPercentageChargeDetails

type UpdateCustomLineItemPercentageChargeDetails struct {

	// The custom line item's new percentage value. This will be multiplied against
	// the combined value of its associated resources to determine its charge value.
	//
	// PercentageValue is a required field
	PercentageValue *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

A representation of the new charge details associated with a percentage custom line item.

func (UpdateCustomLineItemPercentageChargeDetails) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemPercentageChargeDetails) SetPercentageValue

SetPercentageValue sets the PercentageValue field's value.

func (UpdateCustomLineItemPercentageChargeDetails) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateCustomLineItemPercentageChargeDetails) Validate

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

type UpdatePricingPlanInput

type UpdatePricingPlanInput struct {

	// The Amazon Resource Name (ARN) of the pricing plan you're updating.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The pricing plan description.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingPlanInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The name of the pricing plan. The name must be unique to each pricing plan.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingPlanInput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (UpdatePricingPlanInput) GoString

func (s UpdatePricingPlanInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePricingPlanInput) SetArn

SetArn sets the Arn field's value.

func (*UpdatePricingPlanInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdatePricingPlanInput) SetName

SetName sets the Name field's value.

func (UpdatePricingPlanInput) String

func (s UpdatePricingPlanInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePricingPlanInput) Validate

func (s *UpdatePricingPlanInput) Validate() error

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

type UpdatePricingPlanOutput

type UpdatePricingPlanOutput struct {

	// The Amazon Resource Name (ARN) of the updated pricing plan.
	Arn *string `type:"string"`

	// The new description for the pricing rule.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingPlanOutput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The most recent time the pricing plan was modified.
	LastModifiedTime *int64 `type:"long"`

	// The name of the pricing plan. The name must be unique to each pricing plan.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingPlanOutput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The pricing rules count currently associated with this pricing plan list.
	Size *int64 `min:"1" type:"long"`
	// contains filtered or unexported fields
}

func (UpdatePricingPlanOutput) GoString

func (s UpdatePricingPlanOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePricingPlanOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdatePricingPlanOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdatePricingPlanOutput) SetLastModifiedTime

func (s *UpdatePricingPlanOutput) SetLastModifiedTime(v int64) *UpdatePricingPlanOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdatePricingPlanOutput) SetName

SetName sets the Name field's value.

func (*UpdatePricingPlanOutput) SetSize

SetSize sets the Size field's value.

func (UpdatePricingPlanOutput) String

func (s UpdatePricingPlanOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type UpdatePricingRuleInput

type UpdatePricingRuleInput struct {

	// The Amazon Resource Name (ARN) of the pricing rule to update.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The new description for the pricing rule.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingRuleInput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The new modifier to show pricing plan rates as a percentage.
	ModifierPercentage *float64 `type:"double"`

	// The new name of the pricing rule. The name must be unique to each pricing
	// rule.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingRuleInput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The new pricing rule type.
	Type *string `type:"string" enum:"PricingRuleType"`
	// contains filtered or unexported fields
}

func (UpdatePricingRuleInput) GoString

func (s UpdatePricingRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePricingRuleInput) SetArn

SetArn sets the Arn field's value.

func (*UpdatePricingRuleInput) SetDescription

SetDescription sets the Description field's value.

func (*UpdatePricingRuleInput) SetModifierPercentage

func (s *UpdatePricingRuleInput) SetModifierPercentage(v float64) *UpdatePricingRuleInput

SetModifierPercentage sets the ModifierPercentage field's value.

func (*UpdatePricingRuleInput) SetName

SetName sets the Name field's value.

func (*UpdatePricingRuleInput) SetType

SetType sets the Type field's value.

func (UpdatePricingRuleInput) String

func (s UpdatePricingRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePricingRuleInput) Validate

func (s *UpdatePricingRuleInput) Validate() error

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

type UpdatePricingRuleOutput

type UpdatePricingRuleOutput struct {

	// The Amazon Resource Name (ARN) of the successfully updated pricing rule.
	Arn *string `type:"string"`

	// The pricing plans count that this pricing rule is associated with.
	AssociatedPricingPlanCount *int64 `type:"long"`

	// The new description for the pricing rule.
	//
	// Description is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingRuleOutput's
	// String and GoString methods.
	Description *string `type:"string" sensitive:"true"`

	// The most recent time the pricing rule was modified.
	LastModifiedTime *int64 `type:"long"`

	// The new modifier to show pricing plan rates as a percentage.
	ModifierPercentage *float64 `type:"double"`

	// The new name of the pricing rule. The name must be unique to each pricing
	// rule.
	//
	// Name is a sensitive parameter and its value will be
	// replaced with "sensitive" in string returned by UpdatePricingRuleOutput's
	// String and GoString methods.
	Name *string `min:"1" type:"string" sensitive:"true"`

	// The scope of pricing rule that indicates if it is globally applicable, or
	// is service-specific.
	Scope *string `type:"string" enum:"PricingRuleScope"`

	// If the Scope attribute is set to SERVICE, the attribute indicates which service
	// the PricingRule is applicable for.
	Service *string `min:"1" type:"string"`

	// The new pricing rule type.
	Type *string `type:"string" enum:"PricingRuleType"`
	// contains filtered or unexported fields
}

func (UpdatePricingRuleOutput) GoString

func (s UpdatePricingRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdatePricingRuleOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdatePricingRuleOutput) SetAssociatedPricingPlanCount

func (s *UpdatePricingRuleOutput) SetAssociatedPricingPlanCount(v int64) *UpdatePricingRuleOutput

SetAssociatedPricingPlanCount sets the AssociatedPricingPlanCount field's value.

func (*UpdatePricingRuleOutput) SetDescription

SetDescription sets the Description field's value.

func (*UpdatePricingRuleOutput) SetLastModifiedTime

func (s *UpdatePricingRuleOutput) SetLastModifiedTime(v int64) *UpdatePricingRuleOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdatePricingRuleOutput) SetModifierPercentage

func (s *UpdatePricingRuleOutput) SetModifierPercentage(v float64) *UpdatePricingRuleOutput

SetModifierPercentage sets the ModifierPercentage field's value.

func (*UpdatePricingRuleOutput) SetName

SetName sets the Name field's value.

func (*UpdatePricingRuleOutput) SetScope

SetScope sets the Scope field's value.

func (*UpdatePricingRuleOutput) SetService

SetService sets the Service field's value.

func (*UpdatePricingRuleOutput) SetType

SetType sets the Type field's value.

func (UpdatePricingRuleOutput) String

func (s UpdatePricingRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The fields that caused the error, if applicable.
	Fields []*ValidationExceptionField `type:"list"`

	Message_ *string `locationName:"Message" type:"string"`

	// The reason the request's validation failed.
	Reason *string `type:"string" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

The input doesn't match with the constraints specified by Amazon Web Services services.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationExceptionField

type ValidationExceptionField struct {

	// The message describing why the field failed validation.
	//
	// Message is a required field
	Message *string `type:"string" required:"true"`

	// The field name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The field's information of a request that resulted in an exception.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package billingconductoriface provides an interface to enable mocking the AWSBillingConductor service client for testing your code.
Package billingconductoriface provides an interface to enable mocking the AWSBillingConductor service client for testing your code.

Jump to

Keyboard shortcuts

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