#[non_exhaustive]pub struct CreateSlackChannelConfigurationInput { /* private fields */ }
Implementations§
source§impl CreateSlackChannelConfigurationInput
impl CreateSlackChannelConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSlackChannelConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSlackChannelConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateSlackChannelConfiguration
>
Examples found in repository?
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateSlackChannelConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateSlackChannelConfigurationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateSlackChannelConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::CreateSlackChannelConfigurationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateSlackChannelConfigurationInput
.
source§impl CreateSlackChannelConfigurationInput
impl CreateSlackChannelConfigurationInput
sourcepub fn team_id(&self) -> Option<&str>
pub fn team_id(&self) -> Option<&str>
The team ID in Slack. This ID uniquely identifies a Slack workspace.
sourcepub fn channel_id(&self) -> Option<&str>
pub fn channel_id(&self) -> Option<&str>
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
sourcepub fn channel_name(&self) -> Option<&str>
pub fn channel_name(&self) -> Option<&str>
The name of the Slack channel that you configure for the Amazon Web Services Support App.
sourcepub fn notify_on_create_or_reopen_case(&self) -> Option<bool>
pub fn notify_on_create_or_reopen_case(&self) -> Option<bool>
Whether you want to get notified when a support case is created or reopened.
sourcepub fn notify_on_add_correspondence_to_case(&self) -> Option<bool>
pub fn notify_on_add_correspondence_to_case(&self) -> Option<bool>
Whether you want to get notified when a support case has a new correspondence.
sourcepub fn notify_on_resolve_case(&self) -> Option<bool>
pub fn notify_on_resolve_case(&self) -> Option<bool>
Whether you want to get notified when a support case is resolved.
sourcepub fn notify_on_case_severity(&self) -> Option<&NotificationSeverityLevel>
pub fn notify_on_case_severity(&self) -> Option<&NotificationSeverityLevel>
The case severity for a support case that you want to receive notifications.
If you specify high
or all
, you must specify true
for at least one of the following parameters:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you specify none
, the following parameters must be null or false
:
-
notifyOnAddCorrespondenceToCase
-
notifyOnCreateOrReopenCase
-
notifyOnResolveCase
If you don't specify these parameters in your request, they default to false
.
sourcepub fn channel_role_arn(&self) -> Option<&str>
pub fn channel_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.
Trait Implementations§
source§impl Clone for CreateSlackChannelConfigurationInput
impl Clone for CreateSlackChannelConfigurationInput
source§fn clone(&self) -> CreateSlackChannelConfigurationInput
fn clone(&self) -> CreateSlackChannelConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more