Skip to content

CreateCaseRequest

Source code in docs_src/capo_support/types/create_case_request.py
class CreateCaseRequest(TypedDict, closed=True):
    subject: "capo_support.types.subject.Subject"
    """<p>The title of the support case. The title appears in the <b>Subject</b> field on the Amazon Web Services Support Center <a href="https://console.aws.amazon.com/support/home#/case/create">Create Case</a> page.</p>"""
    service_code: NotRequired["capo_support.types.service_code2.ServiceCode2"]
    """<p>The code for the Amazon Web Services service. You can use the <a>DescribeServices</a> operation to get the possible <code>serviceCode</code> values.</p>"""
    severity_code: NotRequired["capo_support.types.severity_code.SeverityCode"]
    """<p>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 <a>DescribeSeverityLevels</a> operation to get the possible values for <code>severityCode</code>. </p> <p>For more information, see <a>SeverityLevel</a> and <a href="https://docs.aws.amazon.com/awssupport/latest/user/getting-started.html#choosing-severity">Choosing a Severity</a> in the <i>Amazon Web Services Support User Guide</i>.</p> <note> <p>The availability of severity levels depends on the support plan for the Amazon Web Services account.</p> </note>"""
    category_code: NotRequired["capo_support.types.category_code.CategoryCode"]
    """<p>The category of problem for the support case. You also use the <a>DescribeServices</a> operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.</p>"""
    communication_body: "capo_support.types.communication_body.CommunicationBody"
    """<p>The communication body text that describes the issue. This text appears in the <b>Description</b> field on the Amazon Web Services Support Center <a href="https://console.aws.amazon.com/support/home#/case/create">Create Case</a> page.</p>"""
    cc_email_addresses: NotRequired[
        "capo_support.types.cc_email_address_list.CcEmailAddressList"
    ]
    """<p>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 <a href="http://aws.amazon.com/tools/">Amazon Web Services SDKs</a>. </p>"""
    language: NotRequired["capo_support.types.language.Language"]
    """<p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>"""
    issue_type: NotRequired["capo_support.types.issue_type.IssueType"]
    """<p>The type of issue for the case. You can specify <code>customer-service</code> or <code>technical</code>. If you don't specify a value, the default is <code>technical</code>.</p>"""
    attachment_set_id: NotRequired[
        "capo_support.types.attachment_set_id.AttachmentSetId"
    ]
    """<p>The ID of a set of one or more attachments for the case. Create the set by using the <a>AddAttachmentsToSet</a> operation. Each attachment in the set must be 5 MB or smaller. To attach files larger than 5 MB, use <code>uploadIds</code>.</p>"""
    upload_ids: NotRequired["capo_support.types.upload_ids.UploadIds"]
    """<p>A list of upload IDs that identify attachments to add to the case. Each <code>uploadId</code> is returned by the <a>GetAttachmentUploadLinks</a> operation. The upload must reach the <code>attachment-ready</code> state by calling <a>CompleteAttachmentUpload</a> before it can be passed here. Use <code>uploadIds</code> to attach files of any supported size, including files larger than 5 MB.</p>"""
    dry_run: NotRequired["capo_support.types.nullable_boolean_type.NullableBooleanType"]
    """<p>Specifies whether to validate the request without actually creating the case. When set to <code>true</code>, the request is validated but no case is created, and the operation returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the request runs normally.</p>"""

attachment_set_id instance-attribute

attachment_set_id: NotRequired[AttachmentSetId]

The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet operation. Each attachment in the set must be 5 MB or smaller. To attach files larger than 5 MB, use uploadIds.

category_code instance-attribute

category_code: NotRequired[CategoryCode]

The category of problem for the support case. You also use the DescribeServices operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.

cc_email_addresses instance-attribute

cc_email_addresses: NotRequired[CcEmailAddressList]

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.

communication_body instance-attribute

communication_body: CommunicationBody

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.

dry_run instance-attribute

dry_run: NotRequired[NullableBooleanType]

Specifies whether to validate the request without actually creating the case. When set to true, the request is validated but no case is created, and the operation returns a DryRunOperationException. When omitted or set to false, the request runs normally.

issue_type instance-attribute

issue_type: NotRequired[IssueType]

The type of issue for the case. You can specify customer-service or technical. If you don't specify a value, the default is technical.

language instance-attribute

language: NotRequired[Language]

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

service_code instance-attribute

service_code: NotRequired[ServiceCode2]

The code for the Amazon Web Services service. You can use the DescribeServices operation to get the possible serviceCode values.

severity_code instance-attribute

severity_code: NotRequired[SeverityCode]

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.

The availability of severity levels depends on the support plan for the Amazon Web Services account.

subject instance-attribute

subject: Subject

The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.

upload_ids instance-attribute

upload_ids: NotRequired[UploadIds]

A list of upload IDs that identify attachments to add to the case. Each uploadId is returned by the GetAttachmentUploadLinks operation. The upload must reach the attachment-ready state by calling CompleteAttachmentUpload before it can be passed here. Use uploadIds to attach files of any supported size, including files larger than 5 MB.