/// <p>Creates or updates a scheduled action for an Application Auto Scaling scalable target.</p> <p>Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action until you have registered the resource as a scalable target using <a>RegisterScalableTarget</a>. </p> <p>To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update request.</p> <p>You can view the scheduled actions using <a>DescribeScheduledActions</a>. If you are no longer using a scheduled action, you can delete it using <a>DeleteScheduledAction</a>.</p> <p>Learn more about how to work with scheduled actions in the <a href="https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html">Application Auto Scaling User Guide</a>.</p>
Creates or updates a scheduled action for an Application Auto Scaling scalable target. Each scalable target is identified by a service namespace, resource ID, and scalable dimension. A scheduled action applies to the scalable target identified by those three attributes. You cannot create a scheduled action until you have registered the resource as a scalable target using RegisterScalableTarget.  To update an action, specify its name and the parameters that you want to change. If you don't specify start and end times, the old values are deleted. Any other parameters that you don't specify are not changed by this update request. You can view the scheduled actions using DescribeScheduledActions. If you are no longer using a scheduled action, you can delete it using DeleteScheduledAction. Learn more about how to work with scheduled actions in the Application Auto Scaling User Guide.
Creates or updates a scheduled action for an Application Auto Scaling scalable target . Each scalable target is identified by a service namespace resource ID and scalable dimension . A scheduled action applies to the scalable target identified by those three attributes . You cannot create a scheduled action until you have registered the resource as a scalable target using RegisterScalableTarget . To update an action specify its name and the parameters that you want to change . If you don ' t specify start and end times the old values are deleted . Any other parameters that you don ' t specify are not changed by this update request . You can view the scheduled actions using DescribeScheduledActions . If you are no longer using a scheduled action you can delete it using DeleteScheduledAction . Learn more about how to work with scheduled actions in the Application Auto Scaling User Guide .
fn put_scheduled_action(
        &self,
        input: PutScheduledActionRequest,
    ) -> RusotoFuture<PutScheduledActionResponse, PutScheduledActionError> {
        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.PutScheduledAction");
        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::<PutScheduledActionResponse, _>()
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(PutScheduledActionError::from_response(response))),
                )
            }
        })
    }
fn put_scheduled_action ( & self , input : PutScheduledActionRequest , ) -> RusotoFuture < PutScheduledActionResponse , PutScheduledActionError > { 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 :: < PutScheduledActionResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( PutScheduledActionError :: from_response ( response ) ) ) , ) } } ) }
<p>Creates or updates a scheduled action for an Application Auto Scaling scalable target.</p> <p>Each scalable target is identified by a service namespace, resource ID, and scalable dimension.
<p > Creates or updates a scheduled action for an Application Auto Scaling scalable target . < / p > <p > Each scalable target is identified by a service namespace resource ID and scalable dimension .
&self
input
PutScheduledActionRequest