#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AttachInstances {
_private: (),
}
impl AttachInstances {
pub fn builder() -> crate::input::attach_instances_input::Builder {
crate::input::attach_instances_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AttachInstances {
type Output = std::result::Result<
crate::output::AttachInstancesOutput,
crate::error::AttachInstancesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_attach_instances_error(response)
} else {
crate::operation_deser::parse_attach_instances_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AttachLoadBalancers {
_private: (),
}
impl AttachLoadBalancers {
pub fn builder() -> crate::input::attach_load_balancers_input::Builder {
crate::input::attach_load_balancers_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AttachLoadBalancers {
type Output = std::result::Result<
crate::output::AttachLoadBalancersOutput,
crate::error::AttachLoadBalancersError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_attach_load_balancers_error(response)
} else {
crate::operation_deser::parse_attach_load_balancers_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AttachLoadBalancerTargetGroups {
_private: (),
}
impl AttachLoadBalancerTargetGroups {
pub fn builder() -> crate::input::attach_load_balancer_target_groups_input::Builder {
crate::input::attach_load_balancer_target_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AttachLoadBalancerTargetGroups {
type Output = std::result::Result<
crate::output::AttachLoadBalancerTargetGroupsOutput,
crate::error::AttachLoadBalancerTargetGroupsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_attach_load_balancer_target_groups_error(response)
} else {
crate::operation_deser::parse_attach_load_balancer_target_groups_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AttachTrafficSources {
_private: (),
}
impl AttachTrafficSources {
pub fn builder() -> crate::input::attach_traffic_sources_input::Builder {
crate::input::attach_traffic_sources_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AttachTrafficSources {
type Output = std::result::Result<
crate::output::AttachTrafficSourcesOutput,
crate::error::AttachTrafficSourcesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_attach_traffic_sources_error(response)
} else {
crate::operation_deser::parse_attach_traffic_sources_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct BatchDeleteScheduledAction {
_private: (),
}
impl BatchDeleteScheduledAction {
pub fn builder() -> crate::input::batch_delete_scheduled_action_input::Builder {
crate::input::batch_delete_scheduled_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for BatchDeleteScheduledAction {
type Output = std::result::Result<
crate::output::BatchDeleteScheduledActionOutput,
crate::error::BatchDeleteScheduledActionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_batch_delete_scheduled_action_error(response)
} else {
crate::operation_deser::parse_batch_delete_scheduled_action_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct BatchPutScheduledUpdateGroupAction {
_private: (),
}
impl BatchPutScheduledUpdateGroupAction {
pub fn builder() -> crate::input::batch_put_scheduled_update_group_action_input::Builder {
crate::input::batch_put_scheduled_update_group_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for BatchPutScheduledUpdateGroupAction {
type Output = std::result::Result<
crate::output::BatchPutScheduledUpdateGroupActionOutput,
crate::error::BatchPutScheduledUpdateGroupActionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_batch_put_scheduled_update_group_action_error(response)
} else {
crate::operation_deser::parse_batch_put_scheduled_update_group_action_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelInstanceRefresh {
_private: (),
}
impl CancelInstanceRefresh {
pub fn builder() -> crate::input::cancel_instance_refresh_input::Builder {
crate::input::cancel_instance_refresh_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelInstanceRefresh {
type Output = std::result::Result<
crate::output::CancelInstanceRefreshOutput,
crate::error::CancelInstanceRefreshError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_cancel_instance_refresh_error(response)
} else {
crate::operation_deser::parse_cancel_instance_refresh_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CompleteLifecycleAction {
_private: (),
}
impl CompleteLifecycleAction {
pub fn builder() -> crate::input::complete_lifecycle_action_input::Builder {
crate::input::complete_lifecycle_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CompleteLifecycleAction {
type Output = std::result::Result<
crate::output::CompleteLifecycleActionOutput,
crate::error::CompleteLifecycleActionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_complete_lifecycle_action_error(response)
} else {
crate::operation_deser::parse_complete_lifecycle_action_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateAutoScalingGroup {
_private: (),
}
impl CreateAutoScalingGroup {
pub fn builder() -> crate::input::create_auto_scaling_group_input::Builder {
crate::input::create_auto_scaling_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateAutoScalingGroup {
type Output = std::result::Result<
crate::output::CreateAutoScalingGroupOutput,
crate::error::CreateAutoScalingGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_auto_scaling_group_error(response)
} else {
crate::operation_deser::parse_create_auto_scaling_group_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLaunchConfiguration {
_private: (),
}
impl CreateLaunchConfiguration {
pub fn builder() -> crate::input::create_launch_configuration_input::Builder {
crate::input::create_launch_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLaunchConfiguration {
type Output = std::result::Result<
crate::output::CreateLaunchConfigurationOutput,
crate::error::CreateLaunchConfigurationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_launch_configuration_error(response)
} else {
crate::operation_deser::parse_create_launch_configuration_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateOrUpdateTags {
_private: (),
}
impl CreateOrUpdateTags {
pub fn builder() -> crate::input::create_or_update_tags_input::Builder {
crate::input::create_or_update_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateOrUpdateTags {
type Output = std::result::Result<
crate::output::CreateOrUpdateTagsOutput,
crate::error::CreateOrUpdateTagsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_or_update_tags_error(response)
} else {
crate::operation_deser::parse_create_or_update_tags_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteAutoScalingGroup {
_private: (),
}
impl DeleteAutoScalingGroup {
pub fn builder() -> crate::input::delete_auto_scaling_group_input::Builder {
crate::input::delete_auto_scaling_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteAutoScalingGroup {
type Output = std::result::Result<
crate::output::DeleteAutoScalingGroupOutput,
crate::error::DeleteAutoScalingGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_auto_scaling_group_error(response)
} else {
crate::operation_deser::parse_delete_auto_scaling_group_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteLaunchConfiguration {
_private: (),
}
impl DeleteLaunchConfiguration {
pub fn builder() -> crate::input::delete_launch_configuration_input::Builder {
crate::input::delete_launch_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteLaunchConfiguration {
type Output = std::result::Result<
crate::output::DeleteLaunchConfigurationOutput,
crate::error::DeleteLaunchConfigurationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_launch_configuration_error(response)
} else {
crate::operation_deser::parse_delete_launch_configuration_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteLifecycleHook {
_private: (),
}
impl DeleteLifecycleHook {
pub fn builder() -> crate::input::delete_lifecycle_hook_input::Builder {
crate::input::delete_lifecycle_hook_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteLifecycleHook {
type Output = std::result::Result<
crate::output::DeleteLifecycleHookOutput,
crate::error::DeleteLifecycleHookError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_lifecycle_hook_error(response)
} else {
crate::operation_deser::parse_delete_lifecycle_hook_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteNotificationConfiguration {
_private: (),
}
impl DeleteNotificationConfiguration {
pub fn builder() -> crate::input::delete_notification_configuration_input::Builder {
crate::input::delete_notification_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteNotificationConfiguration {
type Output = std::result::Result<
crate::output::DeleteNotificationConfigurationOutput,
crate::error::DeleteNotificationConfigurationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_notification_configuration_error(response)
} else {
crate::operation_deser::parse_delete_notification_configuration_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeletePolicy {
_private: (),
}
impl DeletePolicy {
pub fn builder() -> crate::input::delete_policy_input::Builder {
crate::input::delete_policy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeletePolicy {
type Output =
std::result::Result<crate::output::DeletePolicyOutput, crate::error::DeletePolicyError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_policy_error(response)
} else {
crate::operation_deser::parse_delete_policy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteScheduledAction {
_private: (),
}
impl DeleteScheduledAction {
pub fn builder() -> crate::input::delete_scheduled_action_input::Builder {
crate::input::delete_scheduled_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteScheduledAction {
type Output = std::result::Result<
crate::output::DeleteScheduledActionOutput,
crate::error::DeleteScheduledActionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_scheduled_action_error(response)
} else {
crate::operation_deser::parse_delete_scheduled_action_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteTags {
_private: (),
}
impl DeleteTags {
pub fn builder() -> crate::input::delete_tags_input::Builder {
crate::input::delete_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTags {
type Output =
std::result::Result<crate::output::DeleteTagsOutput, crate::error::DeleteTagsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_tags_error(response)
} else {
crate::operation_deser::parse_delete_tags_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteWarmPool {
_private: (),
}
impl DeleteWarmPool {
pub fn builder() -> crate::input::delete_warm_pool_input::Builder {
crate::input::delete_warm_pool_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteWarmPool {
type Output =
std::result::Result<crate::output::DeleteWarmPoolOutput, crate::error::DeleteWarmPoolError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_warm_pool_error(response)
} else {
crate::operation_deser::parse_delete_warm_pool_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAccountLimits {
_private: (),
}
impl DescribeAccountLimits {
pub fn builder() -> crate::input::describe_account_limits_input::Builder {
crate::input::describe_account_limits_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAccountLimits {
type Output = std::result::Result<
crate::output::DescribeAccountLimitsOutput,
crate::error::DescribeAccountLimitsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_account_limits_error(response)
} else {
crate::operation_deser::parse_describe_account_limits_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAdjustmentTypes {
_private: (),
}
impl DescribeAdjustmentTypes {
pub fn builder() -> crate::input::describe_adjustment_types_input::Builder {
crate::input::describe_adjustment_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAdjustmentTypes {
type Output = std::result::Result<
crate::output::DescribeAdjustmentTypesOutput,
crate::error::DescribeAdjustmentTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_adjustment_types_error(response)
} else {
crate::operation_deser::parse_describe_adjustment_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAutoScalingGroups {
_private: (),
}
impl DescribeAutoScalingGroups {
pub fn builder() -> crate::input::describe_auto_scaling_groups_input::Builder {
crate::input::describe_auto_scaling_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAutoScalingGroups {
type Output = std::result::Result<
crate::output::DescribeAutoScalingGroupsOutput,
crate::error::DescribeAutoScalingGroupsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_auto_scaling_groups_error(response)
} else {
crate::operation_deser::parse_describe_auto_scaling_groups_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAutoScalingInstances {
_private: (),
}
impl DescribeAutoScalingInstances {
pub fn builder() -> crate::input::describe_auto_scaling_instances_input::Builder {
crate::input::describe_auto_scaling_instances_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAutoScalingInstances {
type Output = std::result::Result<
crate::output::DescribeAutoScalingInstancesOutput,
crate::error::DescribeAutoScalingInstancesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_auto_scaling_instances_error(response)
} else {
crate::operation_deser::parse_describe_auto_scaling_instances_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAutoScalingNotificationTypes {
_private: (),
}
impl DescribeAutoScalingNotificationTypes {
pub fn builder() -> crate::input::describe_auto_scaling_notification_types_input::Builder {
crate::input::describe_auto_scaling_notification_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAutoScalingNotificationTypes {
type Output = std::result::Result<
crate::output::DescribeAutoScalingNotificationTypesOutput,
crate::error::DescribeAutoScalingNotificationTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_auto_scaling_notification_types_error(response)
} else {
crate::operation_deser::parse_describe_auto_scaling_notification_types_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeInstanceRefreshes {
_private: (),
}
impl DescribeInstanceRefreshes {
pub fn builder() -> crate::input::describe_instance_refreshes_input::Builder {
crate::input::describe_instance_refreshes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeInstanceRefreshes {
type Output = std::result::Result<
crate::output::DescribeInstanceRefreshesOutput,
crate::error::DescribeInstanceRefreshesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_instance_refreshes_error(response)
} else {
crate::operation_deser::parse_describe_instance_refreshes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLaunchConfigurations {
_private: (),
}
impl DescribeLaunchConfigurations {
pub fn builder() -> crate::input::describe_launch_configurations_input::Builder {
crate::input::describe_launch_configurations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLaunchConfigurations {
type Output = std::result::Result<
crate::output::DescribeLaunchConfigurationsOutput,
crate::error::DescribeLaunchConfigurationsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_launch_configurations_error(response)
} else {
crate::operation_deser::parse_describe_launch_configurations_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLifecycleHooks {
_private: (),
}
impl DescribeLifecycleHooks {
pub fn builder() -> crate::input::describe_lifecycle_hooks_input::Builder {
crate::input::describe_lifecycle_hooks_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLifecycleHooks {
type Output = std::result::Result<
crate::output::DescribeLifecycleHooksOutput,
crate::error::DescribeLifecycleHooksError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_lifecycle_hooks_error(response)
} else {
crate::operation_deser::parse_describe_lifecycle_hooks_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLifecycleHookTypes {
_private: (),
}
impl DescribeLifecycleHookTypes {
pub fn builder() -> crate::input::describe_lifecycle_hook_types_input::Builder {
crate::input::describe_lifecycle_hook_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLifecycleHookTypes {
type Output = std::result::Result<
crate::output::DescribeLifecycleHookTypesOutput,
crate::error::DescribeLifecycleHookTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_lifecycle_hook_types_error(response)
} else {
crate::operation_deser::parse_describe_lifecycle_hook_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLoadBalancers {
_private: (),
}
impl DescribeLoadBalancers {
pub fn builder() -> crate::input::describe_load_balancers_input::Builder {
crate::input::describe_load_balancers_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLoadBalancers {
type Output = std::result::Result<
crate::output::DescribeLoadBalancersOutput,
crate::error::DescribeLoadBalancersError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_load_balancers_error(response)
} else {
crate::operation_deser::parse_describe_load_balancers_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLoadBalancerTargetGroups {
_private: (),
}
impl DescribeLoadBalancerTargetGroups {
pub fn builder() -> crate::input::describe_load_balancer_target_groups_input::Builder {
crate::input::describe_load_balancer_target_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLoadBalancerTargetGroups {
type Output = std::result::Result<
crate::output::DescribeLoadBalancerTargetGroupsOutput,
crate::error::DescribeLoadBalancerTargetGroupsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_load_balancer_target_groups_error(response)
} else {
crate::operation_deser::parse_describe_load_balancer_target_groups_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeMetricCollectionTypes {
_private: (),
}
impl DescribeMetricCollectionTypes {
pub fn builder() -> crate::input::describe_metric_collection_types_input::Builder {
crate::input::describe_metric_collection_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeMetricCollectionTypes {
type Output = std::result::Result<
crate::output::DescribeMetricCollectionTypesOutput,
crate::error::DescribeMetricCollectionTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_metric_collection_types_error(response)
} else {
crate::operation_deser::parse_describe_metric_collection_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeNotificationConfigurations {
_private: (),
}
impl DescribeNotificationConfigurations {
pub fn builder() -> crate::input::describe_notification_configurations_input::Builder {
crate::input::describe_notification_configurations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeNotificationConfigurations {
type Output = std::result::Result<
crate::output::DescribeNotificationConfigurationsOutput,
crate::error::DescribeNotificationConfigurationsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_notification_configurations_error(response)
} else {
crate::operation_deser::parse_describe_notification_configurations_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribePolicies {
_private: (),
}
impl DescribePolicies {
pub fn builder() -> crate::input::describe_policies_input::Builder {
crate::input::describe_policies_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribePolicies {
type Output = std::result::Result<
crate::output::DescribePoliciesOutput,
crate::error::DescribePoliciesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_policies_error(response)
} else {
crate::operation_deser::parse_describe_policies_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeScalingActivities {
_private: (),
}
impl DescribeScalingActivities {
pub fn builder() -> crate::input::describe_scaling_activities_input::Builder {
crate::input::describe_scaling_activities_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeScalingActivities {
type Output = std::result::Result<
crate::output::DescribeScalingActivitiesOutput,
crate::error::DescribeScalingActivitiesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_scaling_activities_error(response)
} else {
crate::operation_deser::parse_describe_scaling_activities_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeScalingProcessTypes {
_private: (),
}
impl DescribeScalingProcessTypes {
pub fn builder() -> crate::input::describe_scaling_process_types_input::Builder {
crate::input::describe_scaling_process_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeScalingProcessTypes {
type Output = std::result::Result<
crate::output::DescribeScalingProcessTypesOutput,
crate::error::DescribeScalingProcessTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_scaling_process_types_error(response)
} else {
crate::operation_deser::parse_describe_scaling_process_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeScheduledActions {
_private: (),
}
impl DescribeScheduledActions {
pub fn builder() -> crate::input::describe_scheduled_actions_input::Builder {
crate::input::describe_scheduled_actions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeScheduledActions {
type Output = std::result::Result<
crate::output::DescribeScheduledActionsOutput,
crate::error::DescribeScheduledActionsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_scheduled_actions_error(response)
} else {
crate::operation_deser::parse_describe_scheduled_actions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTags {
_private: (),
}
impl DescribeTags {
pub fn builder() -> crate::input::describe_tags_input::Builder {
crate::input::describe_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTags {
type Output =
std::result::Result<crate::output::DescribeTagsOutput, crate::error::DescribeTagsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_tags_error(response)
} else {
crate::operation_deser::parse_describe_tags_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTerminationPolicyTypes {
_private: (),
}
impl DescribeTerminationPolicyTypes {
pub fn builder() -> crate::input::describe_termination_policy_types_input::Builder {
crate::input::describe_termination_policy_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTerminationPolicyTypes {
type Output = std::result::Result<
crate::output::DescribeTerminationPolicyTypesOutput,
crate::error::DescribeTerminationPolicyTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_termination_policy_types_error(response)
} else {
crate::operation_deser::parse_describe_termination_policy_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTrafficSources {
_private: (),
}
impl DescribeTrafficSources {
pub fn builder() -> crate::input::describe_traffic_sources_input::Builder {
crate::input::describe_traffic_sources_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTrafficSources {
type Output = std::result::Result<
crate::output::DescribeTrafficSourcesOutput,
crate::error::DescribeTrafficSourcesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_traffic_sources_error(response)
} else {
crate::operation_deser::parse_describe_traffic_sources_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeWarmPool {
_private: (),
}
impl DescribeWarmPool {
pub fn builder() -> crate::input::describe_warm_pool_input::Builder {
crate::input::describe_warm_pool_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeWarmPool {
type Output = std::result::Result<
crate::output::DescribeWarmPoolOutput,
crate::error::DescribeWarmPoolError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_warm_pool_error(response)
} else {
crate::operation_deser::parse_describe_warm_pool_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DetachInstances {
_private: (),
}
impl DetachInstances {
pub fn builder() -> crate::input::detach_instances_input::Builder {
crate::input::detach_instances_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DetachInstances {
type Output = std::result::Result<
crate::output::DetachInstancesOutput,
crate::error::DetachInstancesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_detach_instances_error(response)
} else {
crate::operation_deser::parse_detach_instances_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DetachLoadBalancers {
_private: (),
}
impl DetachLoadBalancers {
pub fn builder() -> crate::input::detach_load_balancers_input::Builder {
crate::input::detach_load_balancers_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DetachLoadBalancers {
type Output = std::result::Result<
crate::output::DetachLoadBalancersOutput,
crate::error::DetachLoadBalancersError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_detach_load_balancers_error(response)
} else {
crate::operation_deser::parse_detach_load_balancers_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DetachLoadBalancerTargetGroups {
_private: (),
}
impl DetachLoadBalancerTargetGroups {
pub fn builder() -> crate::input::detach_load_balancer_target_groups_input::Builder {
crate::input::detach_load_balancer_target_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DetachLoadBalancerTargetGroups {
type Output = std::result::Result<
crate::output::DetachLoadBalancerTargetGroupsOutput,
crate::error::DetachLoadBalancerTargetGroupsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_detach_load_balancer_target_groups_error(response)
} else {
crate::operation_deser::parse_detach_load_balancer_target_groups_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DetachTrafficSources {
_private: (),
}
impl DetachTrafficSources {
pub fn builder() -> crate::input::detach_traffic_sources_input::Builder {
crate::input::detach_traffic_sources_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DetachTrafficSources {
type Output = std::result::Result<
crate::output::DetachTrafficSourcesOutput,
crate::error::DetachTrafficSourcesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_detach_traffic_sources_error(response)
} else {
crate::operation_deser::parse_detach_traffic_sources_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisableMetricsCollection {
_private: (),
}
impl DisableMetricsCollection {
pub fn builder() -> crate::input::disable_metrics_collection_input::Builder {
crate::input::disable_metrics_collection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableMetricsCollection {
type Output = std::result::Result<
crate::output::DisableMetricsCollectionOutput,
crate::error::DisableMetricsCollectionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_disable_metrics_collection_error(response)
} else {
crate::operation_deser::parse_disable_metrics_collection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct EnableMetricsCollection {
_private: (),
}
impl EnableMetricsCollection {
pub fn builder() -> crate::input::enable_metrics_collection_input::Builder {
crate::input::enable_metrics_collection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnableMetricsCollection {
type Output = std::result::Result<
crate::output::EnableMetricsCollectionOutput,
crate::error::EnableMetricsCollectionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_enable_metrics_collection_error(response)
} else {
crate::operation_deser::parse_enable_metrics_collection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct EnterStandby {
_private: (),
}
impl EnterStandby {
pub fn builder() -> crate::input::enter_standby_input::Builder {
crate::input::enter_standby_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnterStandby {
type Output =
std::result::Result<crate::output::EnterStandbyOutput, crate::error::EnterStandbyError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_enter_standby_error(response)
} else {
crate::operation_deser::parse_enter_standby_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ExecutePolicy {
_private: (),
}
impl ExecutePolicy {
pub fn builder() -> crate::input::execute_policy_input::Builder {
crate::input::execute_policy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ExecutePolicy {
type Output =
std::result::Result<crate::output::ExecutePolicyOutput, crate::error::ExecutePolicyError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_execute_policy_error(response)
} else {
crate::operation_deser::parse_execute_policy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ExitStandby {
_private: (),
}
impl ExitStandby {
pub fn builder() -> crate::input::exit_standby_input::Builder {
crate::input::exit_standby_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ExitStandby {
type Output =
std::result::Result<crate::output::ExitStandbyOutput, crate::error::ExitStandbyError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_exit_standby_error(response)
} else {
crate::operation_deser::parse_exit_standby_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetPredictiveScalingForecast {
_private: (),
}
impl GetPredictiveScalingForecast {
pub fn builder() -> crate::input::get_predictive_scaling_forecast_input::Builder {
crate::input::get_predictive_scaling_forecast_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetPredictiveScalingForecast {
type Output = std::result::Result<
crate::output::GetPredictiveScalingForecastOutput,
crate::error::GetPredictiveScalingForecastError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_get_predictive_scaling_forecast_error(response)
} else {
crate::operation_deser::parse_get_predictive_scaling_forecast_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutLifecycleHook {
_private: (),
}
impl PutLifecycleHook {
pub fn builder() -> crate::input::put_lifecycle_hook_input::Builder {
crate::input::put_lifecycle_hook_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutLifecycleHook {
type Output = std::result::Result<
crate::output::PutLifecycleHookOutput,
crate::error::PutLifecycleHookError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_lifecycle_hook_error(response)
} else {
crate::operation_deser::parse_put_lifecycle_hook_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutNotificationConfiguration {
_private: (),
}
impl PutNotificationConfiguration {
pub fn builder() -> crate::input::put_notification_configuration_input::Builder {
crate::input::put_notification_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutNotificationConfiguration {
type Output = std::result::Result<
crate::output::PutNotificationConfigurationOutput,
crate::error::PutNotificationConfigurationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_notification_configuration_error(response)
} else {
crate::operation_deser::parse_put_notification_configuration_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutScalingPolicy {
_private: (),
}
impl PutScalingPolicy {
pub fn builder() -> crate::input::put_scaling_policy_input::Builder {
crate::input::put_scaling_policy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutScalingPolicy {
type Output = std::result::Result<
crate::output::PutScalingPolicyOutput,
crate::error::PutScalingPolicyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_scaling_policy_error(response)
} else {
crate::operation_deser::parse_put_scaling_policy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutScheduledUpdateGroupAction {
_private: (),
}
impl PutScheduledUpdateGroupAction {
pub fn builder() -> crate::input::put_scheduled_update_group_action_input::Builder {
crate::input::put_scheduled_update_group_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutScheduledUpdateGroupAction {
type Output = std::result::Result<
crate::output::PutScheduledUpdateGroupActionOutput,
crate::error::PutScheduledUpdateGroupActionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_scheduled_update_group_action_error(response)
} else {
crate::operation_deser::parse_put_scheduled_update_group_action_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutWarmPool {
_private: (),
}
impl PutWarmPool {
pub fn builder() -> crate::input::put_warm_pool_input::Builder {
crate::input::put_warm_pool_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutWarmPool {
type Output =
std::result::Result<crate::output::PutWarmPoolOutput, crate::error::PutWarmPoolError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_warm_pool_error(response)
} else {
crate::operation_deser::parse_put_warm_pool_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RecordLifecycleActionHeartbeat {
_private: (),
}
impl RecordLifecycleActionHeartbeat {
pub fn builder() -> crate::input::record_lifecycle_action_heartbeat_input::Builder {
crate::input::record_lifecycle_action_heartbeat_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RecordLifecycleActionHeartbeat {
type Output = std::result::Result<
crate::output::RecordLifecycleActionHeartbeatOutput,
crate::error::RecordLifecycleActionHeartbeatError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_record_lifecycle_action_heartbeat_error(response)
} else {
crate::operation_deser::parse_record_lifecycle_action_heartbeat_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ResumeProcesses {
_private: (),
}
impl ResumeProcesses {
pub fn builder() -> crate::input::resume_processes_input::Builder {
crate::input::resume_processes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResumeProcesses {
type Output = std::result::Result<
crate::output::ResumeProcessesOutput,
crate::error::ResumeProcessesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_resume_processes_error(response)
} else {
crate::operation_deser::parse_resume_processes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SetDesiredCapacity {
_private: (),
}
impl SetDesiredCapacity {
pub fn builder() -> crate::input::set_desired_capacity_input::Builder {
crate::input::set_desired_capacity_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SetDesiredCapacity {
type Output = std::result::Result<
crate::output::SetDesiredCapacityOutput,
crate::error::SetDesiredCapacityError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_set_desired_capacity_error(response)
} else {
crate::operation_deser::parse_set_desired_capacity_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SetInstanceHealth {
_private: (),
}
impl SetInstanceHealth {
pub fn builder() -> crate::input::set_instance_health_input::Builder {
crate::input::set_instance_health_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SetInstanceHealth {
type Output = std::result::Result<
crate::output::SetInstanceHealthOutput,
crate::error::SetInstanceHealthError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_set_instance_health_error(response)
} else {
crate::operation_deser::parse_set_instance_health_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SetInstanceProtection {
_private: (),
}
impl SetInstanceProtection {
pub fn builder() -> crate::input::set_instance_protection_input::Builder {
crate::input::set_instance_protection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SetInstanceProtection {
type Output = std::result::Result<
crate::output::SetInstanceProtectionOutput,
crate::error::SetInstanceProtectionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_set_instance_protection_error(response)
} else {
crate::operation_deser::parse_set_instance_protection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct StartInstanceRefresh {
_private: (),
}
impl StartInstanceRefresh {
pub fn builder() -> crate::input::start_instance_refresh_input::Builder {
crate::input::start_instance_refresh_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for StartInstanceRefresh {
type Output = std::result::Result<
crate::output::StartInstanceRefreshOutput,
crate::error::StartInstanceRefreshError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_start_instance_refresh_error(response)
} else {
crate::operation_deser::parse_start_instance_refresh_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SuspendProcesses {
_private: (),
}
impl SuspendProcesses {
pub fn builder() -> crate::input::suspend_processes_input::Builder {
crate::input::suspend_processes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SuspendProcesses {
type Output = std::result::Result<
crate::output::SuspendProcessesOutput,
crate::error::SuspendProcessesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_suspend_processes_error(response)
} else {
crate::operation_deser::parse_suspend_processes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct TerminateInstanceInAutoScalingGroup {
_private: (),
}
impl TerminateInstanceInAutoScalingGroup {
pub fn builder() -> crate::input::terminate_instance_in_auto_scaling_group_input::Builder {
crate::input::terminate_instance_in_auto_scaling_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for TerminateInstanceInAutoScalingGroup {
type Output = std::result::Result<
crate::output::TerminateInstanceInAutoScalingGroupOutput,
crate::error::TerminateInstanceInAutoScalingGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_terminate_instance_in_auto_scaling_group_error(response)
} else {
crate::operation_deser::parse_terminate_instance_in_auto_scaling_group_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateAutoScalingGroup {
_private: (),
}
impl UpdateAutoScalingGroup {
pub fn builder() -> crate::input::update_auto_scaling_group_input::Builder {
crate::input::update_auto_scaling_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateAutoScalingGroup {
type Output = std::result::Result<
crate::output::UpdateAutoScalingGroupOutput,
crate::error::UpdateAutoScalingGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_auto_scaling_group_error(response)
} else {
crate::operation_deser::parse_update_auto_scaling_group_response(response)
}
}
}
pub mod customize;