fn states(
    cf: CloudFormationClient,
    stack_name: String,
    resources: bool,
    follow: bool,
) -> Box<dyn Stream<Item = (usize, Vec<ResourceState>), Error = Error> + Send + 'static> {
    if resources {
        Box::new(fetch_resources(cf, stack_name, follow))
    } else {
        Box::new(fetch_events(cf, stack_name, follow))
    }
}
/// Return a stream of cloud formation resoure states,
/// either for a aggregate list of resources for the resource
/// states over time
Return a stream of cloud formation resoure states,
either for a aggregate list of resources for the resource
states over time
Return a stream of cloud formation resoure states either for a aggregate list of resources for the resource states over time
fn states(
    cf: CloudFormationClient,
    stack_name: String,
    resources: bool,
    follow: bool,
) -> Box<dyn Stream<Item = (usize, Vec<ResourceState>), Error = Error> + Send + 'static> {
    if resources {
        Box::new(fetch_resources(cf, stack_name, follow))
    } else {
        Box::new(fetch_events(cf, stack_name, follow))
    }
}
fn states ( cf : CloudFormationClient , stack_name : String , resources : bool , follow : bool , ) -> Box < dyn Stream < Item = ( usize , Vec < ResourceState > ) , Error = Error > + Send + ' static > { if resources { Box :: new ( fetch_resources ( cf , stack_name , follow ) ) } else { Box :: new ( fetch_events ( cf , stack_name , follow ) ) } }
Return a stream of cloud formation resoure states,
either for a aggregate list of resources for the resource
states over time
Return a stream of cloud formation resoure states either for a aggregate list of resources for the resource states over time
cf
CloudFormationClient
stack_name
String
resources
bool
follow
bool
cf
CloudFormationClient
stack_name
String
resources
bool
follow
bool