bcmpricingcalculator

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Overview

Package bcmpricingcalculator provides the API client, operations, and parameter types for AWS Billing and Cost Management Pricing Calculator.

You can use the Pricing Calculator API to programmatically create estimates

for your planned cloud use. You can model usage and commitments such as Savings Plans and Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.

The Pricing Calculator API provides the following endpoint:

Index

Constants

View Source
const ServiceAPIVersion = "2024-06-19"
View Source
const ServiceID = "BCM Pricing Calculator"

Variables

This section is empty.

Functions

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func WithAPIOptions

func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

WithAPIOptions returns a functional option for setting the Client's APIOptions option.

func WithEndpointResolver deprecated

func WithEndpointResolver(v EndpointResolver) func(*Options)

Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.

To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.

func WithEndpointResolverV2

func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)

WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.

func WithSigV4SigningName

func WithSigV4SigningName(name string) func(*Options)

WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.

func WithSigV4SigningRegion

func WithSigV4SigningRegion(region string) func(*Options)

WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.

This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.

Types

type AuthResolverParameters

type AuthResolverParameters struct {
	// The name of the operation being invoked.
	Operation string

	// The region in which the operation is being invoked.
	Region string
}

AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.

type AuthSchemeResolver

type AuthSchemeResolver interface {
	ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}

AuthSchemeResolver returns a set of possible authentication options for an operation.

type BatchCreateBillScenarioCommitmentModificationInput

type BatchCreateBillScenarioCommitmentModificationInput struct {

	//  The ID of the Bill Scenario for which you want to create the modeled
	// commitment.
	//
	// This member is required.
	BillScenarioId *string

	//  List of commitments that you want to model in the Bill Scenario.
	//
	// This member is required.
	CommitmentModifications []types.BatchCreateBillScenarioCommitmentModificationEntry

	//  A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string
	// contains filtered or unexported fields
}

type BatchCreateBillScenarioCommitmentModificationOutput

type BatchCreateBillScenarioCommitmentModificationOutput struct {

	//  Returns the list of errors reason and the commitment item keys that cannot be
	// created in the Bill Scenario.
	Errors []types.BatchCreateBillScenarioCommitmentModificationError

	//  Returns the list of successful commitment line items that were created for the
	// Bill Scenario.
	Items []types.BatchCreateBillScenarioCommitmentModificationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchCreateBillScenarioUsageModificationInput

type BatchCreateBillScenarioUsageModificationInput struct {

	//  The ID of the Bill Scenario for which you want to create the modeled usage.
	//
	// This member is required.
	BillScenarioId *string

	//  List of usage that you want to model in the Bill Scenario.
	//
	// This member is required.
	UsageModifications []types.BatchCreateBillScenarioUsageModificationEntry

	//  A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string
	// contains filtered or unexported fields
}

type BatchCreateBillScenarioUsageModificationOutput

type BatchCreateBillScenarioUsageModificationOutput struct {

	//  Returns the list of errors reason and the usage item keys that cannot be
	// created in the Bill Scenario.
	Errors []types.BatchCreateBillScenarioUsageModificationError

	//  Returns the list of successful usage line items that were created for the Bill
	// Scenario.
	Items []types.BatchCreateBillScenarioUsageModificationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchCreateWorkloadEstimateUsageInput

type BatchCreateWorkloadEstimateUsageInput struct {

	//  List of usage that you want to model in the Workload estimate.
	//
	// This member is required.
	Usage []types.BatchCreateWorkloadEstimateUsageEntry

	//  The ID of the Workload estimate for which you want to create the modeled
	// usage.
	//
	// This member is required.
	WorkloadEstimateId *string

	//  A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string
	// contains filtered or unexported fields
}

type BatchCreateWorkloadEstimateUsageOutput

type BatchCreateWorkloadEstimateUsageOutput struct {

	//  Returns the list of errors reason and the usage item keys that cannot be
	// created in the Workload estimate.
	Errors []types.BatchCreateWorkloadEstimateUsageError

	//  Returns the list of successful usage line items that were created for the
	// Workload estimate.
	Items []types.BatchCreateWorkloadEstimateUsageItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchDeleteBillScenarioCommitmentModificationInput

type BatchDeleteBillScenarioCommitmentModificationInput struct {

	//  The ID of the Bill Scenario for which you want to delete the modeled
	// commitment.
	//
	// This member is required.
	BillScenarioId *string

	//  List of commitments that you want to delete from the Bill Scenario.
	//
	// This member is required.
	Ids []string
	// contains filtered or unexported fields
}

type BatchDeleteBillScenarioCommitmentModificationOutput

type BatchDeleteBillScenarioCommitmentModificationOutput struct {

	//  Returns the list of errors reason and the commitment item keys that cannot be
	// deleted from the Bill Scenario.
	Errors []types.BatchDeleteBillScenarioCommitmentModificationError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchDeleteBillScenarioUsageModificationInput

type BatchDeleteBillScenarioUsageModificationInput struct {

	//  The ID of the Bill Scenario for which you want to delete the modeled usage.
	//
	// This member is required.
	BillScenarioId *string

	//  List of usage that you want to delete from the Bill Scenario.
	//
	// This member is required.
	Ids []string
	// contains filtered or unexported fields
}

type BatchDeleteBillScenarioUsageModificationOutput

type BatchDeleteBillScenarioUsageModificationOutput struct {

	//  Returns the list of errors reason and the usage item keys that cannot be
	// deleted from the Bill Scenario.
	Errors []types.BatchDeleteBillScenarioUsageModificationError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchDeleteWorkloadEstimateUsageInput

type BatchDeleteWorkloadEstimateUsageInput struct {

	//  List of usage that you want to delete from the Workload estimate.
	//
	// This member is required.
	Ids []string

	//  The ID of the Workload estimate for which you want to delete the modeled
	// usage.
	//
	// This member is required.
	WorkloadEstimateId *string
	// contains filtered or unexported fields
}

type BatchDeleteWorkloadEstimateUsageOutput

type BatchDeleteWorkloadEstimateUsageOutput struct {

	//  Returns the list of errors reason and the usage item keys that cannot be
	// deleted from the Workload estimate.
	Errors []types.BatchDeleteWorkloadEstimateUsageError

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateBillScenarioCommitmentModificationInput

type BatchUpdateBillScenarioCommitmentModificationInput struct {

	//  The ID of the Bill Scenario for which you want to modify the commitment group
	// of a modeled commitment.
	//
	// This member is required.
	BillScenarioId *string

	//  List of commitments that you want to update in a Bill Scenario.
	//
	// This member is required.
	CommitmentModifications []types.BatchUpdateBillScenarioCommitmentModificationEntry
	// contains filtered or unexported fields
}

type BatchUpdateBillScenarioCommitmentModificationOutput

type BatchUpdateBillScenarioCommitmentModificationOutput struct {

	//  Returns the list of error reasons and commitment line item IDs that could not
	// be updated for the Bill Scenario.
	Errors []types.BatchUpdateBillScenarioCommitmentModificationError

	//  Returns the list of successful commitment line items that were updated for a
	// Bill Scenario.
	Items []types.BillScenarioCommitmentModificationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateBillScenarioUsageModificationInput

type BatchUpdateBillScenarioUsageModificationInput struct {

	//  The ID of the Bill Scenario for which you want to modify the usage lines.
	//
	// This member is required.
	BillScenarioId *string

	//  List of usage lines that you want to update in a Bill Scenario identified by
	// the usage ID.
	//
	// This member is required.
	UsageModifications []types.BatchUpdateBillScenarioUsageModificationEntry
	// contains filtered or unexported fields
}

type BatchUpdateBillScenarioUsageModificationOutput

type BatchUpdateBillScenarioUsageModificationOutput struct {

	//  Returns the list of error reasons and usage line item IDs that could not be
	// updated for the Bill Scenario.
	Errors []types.BatchUpdateBillScenarioUsageModificationError

	//  Returns the list of successful usage line items that were updated for a Bill
	// Scenario.
	Items []types.BillScenarioUsageModificationItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type BatchUpdateWorkloadEstimateUsageInput

type BatchUpdateWorkloadEstimateUsageInput struct {

	//  List of usage line amounts and usage group that you want to update in a
	// Workload estimate identified by the usage ID.
	//
	// This member is required.
	Usage []types.BatchUpdateWorkloadEstimateUsageEntry

	//  The ID of the Workload estimate for which you want to modify the usage lines.
	//
	// This member is required.
	WorkloadEstimateId *string
	// contains filtered or unexported fields
}

type BatchUpdateWorkloadEstimateUsageOutput

type BatchUpdateWorkloadEstimateUsageOutput struct {

	//  Returns the list of error reasons and usage line item IDs that could not be
	// updated for the Workload estimate.
	Errors []types.BatchUpdateWorkloadEstimateUsageError

	//  Returns the list of successful usage line items that were updated for a
	// Workload estimate.
	Items []types.WorkloadEstimateUsageItem

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type Client

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

Client provides the API client to make operations call for AWS Billing and Cost Management Pricing Calculator.

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) BatchCreateBillScenarioCommitmentModification

func (c *Client) BatchCreateBillScenarioCommitmentModification(ctx context.Context, params *BatchCreateBillScenarioCommitmentModificationInput, optFns ...func(*Options)) (*BatchCreateBillScenarioCommitmentModificationOutput, error)
Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved

Instances commitments that you want to model in a Bill Scenario.

func (*Client) BatchCreateBillScenarioUsageModification

func (c *Client) BatchCreateBillScenarioUsageModification(ctx context.Context, params *BatchCreateBillScenarioUsageModificationInput, optFns ...func(*Options)) (*BatchCreateBillScenarioUsageModificationOutput, error)
Create Amazon Web Services service usage that you want to model in a Bill

Scenario.

func (*Client) BatchCreateWorkloadEstimateUsage

func (c *Client) BatchCreateWorkloadEstimateUsage(ctx context.Context, params *BatchCreateWorkloadEstimateUsageInput, optFns ...func(*Options)) (*BatchCreateWorkloadEstimateUsageOutput, error)
Create Amazon Web Services service usage that you want to model in a Workload

Estimate.

func (*Client) BatchDeleteBillScenarioCommitmentModification

func (c *Client) BatchDeleteBillScenarioCommitmentModification(ctx context.Context, params *BatchDeleteBillScenarioCommitmentModificationInput, optFns ...func(*Options)) (*BatchDeleteBillScenarioCommitmentModificationOutput, error)
Delete commitment that you have created in a Bill Scenario. You can only

delete a commitment that you had added and cannot model deletion (or removal) of a existing commitment. If you want model deletion of an existing commitment, see the negate BillScenarioCommitmentModificationActionof BatchCreateBillScenarioCommitmentModification operation.

func (*Client) BatchDeleteBillScenarioUsageModification

func (c *Client) BatchDeleteBillScenarioUsageModification(ctx context.Context, params *BatchDeleteBillScenarioUsageModificationInput, optFns ...func(*Options)) (*BatchDeleteBillScenarioUsageModificationOutput, error)
Delete usage that you have created in a Bill Scenario. You can only delete

usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see BatchUpdateBillScenarioUsageModification.

func (*Client) BatchDeleteWorkloadEstimateUsage

func (c *Client) BatchDeleteWorkloadEstimateUsage(ctx context.Context, params *BatchDeleteWorkloadEstimateUsageInput, optFns ...func(*Options)) (*BatchDeleteWorkloadEstimateUsageOutput, error)
Delete usage that you have created in a Workload estimate. You can only delete

usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see BatchUpdateWorkloadEstimateUsage.

func (*Client) BatchUpdateBillScenarioCommitmentModification

func (c *Client) BatchUpdateBillScenarioCommitmentModification(ctx context.Context, params *BatchUpdateBillScenarioCommitmentModificationInput, optFns ...func(*Options)) (*BatchUpdateBillScenarioCommitmentModificationOutput, error)
Update a newly added or existing commitment. You can update the commitment

group based on a commitment ID and a Bill scenario ID.

func (*Client) BatchUpdateBillScenarioUsageModification

func (c *Client) BatchUpdateBillScenarioUsageModification(ctx context.Context, params *BatchUpdateBillScenarioUsageModificationInput, optFns ...func(*Options)) (*BatchUpdateBillScenarioUsageModificationOutput, error)
Update a newly added or existing usage lines. You can update the usage

amounts, usage hour, and usage group based on a usage ID and a Bill scenario ID.

func (*Client) BatchUpdateWorkloadEstimateUsage

func (c *Client) BatchUpdateWorkloadEstimateUsage(ctx context.Context, params *BatchUpdateWorkloadEstimateUsageInput, optFns ...func(*Options)) (*BatchUpdateWorkloadEstimateUsageOutput, error)
Update a newly added or existing usage lines. You can update the usage amounts

and usage group based on a usage ID and a Workload estimate ID.

func (*Client) CreateBillEstimate

func (c *Client) CreateBillEstimate(ctx context.Context, params *CreateBillEstimateInput, optFns ...func(*Options)) (*CreateBillEstimateOutput, error)
Create a Bill estimate from a Bill scenario. In the Bill scenario you can

model usage addition, usage changes, and usage removal. You can also model commitment addition and commitment removal. After all changes in a Bill scenario is made satisfactorily, you can call this API with a Bill scenario ID to generate the Bill estimate. Bill estimate calculates the pre-tax cost for your consolidated billing family, incorporating all modeled usage and commitments alongside existing usage and commitments from your most recent completed anniversary bill, with any applicable discounts applied.

func (*Client) CreateBillScenario

func (c *Client) CreateBillScenario(ctx context.Context, params *CreateBillScenarioInput, optFns ...func(*Options)) (*CreateBillScenarioOutput, error)
Creates a new bill scenario to model potential changes to Amazon Web Services

usage and costs.

func (*Client) CreateWorkloadEstimate

func (c *Client) CreateWorkloadEstimate(ctx context.Context, params *CreateWorkloadEstimateInput, optFns ...func(*Options)) (*CreateWorkloadEstimateOutput, error)

Creates a new workload estimate to model costs for a specific workload.

func (*Client) DeleteBillEstimate

func (c *Client) DeleteBillEstimate(ctx context.Context, params *DeleteBillEstimateInput, optFns ...func(*Options)) (*DeleteBillEstimateOutput, error)

Deletes an existing bill estimate.

func (*Client) DeleteBillScenario

func (c *Client) DeleteBillScenario(ctx context.Context, params *DeleteBillScenarioInput, optFns ...func(*Options)) (*DeleteBillScenarioOutput, error)

Deletes an existing bill scenario.

func (*Client) DeleteWorkloadEstimate

func (c *Client) DeleteWorkloadEstimate(ctx context.Context, params *DeleteWorkloadEstimateInput, optFns ...func(*Options)) (*DeleteWorkloadEstimateOutput, error)

Deletes an existing workload estimate.

func (*Client) GetBillEstimate

func (c *Client) GetBillEstimate(ctx context.Context, params *GetBillEstimateInput, optFns ...func(*Options)) (*GetBillEstimateOutput, error)

Retrieves details of a specific bill estimate.

func (*Client) GetBillScenario

func (c *Client) GetBillScenario(ctx context.Context, params *GetBillScenarioInput, optFns ...func(*Options)) (*GetBillScenarioOutput, error)

Retrieves details of a specific bill scenario.

func (*Client) GetPreferences

func (c *Client) GetPreferences(ctx context.Context, params *GetPreferencesInput, optFns ...func(*Options)) (*GetPreferencesOutput, error)
Retrieves the current preferences for the Amazon Web Services Cost Explorer

service.

func (*Client) GetWorkloadEstimate

func (c *Client) GetWorkloadEstimate(ctx context.Context, params *GetWorkloadEstimateInput, optFns ...func(*Options)) (*GetWorkloadEstimateOutput, error)

Retrieves details of a specific workload estimate.

func (*Client) ListBillEstimateCommitments

func (c *Client) ListBillEstimateCommitments(ctx context.Context, params *ListBillEstimateCommitmentsInput, optFns ...func(*Options)) (*ListBillEstimateCommitmentsOutput, error)

Lists the commitments associated with a bill estimate.

func (*Client) ListBillEstimateInputCommitmentModifications

func (c *Client) ListBillEstimateInputCommitmentModifications(ctx context.Context, params *ListBillEstimateInputCommitmentModificationsInput, optFns ...func(*Options)) (*ListBillEstimateInputCommitmentModificationsOutput, error)

Lists the input commitment modifications associated with a bill estimate.

func (*Client) ListBillEstimateInputUsageModifications

func (c *Client) ListBillEstimateInputUsageModifications(ctx context.Context, params *ListBillEstimateInputUsageModificationsInput, optFns ...func(*Options)) (*ListBillEstimateInputUsageModificationsOutput, error)

Lists the input usage modifications associated with a bill estimate.

func (*Client) ListBillEstimateLineItems

func (c *Client) ListBillEstimateLineItems(ctx context.Context, params *ListBillEstimateLineItemsInput, optFns ...func(*Options)) (*ListBillEstimateLineItemsOutput, error)

Lists the line items associated with a bill estimate.

func (*Client) ListBillEstimates

func (c *Client) ListBillEstimates(ctx context.Context, params *ListBillEstimatesInput, optFns ...func(*Options)) (*ListBillEstimatesOutput, error)

Lists all bill estimates for the account.

func (*Client) ListBillScenarioCommitmentModifications

func (c *Client) ListBillScenarioCommitmentModifications(ctx context.Context, params *ListBillScenarioCommitmentModificationsInput, optFns ...func(*Options)) (*ListBillScenarioCommitmentModificationsOutput, error)

Lists the commitment modifications associated with a bill scenario.

func (*Client) ListBillScenarioUsageModifications

func (c *Client) ListBillScenarioUsageModifications(ctx context.Context, params *ListBillScenarioUsageModificationsInput, optFns ...func(*Options)) (*ListBillScenarioUsageModificationsOutput, error)

Lists the usage modifications associated with a bill scenario.

func (*Client) ListBillScenarios

func (c *Client) ListBillScenarios(ctx context.Context, params *ListBillScenariosInput, optFns ...func(*Options)) (*ListBillScenariosOutput, error)

Lists all bill scenarios for the account.

func (*Client) ListTagsForResource

func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

Lists all tags associated with a specified resource.

func (*Client) ListWorkloadEstimateUsage

func (c *Client) ListWorkloadEstimateUsage(ctx context.Context, params *ListWorkloadEstimateUsageInput, optFns ...func(*Options)) (*ListWorkloadEstimateUsageOutput, error)

Lists the usage associated with a workload estimate.

func (*Client) ListWorkloadEstimates

func (c *Client) ListWorkloadEstimates(ctx context.Context, params *ListWorkloadEstimatesInput, optFns ...func(*Options)) (*ListWorkloadEstimatesOutput, error)

Lists all workload estimates for the account.

func (*Client) Options

func (c *Client) Options() Options

Options returns a copy of the client configuration.

Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.

func (*Client) TagResource

func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

Adds one or more tags to a specified resource.

func (*Client) UntagResource

func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

Removes one or more tags from a specified resource.

func (*Client) UpdateBillEstimate

func (c *Client) UpdateBillEstimate(ctx context.Context, params *UpdateBillEstimateInput, optFns ...func(*Options)) (*UpdateBillEstimateOutput, error)

Updates an existing bill estimate.

func (*Client) UpdateBillScenario

func (c *Client) UpdateBillScenario(ctx context.Context, params *UpdateBillScenarioInput, optFns ...func(*Options)) (*UpdateBillScenarioOutput, error)

Updates an existing bill scenario.

func (*Client) UpdatePreferences

func (c *Client) UpdatePreferences(ctx context.Context, params *UpdatePreferencesInput, optFns ...func(*Options)) (*UpdatePreferencesOutput, error)

Updates the preferences for the Amazon Web Services Cost Explorer service.

func (*Client) UpdateWorkloadEstimate

func (c *Client) UpdateWorkloadEstimate(ctx context.Context, params *UpdateWorkloadEstimateInput, optFns ...func(*Options)) (*UpdateWorkloadEstimateOutput, error)

Updates an existing workload estimate.

type CreateBillEstimateInput

type CreateBillEstimateInput struct {

	//  The ID of the Bill Scenario for which you want to create a Bill estimate.
	//
	// This member is required.
	BillScenarioId *string

	//  The name of the Bill estimate that will be created. Names must be unique for
	// an account.
	//
	// This member is required.
	Name *string

	//  A unique, case-sensitive identifier that you provide to ensure the idempotency
	// of the request.
	ClientToken *string

	//  An optional list of tags to associate with the specified BillEstimate. You can
	// use resource tags to control access to your BillEstimate using IAM policies.
	// Each tag consists of a key and a value, and each key must be unique for the
	// resource. The following restrictions apply to resource tags:
	//
	//   - Although the maximum number of array members is 200, you can assign a
	//   maximum of 50 user-tags to one resource. The remaining are reserved for Amazon
	//   Web Services.
	//
	//   - The maximum length of a key is 128 characters.
	//
	//   - The maximum length of a value is 256 characters.
	//
	//   - Keys and values can only contain alphanumeric characters, spaces, and any
	//   of the following: _.:/=+@- .
	//
	//   - Keys and values are case sensitive.
	//
	//   - Keys and values are trimmed for any leading or trailing whitespaces.
	//
	//   - Don't use aws: as a prefix for your keys. This prefix is reserved for Amazon
	//   Web Services.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateBillEstimateOutput

type CreateBillEstimateOutput struct {

	//  The unique identifier of your newly created Bill estimate.
	//
	// This member is required.
	Id *string

	//  The bill month start and end timestamp that was used to create the Bill
	// estimate. This is set to the last complete anniversary bill month start and end
	// timestamp.
	BillInterval *types.BillInterval

	//  Returns summary-level cost information once a Bill estimate is successfully
	// generated. This summary includes: 1) the total cost difference, showing the
	// pre-tax cost change for the consolidated billing family between the completed
	// anniversary bill and the estimated bill, and 2) total cost differences per
	// service, detailing the pre-tax cost of each service, comparing the completed
	// anniversary bill to the estimated bill on a per-service basis.
	CostSummary *types.BillEstimateCostSummary

	//  The timestamp of when the Bill estimate create process was started (not when
	// it successfully completed or failed).
	CreatedAt *time.Time

	//  The timestamp of when the Bill estimate will expire. A Bill estimate becomes
	// inaccessible after expiration.
	ExpiresAt *time.Time

	//  This attribute provides the reason if a Bill estimate result generation fails.
	FailureMessage *string

	//  The name of your newly created Bill estimate.
	Name *string

	//  The status of your newly created Bill estimate. Bill estimate creation can
	// take anywhere between 8 to 12 hours. The status will allow you to identify when
	// the Bill estimate is complete or has failed.
	Status types.BillEstimateStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateBillScenarioInput

type CreateBillScenarioInput struct {

	//  A descriptive name for the bill scenario.
	//
	// This member is required.
	Name *string

	//  A unique, case-sensitive identifier to ensure idempotency of the request.
	ClientToken *string

	//  The tags to apply to the bill scenario.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateBillScenarioOutput

type CreateBillScenarioOutput struct {

	//  The unique identifier for the created bill scenario.
	//
	// This member is required.
	Id *string

	//  The time period covered by the bill scenario.
	BillInterval *types.BillInterval

	//  The timestamp when the bill scenario was created.
	CreatedAt *time.Time

	//  The timestamp when the bill scenario will expire.
	ExpiresAt *time.Time

	//  An error message if the bill scenario creation failed.
	FailureMessage *string

	//  The name of the created bill scenario.
	Name *string

	//  The current status of the bill scenario.
	Status types.BillScenarioStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type CreateWorkloadEstimateInput

type CreateWorkloadEstimateInput struct {

	//  A descriptive name for the workload estimate.
	//
	// This member is required.
	Name *string

	//  A unique, case-sensitive identifier to ensure idempotency of the request.
	ClientToken *string

	//  The type of pricing rates to use for the estimate.
	RateType types.WorkloadEstimateRateType

	//  The tags to apply to the workload estimate.
	Tags map[string]string
	// contains filtered or unexported fields
}

type CreateWorkloadEstimateOutput

type CreateWorkloadEstimateOutput struct {

	//  The unique identifier for the created workload estimate.
	//
	// This member is required.
	Id *string

	//  The currency of the estimated cost.
	CostCurrency types.CurrencyCode

	//  The timestamp when the workload estimate was created.
	CreatedAt *time.Time

	//  The timestamp when the workload estimate will expire.
	ExpiresAt *time.Time

	//  An error message if the workload estimate creation failed.
	FailureMessage *string

	//  The name of the created workload estimate.
	Name *string

	//  The timestamp of the pricing rates used for the estimate.
	RateTimestamp *time.Time

	//  The type of pricing rates used for the estimate.
	RateType types.WorkloadEstimateRateType

	//  The current status of the workload estimate.
	Status types.WorkloadEstimateStatus

	//  The total estimated cost for the workload.
	TotalCost *float64

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Mixin for common fields returned by CRUD APIs

type DeleteBillEstimateInput

type DeleteBillEstimateInput struct {

	//  The unique identifier of the bill estimate to delete.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type DeleteBillEstimateOutput

type DeleteBillEstimateOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteBillScenarioInput

type DeleteBillScenarioInput struct {

	//  The unique identifier of the bill scenario to delete.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type DeleteBillScenarioOutput

type DeleteBillScenarioOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type DeleteWorkloadEstimateInput

type DeleteWorkloadEstimateInput struct {

	//  The unique identifier of the workload estimate to delete.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type DeleteWorkloadEstimateOutput

type DeleteWorkloadEstimateOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type EndpointParameters

type EndpointParameters struct {
	// When true, send this request to the FIPS-compliant regional endpoint. If the
	// configured endpoint does not have a FIPS compliant endpoint, dispatching the
	// request will return an error.
	//
	// Defaults to false if no value is
	// provided.
	//
	// AWS::UseFIPS
	UseFIPS *bool

	// Override the endpoint used to send this request
	//
	// Parameter is
	// required.
	//
	// SDK::Endpoint
	Endpoint *string

	// The AWS region used to dispatch the request.
	//
	// Parameter is
	// required.
	//
	// AWS::Region
	Region *string
}

EndpointParameters provides the parameters that influence how endpoints are resolved.

func (EndpointParameters) ValidateRequired

func (p EndpointParameters) ValidateRequired() error

ValidateRequired validates required parameters are set.

func (EndpointParameters) WithDefaults

func (p EndpointParameters) WithDefaults() EndpointParameters

WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func EndpointResolverFromURL

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

type EndpointResolverOptions

type EndpointResolverOptions = internalendpoints.Options

EndpointResolverOptions is the service endpoint resolver options

type EndpointResolverV2

type EndpointResolverV2 interface {
	// ResolveEndpoint attempts to resolve the endpoint with the provided options,
	// returning the endpoint if found. Otherwise an error is returned.
	ResolveEndpoint(ctx context.Context, params EndpointParameters) (
		smithyendpoints.Endpoint, error,
	)
}

EndpointResolverV2 provides the interface for resolving service endpoints.

func NewDefaultEndpointResolverV2

func NewDefaultEndpointResolverV2() EndpointResolverV2

type GetBillEstimateInput

type GetBillEstimateInput struct {

	//  The unique identifier of the bill estimate to retrieve.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type GetBillEstimateOutput

type GetBillEstimateOutput struct {

	//  The unique identifier of the retrieved bill estimate.
	//
	// This member is required.
	Id *string

	//  The time period covered by the bill estimate.
	BillInterval *types.BillInterval

	//  A summary of the estimated costs.
	CostSummary *types.BillEstimateCostSummary

	//  The timestamp when the bill estimate was created.
	CreatedAt *time.Time

	//  The timestamp when the bill estimate will expire.
	ExpiresAt *time.Time

	//  An error message if the bill estimate retrieval failed.
	FailureMessage *string

	//  The name of the retrieved bill estimate.
	Name *string

	//  The current status of the bill estimate.
	Status types.BillEstimateStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetBillScenarioInput

type GetBillScenarioInput struct {

	//  The unique identifier of the bill scenario to retrieve.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type GetBillScenarioOutput

type GetBillScenarioOutput struct {

	//  The unique identifier of the retrieved bill scenario.
	//
	// This member is required.
	Id *string

	//  The time period covered by the bill scenario.
	BillInterval *types.BillInterval

	//  The timestamp when the bill scenario was created.
	CreatedAt *time.Time

	//  The timestamp when the bill scenario will expire.
	ExpiresAt *time.Time

	//  An error message if the bill scenario retrieval failed.
	FailureMessage *string

	//  The name of the retrieved bill scenario.
	Name *string

	//  The current status of the bill scenario.
	Status types.BillScenarioStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetPreferencesInput

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

type GetPreferencesOutput

type GetPreferencesOutput struct {

	//  The preferred rate types for the management account.
	ManagementAccountRateTypeSelections []types.RateType

	//  The preferred rate types for member accounts.
	MemberAccountRateTypeSelections []types.RateType

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type GetWorkloadEstimateInput

type GetWorkloadEstimateInput struct {

	//  The unique identifier of the workload estimate to retrieve.
	//
	// This member is required.
	Identifier *string
	// contains filtered or unexported fields
}

type GetWorkloadEstimateOutput

type GetWorkloadEstimateOutput struct {

	//  The unique identifier of the retrieved workload estimate.
	//
	// This member is required.
	Id *string

	//  The currency of the estimated cost.
	CostCurrency types.CurrencyCode

	//  The timestamp when the workload estimate was created.
	CreatedAt *time.Time

	//  The timestamp when the workload estimate will expire.
	ExpiresAt *time.Time

	//  An error message if the workload estimate retrieval failed.
	FailureMessage *string

	//  The name of the retrieved workload estimate.
	Name *string

	//  The timestamp of the pricing rates used for the estimate.
	RateTimestamp *time.Time

	//  The type of pricing rates used for the estimate.
	RateType types.WorkloadEstimateRateType

	//  The current status of the workload estimate.
	Status types.WorkloadEstimateStatus

	//  The total estimated cost for the workload.
	TotalCost *float64

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Mixin for common fields returned by CRUD APIs

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type IdempotencyTokenProvider

type IdempotencyTokenProvider interface {
	GetIdempotencyToken() (string, error)
}

IdempotencyTokenProvider interface for providing idempotency token

type ListBillEstimateCommitmentsAPIClient

type ListBillEstimateCommitmentsAPIClient interface {
	ListBillEstimateCommitments(context.Context, *ListBillEstimateCommitmentsInput, ...func(*Options)) (*ListBillEstimateCommitmentsOutput, error)
}

ListBillEstimateCommitmentsAPIClient is a client that implements the ListBillEstimateCommitments operation.

type ListBillEstimateCommitmentsInput

type ListBillEstimateCommitmentsInput struct {

	//  The unique identifier of the bill estimate to list commitments for.
	//
	// This member is required.
	BillEstimateId *string

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillEstimateCommitmentsOutput

type ListBillEstimateCommitmentsOutput struct {

	//  The list of commitments associated with the bill estimate.
	Items []types.BillEstimateCommitmentSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillEstimateCommitmentsPaginator

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

ListBillEstimateCommitmentsPaginator is a paginator for ListBillEstimateCommitments

func NewListBillEstimateCommitmentsPaginator

NewListBillEstimateCommitmentsPaginator returns a new ListBillEstimateCommitmentsPaginator

func (*ListBillEstimateCommitmentsPaginator) HasMorePages

func (p *ListBillEstimateCommitmentsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillEstimateCommitmentsPaginator) NextPage

NextPage retrieves the next ListBillEstimateCommitments page.

type ListBillEstimateCommitmentsPaginatorOptions

type ListBillEstimateCommitmentsPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillEstimateCommitmentsPaginatorOptions is the paginator options for ListBillEstimateCommitments

type ListBillEstimateInputCommitmentModificationsAPIClient

type ListBillEstimateInputCommitmentModificationsAPIClient interface {
	ListBillEstimateInputCommitmentModifications(context.Context, *ListBillEstimateInputCommitmentModificationsInput, ...func(*Options)) (*ListBillEstimateInputCommitmentModificationsOutput, error)
}

ListBillEstimateInputCommitmentModificationsAPIClient is a client that implements the ListBillEstimateInputCommitmentModifications operation.

type ListBillEstimateInputCommitmentModificationsInput

type ListBillEstimateInputCommitmentModificationsInput struct {

	//  The unique identifier of the bill estimate to list input commitment
	// modifications for.
	//
	// This member is required.
	BillEstimateId *string

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillEstimateInputCommitmentModificationsOutput

type ListBillEstimateInputCommitmentModificationsOutput struct {

	//  The list of input commitment modifications associated with the bill estimate.
	Items []types.BillEstimateInputCommitmentModificationSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillEstimateInputCommitmentModificationsPaginator

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

ListBillEstimateInputCommitmentModificationsPaginator is a paginator for ListBillEstimateInputCommitmentModifications

func NewListBillEstimateInputCommitmentModificationsPaginator

NewListBillEstimateInputCommitmentModificationsPaginator returns a new ListBillEstimateInputCommitmentModificationsPaginator

func (*ListBillEstimateInputCommitmentModificationsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillEstimateInputCommitmentModificationsPaginator) NextPage

NextPage retrieves the next ListBillEstimateInputCommitmentModifications page.

type ListBillEstimateInputCommitmentModificationsPaginatorOptions

type ListBillEstimateInputCommitmentModificationsPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillEstimateInputCommitmentModificationsPaginatorOptions is the paginator options for ListBillEstimateInputCommitmentModifications

type ListBillEstimateInputUsageModificationsAPIClient

type ListBillEstimateInputUsageModificationsAPIClient interface {
	ListBillEstimateInputUsageModifications(context.Context, *ListBillEstimateInputUsageModificationsInput, ...func(*Options)) (*ListBillEstimateInputUsageModificationsOutput, error)
}

ListBillEstimateInputUsageModificationsAPIClient is a client that implements the ListBillEstimateInputUsageModifications operation.

type ListBillEstimateInputUsageModificationsInput

type ListBillEstimateInputUsageModificationsInput struct {

	//  The unique identifier of the bill estimate to list input usage modifications
	// for.
	//
	// This member is required.
	BillEstimateId *string

	//  Filters to apply to the list of input usage modifications.
	Filters []types.ListUsageFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillEstimateInputUsageModificationsOutput

type ListBillEstimateInputUsageModificationsOutput struct {

	//  The list of input usage modifications associated with the bill estimate.
	Items []types.BillEstimateInputUsageModificationSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillEstimateInputUsageModificationsPaginator

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

ListBillEstimateInputUsageModificationsPaginator is a paginator for ListBillEstimateInputUsageModifications

func NewListBillEstimateInputUsageModificationsPaginator

NewListBillEstimateInputUsageModificationsPaginator returns a new ListBillEstimateInputUsageModificationsPaginator

func (*ListBillEstimateInputUsageModificationsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillEstimateInputUsageModificationsPaginator) NextPage

NextPage retrieves the next ListBillEstimateInputUsageModifications page.

type ListBillEstimateInputUsageModificationsPaginatorOptions

type ListBillEstimateInputUsageModificationsPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillEstimateInputUsageModificationsPaginatorOptions is the paginator options for ListBillEstimateInputUsageModifications

type ListBillEstimateLineItemsAPIClient

type ListBillEstimateLineItemsAPIClient interface {
	ListBillEstimateLineItems(context.Context, *ListBillEstimateLineItemsInput, ...func(*Options)) (*ListBillEstimateLineItemsOutput, error)
}

ListBillEstimateLineItemsAPIClient is a client that implements the ListBillEstimateLineItems operation.

type ListBillEstimateLineItemsInput

type ListBillEstimateLineItemsInput struct {

	//  The unique identifier of the bill estimate to list line items for.
	//
	// This member is required.
	BillEstimateId *string

	//  Filters to apply to the list of line items.
	Filters []types.ListBillEstimateLineItemsFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillEstimateLineItemsOutput

type ListBillEstimateLineItemsOutput struct {

	//  The list of line items associated with the bill estimate.
	Items []types.BillEstimateLineItemSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillEstimateLineItemsPaginator

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

ListBillEstimateLineItemsPaginator is a paginator for ListBillEstimateLineItems

func NewListBillEstimateLineItemsPaginator

NewListBillEstimateLineItemsPaginator returns a new ListBillEstimateLineItemsPaginator

func (*ListBillEstimateLineItemsPaginator) HasMorePages

func (p *ListBillEstimateLineItemsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillEstimateLineItemsPaginator) NextPage

NextPage retrieves the next ListBillEstimateLineItems page.

type ListBillEstimateLineItemsPaginatorOptions

type ListBillEstimateLineItemsPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillEstimateLineItemsPaginatorOptions is the paginator options for ListBillEstimateLineItems

type ListBillEstimatesAPIClient

type ListBillEstimatesAPIClient interface {
	ListBillEstimates(context.Context, *ListBillEstimatesInput, ...func(*Options)) (*ListBillEstimatesOutput, error)
}

ListBillEstimatesAPIClient is a client that implements the ListBillEstimates operation.

type ListBillEstimatesInput

type ListBillEstimatesInput struct {

	//  Filter bill estimates based on their creation date.
	CreatedAtFilter *types.FilterTimestamp

	//  Filter bill estimates based on their expiration date.
	ExpiresAtFilter *types.FilterTimestamp

	//  Filters to apply to the list of bill estimates.
	Filters []types.ListBillEstimatesFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillEstimatesOutput

type ListBillEstimatesOutput struct {

	//  The list of bill estimates for the account.
	Items []types.BillEstimateSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillEstimatesPaginator

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

ListBillEstimatesPaginator is a paginator for ListBillEstimates

func NewListBillEstimatesPaginator

func NewListBillEstimatesPaginator(client ListBillEstimatesAPIClient, params *ListBillEstimatesInput, optFns ...func(*ListBillEstimatesPaginatorOptions)) *ListBillEstimatesPaginator

NewListBillEstimatesPaginator returns a new ListBillEstimatesPaginator

func (*ListBillEstimatesPaginator) HasMorePages

func (p *ListBillEstimatesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillEstimatesPaginator) NextPage

func (p *ListBillEstimatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBillEstimatesOutput, error)

NextPage retrieves the next ListBillEstimates page.

type ListBillEstimatesPaginatorOptions

type ListBillEstimatesPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillEstimatesPaginatorOptions is the paginator options for ListBillEstimates

type ListBillScenarioCommitmentModificationsAPIClient

type ListBillScenarioCommitmentModificationsAPIClient interface {
	ListBillScenarioCommitmentModifications(context.Context, *ListBillScenarioCommitmentModificationsInput, ...func(*Options)) (*ListBillScenarioCommitmentModificationsOutput, error)
}

ListBillScenarioCommitmentModificationsAPIClient is a client that implements the ListBillScenarioCommitmentModifications operation.

type ListBillScenarioCommitmentModificationsInput

type ListBillScenarioCommitmentModificationsInput struct {

	//  The unique identifier of the bill scenario to list commitment modifications
	// for.
	//
	// This member is required.
	BillScenarioId *string

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillScenarioCommitmentModificationsOutput

type ListBillScenarioCommitmentModificationsOutput struct {

	//  The list of commitment modifications associated with the bill scenario.
	Items []types.BillScenarioCommitmentModificationItem

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillScenarioCommitmentModificationsPaginator

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

ListBillScenarioCommitmentModificationsPaginator is a paginator for ListBillScenarioCommitmentModifications

func NewListBillScenarioCommitmentModificationsPaginator

NewListBillScenarioCommitmentModificationsPaginator returns a new ListBillScenarioCommitmentModificationsPaginator

func (*ListBillScenarioCommitmentModificationsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillScenarioCommitmentModificationsPaginator) NextPage

NextPage retrieves the next ListBillScenarioCommitmentModifications page.

type ListBillScenarioCommitmentModificationsPaginatorOptions

type ListBillScenarioCommitmentModificationsPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillScenarioCommitmentModificationsPaginatorOptions is the paginator options for ListBillScenarioCommitmentModifications

type ListBillScenarioUsageModificationsAPIClient

type ListBillScenarioUsageModificationsAPIClient interface {
	ListBillScenarioUsageModifications(context.Context, *ListBillScenarioUsageModificationsInput, ...func(*Options)) (*ListBillScenarioUsageModificationsOutput, error)
}

ListBillScenarioUsageModificationsAPIClient is a client that implements the ListBillScenarioUsageModifications operation.

type ListBillScenarioUsageModificationsInput

type ListBillScenarioUsageModificationsInput struct {

	//  The unique identifier of the bill scenario to list usage modifications for.
	//
	// This member is required.
	BillScenarioId *string

	//  Filters to apply to the list of usage modifications.
	Filters []types.ListUsageFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillScenarioUsageModificationsOutput

type ListBillScenarioUsageModificationsOutput struct {

	//  The list of usage modifications associated with the bill scenario.
	Items []types.BillScenarioUsageModificationItem

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillScenarioUsageModificationsPaginator

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

ListBillScenarioUsageModificationsPaginator is a paginator for ListBillScenarioUsageModifications

func NewListBillScenarioUsageModificationsPaginator

NewListBillScenarioUsageModificationsPaginator returns a new ListBillScenarioUsageModificationsPaginator

func (*ListBillScenarioUsageModificationsPaginator) HasMorePages

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillScenarioUsageModificationsPaginator) NextPage

NextPage retrieves the next ListBillScenarioUsageModifications page.

type ListBillScenarioUsageModificationsPaginatorOptions

type ListBillScenarioUsageModificationsPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillScenarioUsageModificationsPaginatorOptions is the paginator options for ListBillScenarioUsageModifications

type ListBillScenariosAPIClient

type ListBillScenariosAPIClient interface {
	ListBillScenarios(context.Context, *ListBillScenariosInput, ...func(*Options)) (*ListBillScenariosOutput, error)
}

ListBillScenariosAPIClient is a client that implements the ListBillScenarios operation.

type ListBillScenariosInput

type ListBillScenariosInput struct {

	//  Filter bill scenarios based on their creation date.
	CreatedAtFilter *types.FilterTimestamp

	//  Filter bill scenarios based on their expiration date.
	ExpiresAtFilter *types.FilterTimestamp

	//  Filters to apply to the list of bill scenarios.
	Filters []types.ListBillScenariosFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListBillScenariosOutput

type ListBillScenariosOutput struct {

	//  The list of bill scenarios for the account.
	Items []types.BillScenarioSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListBillScenariosPaginator

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

ListBillScenariosPaginator is a paginator for ListBillScenarios

func NewListBillScenariosPaginator

func NewListBillScenariosPaginator(client ListBillScenariosAPIClient, params *ListBillScenariosInput, optFns ...func(*ListBillScenariosPaginatorOptions)) *ListBillScenariosPaginator

NewListBillScenariosPaginator returns a new ListBillScenariosPaginator

func (*ListBillScenariosPaginator) HasMorePages

func (p *ListBillScenariosPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListBillScenariosPaginator) NextPage

func (p *ListBillScenariosPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListBillScenariosOutput, error)

NextPage retrieves the next ListBillScenarios page.

type ListBillScenariosPaginatorOptions

type ListBillScenariosPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListBillScenariosPaginatorOptions is the paginator options for ListBillScenarios

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	//  The Amazon Resource Name (ARN) of the resource to list tags for.
	//
	// This member is required.
	Arn *string
	// contains filtered or unexported fields
}

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	//  The list of tags associated with the specified resource.
	Tags map[string]string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListWorkloadEstimateUsageAPIClient

type ListWorkloadEstimateUsageAPIClient interface {
	ListWorkloadEstimateUsage(context.Context, *ListWorkloadEstimateUsageInput, ...func(*Options)) (*ListWorkloadEstimateUsageOutput, error)
}

ListWorkloadEstimateUsageAPIClient is a client that implements the ListWorkloadEstimateUsage operation.

type ListWorkloadEstimateUsageInput

type ListWorkloadEstimateUsageInput struct {

	//  The unique identifier of the workload estimate to list usage for.
	//
	// This member is required.
	WorkloadEstimateId *string

	//  Filters to apply to the list of usage items.
	Filters []types.ListUsageFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListWorkloadEstimateUsageOutput

type ListWorkloadEstimateUsageOutput struct {

	//  The list of usage items associated with the workload estimate.
	Items []types.WorkloadEstimateUsageItem

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListWorkloadEstimateUsagePaginator

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

ListWorkloadEstimateUsagePaginator is a paginator for ListWorkloadEstimateUsage

func NewListWorkloadEstimateUsagePaginator

NewListWorkloadEstimateUsagePaginator returns a new ListWorkloadEstimateUsagePaginator

func (*ListWorkloadEstimateUsagePaginator) HasMorePages

func (p *ListWorkloadEstimateUsagePaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListWorkloadEstimateUsagePaginator) NextPage

NextPage retrieves the next ListWorkloadEstimateUsage page.

type ListWorkloadEstimateUsagePaginatorOptions

type ListWorkloadEstimateUsagePaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListWorkloadEstimateUsagePaginatorOptions is the paginator options for ListWorkloadEstimateUsage

type ListWorkloadEstimatesAPIClient

type ListWorkloadEstimatesAPIClient interface {
	ListWorkloadEstimates(context.Context, *ListWorkloadEstimatesInput, ...func(*Options)) (*ListWorkloadEstimatesOutput, error)
}

ListWorkloadEstimatesAPIClient is a client that implements the ListWorkloadEstimates operation.

type ListWorkloadEstimatesInput

type ListWorkloadEstimatesInput struct {

	//  Filter workload estimates based on their creation date.
	CreatedAtFilter *types.FilterTimestamp

	//  Filter workload estimates based on their expiration date.
	ExpiresAtFilter *types.FilterTimestamp

	//  Filters to apply to the list of workload estimates.
	Filters []types.ListWorkloadEstimatesFilter

	//  The maximum number of results to return per page.
	MaxResults *int32

	//  A token to retrieve the next page of results.
	NextToken *string
	// contains filtered or unexported fields
}

type ListWorkloadEstimatesOutput

type ListWorkloadEstimatesOutput struct {

	//  The list of workload estimates for the account.
	Items []types.WorkloadEstimateSummary

	//  A token to retrieve the next page of results, if any.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type ListWorkloadEstimatesPaginator

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

ListWorkloadEstimatesPaginator is a paginator for ListWorkloadEstimates

func NewListWorkloadEstimatesPaginator

NewListWorkloadEstimatesPaginator returns a new ListWorkloadEstimatesPaginator

func (*ListWorkloadEstimatesPaginator) HasMorePages

func (p *ListWorkloadEstimatesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListWorkloadEstimatesPaginator) NextPage

NextPage retrieves the next ListWorkloadEstimates page.

type ListWorkloadEstimatesPaginatorOptions

type ListWorkloadEstimatesPaginatorOptions struct {
	//  The maximum number of results to return per page.
	Limit int32

	// Set to true if pagination should stop if the service returns a pagination token
	// that matches the most recent token provided to the service.
	StopOnDuplicateToken bool
}

ListWorkloadEstimatesPaginatorOptions is the paginator options for ListWorkloadEstimates

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The optional application specific identifier appended to the User-Agent header.
	AppID string

	// This endpoint will be given as input to an EndpointResolverV2. It is used for
	// providing a custom base endpoint that is subject to modifications by the
	// processing EndpointResolverV2.
	BaseEndpoint *string

	// Configures the events that will be sent to the configured logger.
	ClientLogMode aws.ClientLogMode

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The configuration DefaultsMode that the SDK should use when constructing the
	// clients initial default settings.
	DefaultsMode aws.DefaultsMode

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions EndpointResolverOptions

	// The service endpoint resolver.
	//
	// Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a
	// value for this field will likely prevent you from using any endpoint-related
	// service features released after the introduction of EndpointResolverV2 and
	// BaseEndpoint.
	//
	// To migrate an EndpointResolver implementation that uses a custom endpoint, set
	// the client option BaseEndpoint instead.
	EndpointResolver EndpointResolver

	// Resolves the endpoint used for a particular service operation. This should be
	// used over the deprecated EndpointResolver.
	EndpointResolverV2 EndpointResolverV2

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// Provides idempotency tokens values that will be automatically populated into
	// idempotent API operations.
	IdempotencyTokenProvider IdempotencyTokenProvider

	// The logger writer interface to write logging messages to.
	Logger logging.Logger

	// The client meter provider.
	MeterProvider metrics.MeterProvider

	// The region to send requests to. (Required)
	Region string

	// RetryMaxAttempts specifies the maximum number attempts an API client will call
	// an operation that fails with a retryable error. A value of 0 is ignored, and
	// will not be used to configure the API client created default retryer, or modify
	// per operation call's retry max attempts.
	//
	// If specified in an operation call's functional options with a value that is
	// different than the constructed client's Options, the Client's Retryer will be
	// wrapped to use the operation's specific RetryMaxAttempts value.
	RetryMaxAttempts int

	// RetryMode specifies the retry mode the API client will be created with, if
	// Retryer option is not also specified.
	//
	// When creating a new API Clients this member will only be used if the Retryer
	// Options member is nil. This value will be ignored if Retryer is not nil.
	//
	// Currently does not support per operation call overrides, may in the future.
	RetryMode aws.RetryMode

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer. The kind of
	// default retry created by the API client can be changed with the RetryMode
	// option.
	Retryer aws.Retryer

	// The RuntimeEnvironment configuration, only populated if the DefaultsMode is set
	// to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You
	// should not populate this structure programmatically, or rely on the values here
	// within your applications.
	RuntimeEnvironment aws.RuntimeEnvironment

	// The client tracer provider.
	TracerProvider tracing.TracerProvider

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient

	// The auth scheme resolver which determines how to authenticate for each
	// operation.
	AuthSchemeResolver AuthSchemeResolver

	// The list of auth schemes supported by the client.
	AuthSchemes []smithyhttp.AuthScheme
	// contains filtered or unexported fields
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetIdentityResolver

func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  EndpointResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type TagResourceInput

type TagResourceInput struct {

	//  The Amazon Resource Name (ARN) of the resource to add tags to.
	//
	// This member is required.
	Arn *string

	//  The tags to add to the resource.
	//
	// This member is required.
	Tags map[string]string
	// contains filtered or unexported fields
}

type TagResourceOutput

type TagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UntagResourceInput

type UntagResourceInput struct {

	//  The Amazon Resource Name (ARN) of the resource to remove tags from.
	//
	// This member is required.
	Arn *string

	//  The keys of the tags to remove from the resource.
	//
	// This member is required.
	TagKeys []string
	// contains filtered or unexported fields
}

type UntagResourceOutput

type UntagResourceOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateBillEstimateInput

type UpdateBillEstimateInput struct {

	//  The unique identifier of the bill estimate to update.
	//
	// This member is required.
	Identifier *string

	//  The new expiration date for the bill estimate.
	ExpiresAt *time.Time

	//  The new name for the bill estimate.
	Name *string
	// contains filtered or unexported fields
}

type UpdateBillEstimateOutput

type UpdateBillEstimateOutput struct {

	//  The unique identifier of the updated bill estimate.
	//
	// This member is required.
	Id *string

	//  The time period covered by the updated bill estimate.
	BillInterval *types.BillInterval

	//  A summary of the updated estimated costs.
	CostSummary *types.BillEstimateCostSummary

	//  The timestamp when the bill estimate was originally created.
	CreatedAt *time.Time

	//  The updated expiration timestamp for the bill estimate.
	ExpiresAt *time.Time

	//  An error message if the bill estimate update failed.
	FailureMessage *string

	//  The updated name of the bill estimate.
	Name *string

	//  The current status of the updated bill estimate.
	Status types.BillEstimateStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateBillScenarioInput

type UpdateBillScenarioInput struct {

	//  The unique identifier of the bill scenario to update.
	//
	// This member is required.
	Identifier *string

	//  The new expiration date for the bill scenario.
	ExpiresAt *time.Time

	//  The new name for the bill scenario.
	Name *string
	// contains filtered or unexported fields
}

type UpdateBillScenarioOutput

type UpdateBillScenarioOutput struct {

	//  The unique identifier of the updated bill scenario.
	//
	// This member is required.
	Id *string

	//  The time period covered by the updated bill scenario.
	BillInterval *types.BillInterval

	//  The timestamp when the bill scenario was originally created.
	CreatedAt *time.Time

	//  The updated expiration timestamp for the bill scenario.
	ExpiresAt *time.Time

	//  An error message if the bill scenario update failed.
	FailureMessage *string

	//  The updated name of the bill scenario.
	Name *string

	//  The current status of the updated bill scenario.
	Status types.BillScenarioStatus

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdatePreferencesInput

type UpdatePreferencesInput struct {

	//  The updated preferred rate types for the management account.
	ManagementAccountRateTypeSelections []types.RateType

	//  The updated preferred rate types for member accounts.
	MemberAccountRateTypeSelections []types.RateType
	// contains filtered or unexported fields
}

type UpdatePreferencesOutput

type UpdatePreferencesOutput struct {

	//  The updated preferred rate types for the management account.
	ManagementAccountRateTypeSelections []types.RateType

	//  The updated preferred rate types for member accounts.
	MemberAccountRateTypeSelections []types.RateType

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

type UpdateWorkloadEstimateInput

type UpdateWorkloadEstimateInput struct {

	//  The unique identifier of the workload estimate to update.
	//
	// This member is required.
	Identifier *string

	//  The new expiration date for the workload estimate.
	ExpiresAt *time.Time

	//  The new name for the workload estimate.
	Name *string
	// contains filtered or unexported fields
}

type UpdateWorkloadEstimateOutput

type UpdateWorkloadEstimateOutput struct {

	//  The unique identifier of the updated workload estimate.
	//
	// This member is required.
	Id *string

	//  The currency of the updated estimated cost.
	CostCurrency types.CurrencyCode

	//  The timestamp when the workload estimate was originally created.
	CreatedAt *time.Time

	//  The updated expiration timestamp for the workload estimate.
	ExpiresAt *time.Time

	//  An error message if the workload estimate update failed.
	FailureMessage *string

	//  The updated name of the workload estimate.
	Name *string

	//  The timestamp of the pricing rates used for the updated estimate.
	RateTimestamp *time.Time

	//  The type of pricing rates used for the updated estimate.
	RateType types.WorkloadEstimateRateType

	//  The current status of the updated workload estimate.
	Status types.WorkloadEstimateStatus

	//  The updated total estimated cost for the workload.
	TotalCost *float64

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
	// contains filtered or unexported fields
}

Mixin for common fields returned by CRUD APIs

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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