-
Notifications
You must be signed in to change notification settings - Fork 246
/
lens.rs
120 lines (109 loc) · 3.82 KB
/
lens.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_structure_crate_output_list_application_revisions_output_next_token(
input: &crate::output::ListApplicationRevisionsOutput,
) -> 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_applications_output_next_token(
input: &crate::output::ListApplicationsOutput,
) -> 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_deployment_configs_output_next_token(
input: &crate::output::ListDeploymentConfigsOutput,
) -> 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_deployment_groups_output_next_token(
input: &crate::output::ListDeploymentGroupsOutput,
) -> 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_deployment_instances_output_next_token(
input: &crate::output::ListDeploymentInstancesOutput,
) -> 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_deployments_output_next_token(
input: &crate::output::ListDeploymentsOutput,
) -> 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_application_revisions_output_revisions(
input: crate::output::ListApplicationRevisionsOutput,
) -> std::option::Option<std::vec::Vec<crate::model::RevisionLocation>> {
let input = match input.revisions {
None => return None,
Some(t) => t,
};
Some(input)
}
pub(crate) fn lens_structure_crate_output_list_applications_output_applications(
input: crate::output::ListApplicationsOutput,
) -> std::option::Option<std::vec::Vec<std::string::String>> {
let input = match input.applications {
None => return None,
Some(t) => t,
};
Some(input)
}
pub(crate) fn lens_structure_crate_output_list_deployment_configs_output_deployment_configs_list(
input: crate::output::ListDeploymentConfigsOutput,
) -> std::option::Option<std::vec::Vec<std::string::String>> {
let input = match input.deployment_configs_list {
None => return None,
Some(t) => t,
};
Some(input)
}
pub(crate) fn lens_structure_crate_output_list_deployment_groups_output_deployment_groups(
input: crate::output::ListDeploymentGroupsOutput,
) -> std::option::Option<std::vec::Vec<std::string::String>> {
let input = match input.deployment_groups {
None => return None,
Some(t) => t,
};
Some(input)
}
pub(crate) fn lens_structure_crate_output_list_deployment_instances_output_instances_list(
input: crate::output::ListDeploymentInstancesOutput,
) -> std::option::Option<std::vec::Vec<std::string::String>> {
let input = match input.instances_list {
None => return None,
Some(t) => t,
};
Some(input)
}
pub(crate) fn lens_structure_crate_output_list_deployments_output_deployments(
input: crate::output::ListDeploymentsOutput,
) -> std::option::Option<std::vec::Vec<std::string::String>> {
let input = match input.deployments {
None => return None,
Some(t) => t,
};
Some(input)
}