applicationcostprofiler

package
v0.0.0-...-30e57c9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package applicationcostprofiler provides the client and types for making API requests to AWS Application Cost Profiler.

This reference provides descriptions of the AWS Application Cost Profiler API.

The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete application cost report definitions, as well as to import your usage data into the Application Cost Profiler service.

For more information about using this service, see the AWS Application Cost Profiler User Guide (https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html).

See https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10 for more information on this service.

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

Using the Client

To contact AWS Application Cost Profiler 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 AWS Application Cost Profiler client ApplicationCostProfiler for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/applicationcostprofiler/#New

Index

Constants

View Source
const (
	// FormatCsv is a Format enum value
	FormatCsv = "CSV"

	// FormatParquet is a Format enum value
	FormatParquet = "PARQUET"
)
View Source
const (
	// ReportFrequencyMonthly is a ReportFrequency enum value
	ReportFrequencyMonthly = "MONTHLY"

	// ReportFrequencyDaily is a ReportFrequency enum value
	ReportFrequencyDaily = "DAILY"

	// ReportFrequencyAll is a ReportFrequency enum value
	ReportFrequencyAll = "ALL"
)
View Source
const (
	// S3BucketRegionApEast1 is a S3BucketRegion enum value
	S3BucketRegionApEast1 = "ap-east-1"

	// S3BucketRegionMeSouth1 is a S3BucketRegion enum value
	S3BucketRegionMeSouth1 = "me-south-1"

	// S3BucketRegionEuSouth1 is a S3BucketRegion enum value
	S3BucketRegionEuSouth1 = "eu-south-1"

	// S3BucketRegionAfSouth1 is a S3BucketRegion enum value
	S3BucketRegionAfSouth1 = "af-south-1"
)
View Source
const (

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

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An internal server error occurred. Retry your request.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// Your request exceeds one or more of the service quotas.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The calls to AWS Application Cost Profiler API are throttled. The request
	// was denied.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The input fails to satisfy the constraints for the API.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "ApplicationCostProfiler"   // Name of service.
	EndpointsID = "application-cost-profiler" // ID to lookup a service endpoint with.
	ServiceID   = "ApplicationCostProfiler"   // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func Format_Values

func Format_Values() []string

Format_Values returns all elements of the Format enum

func ReportFrequency_Values

func ReportFrequency_Values() []string

ReportFrequency_Values returns all elements of the ReportFrequency enum

func S3BucketRegion_Values

func S3BucketRegion_Values() []string

S3BucketRegion_Values returns all elements of the S3BucketRegion 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 permission 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 ApplicationCostProfiler

type ApplicationCostProfiler struct {
	*client.Client
}

ApplicationCostProfiler provides the API operation methods for making requests to AWS Application Cost Profiler. See this package's package overview docs for details on the service.

ApplicationCostProfiler 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 ApplicationCostProfiler 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 ApplicationCostProfiler client from just a session.
svc := applicationcostprofiler.New(mySession)

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

func (*ApplicationCostProfiler) DeleteReportDefinition

DeleteReportDefinition API operation for AWS Application Cost Profiler.

Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated.

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 AWS Application Cost Profiler's API operation DeleteReportDefinition for usage and error information.

Returned Error Types:

  • InternalServerException An internal server error occurred. Retry your request.

  • ThrottlingException The calls to AWS Application Cost Profiler API are throttled. The request was denied.

  • ValidationException The input fails to satisfy the constraints for the API.

  • AccessDeniedException You do not have permission to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/DeleteReportDefinition

func (*ApplicationCostProfiler) DeleteReportDefinitionRequest

func (c *ApplicationCostProfiler) DeleteReportDefinitionRequest(input *DeleteReportDefinitionInput) (req *request.Request, output *DeleteReportDefinitionOutput)

DeleteReportDefinitionRequest generates a "aws/request.Request" representing the client's request for the DeleteReportDefinition 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 DeleteReportDefinition for more information on using the DeleteReportDefinition 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 DeleteReportDefinitionRequest method.
req, resp := client.DeleteReportDefinitionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/DeleteReportDefinition

func (*ApplicationCostProfiler) DeleteReportDefinitionWithContext

func (c *ApplicationCostProfiler) DeleteReportDefinitionWithContext(ctx aws.Context, input *DeleteReportDefinitionInput, opts ...request.Option) (*DeleteReportDefinitionOutput, error)

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

See DeleteReportDefinition 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 (*ApplicationCostProfiler) GetReportDefinition

GetReportDefinition API operation for AWS Application Cost Profiler.

Retrieves the definition of a report already configured in AWS Application Cost Profiler.

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 AWS Application Cost Profiler's API operation GetReportDefinition for usage and error information.

Returned Error Types:

  • InternalServerException An internal server error occurred. Retry your request.

  • ThrottlingException The calls to AWS Application Cost Profiler API are throttled. The request was denied.

  • ValidationException The input fails to satisfy the constraints for the API.

  • AccessDeniedException You do not have permission to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition

func (*ApplicationCostProfiler) GetReportDefinitionRequest

func (c *ApplicationCostProfiler) GetReportDefinitionRequest(input *GetReportDefinitionInput) (req *request.Request, output *GetReportDefinitionOutput)

GetReportDefinitionRequest generates a "aws/request.Request" representing the client's request for the GetReportDefinition 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 GetReportDefinition for more information on using the GetReportDefinition 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 GetReportDefinitionRequest method.
req, resp := client.GetReportDefinitionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition

func (*ApplicationCostProfiler) GetReportDefinitionWithContext

func (c *ApplicationCostProfiler) GetReportDefinitionWithContext(ctx aws.Context, input *GetReportDefinitionInput, opts ...request.Option) (*GetReportDefinitionOutput, error)

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

See GetReportDefinition 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 (*ApplicationCostProfiler) ImportApplicationUsage

ImportApplicationUsage API operation for AWS Application Cost Profiler.

Ingests application usage data from Amazon Simple Storage Service (Amazon S3).

The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.

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 AWS Application Cost Profiler's API operation ImportApplicationUsage for usage and error information.

Returned Error Types:

  • InternalServerException An internal server error occurred. Retry your request.

  • ThrottlingException The calls to AWS Application Cost Profiler API are throttled. The request was denied.

  • ValidationException The input fails to satisfy the constraints for the API.

  • AccessDeniedException You do not have permission to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ImportApplicationUsage

func (*ApplicationCostProfiler) ImportApplicationUsageRequest

func (c *ApplicationCostProfiler) ImportApplicationUsageRequest(input *ImportApplicationUsageInput) (req *request.Request, output *ImportApplicationUsageOutput)

ImportApplicationUsageRequest generates a "aws/request.Request" representing the client's request for the ImportApplicationUsage 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 ImportApplicationUsage for more information on using the ImportApplicationUsage 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 ImportApplicationUsageRequest method.
req, resp := client.ImportApplicationUsageRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ImportApplicationUsage

func (*ApplicationCostProfiler) ImportApplicationUsageWithContext

func (c *ApplicationCostProfiler) ImportApplicationUsageWithContext(ctx aws.Context, input *ImportApplicationUsageInput, opts ...request.Option) (*ImportApplicationUsageOutput, error)

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

See ImportApplicationUsage 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 (*ApplicationCostProfiler) ListReportDefinitions

ListReportDefinitions API operation for AWS Application Cost Profiler.

Retrieves a list of all reports and their configurations for your AWS account.

The maximum number of reports is one.

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 AWS Application Cost Profiler's API operation ListReportDefinitions for usage and error information.

Returned Error Types:

  • InternalServerException An internal server error occurred. Retry your request.

  • ThrottlingException The calls to AWS Application Cost Profiler API are throttled. The request was denied.

  • ValidationException The input fails to satisfy the constraints for the API.

  • AccessDeniedException You do not have permission to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ListReportDefinitions

func (*ApplicationCostProfiler) ListReportDefinitionsPages

func (c *ApplicationCostProfiler) ListReportDefinitionsPages(input *ListReportDefinitionsInput, fn func(*ListReportDefinitionsOutput, bool) bool) error

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

See ListReportDefinitions 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 ListReportDefinitions operation.
pageNum := 0
err := client.ListReportDefinitionsPages(params,
    func(page *applicationcostprofiler.ListReportDefinitionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*ApplicationCostProfiler) ListReportDefinitionsPagesWithContext

func (c *ApplicationCostProfiler) ListReportDefinitionsPagesWithContext(ctx aws.Context, input *ListReportDefinitionsInput, fn func(*ListReportDefinitionsOutput, bool) bool, opts ...request.Option) error

ListReportDefinitionsPagesWithContext same as ListReportDefinitionsPages 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 (*ApplicationCostProfiler) ListReportDefinitionsRequest

func (c *ApplicationCostProfiler) ListReportDefinitionsRequest(input *ListReportDefinitionsInput) (req *request.Request, output *ListReportDefinitionsOutput)

ListReportDefinitionsRequest generates a "aws/request.Request" representing the client's request for the ListReportDefinitions 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 ListReportDefinitions for more information on using the ListReportDefinitions 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 ListReportDefinitionsRequest method.
req, resp := client.ListReportDefinitionsRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ListReportDefinitions

func (*ApplicationCostProfiler) ListReportDefinitionsWithContext

func (c *ApplicationCostProfiler) ListReportDefinitionsWithContext(ctx aws.Context, input *ListReportDefinitionsInput, opts ...request.Option) (*ListReportDefinitionsOutput, error)

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

See ListReportDefinitions 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 (*ApplicationCostProfiler) PutReportDefinition

PutReportDefinition API operation for AWS Application Cost Profiler.

Creates the report definition for a report in Application Cost Profiler.

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 AWS Application Cost Profiler's API operation PutReportDefinition for usage and error information.

Returned Error Types:

  • InternalServerException An internal server error occurred. Retry your request.

  • ThrottlingException The calls to AWS Application Cost Profiler API are throttled. The request was denied.

  • ValidationException The input fails to satisfy the constraints for the API.

  • AccessDeniedException You do not have permission to perform this action.

  • ServiceQuotaExceededException Your request exceeds one or more of the service quotas.

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/PutReportDefinition

func (*ApplicationCostProfiler) PutReportDefinitionRequest

func (c *ApplicationCostProfiler) PutReportDefinitionRequest(input *PutReportDefinitionInput) (req *request.Request, output *PutReportDefinitionOutput)

PutReportDefinitionRequest generates a "aws/request.Request" representing the client's request for the PutReportDefinition 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 PutReportDefinition for more information on using the PutReportDefinition 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 PutReportDefinitionRequest method.
req, resp := client.PutReportDefinitionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/PutReportDefinition

func (*ApplicationCostProfiler) PutReportDefinitionWithContext

func (c *ApplicationCostProfiler) PutReportDefinitionWithContext(ctx aws.Context, input *PutReportDefinitionInput, opts ...request.Option) (*PutReportDefinitionOutput, error)

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

See PutReportDefinition 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 (*ApplicationCostProfiler) UpdateReportDefinition

UpdateReportDefinition API operation for AWS Application Cost Profiler.

Updates existing report in AWS Application Cost Profiler.

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 AWS Application Cost Profiler's API operation UpdateReportDefinition for usage and error information.

Returned Error Types:

  • InternalServerException An internal server error occurred. Retry your request.

  • ThrottlingException The calls to AWS Application Cost Profiler API are throttled. The request was denied.

  • ValidationException The input fails to satisfy the constraints for the API.

  • AccessDeniedException You do not have permission to perform this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/UpdateReportDefinition

func (*ApplicationCostProfiler) UpdateReportDefinitionRequest

func (c *ApplicationCostProfiler) UpdateReportDefinitionRequest(input *UpdateReportDefinitionInput) (req *request.Request, output *UpdateReportDefinitionOutput)

UpdateReportDefinitionRequest generates a "aws/request.Request" representing the client's request for the UpdateReportDefinition 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 UpdateReportDefinition for more information on using the UpdateReportDefinition 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 UpdateReportDefinitionRequest method.
req, resp := client.UpdateReportDefinitionRequest(params)

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

See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/UpdateReportDefinition

func (*ApplicationCostProfiler) UpdateReportDefinitionWithContext

func (c *ApplicationCostProfiler) UpdateReportDefinitionWithContext(ctx aws.Context, input *UpdateReportDefinitionInput, opts ...request.Option) (*UpdateReportDefinitionOutput, error)

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

See UpdateReportDefinition 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 DeleteReportDefinitionInput

type DeleteReportDefinitionInput struct {

	// Required. ID of the report to delete.
	//
	// ReportId is a required field
	ReportId *string `location:"uri" locationName:"reportId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteReportDefinitionInput) GoString

func (s DeleteReportDefinitionInput) 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 (*DeleteReportDefinitionInput) SetReportId

SetReportId sets the ReportId field's value.

func (DeleteReportDefinitionInput) 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 (*DeleteReportDefinitionInput) Validate

func (s *DeleteReportDefinitionInput) Validate() error

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

type DeleteReportDefinitionOutput

type DeleteReportDefinitionOutput struct {

	// ID of the report that was deleted.
	ReportId *string `locationName:"reportId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteReportDefinitionOutput) GoString

func (s DeleteReportDefinitionOutput) 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 (*DeleteReportDefinitionOutput) SetReportId

SetReportId sets the ReportId field's value.

func (DeleteReportDefinitionOutput) 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 GetReportDefinitionInput

type GetReportDefinitionInput struct {

	// ID of the report to retrieve.
	//
	// ReportId is a required field
	ReportId *string `location:"uri" locationName:"reportId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetReportDefinitionInput) GoString

func (s GetReportDefinitionInput) 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 (*GetReportDefinitionInput) SetReportId

SetReportId sets the ReportId field's value.

func (GetReportDefinitionInput) String

func (s GetReportDefinitionInput) 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 (*GetReportDefinitionInput) Validate

func (s *GetReportDefinitionInput) Validate() error

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

type GetReportDefinitionOutput

type GetReportDefinitionOutput struct {

	// Timestamp (milliseconds) when this report definition was created.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"`

	// Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.
	//
	// DestinationS3Location is a required field
	DestinationS3Location *S3Location `locationName:"destinationS3Location" type:"structure" required:"true"`

	// Format of the generated report.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"Format"`

	// Timestamp (milliseconds) when this report definition was last updated.
	//
	// LastUpdated is a required field
	LastUpdated *time.Time `locationName:"lastUpdated" type:"timestamp" required:"true"`

	// Description of the report.
	//
	// ReportDescription is a required field
	ReportDescription *string `locationName:"reportDescription" min:"1" type:"string" required:"true"`

	// Cadence used to generate the report.
	//
	// ReportFrequency is a required field
	ReportFrequency *string `locationName:"reportFrequency" type:"string" required:"true" enum:"ReportFrequency"`

	// ID of the report retrieved.
	//
	// ReportId is a required field
	ReportId *string `locationName:"reportId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetReportDefinitionOutput) GoString

func (s GetReportDefinitionOutput) 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 (*GetReportDefinitionOutput) SetCreatedAt

SetCreatedAt sets the CreatedAt field's value.

func (*GetReportDefinitionOutput) SetDestinationS3Location

func (s *GetReportDefinitionOutput) SetDestinationS3Location(v *S3Location) *GetReportDefinitionOutput

SetDestinationS3Location sets the DestinationS3Location field's value.

func (*GetReportDefinitionOutput) SetFormat

SetFormat sets the Format field's value.

func (*GetReportDefinitionOutput) SetLastUpdated

SetLastUpdated sets the LastUpdated field's value.

func (*GetReportDefinitionOutput) SetReportDescription

func (s *GetReportDefinitionOutput) SetReportDescription(v string) *GetReportDefinitionOutput

SetReportDescription sets the ReportDescription field's value.

func (*GetReportDefinitionOutput) SetReportFrequency

SetReportFrequency sets the ReportFrequency field's value.

func (*GetReportDefinitionOutput) SetReportId

SetReportId sets the ReportId field's value.

func (GetReportDefinitionOutput) String

func (s GetReportDefinitionOutput) 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 ImportApplicationUsageInput

type ImportApplicationUsageInput struct {

	// Amazon S3 location to import application usage data from.
	//
	// SourceS3Location is a required field
	SourceS3Location *SourceS3Location `locationName:"sourceS3Location" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ImportApplicationUsageInput) GoString

func (s ImportApplicationUsageInput) 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 (*ImportApplicationUsageInput) SetSourceS3Location

SetSourceS3Location sets the SourceS3Location field's value.

func (ImportApplicationUsageInput) 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 (*ImportApplicationUsageInput) Validate

func (s *ImportApplicationUsageInput) Validate() error

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

type ImportApplicationUsageOutput

type ImportApplicationUsageOutput struct {

	// ID of the import request.
	//
	// ImportId is a required field
	ImportId *string `locationName:"importId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ImportApplicationUsageOutput) GoString

func (s ImportApplicationUsageOutput) 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 (*ImportApplicationUsageOutput) SetImportId

SetImportId sets the ImportId field's value.

func (ImportApplicationUsageOutput) 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"`
	// contains filtered or unexported fields
}

An internal server error occurred. Retry your 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 ListReportDefinitionsInput

type ListReportDefinitionsInput struct {

	// The maximum number of results to return.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// The token value from a previous call to access the next page of results.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListReportDefinitionsInput) GoString

func (s ListReportDefinitionsInput) 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 (*ListReportDefinitionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListReportDefinitionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListReportDefinitionsInput) 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 (*ListReportDefinitionsInput) Validate

func (s *ListReportDefinitionsInput) Validate() error

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

type ListReportDefinitionsOutput

type ListReportDefinitionsOutput struct {

	// The value of the next token, if it exists. Null if there are no more results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The retrieved reports.
	ReportDefinitions []*ReportDefinition `locationName:"reportDefinitions" type:"list"`
	// contains filtered or unexported fields
}

func (ListReportDefinitionsOutput) GoString

func (s ListReportDefinitionsOutput) 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 (*ListReportDefinitionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListReportDefinitionsOutput) SetReportDefinitions

SetReportDefinitions sets the ReportDefinitions field's value.

func (ListReportDefinitionsOutput) 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 PutReportDefinitionInput

type PutReportDefinitionInput struct {

	// Required. Amazon Simple Storage Service (Amazon S3) location where Application
	// Cost Profiler uploads the report.
	//
	// DestinationS3Location is a required field
	DestinationS3Location *S3Location `locationName:"destinationS3Location" type:"structure" required:"true"`

	// Required. The format to use for the generated report.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"Format"`

	// Required. Description of the report.
	//
	// ReportDescription is a required field
	ReportDescription *string `locationName:"reportDescription" min:"1" type:"string" required:"true"`

	// Required. The cadence to generate the report.
	//
	// ReportFrequency is a required field
	ReportFrequency *string `locationName:"reportFrequency" type:"string" required:"true" enum:"ReportFrequency"`

	// Required. ID of the report. You can choose any valid string matching the
	// pattern for the ID.
	//
	// ReportId is a required field
	ReportId *string `locationName:"reportId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutReportDefinitionInput) GoString

func (s PutReportDefinitionInput) 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 (*PutReportDefinitionInput) SetDestinationS3Location

func (s *PutReportDefinitionInput) SetDestinationS3Location(v *S3Location) *PutReportDefinitionInput

SetDestinationS3Location sets the DestinationS3Location field's value.

func (*PutReportDefinitionInput) SetFormat

SetFormat sets the Format field's value.

func (*PutReportDefinitionInput) SetReportDescription

func (s *PutReportDefinitionInput) SetReportDescription(v string) *PutReportDefinitionInput

SetReportDescription sets the ReportDescription field's value.

func (*PutReportDefinitionInput) SetReportFrequency

func (s *PutReportDefinitionInput) SetReportFrequency(v string) *PutReportDefinitionInput

SetReportFrequency sets the ReportFrequency field's value.

func (*PutReportDefinitionInput) SetReportId

SetReportId sets the ReportId field's value.

func (PutReportDefinitionInput) String

func (s PutReportDefinitionInput) 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 (*PutReportDefinitionInput) Validate

func (s *PutReportDefinitionInput) Validate() error

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

type PutReportDefinitionOutput

type PutReportDefinitionOutput struct {

	// ID of the report.
	ReportId *string `locationName:"reportId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (PutReportDefinitionOutput) GoString

func (s PutReportDefinitionOutput) 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 (*PutReportDefinitionOutput) SetReportId

SetReportId sets the ReportId field's value.

func (PutReportDefinitionOutput) String

func (s PutReportDefinitionOutput) 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 ReportDefinition

type ReportDefinition struct {

	// Timestamp (milliseconds) when this report definition was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The location in Amazon Simple Storage Service (Amazon S3) the reports should
	// be saved to.
	DestinationS3Location *S3Location `locationName:"destinationS3Location" type:"structure"`

	// The format used for the generated reports.
	Format *string `locationName:"format" type:"string" enum:"Format"`

	// Timestamp (milliseconds) when this report definition was last updated.
	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`

	// Description of the report
	ReportDescription *string `locationName:"reportDescription" min:"1" type:"string"`

	// The cadence at which the report is generated.
	ReportFrequency *string `locationName:"reportFrequency" type:"string" enum:"ReportFrequency"`

	// The ID of the report.
	ReportId *string `locationName:"reportId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The configuration of a report in AWS Application Cost Profiler.

func (ReportDefinition) GoString

func (s ReportDefinition) 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 (*ReportDefinition) SetCreatedAt

func (s *ReportDefinition) SetCreatedAt(v time.Time) *ReportDefinition

SetCreatedAt sets the CreatedAt field's value.

func (*ReportDefinition) SetDestinationS3Location

func (s *ReportDefinition) SetDestinationS3Location(v *S3Location) *ReportDefinition

SetDestinationS3Location sets the DestinationS3Location field's value.

func (*ReportDefinition) SetFormat

func (s *ReportDefinition) SetFormat(v string) *ReportDefinition

SetFormat sets the Format field's value.

func (*ReportDefinition) SetLastUpdatedAt

func (s *ReportDefinition) SetLastUpdatedAt(v time.Time) *ReportDefinition

SetLastUpdatedAt sets the LastUpdatedAt field's value.

func (*ReportDefinition) SetReportDescription

func (s *ReportDefinition) SetReportDescription(v string) *ReportDefinition

SetReportDescription sets the ReportDescription field's value.

func (*ReportDefinition) SetReportFrequency

func (s *ReportDefinition) SetReportFrequency(v string) *ReportDefinition

SetReportFrequency sets the ReportFrequency field's value.

func (*ReportDefinition) SetReportId

func (s *ReportDefinition) SetReportId(v string) *ReportDefinition

SetReportId sets the ReportId field's value.

func (ReportDefinition) String

func (s ReportDefinition) 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 S3Location

type S3Location struct {

	// Name of the S3 bucket.
	//
	// Bucket is a required field
	Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"`

	// Prefix for the location to write to.
	//
	// Prefix is a required field
	Prefix *string `locationName:"prefix" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents the Amazon Simple Storage Service (Amazon S3) location where AWS Application Cost Profiler reports are generated and then written to.

func (S3Location) GoString

func (s S3Location) 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 (*S3Location) SetBucket

func (s *S3Location) SetBucket(v string) *S3Location

SetBucket sets the Bucket field's value.

func (*S3Location) SetPrefix

func (s *S3Location) SetPrefix(v string) *S3Location

SetPrefix sets the Prefix field's value.

func (S3Location) String

func (s S3Location) 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 (*S3Location) Validate

func (s *S3Location) Validate() error

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

type ServiceQuotaExceededException

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

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

Your request exceeds one or more of the service quotas.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) 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 (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

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

func (ServiceQuotaExceededException) 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 SourceS3Location

type SourceS3Location struct {

	// Name of the bucket.
	//
	// Bucket is a required field
	Bucket *string `locationName:"bucket" min:"3" type:"string" required:"true"`

	// Key of the object.
	//
	// Key is a required field
	Key *string `locationName:"key" min:"1" type:"string" required:"true"`

	// Region of the bucket. Only required for Regions that are disabled by default.
	// For more infomration about Regions that are disabled by default, see Enabling
	// a Region (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable)
	// in the AWS General Reference guide.
	Region *string `locationName:"region" type:"string" enum:"S3BucketRegion"`
	// contains filtered or unexported fields
}

Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read from.

func (SourceS3Location) GoString

func (s SourceS3Location) 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 (*SourceS3Location) SetBucket

func (s *SourceS3Location) SetBucket(v string) *SourceS3Location

SetBucket sets the Bucket field's value.

func (*SourceS3Location) SetKey

SetKey sets the Key field's value.

func (*SourceS3Location) SetRegion

func (s *SourceS3Location) SetRegion(v string) *SourceS3Location

SetRegion sets the Region field's value.

func (SourceS3Location) String

func (s SourceS3Location) 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 (*SourceS3Location) Validate

func (s *SourceS3Location) Validate() error

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

type ThrottlingException

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

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

The calls to AWS Application Cost Profiler API are throttled. The request was denied.

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 UpdateReportDefinitionInput

type UpdateReportDefinitionInput struct {

	// Required. Amazon Simple Storage Service (Amazon S3) location where Application
	// Cost Profiler uploads the report.
	//
	// DestinationS3Location is a required field
	DestinationS3Location *S3Location `locationName:"destinationS3Location" type:"structure" required:"true"`

	// Required. The format to use for the generated report.
	//
	// Format is a required field
	Format *string `locationName:"format" type:"string" required:"true" enum:"Format"`

	// Required. Description of the report.
	//
	// ReportDescription is a required field
	ReportDescription *string `locationName:"reportDescription" min:"1" type:"string" required:"true"`

	// Required. The cadence to generate the report.
	//
	// ReportFrequency is a required field
	ReportFrequency *string `locationName:"reportFrequency" type:"string" required:"true" enum:"ReportFrequency"`

	// Required. ID of the report to update.
	//
	// ReportId is a required field
	ReportId *string `location:"uri" locationName:"reportId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateReportDefinitionInput) GoString

func (s UpdateReportDefinitionInput) 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 (*UpdateReportDefinitionInput) SetDestinationS3Location

func (s *UpdateReportDefinitionInput) SetDestinationS3Location(v *S3Location) *UpdateReportDefinitionInput

SetDestinationS3Location sets the DestinationS3Location field's value.

func (*UpdateReportDefinitionInput) SetFormat

SetFormat sets the Format field's value.

func (*UpdateReportDefinitionInput) SetReportDescription

SetReportDescription sets the ReportDescription field's value.

func (*UpdateReportDefinitionInput) SetReportFrequency

SetReportFrequency sets the ReportFrequency field's value.

func (*UpdateReportDefinitionInput) SetReportId

SetReportId sets the ReportId field's value.

func (UpdateReportDefinitionInput) 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 (*UpdateReportDefinitionInput) Validate

func (s *UpdateReportDefinitionInput) Validate() error

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

type UpdateReportDefinitionOutput

type UpdateReportDefinitionOutput struct {

	// ID of the report.
	ReportId *string `locationName:"reportId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateReportDefinitionOutput) GoString

func (s UpdateReportDefinitionOutput) 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 (*UpdateReportDefinitionOutput) SetReportId

SetReportId sets the ReportId field's value.

func (UpdateReportDefinitionOutput) 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:"-"`

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

The input fails to satisfy the constraints for the API.

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".

Directories

Path Synopsis
Package applicationcostprofileriface provides an interface to enable mocking the AWS Application Cost Profiler service client for testing your code.
Package applicationcostprofileriface provides an interface to enable mocking the AWS Application Cost Profiler service client for testing your code.

Jump to

Keyboard shortcuts

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