Support.Client.
create_case
(**kwargs)¶Creates a case in the Amazon Web Services Support Center. This operation is similar to how you create a case in the Amazon Web Services Support Center Create Case page.
The Amazon Web Services Support API doesn't support requesting service limit increases. You can submit a service limit increase in the following ways:
A successful CreateCase
request returns an Amazon Web Services Support case number. You can use the DescribeCases operation and specify the case number to get existing Amazon Web Services Support cases. After you create a case, use the AddCommunicationToCase operation to add additional communication or attachments to an existing case.
The caseId
is separate from the displayId
that appears in the Amazon Web Services Support Center. Use the DescribeCases operation to get the displayId
.
Note
SubscriptionRequiredException
error message appears. For information about changing your support plan, see Amazon Web Services Support.See also: AWS API Documentation
Request Syntax
response = client.create_case(
subject='string',
serviceCode='string',
severityCode='string',
categoryCode='string',
communicationBody='string',
ccEmailAddresses=[
'string',
],
language='string',
issueType='string',
attachmentSetId='string'
)
[REQUIRED]
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
serviceCode
values.A value that indicates the urgency of the case. This value determines the response time according to your service level agreement with Amazon Web Services Support. You can use the DescribeSeverityLevels operation to get the possible values for severityCode
.
For more information, see SeverityLevel and Choosing a Severity in the Amazon Web Services Support User Guide .
Note
The availability of severity levels depends on the support plan for the Amazon Web Services account.
[REQUIRED]
The communication body text that describes the issue. This text appears in the Description field on the Amazon Web Services Support Center Create Case page.
A list of email addresses that Amazon Web Services Support copies on case correspondence. Amazon Web Services Support identifies the account that creates the case when you specify your Amazon Web Services credentials in an HTTP POST method or use the Amazon Web Services SDKs.
language
parameter if you want support in that language.customer-service
or technical
. If you don't specify a value, the default is technical
.dict
Response Syntax
{
'caseId': 'string'
}
Response Structure
(dict) --
The support case ID returned by a successful completion of the CreateCase operation.
caseId (string) --
The support case ID requested or returned in the call. The case ID is an alphanumeric string in the following format: case-12345678910-2013-c4c1d2bf33c5cf47
Exceptions
Support.Client.exceptions.InternalServerError
Support.Client.exceptions.CaseCreationLimitExceeded
Support.Client.exceptions.AttachmentSetIdNotFound
Support.Client.exceptions.AttachmentSetExpired