aws_sdk_dynamodb/operation/describe_endpoints/
_describe_endpoints_input.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[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                /// The schema for this shape.
15                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                /// Deserializes this structure from a [`ShapeDeserializer`].
26                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                        /// Deserializes this structure from a body deserializer and HTTP response.
42                        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    /// Creates a new builder-style object to manufacture [`DescribeEndpointsInput`](crate::operation::describe_endpoints::DescribeEndpointsInput).
53    pub fn builder() -> crate::operation::describe_endpoints::builders::DescribeEndpointsInputBuilder {
54        crate::operation::describe_endpoints::builders::DescribeEndpointsInputBuilder::default()
55    }
56}
57
58/// A builder for [`DescribeEndpointsInput`](crate::operation::describe_endpoints::DescribeEndpointsInput).
59#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
60#[non_exhaustive]
61pub struct DescribeEndpointsInputBuilder {
62}
63impl DescribeEndpointsInputBuilder {
64    /// Consumes the builder and constructs a [`DescribeEndpointsInput`](crate::operation::describe_endpoints::DescribeEndpointsInput).
65    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