aws-sdk-agentregistry 1.0.0

AWS SDK for Agent Registry
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_list_discoverable_registry_records_output_output_next_token(
    input: &crate::operation::list_discoverable_registry_records::ListDiscoverableRegistryRecordsOutput,
) -> ::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_list_discoverable_registry_records_output_output_registry_records(
    input: crate::operation::list_discoverable_registry_records::ListDiscoverableRegistryRecordsOutput,
) -> ::std::option::Option<::std::vec::Vec<crate::types::DiscoverableRegistryRecordSummary>> {
    let input = input.registry_records;
    ::std::option::Option::Some(input)
}