1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub(crate) fn type_erase_result<O, E>(
|
3 - | result: ::std::result::Result<O, E>,
|
4 - | ) -> ::std::result::Result<
|
5 - | ::aws_smithy_runtime_api::client::interceptors::context::Output,
|
6 - | ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError<::aws_smithy_runtime_api::client::interceptors::context::Error>,
|
7 - | >
|
8 - | where
|
9 - | O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
|
10 - | E: ::std::error::Error + std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
|
11 - | {
|
12 - | result
|
13 - | .map(|output| ::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
|
14 - | .map_err(|error| ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(error))
|
15 - | .map_err(::std::convert::Into::into)
|
16 - | }
|
17 - |
|
18 2 | pub fn parse_http_error_metadata(
|
19 3 | _response_status: u16,
|
20 4 | response_headers: &::aws_smithy_runtime_api::http::Headers,
|
21 5 | response_body: &[u8],
|
22 6 | ) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
|
23 7 | crate::json_errors::parse_error_metadata(response_body, response_headers)
|
24 8 | }
|
25 - |
|
26 - | pub(crate) mod shape_create_access_token;
|
27 - |
|
28 - | pub(crate) mod shape_create_dev_environment;
|
29 - |
|
30 - | pub(crate) mod shape_create_project;
|
31 - |
|
32 - | pub(crate) mod shape_create_source_repository;
|
33 - |
|
34 - | pub(crate) mod shape_create_source_repository_branch;
|
35 - |
|
36 - | pub(crate) mod shape_delete_access_token;
|
37 - |
|
38 - | pub(crate) mod shape_delete_dev_environment;
|
39 - |
|
40 - | pub(crate) mod shape_delete_project;
|
41 - |
|
42 - | pub(crate) mod shape_delete_source_repository;
|
43 - |
|
44 - | pub(crate) mod shape_delete_space;
|
45 - |
|
46 - | pub(crate) mod shape_get_dev_environment;
|
47 - |
|
48 - | pub(crate) mod shape_get_project;
|
49 - |
|
50 - | pub(crate) mod shape_get_source_repository;
|
51 - |
|
52 - | pub(crate) mod shape_get_source_repository_clone_urls;
|
53 - |
|
54 - | pub(crate) mod shape_get_space;
|
55 - |
|
56 - | pub(crate) mod shape_get_subscription;
|
57 - |
|
58 - | pub(crate) mod shape_get_user_details;
|
59 - |
|
60 - | pub(crate) mod shape_get_workflow;
|
61 - |
|
62 - | pub(crate) mod shape_get_workflow_run;
|
63 - |
|
64 - | pub(crate) mod shape_list_access_tokens;
|
65 - |
|
66 - | pub(crate) mod shape_list_dev_environment_sessions;
|
67 - |
|
68 - | pub(crate) mod shape_list_dev_environments;
|
69 - |
|
70 - | pub(crate) mod shape_list_event_logs;
|
71 - |
|
72 - | pub(crate) mod shape_list_projects;
|
73 - |
|
74 - | pub(crate) mod shape_list_source_repositories;
|
75 - |
|
76 - | pub(crate) mod shape_list_source_repository_branches;
|
77 - |
|
78 - | pub(crate) mod shape_list_spaces;
|
79 - |
|
80 - | pub(crate) mod shape_list_workflow_runs;
|
81 - |
|
82 - | pub(crate) mod shape_list_workflows;
|
83 - |
|
84 - | pub(crate) mod shape_start_dev_environment;
|
85 - |
|
86 - | pub(crate) mod shape_start_dev_environment_session;
|
87 - |
|
88 - | pub(crate) mod shape_start_workflow_run;
|
89 - |
|
90 - | pub(crate) mod shape_stop_dev_environment;
|
91 - |
|
92 - | pub(crate) mod shape_stop_dev_environment_session;
|
93 - |
|
94 - | pub(crate) mod shape_update_dev_environment;
|
95 - |
|
96 - | pub(crate) mod shape_update_project;
|
97 - |
|
98 - | pub(crate) mod shape_update_space;
|
99 - |
|
100 - | pub(crate) mod shape_verify_session;
|
101 - |
|
102 - | pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
|
103 - | if data.is_empty() {
|
104 - | b"{}"
|
105 - | } else {
|
106 - | data
|
107 - | }
|
108 - | }
|
109 - |
|
110 - | pub(crate) mod shape_access_denied_exception;
|
111 - |
|
112 - | pub(crate) mod shape_conflict_exception;
|
113 - |
|
114 - | pub(crate) mod shape_create_access_token_input;
|
115 - |
|
116 - | pub(crate) mod shape_create_dev_environment_input;
|
117 - |
|
118 - | pub(crate) mod shape_create_project_input;
|
119 - |
|
120 - | pub(crate) mod shape_create_source_repository_branch_input;
|
121 - |
|
122 - | pub(crate) mod shape_create_source_repository_input;
|
123 - |
|
124 - | pub(crate) mod shape_list_access_tokens_input;
|
125 - |
|
126 - | pub(crate) mod shape_list_dev_environment_sessions_input;
|
127 - |
|
128 - | pub(crate) mod shape_list_dev_environments_input;
|
129 - |
|
130 - | pub(crate) mod shape_list_event_logs_input;
|
131 - |
|
132 - | pub(crate) mod shape_list_projects_input;
|
133 - |
|
134 - | pub(crate) mod shape_list_source_repositories_input;
|
135 - |
|
136 - | pub(crate) mod shape_list_source_repository_branches_input;
|
137 - |
|
138 - | pub(crate) mod shape_list_spaces_input;
|
139 - |
|
140 - | pub(crate) mod shape_list_workflow_runs_input;
|
141 - |
|
142 - | pub(crate) mod shape_list_workflows_input;
|
143 - |
|
144 - | pub(crate) mod shape_resource_not_found_exception;
|
145 - |
|
146 - | pub(crate) mod shape_service_quota_exceeded_exception;
|
147 - |
|
148 - | pub(crate) mod shape_start_dev_environment_input;
|
149 - |
|
150 - | pub(crate) mod shape_start_dev_environment_session_input;
|
151 - |
|
152 - | pub(crate) mod shape_start_workflow_run_input;
|
153 - |
|
154 - | pub(crate) mod shape_throttling_exception;
|
155 - |
|
156 - | pub(crate) mod shape_update_dev_environment_input;
|
157 - |
|
158 - | pub(crate) mod shape_update_project_input;
|
159 - |
|
160 - | pub(crate) mod shape_update_space_input;
|
161 - |
|
162 - | pub(crate) mod shape_validation_exception;
|
163 - |
|
164 - | pub(crate) mod shape_access_token_summaries;
|
165 - |
|
166 - | pub(crate) mod shape_dev_environment_access_details;
|
167 - |
|
168 - | pub(crate) mod shape_dev_environment_repository_summaries;
|
169 - |
|
170 - | pub(crate) mod shape_dev_environment_session_configuration;
|
171 - |
|
172 - | pub(crate) mod shape_dev_environment_sessions_summary_list;
|
173 - |
|
174 - | pub(crate) mod shape_dev_environment_summary_list;
|
175 - |
|
176 - | pub(crate) mod shape_email_address;
|
177 - |
|
178 - | pub(crate) mod shape_event_log_entries;
|
179 - |
|
180 - | pub(crate) mod shape_filter;
|
181 - |
|
182 - | pub(crate) mod shape_ide_configuration;
|
183 - |
|
184 - | pub(crate) mod shape_ide_configuration_list;
|
185 - |
|
186 - | pub(crate) mod shape_ides;
|
187 - |
|
188 - | pub(crate) mod shape_list_source_repositories_items;
|
189 - |
|
190 - | pub(crate) mod shape_list_source_repository_branches_items;
|
191 - |
|
192 - | pub(crate) mod shape_persistent_storage;
|
193 - |
|
194 - | pub(crate) mod shape_persistent_storage_configuration;
|
195 - |
|
196 - | pub(crate) mod shape_project_list_filter;
|
197 - |
|
198 - | pub(crate) mod shape_project_summaries;
|
199 - |
|
200 - | pub(crate) mod shape_repository_input;
|
201 - |
|
202 - | pub(crate) mod shape_space_summaries;
|
203 - |
|
204 - | pub(crate) mod shape_workflow_definition;
|
205 - |
|
206 - | pub(crate) mod shape_workflow_run_sort_criteria;
|
207 - |
|
208 - | pub(crate) mod shape_workflow_run_status_reasons;
|
209 - |
|
210 - | pub(crate) mod shape_workflow_run_summaries;
|
211 - |
|
212 - | pub(crate) mod shape_workflow_sort_criteria;
|
213 - |
|
214 - | pub(crate) mod shape_workflow_summaries;
|
215 - |
|
216 - | pub(crate) mod shape_access_token_summary;
|
217 - |
|
218 - | pub(crate) mod shape_dev_environment_repository_summary;
|
219 - |
|
220 - | pub(crate) mod shape_dev_environment_session_summary;
|
221 - |
|
222 - | pub(crate) mod shape_dev_environment_summary;
|
223 - |
|
224 - | pub(crate) mod shape_event_log_entry;
|
225 - |
|
226 - | pub(crate) mod shape_execute_command_session_configuration;
|
227 - |
|
228 - | pub(crate) mod shape_ide;
|
229 - |
|
230 - | pub(crate) mod shape_list_source_repositories_item;
|
231 - |
|
232 - | pub(crate) mod shape_list_source_repository_branches_item;
|
233 - |
|
234 - | pub(crate) mod shape_project_summary;
|
235 - |
|
236 - | pub(crate) mod shape_space_summary;
|
237 - |
|
238 - | pub(crate) mod shape_workflow_run_status_reason;
|
239 - |
|
240 - | pub(crate) mod shape_workflow_run_summary;
|
241 - |
|
242 - | pub(crate) mod shape_workflow_summary;
|
243 - |
|
244 - | pub(crate) mod shape_event_payload;
|
245 - |
|
246 - | pub(crate) mod shape_project_information;
|
247 - |
|
248 - | pub(crate) mod shape_user_identity;
|
249 - |
|
250 - | pub(crate) mod shape_workflow_definition_summary;
|