/// <p>Deletes the specified scheduled action for an Application Auto Scaling scalable target.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html#delete-scheduled-action">Delete a Scheduled Action</a> in the <i>Application Auto Scaling User Guide</i>.</p>
Deletes the specified scheduled action for an Application Auto Scaling scalable target. For more information, see Delete a Scheduled Action in the Application Auto Scaling User Guide.
Deletes the specified scheduled action for an Application Auto Scaling scalable target . For more information see Delete a Scheduled Action in the Application Auto Scaling User Guide .
fn delete_scheduled_action(
        &self,
        input: DeleteScheduledActionRequest,
    ) -> RusotoFuture<DeleteScheduledActionResponse, DeleteScheduledActionError> {
        let mut request = SignedRequest::new("POST", "application-autoscaling", &self.region, "/");
        request.set_endpoint_prefix("autoscaling".to_string());
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header(
            "x-amz-target",
            "AnyScaleFrontendService.DeleteScheduledAction",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<DeleteScheduledActionResponse, _>()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(DeleteScheduledActionError::from_response(response))
                    }),
                )
            }
        })
    }
fn delete_scheduled_action ( & self , input : DeleteScheduledActionRequest , ) -> RusotoFuture < DeleteScheduledActionResponse , DeleteScheduledActionError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_endpoint_prefix ( " " . to_string ( ) ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " , ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < DeleteScheduledActionResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DeleteScheduledActionError :: from_response ( response ) ) } ) , ) } } ) }
<p>Deletes the specified scheduled action for an Application Auto Scaling scalable target.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html#delete-scheduled-action">Delete a Scheduled Action</a> in the <i>Application Auto Scaling User Guide</i>.</p>
<p > Deletes the specified scheduled action for an Application Auto Scaling scalable target . < / p > <p > For more information see <a href = " https : // docs . aws . amazon . com / autoscaling / application / userguide / application - auto - scaling - scheduled - scaling . html#delete - scheduled - action " > Delete a Scheduled Action< / a > in the <i > Application Auto Scaling User Guide< / i > . < / p >
&self
input
DeleteScheduledActionRequest