Smaws_Client_Support.CreateCaseCreates 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.
SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AttachmentSetExpired of Types.attachment_set_expired
| `AttachmentSetIdNotFound of Types.attachment_set_id_not_found
| `CaseCreationLimitExceeded of Types.case_creation_limit_exceeded
| `InternalServerError of Types.internal_server_error ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_case_request ->
(Types.create_case_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AttachmentSetExpired of Types.attachment_set_expired
| `AttachmentSetIdNotFound of Types.attachment_set_id_not_found
| `CaseCreationLimitExceeded of Types.case_creation_limit_exceeded
| `InternalServerError of Types.internal_server_error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_case_request ->
(Types.create_case_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AttachmentSetExpired of Types.attachment_set_expired
| `AttachmentSetIdNotFound of Types.attachment_set_id_not_found
| `CaseCreationLimitExceeded of Types.case_creation_limit_exceeded
| `InternalServerError of Types.internal_server_error ]
* Smaws_Lib.Response.metadata)
Stdlib.result