func Format_Values() []string
Format_Values returns all elements of the Format enum
func ReportFrequency_Values() []string
ReportFrequency_Values returns all elements of the ReportFrequency enum
func S3BucketRegion_Values() []string
S3BucketRegion_Values returns all elements of the S3BucketRegion enum
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 (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (s *AccessDeniedException) Error() string
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 (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationCostProfiler
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 (c *ApplicationCostProfiler) DeleteReportDefinition(input *DeleteReportDefinitionInput) (*DeleteReportDefinitionOutput, error)
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.
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) }
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 (c *ApplicationCostProfiler) GetReportDefinition(input *GetReportDefinitionInput) (*GetReportDefinitionOutput, error)
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.
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) }
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 (c *ApplicationCostProfiler) ImportApplicationUsage(input *ImportApplicationUsageInput) (*ImportApplicationUsageOutput, error)
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.
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) }
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 (c *ApplicationCostProfiler) ListReportDefinitions(input *ListReportDefinitionsInput) (*ListReportDefinitionsOutput, error)
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.
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 (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 (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) }
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 (c *ApplicationCostProfiler) PutReportDefinition(input *PutReportDefinitionInput) (*PutReportDefinitionOutput, error)
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.
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) }
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 (c *ApplicationCostProfiler) UpdateReportDefinition(input *UpdateReportDefinitionInput) (*UpdateReportDefinitionOutput, error)
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.
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) }
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 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 (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 (s *DeleteReportDefinitionInput) SetReportId(v string) *DeleteReportDefinitionInput
SetReportId sets the ReportId field's value.
func (s DeleteReportDefinitionInput) 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 (s *DeleteReportDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteReportDefinitionOutput struct { // ID of the report that was deleted. ReportId *string `locationName:"reportId" min:"1" type:"string"` // contains filtered or unexported fields }
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 (s *DeleteReportDefinitionOutput) SetReportId(v string) *DeleteReportDefinitionOutput
SetReportId sets the ReportId field's value.
func (s DeleteReportDefinitionOutput) 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 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 (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 (s *GetReportDefinitionInput) SetReportId(v string) *GetReportDefinitionInput
SetReportId sets the ReportId field's value.
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 (s *GetReportDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *GetReportDefinitionOutput) SetCreatedAt(v time.Time) *GetReportDefinitionOutput
SetCreatedAt sets the CreatedAt field's value.
func (s *GetReportDefinitionOutput) SetDestinationS3Location(v *S3Location) *GetReportDefinitionOutput
SetDestinationS3Location sets the DestinationS3Location field's value.
func (s *GetReportDefinitionOutput) SetFormat(v string) *GetReportDefinitionOutput
SetFormat sets the Format field's value.
func (s *GetReportDefinitionOutput) SetLastUpdated(v time.Time) *GetReportDefinitionOutput
SetLastUpdated sets the LastUpdated field's value.
func (s *GetReportDefinitionOutput) SetReportDescription(v string) *GetReportDefinitionOutput
SetReportDescription sets the ReportDescription field's value.
func (s *GetReportDefinitionOutput) SetReportFrequency(v string) *GetReportDefinitionOutput
SetReportFrequency sets the ReportFrequency field's value.
func (s *GetReportDefinitionOutput) SetReportId(v string) *GetReportDefinitionOutput
SetReportId sets the ReportId field's value.
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 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 (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 (s *ImportApplicationUsageInput) SetSourceS3Location(v *SourceS3Location) *ImportApplicationUsageInput
SetSourceS3Location sets the SourceS3Location field's value.
func (s ImportApplicationUsageInput) 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 (s *ImportApplicationUsageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ImportApplicationUsageOutput) SetImportId(v string) *ImportApplicationUsageOutput
SetImportId sets the ImportId field's value.
func (s ImportApplicationUsageOutput) 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 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 (s *InternalServerException) Code() string
Code returns the exception type name.
func (s *InternalServerException) Error() string
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 (s *InternalServerException) Message() string
Message returns the exception's message.
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *ListReportDefinitionsInput) SetMaxResults(v int64) *ListReportDefinitionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListReportDefinitionsInput) SetNextToken(v string) *ListReportDefinitionsInput
SetNextToken sets the NextToken field's value.
func (s ListReportDefinitionsInput) 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 (s *ListReportDefinitionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (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 (s *ListReportDefinitionsOutput) SetNextToken(v string) *ListReportDefinitionsOutput
SetNextToken sets the NextToken field's value.
func (s *ListReportDefinitionsOutput) SetReportDefinitions(v []*ReportDefinition) *ListReportDefinitionsOutput
SetReportDefinitions sets the ReportDefinitions field's value.
func (s ListReportDefinitionsOutput) 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 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 (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 (s *PutReportDefinitionInput) SetDestinationS3Location(v *S3Location) *PutReportDefinitionInput
SetDestinationS3Location sets the DestinationS3Location field's value.
func (s *PutReportDefinitionInput) SetFormat(v string) *PutReportDefinitionInput
SetFormat sets the Format field's value.
func (s *PutReportDefinitionInput) SetReportDescription(v string) *PutReportDefinitionInput
SetReportDescription sets the ReportDescription field's value.
func (s *PutReportDefinitionInput) SetReportFrequency(v string) *PutReportDefinitionInput
SetReportFrequency sets the ReportFrequency field's value.
func (s *PutReportDefinitionInput) SetReportId(v string) *PutReportDefinitionInput
SetReportId sets the ReportId field's value.
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 (s *PutReportDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutReportDefinitionOutput struct { // ID of the report. ReportId *string `locationName:"reportId" min:"1" type:"string"` // contains filtered or unexported fields }
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 (s *PutReportDefinitionOutput) SetReportId(v string) *PutReportDefinitionOutput
SetReportId sets the ReportId field's value.
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 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 (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 (s *ReportDefinition) SetCreatedAt(v time.Time) *ReportDefinition
SetCreatedAt sets the CreatedAt field's value.
func (s *ReportDefinition) SetDestinationS3Location(v *S3Location) *ReportDefinition
SetDestinationS3Location sets the DestinationS3Location field's value.
func (s *ReportDefinition) SetFormat(v string) *ReportDefinition
SetFormat sets the Format field's value.
func (s *ReportDefinition) SetLastUpdatedAt(v time.Time) *ReportDefinition
SetLastUpdatedAt sets the LastUpdatedAt field's value.
func (s *ReportDefinition) SetReportDescription(v string) *ReportDefinition
SetReportDescription sets the ReportDescription field's value.
func (s *ReportDefinition) SetReportFrequency(v string) *ReportDefinition
SetReportFrequency sets the ReportFrequency field's value.
func (s *ReportDefinition) SetReportId(v string) *ReportDefinition
SetReportId sets the ReportId field's value.
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 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 (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 (s *S3Location) SetBucket(v string) *S3Location
SetBucket sets the Bucket field's value.
func (s *S3Location) SetPrefix(v string) *S3Location
SetPrefix sets the Prefix field's value.
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 (s *S3Location) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (s *ServiceQuotaExceededException) Error() string
func (s ServiceQuotaExceededException) 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 (s *ServiceQuotaExceededException) Message() string
Message returns the exception's message.
func (s *ServiceQuotaExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceQuotaExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceQuotaExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceQuotaExceededException) 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 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 (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 (s *SourceS3Location) SetBucket(v string) *SourceS3Location
SetBucket sets the Bucket field's value.
func (s *SourceS3Location) SetKey(v string) *SourceS3Location
SetKey sets the Key field's value.
func (s *SourceS3Location) SetRegion(v string) *SourceS3Location
SetRegion sets the Region field's value.
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 (s *SourceS3Location) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *ThrottlingException) Code() string
Code returns the exception type name.
func (s *ThrottlingException) Error() string
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 (s *ThrottlingException) Message() string
Message returns the exception's message.
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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 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 (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 (s *UpdateReportDefinitionInput) SetDestinationS3Location(v *S3Location) *UpdateReportDefinitionInput
SetDestinationS3Location sets the DestinationS3Location field's value.
func (s *UpdateReportDefinitionInput) SetFormat(v string) *UpdateReportDefinitionInput
SetFormat sets the Format field's value.
func (s *UpdateReportDefinitionInput) SetReportDescription(v string) *UpdateReportDefinitionInput
SetReportDescription sets the ReportDescription field's value.
func (s *UpdateReportDefinitionInput) SetReportFrequency(v string) *UpdateReportDefinitionInput
SetReportFrequency sets the ReportFrequency field's value.
func (s *UpdateReportDefinitionInput) SetReportId(v string) *UpdateReportDefinitionInput
SetReportId sets the ReportId field's value.
func (s UpdateReportDefinitionInput) 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 (s *UpdateReportDefinitionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateReportDefinitionOutput struct { // ID of the report. ReportId *string `locationName:"reportId" min:"1" type:"string"` // contains filtered or unexported fields }
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 (s *UpdateReportDefinitionOutput) SetReportId(v string) *UpdateReportDefinitionOutput
SetReportId sets the ReportId field's value.
func (s UpdateReportDefinitionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException 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 (s *ValidationException) Code() string
Code returns the exception type name.
func (s *ValidationException) Error() string
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 (s *ValidationException) Message() string
Message returns the exception's message.
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
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".