#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeServices {
_private: (),
}
impl DescribeServices {
pub fn builder() -> crate::input::describe_services_input::Builder {
crate::input::describe_services_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeServices {
type Output = std::result::Result<
crate::output::DescribeServicesOutput,
crate::error::DescribeServicesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_services_error(response)
} else {
crate::operation_deser::parse_describe_services_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetAttributeValues {
_private: (),
}
impl GetAttributeValues {
pub fn builder() -> crate::input::get_attribute_values_input::Builder {
crate::input::get_attribute_values_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetAttributeValues {
type Output = std::result::Result<
crate::output::GetAttributeValuesOutput,
crate::error::GetAttributeValuesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_get_attribute_values_error(response)
} else {
crate::operation_deser::parse_get_attribute_values_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetProducts {
_private: (),
}
impl GetProducts {
pub fn builder() -> crate::input::get_products_input::Builder {
crate::input::get_products_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetProducts {
type Output =
std::result::Result<crate::output::GetProductsOutput, crate::error::GetProductsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_get_products_error(response)
} else {
crate::operation_deser::parse_get_products_response(response)
}
}
}
pub mod customize;