AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Support

import "github.com/aws/aws-sdk-go/service/support"

type Support struct { *client.Client }

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

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

Client

Type: *client.Client

Method

AddAttachmentsToSet

func (c *Support) AddAttachmentsToSet(input *AddAttachmentsToSetInput) (*AddAttachmentsToSetOutput, error)

AddAttachmentsToSet API operation for AWS Support.

Adds one or more attachments to an attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.

An attachment set is a temporary container for attachments that are to be added to a case or case communication. The set is available for one hour after it is created; the expiryTime returned in the response indicates when the set expires. The maximum number of attachments in a set is 3, and the maximum size of any attachment in the set is 5 MB.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeAttachmentSetIdNotFound "AttachmentSetIdNotFound" An attachment set with the specified ID could not be found.

  • ErrCodeAttachmentSetExpired "AttachmentSetExpired" The expiration time of the attachment set has passed. The set expires 1 hour after it is created.

  • ErrCodeAttachmentSetSizeLimitExceeded "AttachmentSetSizeLimitExceeded" A limit for the size of an attachment set has been exceeded. The limits are 3 attachments and 5 MB per attachment.

  • ErrCodeAttachmentLimitExceeded "AttachmentLimitExceeded" The limit for the number of attachment sets created in a short period of time has been exceeded.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddAttachmentsToSet

AddAttachmentsToSetRequest

func (c *Support) AddAttachmentsToSetRequest(input *AddAttachmentsToSetInput) (req *request.Request, output *AddAttachmentsToSetOutput)

AddAttachmentsToSetRequest generates a "aws/request.Request" representing the client's request for the AddAttachmentsToSet 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 AddAttachmentsToSet for more information on using the AddAttachmentsToSet 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 AddAttachmentsToSetRequest method. req, resp := client.AddAttachmentsToSetRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddAttachmentsToSet

AddAttachmentsToSetWithContext

func (c *Support) AddAttachmentsToSetWithContext(ctx aws.Context, input *AddAttachmentsToSetInput, opts ...request.Option) (*AddAttachmentsToSetOutput, error)

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

See AddAttachmentsToSet 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.

See Also

For more information about using this API, see AWS API Documentation.

AddCommunicationToCase

func (c *Support) AddCommunicationToCase(input *AddCommunicationToCaseInput) (*AddCommunicationToCaseOutput, error)

AddCommunicationToCase API operation for AWS Support.

Adds additional customer communication to an AWS Support case. You use the caseId value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses value. The communicationBody value contains the text of the communication.

The response indicates the success or failure of the request.

This operation implements a subset of the features of the AWS Support Center.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeCaseIdNotFound "CaseIdNotFound" The requested caseId could not be located.

  • ErrCodeAttachmentSetIdNotFound "AttachmentSetIdNotFound" An attachment set with the specified ID could not be found.

  • ErrCodeAttachmentSetExpired "AttachmentSetExpired" The expiration time of the attachment set has passed. The set expires 1 hour after it is created.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCase

AddCommunicationToCaseRequest

func (c *Support) AddCommunicationToCaseRequest(input *AddCommunicationToCaseInput) (req *request.Request, output *AddCommunicationToCaseOutput)

AddCommunicationToCaseRequest generates a "aws/request.Request" representing the client's request for the AddCommunicationToCase 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 AddCommunicationToCase for more information on using the AddCommunicationToCase 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 AddCommunicationToCaseRequest method. req, resp := client.AddCommunicationToCaseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCase

AddCommunicationToCaseWithContext

func (c *Support) AddCommunicationToCaseWithContext(ctx aws.Context, input *AddCommunicationToCaseInput, opts ...request.Option) (*AddCommunicationToCaseOutput, error)

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

See AddCommunicationToCase 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.

See Also

For more information about using this API, see AWS API Documentation.

CreateCase

func (c *Support) CreateCase(input *CreateCaseInput) (*CreateCaseOutput, error)

CreateCase API operation for AWS Support.

