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.

CreateCaseInput

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

type CreateCaseInput struct { AttachmentSetId *string `locationName:"attachmentSetId" type:"string"` CategoryCode *string `locationName:"categoryCode" type:"string"` CcEmailAddresses []*string `locationName:"ccEmailAddresses" type:"list"` CommunicationBody *string `locationName:"communicationBody" min:"1" type:"string" required:"true"` IssueType *string `locationName:"issueType" type:"string"` Language *string `locationName:"language" type:"string"` ServiceCode *string `locationName:"serviceCode" type:"string"` SeverityCode *string `locationName:"severityCode" type:"string"` Subject *string `locationName:"subject" type:"string" required:"true"` }

AttachmentSetId

Type: *string

The ID of a set of one or more attachments for the case. Create the set by using AddAttachmentsToSet.

CategoryCode

Type: *string

The category of problem for the AWS Support case.

CcEmailAddresses

Type: []*string

A list of email addresses that AWS Support copies on case correspondence.

CommunicationBody

Type: *string

The communication body text when you create an AWS Support case by calling CreateCase.

CommunicationBody is a required field

IssueType

Type: *string

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

Language

Type: *string

The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.

ServiceCode

Type: *string

The code for the AWS service returned by the call to DescribeServices.

SeverityCode

Type: *string

The code for the severity level returned by the call to DescribeSeverityLevels.

The availability of severity levels depends on each customer's support subscription. In other words, your subscription may not necessarily require the urgent level of response time.

Subject

Type: *string

The title of the AWS Support case.

Subject is a required field

Method

GoString

func (s CreateCaseInput) GoString() string

GoString returns the string representation

SetAttachmentSetId

func (s *CreateCaseInput) SetAttachmentSetId(v string) *CreateCaseInput

SetAttachmentSetId sets the AttachmentSetId field's value.

SetCategoryCode

func (s *CreateCaseInput) SetCategoryCode(v string) *CreateCaseInput

SetCategoryCode sets the CategoryCode field's value.

SetCcEmailAddresses

func (s *CreateCaseInput) SetCcEmailAddresses(v []*string) *CreateCaseInput

SetCcEmailAddresses sets the CcEmailAddresses field's value.

SetCommunicationBody

func (s *CreateCaseInput) SetCommunicationBody(v string) *CreateCaseInput

SetCommunicationBody sets the CommunicationBody field's value.

SetIssueType

func (s *CreateCaseInput) SetIssueType(v string) *CreateCaseInput

SetIssueType sets the IssueType field's value.

SetLanguage

func (s *CreateCaseInput) SetLanguage(v string) *CreateCaseInput

SetLanguage sets the Language field's value.

SetServiceCode

func (s *CreateCaseInput) SetServiceCode(v string) *CreateCaseInput

SetServiceCode sets the ServiceCode field's value.

SetSeverityCode

func (s *CreateCaseInput) SetSeverityCode(v string) *CreateCaseInput

SetSeverityCode sets the SeverityCode field's value.

SetSubject

func (s *CreateCaseInput) SetSubject(v string) *CreateCaseInput

SetSubject sets the Subject field's value.

String

func (s CreateCaseInput) String() string

String returns the string representation

Validate

func (s *CreateCaseInput) Validate() error

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

On this page: