artifact

package
v1.50.20 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package artifact provides the client and types for making API requests to AWS Artifact.

This reference provides descriptions of the low-level AWS Artifact Service API.

See https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10 for more information on this service.

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

Using the Client

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

Index

Constants

View Source
const (
	// AcceptanceTypePassthrough is a AcceptanceType enum value
	AcceptanceTypePassthrough = "PASSTHROUGH"

	// AcceptanceTypeExplicit is a AcceptanceType enum value
	AcceptanceTypeExplicit = "EXPLICIT"
)
View Source
const (
	// NotificationSubscriptionStatusSubscribed is a NotificationSubscriptionStatus enum value
	NotificationSubscriptionStatusSubscribed = "SUBSCRIBED"

	// NotificationSubscriptionStatusNotSubscribed is a NotificationSubscriptionStatus enum value
	NotificationSubscriptionStatusNotSubscribed = "NOT_SUBSCRIBED"
)
View Source
const (
	// PublishedStatePublished is a PublishedState enum value
	PublishedStatePublished = "PUBLISHED"

	// PublishedStateUnpublished is a PublishedState enum value
	PublishedStateUnpublished = "UNPUBLISHED"
)
View Source
const (
	// UploadStateProcessing is a UploadState enum value
	UploadStateProcessing = "PROCESSING"

	// UploadStateComplete is a UploadState enum value
	UploadStateComplete = "COMPLETE"

	// UploadStateFailed is a UploadState enum value
	UploadStateFailed = "FAILED"

	// UploadStateFault is a UploadState enum value
	UploadStateFault = "FAULT"
)
View Source
const (
	// ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
	ValidationExceptionReasonUnknownOperation = "unknownOperation"

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

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

	// ValidationExceptionReasonInvalidToken is a ValidationExceptionReason enum value
	ValidationExceptionReasonInvalidToken = "invalidToken"

	// ValidationExceptionReasonOther is a ValidationExceptionReason enum value
	ValidationExceptionReasonOther = "other"
)
View Source
const (

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

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Request to create/modify content would result in a conflict.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An unknown server exception has occurred.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Request references a resource which does not exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// Request would cause a service quota to be exceeded.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

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

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Request fails to satisfy the constraints specified by an AWS service.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Artifact" // Name of service.
	EndpointsID = "artifact" // ID to lookup a service endpoint with.
	ServiceID   = "Artifact" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func AcceptanceType_Values

func AcceptanceType_Values() []string

AcceptanceType_Values returns all elements of the AcceptanceType enum

func NotificationSubscriptionStatus_Values

func NotificationSubscriptionStatus_Values() []string

NotificationSubscriptionStatus_Values returns all elements of the NotificationSubscriptionStatus enum

func PublishedState_Values

func PublishedState_Values() []string

PublishedState_Values returns all elements of the PublishedState enum

func UploadState_Values

func UploadState_Values() []string

UploadState_Values returns all elements of the UploadState enum

func ValidationExceptionReason_Values

func ValidationExceptionReason_Values() []string

ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum

Types

type AccessDeniedException

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

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

User does not have sufficient access to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

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

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

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

type AccountSettings

type AccountSettings struct {

	// Notification subscription status of the customer.
	NotificationSubscriptionStatus *string `locationName:"notificationSubscriptionStatus" type:"string" enum:"NotificationSubscriptionStatus"`
	// contains filtered or unexported fields
}

Account settings for the customer.

func (AccountSettings) GoString

func (s AccountSettings) 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 (*AccountSettings) SetNotificationSubscriptionStatus

func (s *AccountSettings) SetNotificationSubscriptionStatus(v string) *AccountSettings

SetNotificationSubscriptionStatus sets the NotificationSubscriptionStatus field's value.

func (AccountSettings) String

func (s AccountSettings) 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 Artifact

type Artifact struct {
	*client.Client
}

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

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

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Artifact

New creates a new instance of the Artifact 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 Artifact client from just a session.
svc := artifact.New(mySession)

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

func (*Artifact) GetAccountSettings

func (c *Artifact) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error)

GetAccountSettings API operation for AWS Artifact.

Get the account settings for Artifact.

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 Artifact's API operation GetAccountSettings for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ConflictException Request to create/modify content would result in a conflict.

  • InternalServerException An unknown server exception has occurred.

  • ValidationException Request fails to satisfy the constraints specified by an AWS service.

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettings

func (*Artifact) GetAccountSettingsRequest

func (c *Artifact) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettings

func (*Artifact) GetAccountSettingsWithContext

func (c *Artifact) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error)

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

See GetAccountSettings 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 (*Artifact) GetReport

func (c *Artifact) GetReport(input *GetReportInput) (*GetReportOutput, error)

GetReport API operation for AWS Artifact.

Get the content for a single report.

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 Artifact's API operation GetReport for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ConflictException Request to create/modify content would result in a conflict.

  • InternalServerException An unknown server exception has occurred.

  • ValidationException Request fails to satisfy the constraints specified by an AWS service.

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReport

func (*Artifact) GetReportMetadata

func (c *Artifact) GetReportMetadata(input *GetReportMetadataInput) (*GetReportMetadataOutput, error)

GetReportMetadata API operation for AWS Artifact.

Get the metadata for a single report.

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 Artifact's API operation GetReportMetadata for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • InternalServerException An unknown server exception has occurred.

  • ValidationException Request fails to satisfy the constraints specified by an AWS service.

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadata

func (*Artifact) GetReportMetadataRequest

func (c *Artifact) GetReportMetadataRequest(input *GetReportMetadataInput) (req *request.Request, output *GetReportMetadataOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadata

func (*Artifact) GetReportMetadataWithContext

func (c *Artifact) GetReportMetadataWithContext(ctx aws.Context, input *GetReportMetadataInput, opts ...request.Option) (*GetReportMetadataOutput, error)

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

See GetReportMetadata 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 (*Artifact) GetReportRequest

func (c *Artifact) GetReportRequest(input *GetReportInput) (req *request.Request, output *GetReportOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReport

func (*Artifact) GetReportWithContext

func (c *Artifact) GetReportWithContext(ctx aws.Context, input *GetReportInput, opts ...request.Option) (*GetReportOutput, error)

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

See GetReport 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 (*Artifact) GetTermForReport

func (c *Artifact) GetTermForReport(input *GetTermForReportInput) (*GetTermForReportOutput, error)

GetTermForReport API operation for AWS Artifact.

Get the Term content associated with a single report.

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 Artifact's API operation GetTermForReport for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ConflictException Request to create/modify content would result in a conflict.

  • InternalServerException An unknown server exception has occurred.

  • ValidationException Request fails to satisfy the constraints specified by an AWS service.

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetTermForReport

func (*Artifact) GetTermForReportRequest

func (c *Artifact) GetTermForReportRequest(input *GetTermForReportInput) (req *request.Request, output *GetTermForReportOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetTermForReport

func (*Artifact) GetTermForReportWithContext

func (c *Artifact) GetTermForReportWithContext(ctx aws.Context, input *GetTermForReportInput, opts ...request.Option) (*GetTermForReportOutput, error)

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

See GetTermForReport 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 (*Artifact) ListReports

func (c *Artifact) ListReports(input *ListReportsInput) (*ListReportsOutput, error)

ListReports API operation for AWS Artifact.

List available reports.

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 Artifact's API operation ListReports for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • InternalServerException An unknown server exception has occurred.

  • ValidationException Request fails to satisfy the constraints specified by an AWS service.

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReports

func (*Artifact) ListReportsPages

func (c *Artifact) ListReportsPages(input *ListReportsInput, fn func(*ListReportsOutput, bool) bool) error

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

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

func (*Artifact) ListReportsPagesWithContext

func (c *Artifact) ListReportsPagesWithContext(ctx aws.Context, input *ListReportsInput, fn func(*ListReportsOutput, bool) bool, opts ...request.Option) error

ListReportsPagesWithContext same as ListReportsPages 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 (*Artifact) ListReportsRequest

func (c *Artifact) ListReportsRequest(input *ListReportsInput) (req *request.Request, output *ListReportsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReports

func (*Artifact) ListReportsWithContext

func (c *Artifact) ListReportsWithContext(ctx aws.Context, input *ListReportsInput, opts ...request.Option) (*ListReportsOutput, error)

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

See ListReports 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 (*Artifact) PutAccountSettings

func (c *Artifact) PutAccountSettings(input *PutAccountSettingsInput) (*PutAccountSettingsOutput, error)

PutAccountSettings API operation for AWS Artifact.

Put the account settings for Artifact.

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 Artifact's API operation PutAccountSettings for usage and error information.

Returned Error Types:

  • ResourceNotFoundException Request references a resource which does not exist.

  • ThrottlingException Request was denied due to request throttling.

  • AccessDeniedException User does not have sufficient access to perform this action.

  • ConflictException Request to create/modify content would result in a conflict.

  • InternalServerException An unknown server exception has occurred.

  • ValidationException Request fails to satisfy the constraints specified by an AWS service.

  • ServiceQuotaExceededException Request would cause a service quota to be exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutAccountSettings

func (*Artifact) PutAccountSettingsRequest

func (c *Artifact) PutAccountSettingsRequest(input *PutAccountSettingsInput) (req *request.Request, output *PutAccountSettingsOutput)

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutAccountSettings

func (*Artifact) PutAccountSettingsWithContext

func (c *Artifact) PutAccountSettingsWithContext(ctx aws.Context, input *PutAccountSettingsInput, opts ...request.Option) (*PutAccountSettingsOutput, error)

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

See PutAccountSettings 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 ConflictException

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

	Message_ *string `locationName:"message" type:"string"`

	// Identifier of the affected resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// Type of the affected resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request to create/modify content would result in a conflict.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

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

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

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

type GetAccountSettingsInput

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

func (GetAccountSettingsInput) GoString

func (s GetAccountSettingsInput) 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 (GetAccountSettingsInput) String

func (s GetAccountSettingsInput) 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 GetAccountSettingsOutput

type GetAccountSettingsOutput struct {

	// Account settings for the customer.
	AccountSettings *AccountSettings `locationName:"accountSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (GetAccountSettingsOutput) GoString

func (s GetAccountSettingsOutput) 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 (*GetAccountSettingsOutput) SetAccountSettings

SetAccountSettings sets the AccountSettings field's value.

func (GetAccountSettingsOutput) String

func (s GetAccountSettingsOutput) 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 GetReportInput

type GetReportInput struct {

	// Unique resource ID for the report resource.
	//
	// ReportId is a required field
	ReportId *string `location:"querystring" locationName:"reportId" type:"string" required:"true"`

	// Version for the report resource.
	ReportVersion *int64 `location:"querystring" locationName:"reportVersion" min:"1" type:"long"`

	// Unique download token provided by GetTermForReport API.
	//
	// TermToken is a required field
	TermToken *string `location:"querystring" locationName:"termToken" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetReportInput) GoString

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

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

SetReportId sets the ReportId field's value.

func (*GetReportInput) SetReportVersion

func (s *GetReportInput) SetReportVersion(v int64) *GetReportInput

SetReportVersion sets the ReportVersion field's value.

func (*GetReportInput) SetTermToken

func (s *GetReportInput) SetTermToken(v string) *GetReportInput

SetTermToken sets the TermToken field's value.

func (GetReportInput) String

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

func (s *GetReportInput) Validate() error

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

type GetReportMetadataInput

type GetReportMetadataInput struct {

	// Unique resource ID for the report resource.
	//
	// ReportId is a required field
	ReportId *string `location:"querystring" locationName:"reportId" type:"string" required:"true"`

	// Version for the report resource.
	ReportVersion *int64 `location:"querystring" locationName:"reportVersion" min:"1" type:"long"`
	// contains filtered or unexported fields
}

func (GetReportMetadataInput) GoString

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

SetReportId sets the ReportId field's value.

func (*GetReportMetadataInput) SetReportVersion

func (s *GetReportMetadataInput) SetReportVersion(v int64) *GetReportMetadataInput

SetReportVersion sets the ReportVersion field's value.

func (GetReportMetadataInput) String

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

func (s *GetReportMetadataInput) Validate() error

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

type GetReportMetadataOutput

type GetReportMetadataOutput struct {

	// Report resource detail.
	ReportDetails *ReportDetail `locationName:"reportDetails" type:"structure"`
	// contains filtered or unexported fields
}

func (GetReportMetadataOutput) GoString

func (s GetReportMetadataOutput) 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 (*GetReportMetadataOutput) SetReportDetails

SetReportDetails sets the ReportDetails field's value.

func (GetReportMetadataOutput) String

func (s GetReportMetadataOutput) 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 GetReportOutput

type GetReportOutput struct {

	// Presigned S3 url to access the report content.
	DocumentPresignedUrl *string `locationName:"documentPresignedUrl" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetReportOutput) GoString

func (s GetReportOutput) 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 (*GetReportOutput) SetDocumentPresignedUrl

func (s *GetReportOutput) SetDocumentPresignedUrl(v string) *GetReportOutput

SetDocumentPresignedUrl sets the DocumentPresignedUrl field's value.

func (GetReportOutput) String

func (s GetReportOutput) 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 GetTermForReportInput

type GetTermForReportInput struct {

	// Unique resource ID for the report resource.
	//
	// ReportId is a required field
	ReportId *string `location:"querystring" locationName:"reportId" type:"string" required:"true"`

	// Version for the report resource.
	ReportVersion *int64 `location:"querystring" locationName:"reportVersion" min:"1" type:"long"`
	// contains filtered or unexported fields
}

func (GetTermForReportInput) GoString

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

SetReportId sets the ReportId field's value.

func (*GetTermForReportInput) SetReportVersion

func (s *GetTermForReportInput) SetReportVersion(v int64) *GetTermForReportInput

SetReportVersion sets the ReportVersion field's value.

func (GetTermForReportInput) String

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

func (s *GetTermForReportInput) Validate() error

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

type GetTermForReportOutput

type GetTermForReportOutput struct {

	// Presigned S3 url to access the term content.
	DocumentPresignedUrl *string `locationName:"documentPresignedUrl" min:"1" type:"string"`

	// Unique token representing this request event.
	TermToken *string `locationName:"termToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetTermForReportOutput) GoString

func (s GetTermForReportOutput) 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 (*GetTermForReportOutput) SetDocumentPresignedUrl

func (s *GetTermForReportOutput) SetDocumentPresignedUrl(v string) *GetTermForReportOutput

SetDocumentPresignedUrl sets the DocumentPresignedUrl field's value.

func (*GetTermForReportOutput) SetTermToken

SetTermToken sets the TermToken field's value.

func (GetTermForReportOutput) String

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

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

	Message_ *string `locationName:"message" type:"string"`

	// Number of seconds in which the caller can retry the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
	// contains filtered or unexported fields
}

An unknown server exception has occurred.

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 ListReportsInput

type ListReportsInput struct {

	// Maximum number of resources to return in the paginated response.
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	// Pagination token to request the next page of resources.
	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListReportsInput) GoString

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

func (s *ListReportsInput) SetMaxResults(v int64) *ListReportsInput

SetMaxResults sets the MaxResults field's value.

func (*ListReportsInput) SetNextToken

func (s *ListReportsInput) SetNextToken(v string) *ListReportsInput

SetNextToken sets the NextToken field's value.

func (ListReportsInput) String

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

func (s *ListReportsInput) Validate() error

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

type ListReportsOutput

type ListReportsOutput struct {

	// Pagination token to request the next page of resources.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// List of report resources.
	Reports []*ReportSummary `locationName:"reports" type:"list"`
	// contains filtered or unexported fields
}

func (ListReportsOutput) GoString

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

func (s *ListReportsOutput) SetNextToken(v string) *ListReportsOutput

SetNextToken sets the NextToken field's value.

func (*ListReportsOutput) SetReports

func (s *ListReportsOutput) SetReports(v []*ReportSummary) *ListReportsOutput

SetReports sets the Reports field's value.

func (ListReportsOutput) String

func (s ListReportsOutput) 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 PutAccountSettingsInput

type PutAccountSettingsInput struct {

	// Desired notification subscription status.
	NotificationSubscriptionStatus *string `locationName:"notificationSubscriptionStatus" type:"string" enum:"NotificationSubscriptionStatus"`
	// contains filtered or unexported fields
}

func (PutAccountSettingsInput) GoString

func (s PutAccountSettingsInput) 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 (*PutAccountSettingsInput) SetNotificationSubscriptionStatus

func (s *PutAccountSettingsInput) SetNotificationSubscriptionStatus(v string) *PutAccountSettingsInput

SetNotificationSubscriptionStatus sets the NotificationSubscriptionStatus field's value.

func (PutAccountSettingsInput) String

func (s PutAccountSettingsInput) 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 PutAccountSettingsOutput

type PutAccountSettingsOutput struct {

	// Account settings for the customer.
	AccountSettings *AccountSettings `locationName:"accountSettings" type:"structure"`
	// contains filtered or unexported fields
}

func (PutAccountSettingsOutput) GoString

func (s PutAccountSettingsOutput) 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 (*PutAccountSettingsOutput) SetAccountSettings

SetAccountSettings sets the AccountSettings field's value.

func (PutAccountSettingsOutput) String

func (s PutAccountSettingsOutput) 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 ReportDetail

type ReportDetail struct {

	// Acceptance type for report.
	AcceptanceType *string `locationName:"acceptanceType" type:"string" enum:"AcceptanceType"`

	// ARN for the report resource.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// Category for the report resource.
	Category *string `locationName:"category" min:"1" type:"string"`

	// Associated company name for the report resource.
	CompanyName *string `locationName:"companyName" min:"1" type:"string"`

	// Timestamp indicating when the report resource was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`

	// Timestamp indicating when the report resource was deleted.
	DeletedAt *time.Time `locationName:"deletedAt" type:"timestamp" timestampFormat:"iso8601"`

	// Description for the report resource.
	Description *string `locationName:"description" min:"1" type:"string"`

	// Unique resource ID for the report resource.
	Id *string `locationName:"id" type:"string"`

	// Timestamp indicating when the report resource was last modified.
	LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp" timestampFormat:"iso8601"`

	// Name for the report resource.
	Name *string `locationName:"name" min:"1" type:"string"`

	// Timestamp indicating the report resource effective end.
	PeriodEnd *time.Time `locationName:"periodEnd" type:"timestamp" timestampFormat:"iso8601"`

	// Timestamp indicating the report resource effective start.
	PeriodStart *time.Time `locationName:"periodStart" type:"timestamp" timestampFormat:"iso8601"`

	// Associated product name for the report resource.
	ProductName *string `locationName:"productName" min:"1" type:"string"`

	// Sequence number to enforce optimistic locking.
	SequenceNumber *int64 `locationName:"sequenceNumber" min:"1" type:"long"`

	// Series for the report resource.
	Series *string `locationName:"series" min:"1" type:"string"`

	// Current state of the report resource
	State *string `locationName:"state" type:"string" enum:"PublishedState"`

	// The message associated with the current upload state.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// Unique resource ARN for term resource.
	TermArn *string `locationName:"termArn" min:"1" type:"string"`

	// The current state of the document upload.
	UploadState *string `locationName:"uploadState" type:"string" enum:"UploadState"`

	// Version for the report resource.
	Version *int64 `locationName:"version" min:"1" type:"long"`
	// contains filtered or unexported fields
}

Full detail for report resource metadata.

func (ReportDetail) GoString

func (s ReportDetail) 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 (*ReportDetail) SetAcceptanceType

func (s *ReportDetail) SetAcceptanceType(v string) *ReportDetail

SetAcceptanceType sets the AcceptanceType field's value.

func (*ReportDetail) SetArn

func (s *ReportDetail) SetArn(v string) *ReportDetail

SetArn sets the Arn field's value.

func (*ReportDetail) SetCategory

func (s *ReportDetail) SetCategory(v string) *ReportDetail

SetCategory sets the Category field's value.

func (*ReportDetail) SetCompanyName

func (s *ReportDetail) SetCompanyName(v string) *ReportDetail

SetCompanyName sets the CompanyName field's value.

func (*ReportDetail) SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

func (*ReportDetail) SetDeletedAt

func (s *ReportDetail) SetDeletedAt(v time.Time) *ReportDetail

SetDeletedAt sets the DeletedAt field's value.

func (*ReportDetail) SetDescription

func (s *ReportDetail) SetDescription(v string) *ReportDetail

SetDescription sets the Description field's value.

func (*ReportDetail) SetId

func (s *ReportDetail) SetId(v string) *ReportDetail

SetId sets the Id field's value.

func (*ReportDetail) SetLastModifiedAt

func (s *ReportDetail) SetLastModifiedAt(v time.Time) *ReportDetail

SetLastModifiedAt sets the LastModifiedAt field's value.

func (*ReportDetail) SetName

func (s *ReportDetail) SetName(v string) *ReportDetail

SetName sets the Name field's value.

func (*ReportDetail) SetPeriodEnd

func (s *ReportDetail) SetPeriodEnd(v time.Time) *ReportDetail

SetPeriodEnd sets the PeriodEnd field's value.

func (*ReportDetail) SetPeriodStart

func (s *ReportDetail) SetPeriodStart(v time.Time) *ReportDetail

SetPeriodStart sets the PeriodStart field's value.

func (*ReportDetail) SetProductName

func (s *ReportDetail) SetProductName(v string) *ReportDetail

SetProductName sets the ProductName field's value.

func (*ReportDetail) SetSequenceNumber

func (s *ReportDetail) SetSequenceNumber(v int64) *ReportDetail

SetSequenceNumber sets the SequenceNumber field's value.

func (*ReportDetail) SetSeries

func (s *ReportDetail) SetSeries(v string) *ReportDetail

SetSeries sets the Series field's value.

func (*ReportDetail) SetState

func (s *ReportDetail) SetState(v string) *ReportDetail

SetState sets the State field's value.

func (*ReportDetail) SetStatusMessage

func (s *ReportDetail) SetStatusMessage(v string) *ReportDetail

SetStatusMessage sets the StatusMessage field's value.

func (*ReportDetail) SetTermArn

func (s *ReportDetail) SetTermArn(v string) *ReportDetail

SetTermArn sets the TermArn field's value.

func (*ReportDetail) SetUploadState

func (s *ReportDetail) SetUploadState(v string) *ReportDetail

SetUploadState sets the UploadState field's value.

func (*ReportDetail) SetVersion

func (s *ReportDetail) SetVersion(v int64) *ReportDetail

SetVersion sets the Version field's value.

func (ReportDetail) String

func (s ReportDetail) 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 ReportSummary

type ReportSummary struct {

	// ARN for the report resource.
	Arn *string `locationName:"arn" min:"1" type:"string"`

	// Category for the report resource.
	Category *string `locationName:"category" min:"1" type:"string"`

	// Associated company name for the report resource.
	CompanyName *string `locationName:"companyName" min:"1" type:"string"`

	// Description for the report resource.
	Description *string `locationName:"description" min:"1" type:"string"`

	// Unique resource ID for the report resource.
	Id *string `locationName:"id" type:"string"`

	// Name for the report resource.
	Name *string `locationName:"name" min:"1" type:"string"`

	// Timestamp indicating the report resource effective end.
	PeriodEnd *time.Time `locationName:"periodEnd" type:"timestamp" timestampFormat:"iso8601"`

	// Timestamp indicating the report resource effective start.
	PeriodStart *time.Time `locationName:"periodStart" type:"timestamp" timestampFormat:"iso8601"`

	// Associated product name for the report resource.
	ProductName *string `locationName:"productName" min:"1" type:"string"`

	// Series for the report resource.
	Series *string `locationName:"series" min:"1" type:"string"`

	// Current state of the report resource.
	State *string `locationName:"state" type:"string" enum:"PublishedState"`

	// The message associated with the current upload state.
	StatusMessage *string `locationName:"statusMessage" type:"string"`

	// The current state of the document upload.
	UploadState *string `locationName:"uploadState" type:"string" enum:"UploadState"`

	// Version for the report resource.
	Version *int64 `locationName:"version" min:"1" type:"long"`
	// contains filtered or unexported fields
}

Summary for report resource.

func (ReportSummary) GoString

func (s ReportSummary) 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 (*ReportSummary) SetArn

func (s *ReportSummary) SetArn(v string) *ReportSummary

SetArn sets the Arn field's value.

func (*ReportSummary) SetCategory

func (s *ReportSummary) SetCategory(v string) *ReportSummary

SetCategory sets the Category field's value.

func (*ReportSummary) SetCompanyName

func (s *ReportSummary) SetCompanyName(v string) *ReportSummary

SetCompanyName sets the CompanyName field's value.

func (*ReportSummary) SetDescription

func (s *ReportSummary) SetDescription(v string) *ReportSummary

SetDescription sets the Description field's value.

func (*ReportSummary) SetId

func (s *ReportSummary) SetId(v string) *ReportSummary

SetId sets the Id field's value.

func (*ReportSummary) SetName

func (s *ReportSummary) SetName(v string) *ReportSummary

SetName sets the Name field's value.

func (*ReportSummary) SetPeriodEnd

func (s *ReportSummary) SetPeriodEnd(v time.Time) *ReportSummary

SetPeriodEnd sets the PeriodEnd field's value.

func (*ReportSummary) SetPeriodStart

func (s *ReportSummary) SetPeriodStart(v time.Time) *ReportSummary

SetPeriodStart sets the PeriodStart field's value.

func (*ReportSummary) SetProductName

func (s *ReportSummary) SetProductName(v string) *ReportSummary

SetProductName sets the ProductName field's value.

func (*ReportSummary) SetSeries

func (s *ReportSummary) SetSeries(v string) *ReportSummary

SetSeries sets the Series field's value.

func (*ReportSummary) SetState

func (s *ReportSummary) SetState(v string) *ReportSummary

SetState sets the State field's value.

func (*ReportSummary) SetStatusMessage

func (s *ReportSummary) SetStatusMessage(v string) *ReportSummary

SetStatusMessage sets the StatusMessage field's value.

func (*ReportSummary) SetUploadState

func (s *ReportSummary) SetUploadState(v string) *ReportSummary

SetUploadState sets the UploadState field's value.

func (*ReportSummary) SetVersion

func (s *ReportSummary) SetVersion(v int64) *ReportSummary

SetVersion sets the Version field's value.

func (ReportSummary) String

func (s ReportSummary) String() string

String returns the string representation.

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

type ResourceNotFoundException

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

	Message_ *string `locationName:"message" type:"string"`

	// Identifier of the affected resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// Type of the affected resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request references a resource which does not exist.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

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

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

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

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

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

type ServiceQuotaExceededException

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

	Message_ *string `locationName:"message" type:"string"`

	// Code for the affected quota.
	//
	// QuotaCode is a required field
	QuotaCode *string `locationName:"quotaCode" type:"string" required:"true"`

	// Identifier of the affected resource.
	//
	// ResourceId is a required field
	ResourceId *string `locationName:"resourceId" type:"string" required:"true"`

	// Type of the affected resource.
	//
	// ResourceType is a required field
	ResourceType *string `locationName:"resourceType" type:"string" required:"true"`

	// Code for the affected service.
	//
	// ServiceCode is a required field
	ServiceCode *string `locationName:"serviceCode" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request would cause a service quota to be exceeded.

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 ThrottlingException

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

	Message_ *string `locationName:"message" type:"string"`

	// Code for the affected quota.
	QuotaCode *string `locationName:"quotaCode" type:"string"`

	// Number of seconds in which the caller can retry the request.
	RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`

	// Code for the affected service.
	ServiceCode *string `locationName:"serviceCode" type:"string"`
	// contains filtered or unexported fields
}

Request was denied due to request throttling.

func (*ThrottlingException) Code

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString

func (s ThrottlingException) GoString() string

GoString returns the string representation.

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

func (*ThrottlingException) Message

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode

func (s *ThrottlingException) StatusCode() int

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

func (ThrottlingException) String

func (s ThrottlingException) String() string

String returns the string representation.

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

type ValidationException

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

	// The field that caused the error, if applicable.
	FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`

	Message_ *string `locationName:"message" type:"string"`

	// Reason the request failed validation.
	//
	// Reason is a required field
	Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
	// contains filtered or unexported fields
}

Request fails to satisfy the constraints specified by an AWS service.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

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

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

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

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

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

type ValidationExceptionField

type ValidationExceptionField struct {

	// Message describing why the field failed validation.
	//
	// Message is a required field
	Message *string `locationName:"message" type:"string" required:"true"`

	// Name of validation exception.
	//
	// Name is a required field
	Name *string `locationName:"name" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Validation exception message and name.

func (ValidationExceptionField) GoString

func (s ValidationExceptionField) GoString() string

GoString returns the string representation.

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

func (*ValidationExceptionField) SetMessage

SetMessage sets the Message field's value.

func (*ValidationExceptionField) SetName

SetName sets the Name field's value.

func (ValidationExceptionField) String

func (s ValidationExceptionField) String() string

String returns the string representation.

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

Directories

Path Synopsis
Package artifactiface provides an interface to enable mocking the AWS Artifact service client for testing your code.
Package artifactiface provides an interface to enable mocking the AWS Artifact service client for testing your code.

Jump to

Keyboard shortcuts

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