aws-sdk-opsworks 1.80.0

AWS SDK for AWS OpsWorks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_describe_ecs_clusters_output_output_next_token(
    input: &crate::operation::describe_ecs_clusters::DescribeEcsClustersOutput,
) -> ::std::option::Option<&::std::string::String> {
    let input = match &input.next_token {
        ::std::option::Option::None => return ::std::option::Option::None,
        ::std::option::Option::Some(t) => t,
    };
    ::std::option::Option::Some(input)
}

pub(crate) fn lens_describe_ecs_clusters_output_output_ecs_clusters(
    input: crate::operation::describe_ecs_clusters::DescribeEcsClustersOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::EcsCluster>> {
    let input = input.ecs_clusters?;
    ::std::option::Option::Some(input)
}