#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AssociateEntityToThing {
_private: (),
}
impl AssociateEntityToThing {
pub fn builder() -> crate::input::associate_entity_to_thing_input::Builder {
crate::input::associate_entity_to_thing_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateEntityToThing {
type Output = std::result::Result<
crate::output::AssociateEntityToThingOutput,
crate::error::AssociateEntityToThingError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_associate_entity_to_thing_error(response)
} else {
crate::operation_deser::parse_associate_entity_to_thing_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateFlowTemplate {
_private: (),
}
impl CreateFlowTemplate {
pub fn builder() -> crate::input::create_flow_template_input::Builder {
crate::input::create_flow_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateFlowTemplate {
type Output = std::result::Result<
crate::output::CreateFlowTemplateOutput,
crate::error::CreateFlowTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_flow_template_error(response)
} else {
crate::operation_deser::parse_create_flow_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateSystemInstance {
_private: (),
}
impl CreateSystemInstance {
pub fn builder() -> crate::input::create_system_instance_input::Builder {
crate::input::create_system_instance_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSystemInstance {
type Output = std::result::Result<
crate::output::CreateSystemInstanceOutput,
crate::error::CreateSystemInstanceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_system_instance_error(response)
} else {
crate::operation_deser::parse_create_system_instance_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateSystemTemplate {
_private: (),
}
impl CreateSystemTemplate {
pub fn builder() -> crate::input::create_system_template_input::Builder {
crate::input::create_system_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSystemTemplate {
type Output = std::result::Result<
crate::output::CreateSystemTemplateOutput,
crate::error::CreateSystemTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_system_template_error(response)
} else {
crate::operation_deser::parse_create_system_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteFlowTemplate {
_private: (),
}
impl DeleteFlowTemplate {
pub fn builder() -> crate::input::delete_flow_template_input::Builder {
crate::input::delete_flow_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteFlowTemplate {
type Output = std::result::Result<
crate::output::DeleteFlowTemplateOutput,
crate::error::DeleteFlowTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_flow_template_error(response)
} else {
crate::operation_deser::parse_delete_flow_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteNamespace {
_private: (),
}
impl DeleteNamespace {
pub fn builder() -> crate::input::delete_namespace_input::Builder {
crate::input::delete_namespace_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteNamespace {
type Output = std::result::Result<
crate::output::DeleteNamespaceOutput,
crate::error::DeleteNamespaceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_namespace_error(response)
} else {
crate::operation_deser::parse_delete_namespace_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteSystemInstance {
_private: (),
}
impl DeleteSystemInstance {
pub fn builder() -> crate::input::delete_system_instance_input::Builder {
crate::input::delete_system_instance_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteSystemInstance {
type Output = std::result::Result<
crate::output::DeleteSystemInstanceOutput,
crate::error::DeleteSystemInstanceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_system_instance_error(response)
} else {
crate::operation_deser::parse_delete_system_instance_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteSystemTemplate {
_private: (),
}
impl DeleteSystemTemplate {
pub fn builder() -> crate::input::delete_system_template_input::Builder {
crate::input::delete_system_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteSystemTemplate {
type Output = std::result::Result<
crate::output::DeleteSystemTemplateOutput,
crate::error::DeleteSystemTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_system_template_error(response)
} else {
crate::operation_deser::parse_delete_system_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeploySystemInstance {
_private: (),
}
impl DeploySystemInstance {
pub fn builder() -> crate::input::deploy_system_instance_input::Builder {
crate::input::deploy_system_instance_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeploySystemInstance {
type Output = std::result::Result<
crate::output::DeploySystemInstanceOutput,
crate::error::DeploySystemInstanceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_deploy_system_instance_error(response)
} else {
crate::operation_deser::parse_deploy_system_instance_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeprecateFlowTemplate {
_private: (),
}
impl DeprecateFlowTemplate {
pub fn builder() -> crate::input::deprecate_flow_template_input::Builder {
crate::input::deprecate_flow_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeprecateFlowTemplate {
type Output = std::result::Result<
crate::output::DeprecateFlowTemplateOutput,
crate::error::DeprecateFlowTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_deprecate_flow_template_error(response)
} else {
crate::operation_deser::parse_deprecate_flow_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeprecateSystemTemplate {
_private: (),
}
impl DeprecateSystemTemplate {
pub fn builder() -> crate::input::deprecate_system_template_input::Builder {
crate::input::deprecate_system_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeprecateSystemTemplate {
type Output = std::result::Result<
crate::output::DeprecateSystemTemplateOutput,
crate::error::DeprecateSystemTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_deprecate_system_template_error(response)
} else {
crate::operation_deser::parse_deprecate_system_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeNamespace {
_private: (),
}
impl DescribeNamespace {
pub fn builder() -> crate::input::describe_namespace_input::Builder {
crate::input::describe_namespace_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeNamespace {
type Output = std::result::Result<
crate::output::DescribeNamespaceOutput,
crate::error::DescribeNamespaceError,
>;
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_namespace_error(response)
} else {
crate::operation_deser::parse_describe_namespace_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DissociateEntityFromThing {
_private: (),
}
impl DissociateEntityFromThing {
pub fn builder() -> crate::input::dissociate_entity_from_thing_input::Builder {
crate::input::dissociate_entity_from_thing_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DissociateEntityFromThing {
type Output = std::result::Result<
crate::output::DissociateEntityFromThingOutput,
crate::error::DissociateEntityFromThingError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_dissociate_entity_from_thing_error(response)
} else {
crate::operation_deser::parse_dissociate_entity_from_thing_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetEntities {
_private: (),
}
impl GetEntities {
pub fn builder() -> crate::input::get_entities_input::Builder {
crate::input::get_entities_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetEntities {
type Output =
std::result::Result<crate::output::GetEntitiesOutput, crate::error::GetEntitiesError>;
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_entities_error(response)
} else {
crate::operation_deser::parse_get_entities_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetFlowTemplate {
_private: (),
}
impl GetFlowTemplate {
pub fn builder() -> crate::input::get_flow_template_input::Builder {
crate::input::get_flow_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetFlowTemplate {
type Output = std::result::Result<
crate::output::GetFlowTemplateOutput,
crate::error::GetFlowTemplateError,
>;
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_flow_template_error(response)
} else {
crate::operation_deser::parse_get_flow_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetFlowTemplateRevisions {
_private: (),
}
impl GetFlowTemplateRevisions {
pub fn builder() -> crate::input::get_flow_template_revisions_input::Builder {
crate::input::get_flow_template_revisions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetFlowTemplateRevisions {
type Output = std::result::Result<
crate::output::GetFlowTemplateRevisionsOutput,
crate::error::GetFlowTemplateRevisionsError,
>;
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_flow_template_revisions_error(response)
} else {
crate::operation_deser::parse_get_flow_template_revisions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetNamespaceDeletionStatus {
_private: (),
}
impl GetNamespaceDeletionStatus {
pub fn builder() -> crate::input::get_namespace_deletion_status_input::Builder {
crate::input::get_namespace_deletion_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetNamespaceDeletionStatus {
type Output = std::result::Result<
crate::output::GetNamespaceDeletionStatusOutput,
crate::error::GetNamespaceDeletionStatusError,
>;
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_namespace_deletion_status_error(response)
} else {
crate::operation_deser::parse_get_namespace_deletion_status_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetSystemInstance {
_private: (),
}
impl GetSystemInstance {
pub fn builder() -> crate::input::get_system_instance_input::Builder {
crate::input::get_system_instance_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetSystemInstance {
type Output = std::result::Result<
crate::output::GetSystemInstanceOutput,
crate::error::GetSystemInstanceError,
>;
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_system_instance_error(response)
} else {
crate::operation_deser::parse_get_system_instance_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetSystemTemplate {
_private: (),
}
impl GetSystemTemplate {
pub fn builder() -> crate::input::get_system_template_input::Builder {
crate::input::get_system_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetSystemTemplate {
type Output = std::result::Result<
crate::output::GetSystemTemplateOutput,
crate::error::GetSystemTemplateError,
>;
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_system_template_error(response)
} else {
crate::operation_deser::parse_get_system_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetSystemTemplateRevisions {
_private: (),
}
impl GetSystemTemplateRevisions {
pub fn builder() -> crate::input::get_system_template_revisions_input::Builder {
crate::input::get_system_template_revisions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetSystemTemplateRevisions {
type Output = std::result::Result<
crate::output::GetSystemTemplateRevisionsOutput,
crate::error::GetSystemTemplateRevisionsError,
>;
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_system_template_revisions_error(response)
} else {
crate::operation_deser::parse_get_system_template_revisions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetUploadStatus {
_private: (),
}
impl GetUploadStatus {
pub fn builder() -> crate::input::get_upload_status_input::Builder {
crate::input::get_upload_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetUploadStatus {
type Output = std::result::Result<
crate::output::GetUploadStatusOutput,
crate::error::GetUploadStatusError,
>;
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_upload_status_error(response)
} else {
crate::operation_deser::parse_get_upload_status_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListFlowExecutionMessages {
_private: (),
}
impl ListFlowExecutionMessages {
pub fn builder() -> crate::input::list_flow_execution_messages_input::Builder {
crate::input::list_flow_execution_messages_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListFlowExecutionMessages {
type Output = std::result::Result<
crate::output::ListFlowExecutionMessagesOutput,
crate::error::ListFlowExecutionMessagesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_flow_execution_messages_error(response)
} else {
crate::operation_deser::parse_list_flow_execution_messages_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListTagsForResource {
_private: (),
}
impl ListTagsForResource {
pub fn builder() -> crate::input::list_tags_for_resource_input::Builder {
crate::input::list_tags_for_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTagsForResource {
type Output = std::result::Result<
crate::output::ListTagsForResourceOutput,
crate::error::ListTagsForResourceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_tags_for_resource_error(response)
} else {
crate::operation_deser::parse_list_tags_for_resource_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct SearchEntities {
_private: (),
}
impl SearchEntities {
pub fn builder() -> crate::input::search_entities_input::Builder {
crate::input::search_entities_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SearchEntities {
type Output =
std::result::Result<crate::output::SearchEntitiesOutput, crate::error::SearchEntitiesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_search_entities_error(response)
} else {
crate::operation_deser::parse_search_entities_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct SearchFlowExecutions {
_private: (),
}
impl SearchFlowExecutions {
pub fn builder() -> crate::input::search_flow_executions_input::Builder {
crate::input::search_flow_executions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SearchFlowExecutions {
type Output = std::result::Result<
crate::output::SearchFlowExecutionsOutput,
crate::error::SearchFlowExecutionsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_search_flow_executions_error(response)
} else {
crate::operation_deser::parse_search_flow_executions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct SearchFlowTemplates {
_private: (),
}
impl SearchFlowTemplates {
pub fn builder() -> crate::input::search_flow_templates_input::Builder {
crate::input::search_flow_templates_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SearchFlowTemplates {
type Output = std::result::Result<
crate::output::SearchFlowTemplatesOutput,
crate::error::SearchFlowTemplatesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_search_flow_templates_error(response)
} else {
crate::operation_deser::parse_search_flow_templates_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct SearchSystemInstances {
_private: (),
}
impl SearchSystemInstances {
pub fn builder() -> crate::input::search_system_instances_input::Builder {
crate::input::search_system_instances_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SearchSystemInstances {
type Output = std::result::Result<
crate::output::SearchSystemInstancesOutput,
crate::error::SearchSystemInstancesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_search_system_instances_error(response)
} else {
crate::operation_deser::parse_search_system_instances_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct SearchSystemTemplates {
_private: (),
}
impl SearchSystemTemplates {
pub fn builder() -> crate::input::search_system_templates_input::Builder {
crate::input::search_system_templates_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SearchSystemTemplates {
type Output = std::result::Result<
crate::output::SearchSystemTemplatesOutput,
crate::error::SearchSystemTemplatesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_search_system_templates_error(response)
} else {
crate::operation_deser::parse_search_system_templates_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct SearchThings {
_private: (),
}
impl SearchThings {
pub fn builder() -> crate::input::search_things_input::Builder {
crate::input::search_things_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SearchThings {
type Output =
std::result::Result<crate::output::SearchThingsOutput, crate::error::SearchThingsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_search_things_error(response)
} else {
crate::operation_deser::parse_search_things_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct TagResource {
_private: (),
}
impl TagResource {
pub fn builder() -> crate::input::tag_resource_input::Builder {
crate::input::tag_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for TagResource {
type Output =
std::result::Result<crate::output::TagResourceOutput, crate::error::TagResourceError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_tag_resource_error(response)
} else {
crate::operation_deser::parse_tag_resource_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UndeploySystemInstance {
_private: (),
}
impl UndeploySystemInstance {
pub fn builder() -> crate::input::undeploy_system_instance_input::Builder {
crate::input::undeploy_system_instance_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UndeploySystemInstance {
type Output = std::result::Result<
crate::output::UndeploySystemInstanceOutput,
crate::error::UndeploySystemInstanceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_undeploy_system_instance_error(response)
} else {
crate::operation_deser::parse_undeploy_system_instance_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UntagResource {
_private: (),
}
impl UntagResource {
pub fn builder() -> crate::input::untag_resource_input::Builder {
crate::input::untag_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UntagResource {
type Output =
std::result::Result<crate::output::UntagResourceOutput, crate::error::UntagResourceError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_untag_resource_error(response)
} else {
crate::operation_deser::parse_untag_resource_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateFlowTemplate {
_private: (),
}
impl UpdateFlowTemplate {
pub fn builder() -> crate::input::update_flow_template_input::Builder {
crate::input::update_flow_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateFlowTemplate {
type Output = std::result::Result<
crate::output::UpdateFlowTemplateOutput,
crate::error::UpdateFlowTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_flow_template_error(response)
} else {
crate::operation_deser::parse_update_flow_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateSystemTemplate {
_private: (),
}
impl UpdateSystemTemplate {
pub fn builder() -> crate::input::update_system_template_input::Builder {
crate::input::update_system_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateSystemTemplate {
type Output = std::result::Result<
crate::output::UpdateSystemTemplateOutput,
crate::error::UpdateSystemTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_system_template_error(response)
} else {
crate::operation_deser::parse_update_system_template_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UploadEntityDefinitions {
_private: (),
}
impl UploadEntityDefinitions {
pub fn builder() -> crate::input::upload_entity_definitions_input::Builder {
crate::input::upload_entity_definitions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UploadEntityDefinitions {
type Output = std::result::Result<
crate::output::UploadEntityDefinitionsOutput,
crate::error::UploadEntityDefinitionsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_upload_entity_definitions_error(response)
} else {
crate::operation_deser::parse_upload_entity_definitions_response(response)
}
}
}