Skip to main content

rivet_identity/
operation.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2/// Operation shape for `CancelGameLink`.
3///
4/// This is usually constructed for you using the the fluent builder returned by
5/// [`cancel_game_link`](crate::client::Client::cancel_game_link).
6///
7/// See [`crate::client::fluent_builders::CancelGameLink`] for more details about the operation.
8#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
9pub struct CancelGameLink {
10	_private: (),
11}
12impl CancelGameLink {
13	/// Creates a new builder-style object to manufacture [`CancelGameLinkInput`](crate::input::CancelGameLinkInput)
14	pub fn builder() -> crate::input::cancel_game_link_input::Builder {
15		crate::input::cancel_game_link_input::Builder::default()
16	}
17	/// Creates a new `CancelGameLink` operation.
18	pub fn new() -> Self {
19		Self { _private: () }
20	}
21}
22impl aws_smithy_http::response::ParseStrictResponse for CancelGameLink {
23	type Output =
24		std::result::Result<crate::output::CancelGameLinkOutput, crate::error::CancelGameLinkError>;
25	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
26		if !response.status().is_success() && response.status().as_u16() != 200 {
27			crate::operation_deser::parse_cancel_game_link_error(response)
28		} else {
29			crate::operation_deser::parse_cancel_game_link_response(response)
30		}
31	}
32}
33
34/// Operation shape for `CompleteGameLink`.
35///
36/// This is usually constructed for you using the the fluent builder returned by
37/// [`complete_game_link`](crate::client::Client::complete_game_link).
38///
39/// See [`crate::client::fluent_builders::CompleteGameLink`] for more details about the operation.
40#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
41pub struct CompleteGameLink {
42	_private: (),
43}
44impl CompleteGameLink {
45	/// Creates a new builder-style object to manufacture [`CompleteGameLinkInput`](crate::input::CompleteGameLinkInput)
46	pub fn builder() -> crate::input::complete_game_link_input::Builder {
47		crate::input::complete_game_link_input::Builder::default()
48	}
49	/// Creates a new `CompleteGameLink` operation.
50	pub fn new() -> Self {
51		Self { _private: () }
52	}
53}
54impl aws_smithy_http::response::ParseStrictResponse for CompleteGameLink {
55	type Output = std::result::Result<
56		crate::output::CompleteGameLinkOutput,
57		crate::error::CompleteGameLinkError,
58	>;
59	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
60		if !response.status().is_success() && response.status().as_u16() != 200 {
61			crate::operation_deser::parse_complete_game_link_error(response)
62		} else {
63			crate::operation_deser::parse_complete_game_link_response(response)
64		}
65	}
66}
67
68/// Operation shape for `CompleteIdentityAvatarUpload`.
69///
70/// This is usually constructed for you using the the fluent builder returned by
71/// [`complete_identity_avatar_upload`](crate::client::Client::complete_identity_avatar_upload).
72///
73/// See [`crate::client::fluent_builders::CompleteIdentityAvatarUpload`] for more details about the operation.
74#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
75pub struct CompleteIdentityAvatarUpload {
76	_private: (),
77}
78impl CompleteIdentityAvatarUpload {
79	/// Creates a new builder-style object to manufacture [`CompleteIdentityAvatarUploadInput`](crate::input::CompleteIdentityAvatarUploadInput)
80	pub fn builder() -> crate::input::complete_identity_avatar_upload_input::Builder {
81		crate::input::complete_identity_avatar_upload_input::Builder::default()
82	}
83	/// Creates a new `CompleteIdentityAvatarUpload` operation.
84	pub fn new() -> Self {
85		Self { _private: () }
86	}
87}
88impl aws_smithy_http::response::ParseStrictResponse for CompleteIdentityAvatarUpload {
89	type Output = std::result::Result<
90		crate::output::CompleteIdentityAvatarUploadOutput,
91		crate::error::CompleteIdentityAvatarUploadError,
92	>;
93	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
94		if !response.status().is_success() && response.status().as_u16() != 200 {
95			crate::operation_deser::parse_complete_identity_avatar_upload_error(response)
96		} else {
97			crate::operation_deser::parse_complete_identity_avatar_upload_response(response)
98		}
99	}
100}
101
102/// Operation shape for `FollowIdentity`.
103///
104/// This is usually constructed for you using the the fluent builder returned by
105/// [`follow_identity`](crate::client::Client::follow_identity).
106///
107/// See [`crate::client::fluent_builders::FollowIdentity`] for more details about the operation.
108#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
109pub struct FollowIdentity {
110	_private: (),
111}
112impl FollowIdentity {
113	/// Creates a new builder-style object to manufacture [`FollowIdentityInput`](crate::input::FollowIdentityInput)
114	pub fn builder() -> crate::input::follow_identity_input::Builder {
115		crate::input::follow_identity_input::Builder::default()
116	}
117	/// Creates a new `FollowIdentity` operation.
118	pub fn new() -> Self {
119		Self { _private: () }
120	}
121}
122impl aws_smithy_http::response::ParseStrictResponse for FollowIdentity {
123	type Output =
124		std::result::Result<crate::output::FollowIdentityOutput, crate::error::FollowIdentityError>;
125	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
126		if !response.status().is_success() && response.status().as_u16() != 200 {
127			crate::operation_deser::parse_follow_identity_error(response)
128		} else {
129			crate::operation_deser::parse_follow_identity_response(response)
130		}
131	}
132}
133
134/// Operation shape for `GetGameLink`.
135///
136/// This is usually constructed for you using the the fluent builder returned by
137/// [`get_game_link`](crate::client::Client::get_game_link).
138///
139/// See [`crate::client::fluent_builders::GetGameLink`] for more details about the operation.
140#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
141pub struct GetGameLink {
142	_private: (),
143}
144impl GetGameLink {
145	/// Creates a new builder-style object to manufacture [`GetGameLinkInput`](crate::input::GetGameLinkInput)
146	pub fn builder() -> crate::input::get_game_link_input::Builder {
147		crate::input::get_game_link_input::Builder::default()
148	}
149	/// Creates a new `GetGameLink` operation.
150	pub fn new() -> Self {
151		Self { _private: () }
152	}
153}
154impl aws_smithy_http::response::ParseStrictResponse for GetGameLink {
155	type Output =
156		std::result::Result<crate::output::GetGameLinkOutput, crate::error::GetGameLinkError>;
157	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
158		if !response.status().is_success() && response.status().as_u16() != 200 {
159			crate::operation_deser::parse_get_game_link_error(response)
160		} else {
161			crate::operation_deser::parse_get_game_link_response(response)
162		}
163	}
164}
165
166/// Operation shape for `GetIdentityHandles`.
167///
168/// This is usually constructed for you using the the fluent builder returned by
169/// [`get_identity_handles`](crate::client::Client::get_identity_handles).
170///
171/// See [`crate::client::fluent_builders::GetIdentityHandles`] for more details about the operation.
172#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
173pub struct GetIdentityHandles {
174	_private: (),
175}
176impl GetIdentityHandles {
177	/// Creates a new builder-style object to manufacture [`GetIdentityHandlesInput`](crate::input::GetIdentityHandlesInput)
178	pub fn builder() -> crate::input::get_identity_handles_input::Builder {
179		crate::input::get_identity_handles_input::Builder::default()
180	}
181	/// Creates a new `GetIdentityHandles` operation.
182	pub fn new() -> Self {
183		Self { _private: () }
184	}
185}
186impl aws_smithy_http::response::ParseStrictResponse for GetIdentityHandles {
187	type Output = std::result::Result<
188		crate::output::GetIdentityHandlesOutput,
189		crate::error::GetIdentityHandlesError,
190	>;
191	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
192		if !response.status().is_success() && response.status().as_u16() != 200 {
193			crate::operation_deser::parse_get_identity_handles_error(response)
194		} else {
195			crate::operation_deser::parse_get_identity_handles_response(response)
196		}
197	}
198}
199
200/// Operation shape for `GetIdentityProfile`.
201///
202/// This is usually constructed for you using the the fluent builder returned by
203/// [`get_identity_profile`](crate::client::Client::get_identity_profile).
204///
205/// See [`crate::client::fluent_builders::GetIdentityProfile`] for more details about the operation.
206#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
207pub struct GetIdentityProfile {
208	_private: (),
209}
210impl GetIdentityProfile {
211	/// Creates a new builder-style object to manufacture [`GetIdentityProfileInput`](crate::input::GetIdentityProfileInput)
212	pub fn builder() -> crate::input::get_identity_profile_input::Builder {
213		crate::input::get_identity_profile_input::Builder::default()
214	}
215	/// Creates a new `GetIdentityProfile` operation.
216	pub fn new() -> Self {
217		Self { _private: () }
218	}
219}
220impl aws_smithy_http::response::ParseStrictResponse for GetIdentityProfile {
221	type Output = std::result::Result<
222		crate::output::GetIdentityProfileOutput,
223		crate::error::GetIdentityProfileError,
224	>;
225	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
226		if !response.status().is_success() && response.status().as_u16() != 200 {
227			crate::operation_deser::parse_get_identity_profile_error(response)
228		} else {
229			crate::operation_deser::parse_get_identity_profile_response(response)
230		}
231	}
232}
233
234/// Operation shape for `GetIdentitySelfProfile`.
235///
236/// This is usually constructed for you using the the fluent builder returned by
237/// [`get_identity_self_profile`](crate::client::Client::get_identity_self_profile).
238///
239/// See [`crate::client::fluent_builders::GetIdentitySelfProfile`] for more details about the operation.
240#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
241pub struct GetIdentitySelfProfile {
242	_private: (),
243}
244impl GetIdentitySelfProfile {
245	/// Creates a new builder-style object to manufacture [`GetIdentitySelfProfileInput`](crate::input::GetIdentitySelfProfileInput)
246	pub fn builder() -> crate::input::get_identity_self_profile_input::Builder {
247		crate::input::get_identity_self_profile_input::Builder::default()
248	}
249	/// Creates a new `GetIdentitySelfProfile` operation.
250	pub fn new() -> Self {
251		Self { _private: () }
252	}
253}
254impl aws_smithy_http::response::ParseStrictResponse for GetIdentitySelfProfile {
255	type Output = std::result::Result<
256		crate::output::GetIdentitySelfProfileOutput,
257		crate::error::GetIdentitySelfProfileError,
258	>;
259	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
260		if !response.status().is_success() && response.status().as_u16() != 200 {
261			crate::operation_deser::parse_get_identity_self_profile_error(response)
262		} else {
263			crate::operation_deser::parse_get_identity_self_profile_response(response)
264		}
265	}
266}
267
268/// Operation shape for `GetIdentitySummaries`.
269///
270/// This is usually constructed for you using the the fluent builder returned by
271/// [`get_identity_summaries`](crate::client::Client::get_identity_summaries).
272///
273/// See [`crate::client::fluent_builders::GetIdentitySummaries`] for more details about the operation.
274#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
275pub struct GetIdentitySummaries {
276	_private: (),
277}
278impl GetIdentitySummaries {
279	/// Creates a new builder-style object to manufacture [`GetIdentitySummariesInput`](crate::input::GetIdentitySummariesInput)
280	pub fn builder() -> crate::input::get_identity_summaries_input::Builder {
281		crate::input::get_identity_summaries_input::Builder::default()
282	}
283	/// Creates a new `GetIdentitySummaries` operation.
284	pub fn new() -> Self {
285		Self { _private: () }
286	}
287}
288impl aws_smithy_http::response::ParseStrictResponse for GetIdentitySummaries {
289	type Output = std::result::Result<
290		crate::output::GetIdentitySummariesOutput,
291		crate::error::GetIdentitySummariesError,
292	>;
293	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
294		if !response.status().is_success() && response.status().as_u16() != 200 {
295			crate::operation_deser::parse_get_identity_summaries_error(response)
296		} else {
297			crate::operation_deser::parse_get_identity_summaries_response(response)
298		}
299	}
300}
301
302/// Operation shape for `ListActivities`.
303///
304/// This is usually constructed for you using the the fluent builder returned by
305/// [`list_activities`](crate::client::Client::list_activities).
306///
307/// See [`crate::client::fluent_builders::ListActivities`] for more details about the operation.
308#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
309pub struct ListActivities {
310	_private: (),
311}
312impl ListActivities {
313	/// Creates a new builder-style object to manufacture [`ListActivitiesInput`](crate::input::ListActivitiesInput)
314	pub fn builder() -> crate::input::list_activities_input::Builder {
315		crate::input::list_activities_input::Builder::default()
316	}
317	/// Creates a new `ListActivities` operation.
318	pub fn new() -> Self {
319		Self { _private: () }
320	}
321}
322impl aws_smithy_http::response::ParseStrictResponse for ListActivities {
323	type Output =
324		std::result::Result<crate::output::ListActivitiesOutput, crate::error::ListActivitiesError>;
325	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
326		if !response.status().is_success() && response.status().as_u16() != 200 {
327			crate::operation_deser::parse_list_activities_error(response)
328		} else {
329			crate::operation_deser::parse_list_activities_response(response)
330		}
331	}
332}
333
334/// Operation shape for `ListFollowers`.
335///
336/// This is usually constructed for you using the the fluent builder returned by
337/// [`list_followers`](crate::client::Client::list_followers).
338///
339/// See [`crate::client::fluent_builders::ListFollowers`] for more details about the operation.
340#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
341pub struct ListFollowers {
342	_private: (),
343}
344impl ListFollowers {
345	/// Creates a new builder-style object to manufacture [`ListFollowersInput`](crate::input::ListFollowersInput)
346	pub fn builder() -> crate::input::list_followers_input::Builder {
347		crate::input::list_followers_input::Builder::default()
348	}
349	/// Creates a new `ListFollowers` operation.
350	pub fn new() -> Self {
351		Self { _private: () }
352	}
353}
354impl aws_smithy_http::response::ParseStrictResponse for ListFollowers {
355	type Output =
356		std::result::Result<crate::output::ListFollowersOutput, crate::error::ListFollowersError>;
357	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
358		if !response.status().is_success() && response.status().as_u16() != 200 {
359			crate::operation_deser::parse_list_followers_error(response)
360		} else {
361			crate::operation_deser::parse_list_followers_response(response)
362		}
363	}
364}
365
366/// Operation shape for `ListFollowing`.
367///
368/// This is usually constructed for you using the the fluent builder returned by
369/// [`list_following`](crate::client::Client::list_following).
370///
371/// See [`crate::client::fluent_builders::ListFollowing`] for more details about the operation.
372#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
373pub struct ListFollowing {
374	_private: (),
375}
376impl ListFollowing {
377	/// Creates a new builder-style object to manufacture [`ListFollowingInput`](crate::input::ListFollowingInput)
378	pub fn builder() -> crate::input::list_following_input::Builder {
379		crate::input::list_following_input::Builder::default()
380	}
381	/// Creates a new `ListFollowing` operation.
382	pub fn new() -> Self {
383		Self { _private: () }
384	}
385}
386impl aws_smithy_http::response::ParseStrictResponse for ListFollowing {
387	type Output =
388		std::result::Result<crate::output::ListFollowingOutput, crate::error::ListFollowingError>;
389	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
390		if !response.status().is_success() && response.status().as_u16() != 200 {
391			crate::operation_deser::parse_list_following_error(response)
392		} else {
393			crate::operation_deser::parse_list_following_response(response)
394		}
395	}
396}
397
398/// Operation shape for `ListFriends`.
399///
400/// This is usually constructed for you using the the fluent builder returned by
401/// [`list_friends`](crate::client::Client::list_friends).
402///
403/// See [`crate::client::fluent_builders::ListFriends`] for more details about the operation.
404#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
405pub struct ListFriends {
406	_private: (),
407}
408impl ListFriends {
409	/// Creates a new builder-style object to manufacture [`ListFriendsInput`](crate::input::ListFriendsInput)
410	pub fn builder() -> crate::input::list_friends_input::Builder {
411		crate::input::list_friends_input::Builder::default()
412	}
413	/// Creates a new `ListFriends` operation.
414	pub fn new() -> Self {
415		Self { _private: () }
416	}
417}
418impl aws_smithy_http::response::ParseStrictResponse for ListFriends {
419	type Output =
420		std::result::Result<crate::output::ListFriendsOutput, crate::error::ListFriendsError>;
421	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
422		if !response.status().is_success() && response.status().as_u16() != 200 {
423			crate::operation_deser::parse_list_friends_error(response)
424		} else {
425			crate::operation_deser::parse_list_friends_response(response)
426		}
427	}
428}
429
430/// Operation shape for `ListMutualFriends`.
431///
432/// This is usually constructed for you using the the fluent builder returned by
433/// [`list_mutual_friends`](crate::client::Client::list_mutual_friends).
434///
435/// See [`crate::client::fluent_builders::ListMutualFriends`] for more details about the operation.
436#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
437pub struct ListMutualFriends {
438	_private: (),
439}
440impl ListMutualFriends {
441	/// Creates a new builder-style object to manufacture [`ListMutualFriendsInput`](crate::input::ListMutualFriendsInput)
442	pub fn builder() -> crate::input::list_mutual_friends_input::Builder {
443		crate::input::list_mutual_friends_input::Builder::default()
444	}
445	/// Creates a new `ListMutualFriends` operation.
446	pub fn new() -> Self {
447		Self { _private: () }
448	}
449}
450impl aws_smithy_http::response::ParseStrictResponse for ListMutualFriends {
451	type Output = std::result::Result<
452		crate::output::ListMutualFriendsOutput,
453		crate::error::ListMutualFriendsError,
454	>;
455	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
456		if !response.status().is_success() && response.status().as_u16() != 200 {
457			crate::operation_deser::parse_list_mutual_friends_error(response)
458		} else {
459			crate::operation_deser::parse_list_mutual_friends_response(response)
460		}
461	}
462}
463
464/// Operation shape for `PrepareGameLink`.
465///
466/// This is usually constructed for you using the the fluent builder returned by
467/// [`prepare_game_link`](crate::client::Client::prepare_game_link).
468///
469/// See [`crate::client::fluent_builders::PrepareGameLink`] for more details about the operation.
470#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
471pub struct PrepareGameLink {
472	_private: (),
473}
474impl PrepareGameLink {
475	/// Creates a new builder-style object to manufacture [`PrepareGameLinkInput`](crate::input::PrepareGameLinkInput)
476	pub fn builder() -> crate::input::prepare_game_link_input::Builder {
477		crate::input::prepare_game_link_input::Builder::default()
478	}
479	/// Creates a new `PrepareGameLink` operation.
480	pub fn new() -> Self {
481		Self { _private: () }
482	}
483}
484impl aws_smithy_http::response::ParseStrictResponse for PrepareGameLink {
485	type Output = std::result::Result<
486		crate::output::PrepareGameLinkOutput,
487		crate::error::PrepareGameLinkError,
488	>;
489	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
490		if !response.status().is_success() && response.status().as_u16() != 200 {
491			crate::operation_deser::parse_prepare_game_link_error(response)
492		} else {
493			crate::operation_deser::parse_prepare_game_link_response(response)
494		}
495	}
496}
497
498/// Operation shape for `PrepareIdentityAvatarUpload`.
499///
500/// This is usually constructed for you using the the fluent builder returned by
501/// [`prepare_identity_avatar_upload`](crate::client::Client::prepare_identity_avatar_upload).
502///
503/// See [`crate::client::fluent_builders::PrepareIdentityAvatarUpload`] for more details about the operation.
504#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
505pub struct PrepareIdentityAvatarUpload {
506	_private: (),
507}
508impl PrepareIdentityAvatarUpload {
509	/// Creates a new builder-style object to manufacture [`PrepareIdentityAvatarUploadInput`](crate::input::PrepareIdentityAvatarUploadInput)
510	pub fn builder() -> crate::input::prepare_identity_avatar_upload_input::Builder {
511		crate::input::prepare_identity_avatar_upload_input::Builder::default()
512	}
513	/// Creates a new `PrepareIdentityAvatarUpload` operation.
514	pub fn new() -> Self {
515		Self { _private: () }
516	}
517}
518impl aws_smithy_http::response::ParseStrictResponse for PrepareIdentityAvatarUpload {
519	type Output = std::result::Result<
520		crate::output::PrepareIdentityAvatarUploadOutput,
521		crate::error::PrepareIdentityAvatarUploadError,
522	>;
523	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
524		if !response.status().is_success() && response.status().as_u16() != 200 {
525			crate::operation_deser::parse_prepare_identity_avatar_upload_error(response)
526		} else {
527			crate::operation_deser::parse_prepare_identity_avatar_upload_response(response)
528		}
529	}
530}
531
532/// Operation shape for `RemoveIdentityGameActivity`.
533///
534/// This is usually constructed for you using the the fluent builder returned by
535/// [`remove_identity_game_activity`](crate::client::Client::remove_identity_game_activity).
536///
537/// See [`crate::client::fluent_builders::RemoveIdentityGameActivity`] for more details about the operation.
538#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
539pub struct RemoveIdentityGameActivity {
540	_private: (),
541}
542impl RemoveIdentityGameActivity {
543	/// Creates a new builder-style object to manufacture [`RemoveIdentityGameActivityInput`](crate::input::RemoveIdentityGameActivityInput)
544	pub fn builder() -> crate::input::remove_identity_game_activity_input::Builder {
545		crate::input::remove_identity_game_activity_input::Builder::default()
546	}
547	/// Creates a new `RemoveIdentityGameActivity` operation.
548	pub fn new() -> Self {
549		Self { _private: () }
550	}
551}
552impl aws_smithy_http::response::ParseStrictResponse for RemoveIdentityGameActivity {
553	type Output = std::result::Result<
554		crate::output::RemoveIdentityGameActivityOutput,
555		crate::error::RemoveIdentityGameActivityError,
556	>;
557	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
558		if !response.status().is_success() && response.status().as_u16() != 200 {
559			crate::operation_deser::parse_remove_identity_game_activity_error(response)
560		} else {
561			crate::operation_deser::parse_remove_identity_game_activity_response(response)
562		}
563	}
564}
565
566/// Operation shape for `ReportIdentity`.
567///
568/// This is usually constructed for you using the the fluent builder returned by
569/// [`report_identity`](crate::client::Client::report_identity).
570///
571/// See [`crate::client::fluent_builders::ReportIdentity`] for more details about the operation.
572#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
573pub struct ReportIdentity {
574	_private: (),
575}
576impl ReportIdentity {
577	/// Creates a new builder-style object to manufacture [`ReportIdentityInput`](crate::input::ReportIdentityInput)
578	pub fn builder() -> crate::input::report_identity_input::Builder {
579		crate::input::report_identity_input::Builder::default()
580	}
581	/// Creates a new `ReportIdentity` operation.
582	pub fn new() -> Self {
583		Self { _private: () }
584	}
585}
586impl aws_smithy_http::response::ParseStrictResponse for ReportIdentity {
587	type Output =
588		std::result::Result<crate::output::ReportIdentityOutput, crate::error::ReportIdentityError>;
589	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
590		if !response.status().is_success() && response.status().as_u16() != 200 {
591			crate::operation_deser::parse_report_identity_error(response)
592		} else {
593			crate::operation_deser::parse_report_identity_response(response)
594		}
595	}
596}
597
598/// Operation shape for `SearchIdentities`.
599///
600/// This is usually constructed for you using the the fluent builder returned by
601/// [`search_identities`](crate::client::Client::search_identities).
602///
603/// See [`crate::client::fluent_builders::SearchIdentities`] for more details about the operation.
604#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
605pub struct SearchIdentities {
606	_private: (),
607}
608impl SearchIdentities {
609	/// Creates a new builder-style object to manufacture [`SearchIdentitiesInput`](crate::input::SearchIdentitiesInput)
610	pub fn builder() -> crate::input::search_identities_input::Builder {
611		crate::input::search_identities_input::Builder::default()
612	}
613	/// Creates a new `SearchIdentities` operation.
614	pub fn new() -> Self {
615		Self { _private: () }
616	}
617}
618impl aws_smithy_http::response::ParseStrictResponse for SearchIdentities {
619	type Output = std::result::Result<
620		crate::output::SearchIdentitiesOutput,
621		crate::error::SearchIdentitiesError,
622	>;
623	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
624		if !response.status().is_success() && response.status().as_u16() != 200 {
625			crate::operation_deser::parse_search_identities_error(response)
626		} else {
627			crate::operation_deser::parse_search_identities_response(response)
628		}
629	}
630}
631
632/// Operation shape for `SetIdentityGameActivity`.
633///
634/// This is usually constructed for you using the the fluent builder returned by
635/// [`set_identity_game_activity`](crate::client::Client::set_identity_game_activity).
636///
637/// See [`crate::client::fluent_builders::SetIdentityGameActivity`] for more details about the operation.
638#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
639pub struct SetIdentityGameActivity {
640	_private: (),
641}
642impl SetIdentityGameActivity {
643	/// Creates a new builder-style object to manufacture [`SetIdentityGameActivityInput`](crate::input::SetIdentityGameActivityInput)
644	pub fn builder() -> crate::input::set_identity_game_activity_input::Builder {
645		crate::input::set_identity_game_activity_input::Builder::default()
646	}
647	/// Creates a new `SetIdentityGameActivity` operation.
648	pub fn new() -> Self {
649		Self { _private: () }
650	}
651}
652impl aws_smithy_http::response::ParseStrictResponse for SetIdentityGameActivity {
653	type Output = std::result::Result<
654		crate::output::SetIdentityGameActivityOutput,
655		crate::error::SetIdentityGameActivityError,
656	>;
657	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
658		if !response.status().is_success() && response.status().as_u16() != 200 {
659			crate::operation_deser::parse_set_identity_game_activity_error(response)
660		} else {
661			crate::operation_deser::parse_set_identity_game_activity_response(response)
662		}
663	}
664}
665
666/// Operation shape for `SetupIdentity`.
667///
668/// This is usually constructed for you using the the fluent builder returned by
669/// [`setup_identity`](crate::client::Client::setup_identity).
670///
671/// See [`crate::client::fluent_builders::SetupIdentity`] for more details about the operation.
672#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
673pub struct SetupIdentity {
674	_private: (),
675}
676impl SetupIdentity {
677	/// Creates a new builder-style object to manufacture [`SetupIdentityInput`](crate::input::SetupIdentityInput)
678	pub fn builder() -> crate::input::setup_identity_input::Builder {
679		crate::input::setup_identity_input::Builder::default()
680	}
681	/// Creates a new `SetupIdentity` operation.
682	pub fn new() -> Self {
683		Self { _private: () }
684	}
685}
686impl aws_smithy_http::response::ParseStrictResponse for SetupIdentity {
687	type Output =
688		std::result::Result<crate::output::SetupIdentityOutput, crate::error::SetupIdentityError>;
689	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
690		if !response.status().is_success() && response.status().as_u16() != 200 {
691			crate::operation_deser::parse_setup_identity_error(response)
692		} else {
693			crate::operation_deser::parse_setup_identity_response(response)
694		}
695	}
696}
697
698/// Operation shape for `SignupForBeta`.
699///
700/// This is usually constructed for you using the the fluent builder returned by
701/// [`signup_for_beta`](crate::client::Client::signup_for_beta).
702///
703/// See [`crate::client::fluent_builders::SignupForBeta`] for more details about the operation.
704#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
705pub struct SignupForBeta {
706	_private: (),
707}
708impl SignupForBeta {
709	/// Creates a new builder-style object to manufacture [`SignupForBetaInput`](crate::input::SignupForBetaInput)
710	pub fn builder() -> crate::input::signup_for_beta_input::Builder {
711		crate::input::signup_for_beta_input::Builder::default()
712	}
713	/// Creates a new `SignupForBeta` operation.
714	pub fn new() -> Self {
715		Self { _private: () }
716	}
717}
718impl aws_smithy_http::response::ParseStrictResponse for SignupForBeta {
719	type Output =
720		std::result::Result<crate::output::SignupForBetaOutput, crate::error::SignupForBetaError>;
721	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
722		if !response.status().is_success() && response.status().as_u16() != 200 {
723			crate::operation_deser::parse_signup_for_beta_error(response)
724		} else {
725			crate::operation_deser::parse_signup_for_beta_response(response)
726		}
727	}
728}
729
730/// Operation shape for `UnfollowIdentity`.
731///
732/// This is usually constructed for you using the the fluent builder returned by
733/// [`unfollow_identity`](crate::client::Client::unfollow_identity).
734///
735/// See [`crate::client::fluent_builders::UnfollowIdentity`] for more details about the operation.
736#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
737pub struct UnfollowIdentity {
738	_private: (),
739}
740impl UnfollowIdentity {
741	/// Creates a new builder-style object to manufacture [`UnfollowIdentityInput`](crate::input::UnfollowIdentityInput)
742	pub fn builder() -> crate::input::unfollow_identity_input::Builder {
743		crate::input::unfollow_identity_input::Builder::default()
744	}
745	/// Creates a new `UnfollowIdentity` operation.
746	pub fn new() -> Self {
747		Self { _private: () }
748	}
749}
750impl aws_smithy_http::response::ParseStrictResponse for UnfollowIdentity {
751	type Output = std::result::Result<
752		crate::output::UnfollowIdentityOutput,
753		crate::error::UnfollowIdentityError,
754	>;
755	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
756		if !response.status().is_success() && response.status().as_u16() != 200 {
757			crate::operation_deser::parse_unfollow_identity_error(response)
758		} else {
759			crate::operation_deser::parse_unfollow_identity_response(response)
760		}
761	}
762}
763
764/// Operation shape for `UpdateIdentityProfile`.
765///
766/// This is usually constructed for you using the the fluent builder returned by
767/// [`update_identity_profile`](crate::client::Client::update_identity_profile).
768///
769/// See [`crate::client::fluent_builders::UpdateIdentityProfile`] for more details about the operation.
770#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
771pub struct UpdateIdentityProfile {
772	_private: (),
773}
774impl UpdateIdentityProfile {
775	/// Creates a new builder-style object to manufacture [`UpdateIdentityProfileInput`](crate::input::UpdateIdentityProfileInput)
776	pub fn builder() -> crate::input::update_identity_profile_input::Builder {
777		crate::input::update_identity_profile_input::Builder::default()
778	}
779	/// Creates a new `UpdateIdentityProfile` operation.
780	pub fn new() -> Self {
781		Self { _private: () }
782	}
783}
784impl aws_smithy_http::response::ParseStrictResponse for UpdateIdentityProfile {
785	type Output = std::result::Result<
786		crate::output::UpdateIdentityProfileOutput,
787		crate::error::UpdateIdentityProfileError,
788	>;
789	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
790		if !response.status().is_success() && response.status().as_u16() != 200 {
791			crate::operation_deser::parse_update_identity_profile_error(response)
792		} else {
793			crate::operation_deser::parse_update_identity_profile_response(response)
794		}
795	}
796}
797
798/// Operation shape for `UpdateIdentityStatus`.
799///
800/// This is usually constructed for you using the the fluent builder returned by
801/// [`update_identity_status`](crate::client::Client::update_identity_status).
802///
803/// See [`crate::client::fluent_builders::UpdateIdentityStatus`] for more details about the operation.
804#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
805pub struct UpdateIdentityStatus {
806	_private: (),
807}
808impl UpdateIdentityStatus {
809	/// Creates a new builder-style object to manufacture [`UpdateIdentityStatusInput`](crate::input::UpdateIdentityStatusInput)
810	pub fn builder() -> crate::input::update_identity_status_input::Builder {
811		crate::input::update_identity_status_input::Builder::default()
812	}
813	/// Creates a new `UpdateIdentityStatus` operation.
814	pub fn new() -> Self {
815		Self { _private: () }
816	}
817}
818impl aws_smithy_http::response::ParseStrictResponse for UpdateIdentityStatus {
819	type Output = std::result::Result<
820		crate::output::UpdateIdentityStatusOutput,
821		crate::error::UpdateIdentityStatusError,
822	>;
823	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
824		if !response.status().is_success() && response.status().as_u16() != 200 {
825			crate::operation_deser::parse_update_identity_status_error(response)
826		} else {
827			crate::operation_deser::parse_update_identity_status_response(response)
828		}
829	}
830}
831
832/// Operation shape for `ValidateIdentityProfile`.
833///
834/// This is usually constructed for you using the the fluent builder returned by
835/// [`validate_identity_profile`](crate::client::Client::validate_identity_profile).
836///
837/// See [`crate::client::fluent_builders::ValidateIdentityProfile`] for more details about the operation.
838#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
839pub struct ValidateIdentityProfile {
840	_private: (),
841}
842impl ValidateIdentityProfile {
843	/// Creates a new builder-style object to manufacture [`ValidateIdentityProfileInput`](crate::input::ValidateIdentityProfileInput)
844	pub fn builder() -> crate::input::validate_identity_profile_input::Builder {
845		crate::input::validate_identity_profile_input::Builder::default()
846	}
847	/// Creates a new `ValidateIdentityProfile` operation.
848	pub fn new() -> Self {
849		Self { _private: () }
850	}
851}
852impl aws_smithy_http::response::ParseStrictResponse for ValidateIdentityProfile {
853	type Output = std::result::Result<
854		crate::output::ValidateIdentityProfileOutput,
855		crate::error::ValidateIdentityProfileError,
856	>;
857	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
858		if !response.status().is_success() && response.status().as_u16() != 200 {
859			crate::operation_deser::parse_validate_identity_profile_error(response)
860		} else {
861			crate::operation_deser::parse_validate_identity_profile_response(response)
862		}
863	}
864}
865
866/// Operation shape for `WatchEvents`.
867///
868/// This is usually constructed for you using the the fluent builder returned by
869/// [`watch_events`](crate::client::Client::watch_events).
870///
871/// See [`crate::client::fluent_builders::WatchEvents`] for more details about the operation.
872#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
873pub struct WatchEvents {
874	_private: (),
875}
876impl WatchEvents {
877	/// Creates a new builder-style object to manufacture [`WatchEventsInput`](crate::input::WatchEventsInput)
878	pub fn builder() -> crate::input::watch_events_input::Builder {
879		crate::input::watch_events_input::Builder::default()
880	}
881	/// Creates a new `WatchEvents` operation.
882	pub fn new() -> Self {
883		Self { _private: () }
884	}
885}
886impl aws_smithy_http::response::ParseStrictResponse for WatchEvents {
887	type Output =
888		std::result::Result<crate::output::WatchEventsOutput, crate::error::WatchEventsError>;
889	fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
890		if !response.status().is_success() && response.status().as_u16() != 200 {
891			crate::operation_deser::parse_watch_events_error(response)
892		} else {
893			crate::operation_deser::parse_watch_events_response(response)
894		}
895	}
896}