Struct aws_sdk_lexmodelsv2::input::DeleteSlotTypeInput
source · #[non_exhaustive]pub struct DeleteSlotTypeInput { /* private fields */ }Implementations§
source§impl DeleteSlotTypeInput
impl DeleteSlotTypeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteSlotType, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteSlotType, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteSlotType>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteSlotTypeInput.
source§impl DeleteSlotTypeInput
impl DeleteSlotTypeInput
sourcepub fn slot_type_id(&self) -> Option<&str>
pub fn slot_type_id(&self) -> Option<&str>
The identifier of the slot type to delete.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot associated with the slot type.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
sourcepub fn skip_resource_in_use_check(&self) -> bool
pub fn skip_resource_in_use_check(&self) -> bool
By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.
Trait Implementations§
source§impl Clone for DeleteSlotTypeInput
impl Clone for DeleteSlotTypeInput
source§fn clone(&self) -> DeleteSlotTypeInput
fn clone(&self) -> DeleteSlotTypeInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeleteSlotTypeInput
impl Debug for DeleteSlotTypeInput
source§impl PartialEq<DeleteSlotTypeInput> for DeleteSlotTypeInput
impl PartialEq<DeleteSlotTypeInput> for DeleteSlotTypeInput
source§fn eq(&self, other: &DeleteSlotTypeInput) -> bool
fn eq(&self, other: &DeleteSlotTypeInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.