Struct aws_sdk_support::input::CreateCaseInput
source · [−]#[non_exhaustive]pub struct CreateCaseInput {
pub subject: Option<String>,
pub service_code: Option<String>,
pub severity_code: Option<String>,
pub category_code: Option<String>,
pub communication_body: Option<String>,
pub cc_email_addresses: Option<Vec<String>>,
pub language: Option<String>,
pub issue_type: Option<String>,
pub attachment_set_id: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.subject: Option<String>The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
service_code: Option<String>The code for the Amazon Web Services service. You can use the DescribeServices operation to get the possible serviceCode values.
severity_code: Option<String>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.
category_code: Option<String>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.
communication_body: Option<String>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.
cc_email_addresses: Option<Vec<String>>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: Option<String>The language in which Amazon Web Services Support handles the case. You must specify the ISO 639-1 code for the language parameter if you want support in that language. Currently, English ("en") and Japanese ("ja") are supported.
issue_type: Option<String>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.
attachment_set_id: Option<String>The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet operation.
Implementations
sourceimpl CreateCaseInput
impl CreateCaseInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCase, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCase, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateCase>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateCaseInput
sourceimpl CreateCaseInput
impl CreateCaseInput
sourcepub fn subject(&self) -> Option<&str>
pub fn subject(&self) -> Option<&str>
The title of the support case. The title appears in the Subject field on the Amazon Web Services Support Center Create Case page.
sourcepub fn service_code(&self) -> Option<&str>
pub fn service_code(&self) -> Option<&str>
The code for the Amazon Web Services service. You can use the DescribeServices operation to get the possible serviceCode values.
sourcepub fn severity_code(&self) -> Option<&str>
pub fn severity_code(&self) -> Option<&str>
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.
sourcepub fn category_code(&self) -> Option<&str>
pub fn category_code(&self) -> Option<&str>
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.
sourcepub fn communication_body(&self) -> Option<&str>
pub fn communication_body(&self) -> Option<&str>
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.
sourcepub fn cc_email_addresses(&self) -> Option<&[String]>
pub fn cc_email_addresses(&self) -> Option<&[String]>
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.
sourcepub fn language(&self) -> Option<&str>
pub fn language(&self) -> Option<&str>
The language in which Amazon Web Services Support handles the case. You must specify the ISO 639-1 code for the language parameter if you want support in that language. Currently, English ("en") and Japanese ("ja") are supported.
sourcepub fn issue_type(&self) -> Option<&str>
pub fn issue_type(&self) -> Option<&str>
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.
sourcepub fn attachment_set_id(&self) -> Option<&str>
pub fn attachment_set_id(&self) -> Option<&str>
The ID of a set of one or more attachments for the case. Create the set by using the AddAttachmentsToSet operation.
Trait Implementations
sourceimpl Clone for CreateCaseInput
impl Clone for CreateCaseInput
sourcefn clone(&self) -> CreateCaseInput
fn clone(&self) -> CreateCaseInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateCaseInput
impl Debug for CreateCaseInput
sourceimpl PartialEq<CreateCaseInput> for CreateCaseInput
impl PartialEq<CreateCaseInput> for CreateCaseInput
sourcefn eq(&self, other: &CreateCaseInput) -> bool
fn eq(&self, other: &CreateCaseInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateCaseInput) -> bool
fn ne(&self, other: &CreateCaseInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateCaseInput
Auto Trait Implementations
impl RefUnwindSafe for CreateCaseInput
impl Send for CreateCaseInput
impl Sync for CreateCaseInput
impl Unpin for CreateCaseInput
impl UnwindSafe for CreateCaseInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more