Creates a new case in the AWS Support Center. This operation is modeled on the behavior of the AWS Support Center Create Case (https://console.aws.amazon.com/support/home#/case/create) page. Its parameters require you to specify the following information:

  • issueType. The type of issue for the case. You can specify either "customer-service" or "technical." If you do not indicate a value, the default is "technical."

  • serviceCode. The code for an AWS service. You obtain the serviceCode by calling DescribeServices.

  • categoryCode. The category for the service defined for the serviceCode value. You also obtain the category code for a service by calling DescribeServices. Each AWS service defines its own set of category codes.

  • severityCode. A value that indicates the urgency of the case, which in turn determines the response time according to your service level agreement with AWS Support. You obtain the SeverityCode by calling DescribeSeverityLevels.

  • attachmentSetId. The ID of a set of attachments that has been created by using AddAttachmentsToSet.

  • language. The human language in which AWS Support handles the case. English and Japanese are currently supported.

  • ccEmailAddresses. The AWS Support Center CC field on the Create Case

(https://console.aws.amazon.com/support/home#/case/create) page. You can list email addresses to be copied on any correspondence about the case. The account that opens the case is already identified by passing the AWS Credentials in the HTTP POST method or in a method or function call from one of the programming languages supported by an AWS SDK (http://aws.amazon.com/tools/).

To add additional communication or attachments to an existing case, use AddCommunicationToCase.

A successful CreateCase request returns an AWS Support case number. Case numbers are used by the DescribeCases operation to retrieve existing AWS Support cases.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeCaseCreationLimitExceeded "CaseCreationLimitExceeded" The case creation limit for the account has been exceeded.

  • ErrCodeAttachmentSetIdNotFound "AttachmentSetIdNotFound" An attachment set with the specified ID could not be found.

  • ErrCodeAttachmentSetExpired "AttachmentSetExpired" The expiration time of the attachment set has passed. The set expires 1 hour after it is created.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCase

CreateCaseRequest

func (c *Support) CreateCaseRequest(input *CreateCaseInput) (req *request.Request, output *CreateCaseOutput)

CreateCaseRequest generates a "aws/request.Request" representing the client's request for the CreateCase 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 CreateCase for more information on using the CreateCase 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 CreateCaseRequest method. req, resp := client.CreateCaseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCase

CreateCaseWithContext

func (c *Support) CreateCaseWithContext(ctx aws.Context, input *CreateCaseInput, opts ...request.Option) (*CreateCaseOutput, error)

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

See CreateCase 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeAttachment

func (c *Support) DescribeAttachment(input *DescribeAttachmentInput) (*DescribeAttachmentOutput, error)

DescribeAttachment API operation for AWS Support.

Returns the attachment that has the specified ID. Attachment IDs are generated by the case management system when you add an attachment to a case or case communication. Attachment IDs are returned in the AttachmentDetails objects that are returned by the DescribeCommunications operation.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeDescribeAttachmentLimitExceeded "DescribeAttachmentLimitExceeded" The limit for the number of DescribeAttachment requests in a short period of time has been exceeded.

  • ErrCodeAttachmentIdNotFound "AttachmentIdNotFound" An attachment with the specified ID could not be found.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachment

DescribeAttachmentRequest

func (c *Support) DescribeAttachmentRequest(input *DescribeAttachmentInput) (req *request.Request, output *DescribeAttachmentOutput)

DescribeAttachmentRequest generates a "aws/request.Request" representing the client's request for the DescribeAttachment 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 DescribeAttachment for more information on using the DescribeAttachment 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 DescribeAttachmentRequest method. req, resp := client.DescribeAttachmentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachment

DescribeAttachmentWithContext

func (c *Support) DescribeAttachmentWithContext(ctx aws.Context, input *DescribeAttachmentInput, opts ...request.Option) (*DescribeAttachmentOutput, error)

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

See DescribeAttachment 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeCases

func (c *Support) DescribeCases(input *DescribeCasesInput) (*DescribeCasesOutput, error)

DescribeCases API operation for AWS Support.

Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned.

Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.

The response returns the following in JSON format:

  • One or more CaseDetails data types.

  • One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeCaseIdNotFound "CaseIdNotFound" The requested caseId could not be located.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCases

DescribeCasesPages

func (c *Support) DescribeCasesPages(input *DescribeCasesInput, fn func(*DescribeCasesOutput, bool) bool) error

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

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

See Also

For more information about using this API, see AWS API Documentation.

DescribeCasesPagesWithContext

func (c *Support) DescribeCasesPagesWithContext(ctx aws.Context, input *DescribeCasesInput, fn func(*DescribeCasesOutput, bool) bool, opts ...request.Option) error

DescribeCasesPagesWithContext same as DescribeCasesPages 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeCasesRequest

func (c *Support) DescribeCasesRequest(input *DescribeCasesInput) (req *request.Request, output *DescribeCasesOutput)

DescribeCasesRequest generates a "aws/request.Request" representing the client's request for the DescribeCases 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 DescribeCases for more information on using the DescribeCases 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 DescribeCasesRequest method. req, resp := client.DescribeCasesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCases

DescribeCasesWithContext

func (c *Support) DescribeCasesWithContext(ctx aws.Context, input *DescribeCasesInput, opts ...request.Option) (*DescribeCasesOutput, error)

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

See DescribeCases 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeCommunications

func (c *Support) DescribeCommunications(input *DescribeCommunicationsInput) (*DescribeCommunicationsOutput, error)

DescribeCommunications API operation for AWS Support.

Returns communications (and attachments) for one or more support cases. You can use the afterTime and beforeTime parameters to filter by date. You can use the caseId parameter to restrict the results to a particular case.

Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.

You can use the maxResults and nextToken parameters to control the pagination of the result set. Set maxResults to the number of cases you want displayed on each page, and use nextToken to specify the resumption of pagination.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeCaseIdNotFound "CaseIdNotFound" The requested caseId could not be located.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunications

DescribeCommunicationsPages

func (c *Support) DescribeCommunicationsPages(input *DescribeCommunicationsInput, fn func(*DescribeCommunicationsOutput, bool) bool) error

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

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

See Also

For more information about using this API, see AWS API Documentation.

DescribeCommunicationsPagesWithContext

func (c *Support) DescribeCommunicationsPagesWithContext(ctx aws.Context, input *DescribeCommunicationsInput, fn func(*DescribeCommunicationsOutput, bool) bool, opts ...request.Option) error

DescribeCommunicationsPagesWithContext same as DescribeCommunicationsPages 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeCommunicationsRequest

func (c *Support) DescribeCommunicationsRequest(input *DescribeCommunicationsInput) (req *request.Request, output *DescribeCommunicationsOutput)

DescribeCommunicationsRequest generates a "aws/request.Request" representing the client's request for the DescribeCommunications 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 DescribeCommunications for more information on using the DescribeCommunications 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 DescribeCommunicationsRequest method. req, resp := client.DescribeCommunicationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunications

DescribeCommunicationsWithContext

func (c *Support) DescribeCommunicationsWithContext(ctx aws.Context, input *DescribeCommunicationsInput, opts ...request.Option) (*DescribeCommunicationsOutput, error)

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

See DescribeCommunications 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeServices

func (c *Support) DescribeServices(input *DescribeServicesInput) (*DescribeServicesOutput, error)

DescribeServices API operation for AWS Support.

Returns the current list of AWS services and a list of service categories that applies to each one. You then use service names and categories in your CreateCase requests. Each AWS service has its own set of categories.

The service codes and category codes correspond to the values that are displayed in the Service and Category drop-down lists on the AWS Support Center Create Case (https://console.aws.amazon.com/support/home#/case/create) page. The values in those fields, however, do not necessarily match the service codes and categories returned by the DescribeServices request. Always use the service codes and categories obtained programmatically. This practice ensures that you always have the most recent set of service and category codes.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServices

DescribeServicesRequest

func (c *Support) DescribeServicesRequest(input *DescribeServicesInput) (req *request.Request, output *DescribeServicesOutput)

DescribeServicesRequest generates a "aws/request.Request" representing the client's request for the DescribeServices 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 DescribeServices for more information on using the DescribeServices 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 DescribeServicesRequest method. req, resp := client.DescribeServicesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServices

DescribeServicesWithContext

func (c *Support) DescribeServicesWithContext(ctx aws.Context, input *DescribeServicesInput, opts ...request.Option) (*DescribeServicesOutput, error)

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

See DescribeServices 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeSeverityLevels

func (c *Support) DescribeSeverityLevels(input *DescribeSeverityLevelsInput) (*DescribeSeverityLevelsOutput, error)

DescribeSeverityLevels API operation for AWS Support.

Returns the list of severity levels that you can assign to an AWS Support case. The severity level for a case is also a field in the CaseDetails data type included in any CreateCase request.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevels

DescribeSeverityLevelsRequest

func (c *Support) DescribeSeverityLevelsRequest(input *DescribeSeverityLevelsInput) (req *request.Request, output *DescribeSeverityLevelsOutput)

DescribeSeverityLevelsRequest generates a "aws/request.Request" representing the client's request for the DescribeSeverityLevels 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 DescribeSeverityLevels for more information on using the DescribeSeverityLevels 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 DescribeSeverityLevelsRequest method. req, resp := client.DescribeSeverityLevelsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevels

DescribeSeverityLevelsWithContext

func (c *Support) DescribeSeverityLevelsWithContext(ctx aws.Context, input *DescribeSeverityLevelsInput, opts ...request.Option) (*DescribeSeverityLevelsOutput, error)

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

See DescribeSeverityLevels 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeTrustedAdvisorCheckRefreshStatuses

func (c *Support) DescribeTrustedAdvisorCheckRefreshStatuses(input *DescribeTrustedAdvisorCheckRefreshStatusesInput) (*DescribeTrustedAdvisorCheckRefreshStatusesOutput, error)

DescribeTrustedAdvisorCheckRefreshStatuses API operation for AWS Support.

Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.

Some checks are refreshed automatically, and their refresh statuses cannot be retrieved by using this operation. Use of the DescribeTrustedAdvisorCheckRefreshStatuses operation for these checks causes an InvalidParameterValue error.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckRefreshStatuses

DescribeTrustedAdvisorCheckRefreshStatusesRequest

func (c *Support) DescribeTrustedAdvisorCheckRefreshStatusesRequest(input *DescribeTrustedAdvisorCheckRefreshStatusesInput) (req *request.Request, output *DescribeTrustedAdvisorCheckRefreshStatusesOutput)

DescribeTrustedAdvisorCheckRefreshStatusesRequest generates a "aws/request.Request" representing the client's request for the DescribeTrustedAdvisorCheckRefreshStatuses 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 DescribeTrustedAdvisorCheckRefreshStatuses for more information on using the DescribeTrustedAdvisorCheckRefreshStatuses 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 DescribeTrustedAdvisorCheckRefreshStatusesRequest method. req, resp := client.DescribeTrustedAdvisorCheckRefreshStatusesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckRefreshStatuses

DescribeTrustedAdvisorCheckRefreshStatusesWithContext

func (c *Support) DescribeTrustedAdvisorCheckRefreshStatusesWithContext(ctx aws.Context, input *DescribeTrustedAdvisorCheckRefreshStatusesInput, opts ...request.Option) (*DescribeTrustedAdvisorCheckRefreshStatusesOutput, error)

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

See DescribeTrustedAdvisorCheckRefreshStatuses 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeTrustedAdvisorCheckResult

func (c *Support) DescribeTrustedAdvisorCheckResult(input *DescribeTrustedAdvisorCheckResultInput) (*DescribeTrustedAdvisorCheckResultOutput, error)

DescribeTrustedAdvisorCheckResult API operation for AWS Support.

Returns the results of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.

The response contains a TrustedAdvisorCheckResult object, which contains these three objects:

  • TrustedAdvisorCategorySpecificSummary

  • TrustedAdvisorResourceDetail

  • TrustedAdvisorResourcesSummary

In addition, the response contains these fields:

  • status. The alert status of the check: "ok" (green), "warning" (yellow),

"error" (red), or "not_available".
  • timestamp. The time of the last refresh of the check.

  • checkId. The unique identifier for the check.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResult

DescribeTrustedAdvisorCheckResultRequest

func (c *Support) DescribeTrustedAdvisorCheckResultRequest(input *DescribeTrustedAdvisorCheckResultInput) (req *request.Request, output *DescribeTrustedAdvisorCheckResultOutput)

DescribeTrustedAdvisorCheckResultRequest generates a "aws/request.Request" representing the client's request for the DescribeTrustedAdvisorCheckResult 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 DescribeTrustedAdvisorCheckResult for more information on using the DescribeTrustedAdvisorCheckResult 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 DescribeTrustedAdvisorCheckResultRequest method. req, resp := client.DescribeTrustedAdvisorCheckResultRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResult

DescribeTrustedAdvisorCheckResultWithContext

func (c *Support) DescribeTrustedAdvisorCheckResultWithContext(ctx aws.Context, input *DescribeTrustedAdvisorCheckResultInput, opts ...request.Option) (*DescribeTrustedAdvisorCheckResultOutput, error)

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

See DescribeTrustedAdvisorCheckResult 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeTrustedAdvisorCheckSummaries

func (c *Support) DescribeTrustedAdvisorCheckSummaries(input *DescribeTrustedAdvisorCheckSummariesInput) (*DescribeTrustedAdvisorCheckSummariesOutput, error)

DescribeTrustedAdvisorCheckSummaries API operation for AWS Support.

Returns the summaries of the results of the Trusted Advisor checks that have the specified check IDs. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.

The response contains an array of TrustedAdvisorCheckSummary objects.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckSummaries

DescribeTrustedAdvisorCheckSummariesRequest

func (c *Support) DescribeTrustedAdvisorCheckSummariesRequest(input *DescribeTrustedAdvisorCheckSummariesInput) (req *request.Request, output *DescribeTrustedAdvisorCheckSummariesOutput)

DescribeTrustedAdvisorCheckSummariesRequest generates a "aws/request.Request" representing the client's request for the DescribeTrustedAdvisorCheckSummaries 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 DescribeTrustedAdvisorCheckSummaries for more information on using the DescribeTrustedAdvisorCheckSummaries 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 DescribeTrustedAdvisorCheckSummariesRequest method. req, resp := client.DescribeTrustedAdvisorCheckSummariesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckSummaries

DescribeTrustedAdvisorCheckSummariesWithContext

func (c *Support) DescribeTrustedAdvisorCheckSummariesWithContext(ctx aws.Context, input *DescribeTrustedAdvisorCheckSummariesInput, opts ...request.Option) (*DescribeTrustedAdvisorCheckSummariesOutput, error)

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

See DescribeTrustedAdvisorCheckSummaries 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.

See Also

For more information about using this API, see AWS API Documentation.

DescribeTrustedAdvisorChecks

func (c *Support) DescribeTrustedAdvisorChecks(input *DescribeTrustedAdvisorChecksInput) (*DescribeTrustedAdvisorChecksOutput, error)

DescribeTrustedAdvisorChecks API operation for AWS Support.

Returns information about all available Trusted Advisor checks, including name, ID, category, description, and metadata. You must specify a language code; English ("en") and Japanese ("ja") are currently supported. The response contains a TrustedAdvisorCheckDescription for each check.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecks

DescribeTrustedAdvisorChecksRequest

func (c *Support) DescribeTrustedAdvisorChecksRequest(input *DescribeTrustedAdvisorChecksInput) (req *request.Request, output *DescribeTrustedAdvisorChecksOutput)

DescribeTrustedAdvisorChecksRequest generates a "aws/request.Request" representing the client's request for the DescribeTrustedAdvisorChecks 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 DescribeTrustedAdvisorChecks for more information on using the DescribeTrustedAdvisorChecks 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 DescribeTrustedAdvisorChecksRequest method. req, resp := client.DescribeTrustedAdvisorChecksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecks

DescribeTrustedAdvisorChecksWithContext

func (c *Support) DescribeTrustedAdvisorChecksWithContext(ctx aws.Context, input *DescribeTrustedAdvisorChecksInput, opts ...request.Option) (*DescribeTrustedAdvisorChecksOutput, error)

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

See DescribeTrustedAdvisorChecks 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.

See Also

For more information about using this API, see AWS API Documentation.

RefreshTrustedAdvisorCheck

func (c *Support) RefreshTrustedAdvisorCheck(input *RefreshTrustedAdvisorCheckInput) (*RefreshTrustedAdvisorCheckOutput, error)

RefreshTrustedAdvisorCheck API operation for AWS Support.

Requests a refresh of the Trusted Advisor check that has the specified check ID. Check IDs can be obtained by calling DescribeTrustedAdvisorChecks.

Some checks are refreshed automatically, and they cannot be refreshed by using this operation. Use of the RefreshTrustedAdvisorCheck operation for these checks causes an InvalidParameterValue error.

The response contains a TrustedAdvisorCheckRefreshStatus object, which contains these fields:

  • status. The refresh status of the check: "none", "enqueued", "processing",

"success", or "abandoned".
  • millisUntilNextRefreshable. The amount of time, in milliseconds, until the check is eligible for refresh.

  • checkId. The unique identifier for the check.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RefreshTrustedAdvisorCheck

RefreshTrustedAdvisorCheckRequest

func (c *Support) RefreshTrustedAdvisorCheckRequest(input *RefreshTrustedAdvisorCheckInput) (req *request.Request, output *RefreshTrustedAdvisorCheckOutput)

RefreshTrustedAdvisorCheckRequest generates a "aws/request.Request" representing the client's request for the RefreshTrustedAdvisorCheck 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 RefreshTrustedAdvisorCheck for more information on using the RefreshTrustedAdvisorCheck 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 RefreshTrustedAdvisorCheckRequest method. req, resp := client.RefreshTrustedAdvisorCheckRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RefreshTrustedAdvisorCheck

RefreshTrustedAdvisorCheckWithContext

func (c *Support) RefreshTrustedAdvisorCheckWithContext(ctx aws.Context, input *RefreshTrustedAdvisorCheckInput, opts ...request.Option) (*RefreshTrustedAdvisorCheckOutput, error)

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

See RefreshTrustedAdvisorCheck 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.

See Also

For more information about using this API, see AWS API Documentation.

ResolveCase

func (c *Support) ResolveCase(input *ResolveCaseInput) (*ResolveCaseOutput, error)

ResolveCase API operation for AWS Support.

Takes a caseId and returns the initial state of the case along with the state of the case after the call to ResolveCase completed.

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

Returned Error Codes:

  • ErrCodeInternalServerError "InternalServerError" An internal server error occurred.

  • ErrCodeCaseIdNotFound "CaseIdNotFound" The requested caseId could not be located.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCase

ResolveCaseRequest

func (c *Support) ResolveCaseRequest(input *ResolveCaseInput) (req *request.Request, output *ResolveCaseOutput)

ResolveCaseRequest generates a "aws/request.Request" representing the client's request for the ResolveCase 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 ResolveCase for more information on using the ResolveCase 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 ResolveCaseRequest method. req, resp := client.ResolveCaseRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCase

ResolveCaseWithContext

func (c *Support) ResolveCaseWithContext(ctx aws.Context, input *ResolveCaseInput, opts ...request.Option) (*ResolveCaseOutput, error)

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

See ResolveCase 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.

See Also

For more information about using this API, see AWS API Documentation.

On this page: