aws-sdk-servicequotas 0.24.0

AWS SDK for Service Quotas
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_structure_crate_output_list_aws_default_service_quotas_output_next_token(
    input: &crate::output::ListAwsDefaultServiceQuotasOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_requested_service_quota_change_history_output_next_token(
    input: &crate::output::ListRequestedServiceQuotaChangeHistoryOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_requested_service_quota_change_history_by_quota_output_next_token(
    input: &crate::output::ListRequestedServiceQuotaChangeHistoryByQuotaOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_service_quota_increase_requests_in_template_output_next_token(
    input: &crate::output::ListServiceQuotaIncreaseRequestsInTemplateOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_service_quotas_output_next_token(
    input: &crate::output::ListServiceQuotasOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn reflens_structure_crate_output_list_services_output_next_token(
    input: &crate::output::ListServicesOutput,
) -> std::option::Option<&std::string::String> {
    let input = match &input.next_token {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_aws_default_service_quotas_output_quotas(
    input: crate::output::ListAwsDefaultServiceQuotasOutput,
) -> std::option::Option<std::vec::Vec<crate::model::ServiceQuota>> {
    let input = match input.quotas {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_requested_service_quota_change_history_output_requested_quotas(
    input: crate::output::ListRequestedServiceQuotaChangeHistoryOutput,
) -> std::option::Option<std::vec::Vec<crate::model::RequestedServiceQuotaChange>> {
    let input = match input.requested_quotas {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_requested_service_quota_change_history_by_quota_output_requested_quotas(
    input: crate::output::ListRequestedServiceQuotaChangeHistoryByQuotaOutput,
) -> std::option::Option<std::vec::Vec<crate::model::RequestedServiceQuotaChange>> {
    let input = match input.requested_quotas {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_service_quota_increase_requests_in_template_output_service_quota_increase_request_in_template_list(
    input: crate::output::ListServiceQuotaIncreaseRequestsInTemplateOutput,
) -> std::option::Option<std::vec::Vec<crate::model::ServiceQuotaIncreaseRequestInTemplate>> {
    let input = match input.service_quota_increase_request_in_template_list {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_service_quotas_output_quotas(
    input: crate::output::ListServiceQuotasOutput,
) -> std::option::Option<std::vec::Vec<crate::model::ServiceQuota>> {
    let input = match input.quotas {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}

pub(crate) fn lens_structure_crate_output_list_services_output_services(
    input: crate::output::ListServicesOutput,
) -> std::option::Option<std::vec::Vec<crate::model::ServiceInfo>> {
    let input = match input.services {
        None => return None,
        Some(t) => t,
    };
    Some(input)
}