impl UpdateDeploymentGroupInput {
#[allow(unused_mut)]
#[allow(clippy::let_and_return)]
#[allow(clippy::needless_borrow)]
pub async fn make_operation(
&self,
_config: &crate::config::Config,
) -> std::result::Result<
aws_smithy_http::operation::Operation<
crate::operation::update_deployment_group::UpdateDeploymentGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::operation::error::BuildError,
> {
let params_result = crate::endpoint::Params::builder()
.set_region(_config.region.as_ref().map(|r| r.as_ref().to_owned()))
.set_use_dual_stack(_config.use_dual_stack)
.set_use_fips(_config.use_fips)
.set_endpoint(_config.endpoint_url.clone())
.build()
.map_err(|err| {
aws_smithy_http::endpoint::ResolveEndpointError::from_source(
"could not construct endpoint parameters",
err,
)
});
let (endpoint_result, params) = match params_result {
Ok(params) => (
_config.endpoint_resolver.resolve_endpoint(¶ms),
Some(params),
),
Err(e) => (Err(e), None),
};
let mut request = {
fn uri_base(
_input: &crate::operation::update_deployment_group::UpdateDeploymentGroupInput,
output: &mut String,
) -> std::result::Result<(), aws_smithy_http::operation::error::BuildError>
{
use std::fmt::Write as _;
write!(output, "/").expect("formatting should succeed");
Ok(())
}
#[allow(clippy::unnecessary_wraps)]
fn update_http_builder(
input: &crate::operation::update_deployment_group::UpdateDeploymentGroupInput,
builder: http::request::Builder,
) -> std::result::Result<
http::request::Builder,
aws_smithy_http::operation::error::BuildError,
> {
let mut uri = String::new();
uri_base(input, &mut uri)?;
Ok(builder.method("POST").uri(uri))
}
let mut builder = update_http_builder(&self, http::request::Builder::new())?;
builder = aws_smithy_http::header::set_request_header_if_absent(
builder,
http::header::CONTENT_TYPE,
"application/x-amz-json-1.1",
);
builder = aws_smithy_http::header::set_request_header_if_absent(
builder,
http::header::HeaderName::from_static("x-amz-target"),
"CodeDeploy_20141006.UpdateDeploymentGroup",
);
builder
};
let mut properties = aws_smithy_http::property_bag::SharedPropertyBag::new();
#[allow(clippy::useless_conversion)]
let body = aws_smithy_http::body::SdkBody::from(
crate::protocol_serde::shape_update_deployment_group::ser_update_deployment_group_input(&self)?
);
if let Some(content_length) = body.content_length() {
request = aws_smithy_http::header::set_request_header_if_absent(
request,
http::header::CONTENT_LENGTH,
content_length,
);
}
let request = request.body(body).expect("should be valid request");
let mut request = aws_smithy_http::operation::Request::from_parts(request, properties);
request.properties_mut().insert(endpoint_result);
if let Some(params) = params {
request.properties_mut().insert(params);
}
request
.properties_mut()
.insert(aws_smithy_http::http_versions::DEFAULT_HTTP_VERSION_LIST.clone());
let mut user_agent = aws_http::user_agent::AwsUserAgent::new_from_environment(
aws_types::os_shim_internal::Env::real(),
crate::meta::API_METADATA.clone(),
);
if let Some(app_name) = _config.app_name() {
user_agent = user_agent.with_app_name(app_name.clone());
}
request.properties_mut().insert(user_agent);
let mut signing_config = aws_sig_auth::signer::OperationSigningConfig::default_config();
request.properties_mut().insert(signing_config);
request
.properties_mut()
.insert(aws_types::SigningService::from_static(
_config.signing_service(),
));
if let Some(region) = &_config.region {
request
.properties_mut()
.insert(aws_types::region::SigningRegion::from(region.clone()));
}
if let Some(region) = &_config.region {
request.properties_mut().insert(region.clone());
}
aws_http::auth::set_credentials_cache(
&mut request.properties_mut(),
_config.credentials_cache.clone(),
);
let op = aws_smithy_http::operation::Operation::new(
request,
crate::operation::update_deployment_group::UpdateDeploymentGroup::new(),
)
.with_metadata(aws_smithy_http::operation::Metadata::new(
"UpdateDeploymentGroup",
"codedeploy",
));
let op = op.with_retry_classifier(aws_http::retry::AwsResponseRetryClassifier::new());
Ok(op)
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
#[non_exhaustive]
#[doc(hidden)]
pub struct UpdateDeploymentGroup;
impl UpdateDeploymentGroup {
#[doc(hidden)]
pub fn new() -> Self {
Self
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDeploymentGroup {
type Output = std::result::Result<
crate::operation::update_deployment_group::UpdateDeploymentGroupOutput,
crate::operation::update_deployment_group::UpdateDeploymentGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
let (success, status) = (response.status().is_success(), response.status().as_u16());
let headers = response.headers();
let body = response.body().as_ref();
tracing::debug!(request_id = ?aws_http::request_id::RequestId::request_id(response));
if !success && status != 200 {
crate::protocol_serde::shape_update_deployment_group::de_update_deployment_group_http_error(status, headers, body)
} else {
crate::protocol_serde::shape_update_deployment_group::de_update_deployment_group_http_response(status, headers, body)
}
}
}
#[deprecated(
note = "Operation `*Error/*ErrorKind` types were combined into a single `*Error` enum. The `.kind` field on `*Error` no longer exists and isn't needed anymore (you can just match on the error directly since it's an enum now)."
)]
pub type UpdateDeploymentGroupErrorKind = UpdateDeploymentGroupError;
#[non_exhaustive]
#[derive(std::fmt::Debug)]
pub enum UpdateDeploymentGroupError {
AlarmsLimitExceededException(crate::types::error::AlarmsLimitExceededException),
ApplicationDoesNotExistException(crate::types::error::ApplicationDoesNotExistException),
ApplicationNameRequiredException(crate::types::error::ApplicationNameRequiredException),
DeploymentConfigDoesNotExistException(
crate::types::error::DeploymentConfigDoesNotExistException,
),
DeploymentGroupAlreadyExistsException(
crate::types::error::DeploymentGroupAlreadyExistsException,
),
DeploymentGroupDoesNotExistException(crate::types::error::DeploymentGroupDoesNotExistException),
DeploymentGroupNameRequiredException(crate::types::error::DeploymentGroupNameRequiredException),
EcsServiceMappingLimitExceededException(
crate::types::error::EcsServiceMappingLimitExceededException,
),
InvalidAlarmConfigException(crate::types::error::InvalidAlarmConfigException),
InvalidApplicationNameException(crate::types::error::InvalidApplicationNameException),
InvalidAutoRollbackConfigException(crate::types::error::InvalidAutoRollbackConfigException),
InvalidAutoScalingGroupException(crate::types::error::InvalidAutoScalingGroupException),
InvalidBlueGreenDeploymentConfigurationException(
crate::types::error::InvalidBlueGreenDeploymentConfigurationException,
),
InvalidDeploymentConfigNameException(crate::types::error::InvalidDeploymentConfigNameException),
InvalidDeploymentGroupNameException(crate::types::error::InvalidDeploymentGroupNameException),
InvalidDeploymentStyleException(crate::types::error::InvalidDeploymentStyleException),
InvalidEc2TagCombinationException(crate::types::error::InvalidEc2TagCombinationException),
InvalidEc2TagException(crate::types::error::InvalidEc2TagException),
InvalidEcsServiceException(crate::types::error::InvalidEcsServiceException),
InvalidInputException(crate::types::error::InvalidInputException),
InvalidLoadBalancerInfoException(crate::types::error::InvalidLoadBalancerInfoException),
InvalidOnPremisesTagCombinationException(
crate::types::error::InvalidOnPremisesTagCombinationException,
),
InvalidRoleException(crate::types::error::InvalidRoleException),
InvalidTagException(crate::types::error::InvalidTagException),
InvalidTargetGroupPairException(crate::types::error::InvalidTargetGroupPairException),
InvalidTrafficRoutingConfigurationException(
crate::types::error::InvalidTrafficRoutingConfigurationException,
),
InvalidTriggerConfigException(crate::types::error::InvalidTriggerConfigException),
LifecycleHookLimitExceededException(crate::types::error::LifecycleHookLimitExceededException),
TagSetListLimitExceededException(crate::types::error::TagSetListLimitExceededException),
ThrottlingException(crate::types::error::ThrottlingException),
TriggerTargetsLimitExceededException(crate::types::error::TriggerTargetsLimitExceededException),
Unhandled(aws_smithy_types::error::Unhandled),
}
impl aws_smithy_http::result::CreateUnhandledError for UpdateDeploymentGroupError {
fn create_unhandled_error(
source: Box<dyn std::error::Error + Send + Sync + 'static>,
meta: std::option::Option<aws_smithy_types::error::ErrorMetadata>,
) -> Self {
Self::Unhandled({
let mut builder = aws_smithy_types::error::Unhandled::builder().source(source);
builder.set_meta(meta);
builder.build()
})
}
}
impl std::fmt::Display for UpdateDeploymentGroupError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::AlarmsLimitExceededException(_inner) => _inner.fmt(f),
Self::ApplicationDoesNotExistException(_inner) => _inner.fmt(f),
Self::ApplicationNameRequiredException(_inner) => _inner.fmt(f),
Self::DeploymentConfigDoesNotExistException(_inner) => _inner.fmt(f),
Self::DeploymentGroupAlreadyExistsException(_inner) => _inner.fmt(f),
Self::DeploymentGroupDoesNotExistException(_inner) => _inner.fmt(f),
Self::DeploymentGroupNameRequiredException(_inner) => _inner.fmt(f),
Self::EcsServiceMappingLimitExceededException(_inner) => _inner.fmt(f),
Self::InvalidAlarmConfigException(_inner) => _inner.fmt(f),
Self::InvalidApplicationNameException(_inner) => _inner.fmt(f),
Self::InvalidAutoRollbackConfigException(_inner) => _inner.fmt(f),
Self::InvalidAutoScalingGroupException(_inner) => _inner.fmt(f),
Self::InvalidBlueGreenDeploymentConfigurationException(_inner) => _inner.fmt(f),
Self::InvalidDeploymentConfigNameException(_inner) => _inner.fmt(f),
Self::InvalidDeploymentGroupNameException(_inner) => _inner.fmt(f),
Self::InvalidDeploymentStyleException(_inner) => _inner.fmt(f),
Self::InvalidEc2TagCombinationException(_inner) => _inner.fmt(f),
Self::InvalidEc2TagException(_inner) => _inner.fmt(f),
Self::InvalidEcsServiceException(_inner) => _inner.fmt(f),
Self::InvalidInputException(_inner) => _inner.fmt(f),
Self::InvalidLoadBalancerInfoException(_inner) => _inner.fmt(f),
Self::InvalidOnPremisesTagCombinationException(_inner) => _inner.fmt(f),
Self::InvalidRoleException(_inner) => _inner.fmt(f),
Self::InvalidTagException(_inner) => _inner.fmt(f),
Self::InvalidTargetGroupPairException(_inner) => _inner.fmt(f),
Self::InvalidTrafficRoutingConfigurationException(_inner) => _inner.fmt(f),
Self::InvalidTriggerConfigException(_inner) => _inner.fmt(f),
Self::LifecycleHookLimitExceededException(_inner) => _inner.fmt(f),
Self::TagSetListLimitExceededException(_inner) => _inner.fmt(f),
Self::ThrottlingException(_inner) => _inner.fmt(f),
Self::TriggerTargetsLimitExceededException(_inner) => _inner.fmt(f),
Self::Unhandled(_inner) => _inner.fmt(f),
}
}
}
impl aws_smithy_types::error::metadata::ProvideErrorMetadata for UpdateDeploymentGroupError {
fn meta(&self) -> &aws_smithy_types::error::ErrorMetadata {
match self {
Self::AlarmsLimitExceededException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::ApplicationDoesNotExistException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::ApplicationNameRequiredException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::DeploymentConfigDoesNotExistException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::DeploymentGroupAlreadyExistsException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::DeploymentGroupDoesNotExistException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::DeploymentGroupNameRequiredException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::EcsServiceMappingLimitExceededException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidAlarmConfigException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidApplicationNameException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidAutoRollbackConfigException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidAutoScalingGroupException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidBlueGreenDeploymentConfigurationException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidDeploymentConfigNameException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidDeploymentGroupNameException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidDeploymentStyleException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidEc2TagCombinationException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidEc2TagException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidEcsServiceException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidInputException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidLoadBalancerInfoException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidOnPremisesTagCombinationException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidRoleException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidTagException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidTargetGroupPairException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidTrafficRoutingConfigurationException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::InvalidTriggerConfigException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::LifecycleHookLimitExceededException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::TagSetListLimitExceededException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::ThrottlingException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::TriggerTargetsLimitExceededException(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
Self::Unhandled(_inner) => {
aws_smithy_types::error::metadata::ProvideErrorMetadata::meta(_inner)
}
}
}
}
impl aws_http::request_id::RequestId
for crate::operation::update_deployment_group::UpdateDeploymentGroupError
{
fn request_id(&self) -> Option<&str> {
self.meta().request_id()
}
}
impl aws_smithy_types::retry::ProvideErrorKind for UpdateDeploymentGroupError {
fn code(&self) -> std::option::Option<&str> {
aws_smithy_types::error::metadata::ProvideErrorMetadata::code(self)
}
fn retryable_error_kind(&self) -> std::option::Option<aws_smithy_types::retry::ErrorKind> {
None
}
}
impl UpdateDeploymentGroupError {
pub fn unhandled(err: impl Into<Box<dyn std::error::Error + Send + Sync + 'static>>) -> Self {
Self::Unhandled(
aws_smithy_types::error::Unhandled::builder()
.source(err)
.build(),
)
}
pub fn generic(err: aws_smithy_types::error::ErrorMetadata) -> Self {
Self::Unhandled(
aws_smithy_types::error::Unhandled::builder()
.source(err.clone())
.meta(err)
.build(),
)
}
pub fn meta(&self) -> &aws_smithy_types::error::ErrorMetadata {
use aws_smithy_types::error::metadata::ProvideErrorMetadata;
match self {
Self::AlarmsLimitExceededException(e) => e.meta(),
Self::ApplicationDoesNotExistException(e) => e.meta(),
Self::ApplicationNameRequiredException(e) => e.meta(),
Self::DeploymentConfigDoesNotExistException(e) => e.meta(),
Self::DeploymentGroupAlreadyExistsException(e) => e.meta(),
Self::DeploymentGroupDoesNotExistException(e) => e.meta(),
Self::DeploymentGroupNameRequiredException(e) => e.meta(),
Self::EcsServiceMappingLimitExceededException(e) => e.meta(),
Self::InvalidAlarmConfigException(e) => e.meta(),
Self::InvalidApplicationNameException(e) => e.meta(),
Self::InvalidAutoRollbackConfigException(e) => e.meta(),
Self::InvalidAutoScalingGroupException(e) => e.meta(),
Self::InvalidBlueGreenDeploymentConfigurationException(e) => e.meta(),
Self::InvalidDeploymentConfigNameException(e) => e.meta(),
Self::InvalidDeploymentGroupNameException(e) => e.meta(),
Self::InvalidDeploymentStyleException(e) => e.meta(),
Self::InvalidEc2TagCombinationException(e) => e.meta(),
Self::InvalidEc2TagException(e) => e.meta(),
Self::InvalidEcsServiceException(e) => e.meta(),
Self::InvalidInputException(e) => e.meta(),
Self::InvalidLoadBalancerInfoException(e) => e.meta(),
Self::InvalidOnPremisesTagCombinationException(e) => e.meta(),
Self::InvalidRoleException(e) => e.meta(),
Self::InvalidTagException(e) => e.meta(),
Self::InvalidTargetGroupPairException(e) => e.meta(),
Self::InvalidTrafficRoutingConfigurationException(e) => e.meta(),
Self::InvalidTriggerConfigException(e) => e.meta(),
Self::LifecycleHookLimitExceededException(e) => e.meta(),
Self::TagSetListLimitExceededException(e) => e.meta(),
Self::ThrottlingException(e) => e.meta(),
Self::TriggerTargetsLimitExceededException(e) => e.meta(),
Self::Unhandled(e) => e.meta(),
}
}
pub fn is_alarms_limit_exceeded_exception(&self) -> bool {
matches!(self, Self::AlarmsLimitExceededException(_))
}
pub fn is_application_does_not_exist_exception(&self) -> bool {
matches!(self, Self::ApplicationDoesNotExistException(_))
}
pub fn is_application_name_required_exception(&self) -> bool {
matches!(self, Self::ApplicationNameRequiredException(_))
}
pub fn is_deployment_config_does_not_exist_exception(&self) -> bool {
matches!(self, Self::DeploymentConfigDoesNotExistException(_))
}
pub fn is_deployment_group_already_exists_exception(&self) -> bool {
matches!(self, Self::DeploymentGroupAlreadyExistsException(_))
}
pub fn is_deployment_group_does_not_exist_exception(&self) -> bool {
matches!(self, Self::DeploymentGroupDoesNotExistException(_))
}
pub fn is_deployment_group_name_required_exception(&self) -> bool {
matches!(self, Self::DeploymentGroupNameRequiredException(_))
}
pub fn is_ecs_service_mapping_limit_exceeded_exception(&self) -> bool {
matches!(self, Self::EcsServiceMappingLimitExceededException(_))
}
pub fn is_invalid_alarm_config_exception(&self) -> bool {
matches!(self, Self::InvalidAlarmConfigException(_))
}
pub fn is_invalid_application_name_exception(&self) -> bool {
matches!(self, Self::InvalidApplicationNameException(_))
}
pub fn is_invalid_auto_rollback_config_exception(&self) -> bool {
matches!(self, Self::InvalidAutoRollbackConfigException(_))
}
pub fn is_invalid_auto_scaling_group_exception(&self) -> bool {
matches!(self, Self::InvalidAutoScalingGroupException(_))
}
pub fn is_invalid_blue_green_deployment_configuration_exception(&self) -> bool {
matches!(
self,
Self::InvalidBlueGreenDeploymentConfigurationException(_)
)
}
pub fn is_invalid_deployment_config_name_exception(&self) -> bool {
matches!(self, Self::InvalidDeploymentConfigNameException(_))
}
pub fn is_invalid_deployment_group_name_exception(&self) -> bool {
matches!(self, Self::InvalidDeploymentGroupNameException(_))
}
pub fn is_invalid_deployment_style_exception(&self) -> bool {
matches!(self, Self::InvalidDeploymentStyleException(_))
}
pub fn is_invalid_ec2_tag_combination_exception(&self) -> bool {
matches!(self, Self::InvalidEc2TagCombinationException(_))
}
pub fn is_invalid_ec2_tag_exception(&self) -> bool {
matches!(self, Self::InvalidEc2TagException(_))
}
pub fn is_invalid_ecs_service_exception(&self) -> bool {
matches!(self, Self::InvalidEcsServiceException(_))
}
pub fn is_invalid_input_exception(&self) -> bool {
matches!(self, Self::InvalidInputException(_))
}
pub fn is_invalid_load_balancer_info_exception(&self) -> bool {
matches!(self, Self::InvalidLoadBalancerInfoException(_))
}
pub fn is_invalid_on_premises_tag_combination_exception(&self) -> bool {
matches!(self, Self::InvalidOnPremisesTagCombinationException(_))
}
pub fn is_invalid_role_exception(&self) -> bool {
matches!(self, Self::InvalidRoleException(_))
}
pub fn is_invalid_tag_exception(&self) -> bool {
matches!(self, Self::InvalidTagException(_))
}
pub fn is_invalid_target_group_pair_exception(&self) -> bool {
matches!(self, Self::InvalidTargetGroupPairException(_))
}
pub fn is_invalid_traffic_routing_configuration_exception(&self) -> bool {
matches!(self, Self::InvalidTrafficRoutingConfigurationException(_))
}
pub fn is_invalid_trigger_config_exception(&self) -> bool {
matches!(self, Self::InvalidTriggerConfigException(_))
}
pub fn is_lifecycle_hook_limit_exceeded_exception(&self) -> bool {
matches!(self, Self::LifecycleHookLimitExceededException(_))
}
pub fn is_tag_set_list_limit_exceeded_exception(&self) -> bool {
matches!(self, Self::TagSetListLimitExceededException(_))
}
pub fn is_throttling_exception(&self) -> bool {
matches!(self, Self::ThrottlingException(_))
}
pub fn is_trigger_targets_limit_exceeded_exception(&self) -> bool {
matches!(self, Self::TriggerTargetsLimitExceededException(_))
}
}
impl std::error::Error for UpdateDeploymentGroupError {
fn source(&self) -> std::option::Option<&(dyn std::error::Error + 'static)> {
match self {
Self::AlarmsLimitExceededException(_inner) => Some(_inner),
Self::ApplicationDoesNotExistException(_inner) => Some(_inner),
Self::ApplicationNameRequiredException(_inner) => Some(_inner),
Self::DeploymentConfigDoesNotExistException(_inner) => Some(_inner),
Self::DeploymentGroupAlreadyExistsException(_inner) => Some(_inner),
Self::DeploymentGroupDoesNotExistException(_inner) => Some(_inner),
Self::DeploymentGroupNameRequiredException(_inner) => Some(_inner),
Self::EcsServiceMappingLimitExceededException(_inner) => Some(_inner),
Self::InvalidAlarmConfigException(_inner) => Some(_inner),
Self::InvalidApplicationNameException(_inner) => Some(_inner),
Self::InvalidAutoRollbackConfigException(_inner) => Some(_inner),
Self::InvalidAutoScalingGroupException(_inner) => Some(_inner),
Self::InvalidBlueGreenDeploymentConfigurationException(_inner) => Some(_inner),
Self::InvalidDeploymentConfigNameException(_inner) => Some(_inner),
Self::InvalidDeploymentGroupNameException(_inner) => Some(_inner),
Self::InvalidDeploymentStyleException(_inner) => Some(_inner),
Self::InvalidEc2TagCombinationException(_inner) => Some(_inner),
Self::InvalidEc2TagException(_inner) => Some(_inner),
Self::InvalidEcsServiceException(_inner) => Some(_inner),
Self::InvalidInputException(_inner) => Some(_inner),
Self::InvalidLoadBalancerInfoException(_inner) => Some(_inner),
Self::InvalidOnPremisesTagCombinationException(_inner) => Some(_inner),
Self::InvalidRoleException(_inner) => Some(_inner),
Self::InvalidTagException(_inner) => Some(_inner),
Self::InvalidTargetGroupPairException(_inner) => Some(_inner),
Self::InvalidTrafficRoutingConfigurationException(_inner) => Some(_inner),
Self::InvalidTriggerConfigException(_inner) => Some(_inner),
Self::LifecycleHookLimitExceededException(_inner) => Some(_inner),
Self::TagSetListLimitExceededException(_inner) => Some(_inner),
Self::ThrottlingException(_inner) => Some(_inner),
Self::TriggerTargetsLimitExceededException(_inner) => Some(_inner),
Self::Unhandled(_inner) => Some(_inner),
}
}
}
pub use crate::operation::update_deployment_group::_update_deployment_group_output::UpdateDeploymentGroupOutput;
pub use crate::operation::update_deployment_group::_update_deployment_group_input::UpdateDeploymentGroupInput;
mod _update_deployment_group_input;
mod _update_deployment_group_output;
pub mod builders;