aws_sdk_dynamodb/operation/describe_endpoints/
_describe_endpoints_input.rs1#[allow(missing_docs)] #[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct DescribeEndpointsInput {
6}
7static DESCRIBEENDPOINTSINPUT_SCHEMA_ID: ::aws_smithy_schema::ShapeId = ::aws_smithy_schema::ShapeId::from_static("com.amazonaws.dynamodb.synthetic#DescribeEndpointsInput", "com.amazonaws.dynamodb.synthetic", "DescribeEndpointsInput");
8static DESCRIBEENDPOINTSINPUT_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
9 DESCRIBEENDPOINTSINPUT_SCHEMA_ID,
10 ::aws_smithy_schema::ShapeType::Structure,
11 &[],
12 );
13impl DescribeEndpointsInput {
14 pub const SCHEMA: &'static ::aws_smithy_schema::Schema = &DESCRIBEENDPOINTSINPUT_SCHEMA;
16 }
17impl ::aws_smithy_schema::serde::SerializableStruct for DescribeEndpointsInput {
18 #[allow(unused_variables, clippy::diverging_sub_expression)]
19 fn serialize_members(&self, ser: &mut dyn ::aws_smithy_schema::serde::ShapeSerializer) -> ::std::result::Result<(), ::aws_smithy_schema::serde::SerdeError> {
20
21 Ok(())
22 }
23 }
24impl DescribeEndpointsInput {
25 pub fn deserialize(deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
27 #[allow(unused_variables, unused_mut)]
28 let mut builder = Self::builder();
29 #[allow(unused_variables, unreachable_code, clippy::single_match, clippy::match_single_binding, clippy::diverging_sub_expression)]
30 deserializer.read_struct(&DESCRIBEENDPOINTSINPUT_SCHEMA, &mut |member, deser| {
31 match member.member_index() {
32
33 _ => {}
34 }
35 Ok(())
36 })?;
37 builder.build().map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
38 }
39 }
40impl DescribeEndpointsInput {
41 pub fn deserialize_with_response(
43 _deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
44 _headers: &::aws_smithy_runtime_api::http::Headers,
45 _status: u16,
46 _body: &[u8],
47 ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
48 Self::builder().build().map_err(|e| aws_smithy_schema::serde::SerdeError::Custom { message: e.to_string() })
49 }
50 }
51impl DescribeEndpointsInput {
52 pub fn builder() -> crate::operation::describe_endpoints::builders::DescribeEndpointsInputBuilder {
54 crate::operation::describe_endpoints::builders::DescribeEndpointsInputBuilder::default()
55 }
56}
57
58#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
60#[non_exhaustive]
61pub struct DescribeEndpointsInputBuilder {
62}
63impl DescribeEndpointsInputBuilder {
64 pub fn build(self) -> ::std::result::Result<crate::operation::describe_endpoints::DescribeEndpointsInput, ::aws_smithy_types::error::operation::BuildError> {
66 ::std::result::Result::Ok(
67 crate::operation::describe_endpoints::DescribeEndpointsInput {
68 }
69 )
70 }
71}
72