#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct BatchCreateVariable {
_private: (),
}
impl BatchCreateVariable {
pub fn builder() -> crate::input::batch_create_variable_input::Builder {
crate::input::batch_create_variable_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for BatchCreateVariable {
type Output = std::result::Result<
crate::output::BatchCreateVariableOutput,
crate::error::BatchCreateVariableError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_batch_create_variable_error(response)
} else {
crate::operation_deser::parse_batch_create_variable_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct BatchGetVariable {
_private: (),
}
impl BatchGetVariable {
pub fn builder() -> crate::input::batch_get_variable_input::Builder {
crate::input::batch_get_variable_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for BatchGetVariable {
type Output = std::result::Result<
crate::output::BatchGetVariableOutput,
crate::error::BatchGetVariableError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_batch_get_variable_error(response)
} else {
crate::operation_deser::parse_batch_get_variable_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelBatchImportJob {
_private: (),
}
impl CancelBatchImportJob {
pub fn builder() -> crate::input::cancel_batch_import_job_input::Builder {
crate::input::cancel_batch_import_job_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelBatchImportJob {
type Output = std::result::Result<
crate::output::CancelBatchImportJobOutput,
crate::error::CancelBatchImportJobError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_cancel_batch_import_job_error(response)
} else {
crate::operation_deser::parse_cancel_batch_import_job_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelBatchPredictionJob {
_private: (),
}
impl CancelBatchPredictionJob {
pub fn builder() -> crate::input::cancel_batch_prediction_job_input::Builder {
crate::input::cancel_batch_prediction_job_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelBatchPredictionJob {
type Output = std::result::Result<
crate::output::CancelBatchPredictionJobOutput,
crate::error::CancelBatchPredictionJobError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_cancel_batch_prediction_job_error(response)
} else {
crate::operation_deser::parse_cancel_batch_prediction_job_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateBatchImportJob {
_private: (),
}
impl CreateBatchImportJob {
pub fn builder() -> crate::input::create_batch_import_job_input::Builder {
crate::input::create_batch_import_job_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateBatchImportJob {
type Output = std::result::Result<
crate::output::CreateBatchImportJobOutput,
crate::error::CreateBatchImportJobError,
>;
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_batch_import_job_error(response)
} else {
crate::operation_deser::parse_create_batch_import_job_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateBatchPredictionJob {
_private: (),
}
impl CreateBatchPredictionJob {
pub fn builder() -> crate::input::create_batch_prediction_job_input::Builder {
crate::input::create_batch_prediction_job_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateBatchPredictionJob {
type Output = std::result::Result<
crate::output::CreateBatchPredictionJobOutput,
crate::error::CreateBatchPredictionJobError,
>;
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_batch_prediction_job_error(response)
} else {
crate::operation_deser::parse_create_batch_prediction_job_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateDetectorVersion {
_private: (),
}
impl CreateDetectorVersion {
pub fn builder() -> crate::input::create_detector_version_input::Builder {
crate::input::create_detector_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateDetectorVersion {
type Output = std::result::Result<
crate::output::CreateDetectorVersionOutput,
crate::error::CreateDetectorVersionError,
>;
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_detector_version_error(response)
} else {
crate::operation_deser::parse_create_detector_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateModel {
_private: (),
}
impl CreateModel {
pub fn builder() -> crate::input::create_model_input::Builder {
crate::input::create_model_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateModel {
type Output =
std::result::Result<crate::output::CreateModelOutput, crate::error::CreateModelError>;
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_model_error(response)
} else {
crate::operation_deser::parse_create_model_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateModelVersion {
_private: (),
}
impl CreateModelVersion {
pub fn builder() -> crate::input::create_model_version_input::Builder {
crate::input::create_model_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateModelVersion {
type Output = std::result::Result<
crate::output::CreateModelVersionOutput,
crate::error::CreateModelVersionError,
>;
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_model_version_error(response)
} else {
crate::operation_deser::parse_create_model_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateRule {
_private: (),
}
impl CreateRule {
pub fn builder() -> crate::input::create_rule_input::Builder {
crate::input::create_rule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateRule {
type Output =
std::result::Result<crate::output::CreateRuleOutput, crate::error::CreateRuleError>;
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_rule_error(response)
} else {
crate::operation_deser::parse_create_rule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateVariable {
_private: (),
}
impl CreateVariable {
pub fn builder() -> crate::input::create_variable_input::Builder {
crate::input::create_variable_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateVariable {
type Output =
std::result::Result<crate::output::CreateVariableOutput, crate::error::CreateVariableError>;
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_variable_error(response)
} else {
crate::operation_deser::parse_create_variable_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteBatchImportJob {
_private: (),
}
impl DeleteBatchImportJob {
pub fn builder() -> crate::input::delete_batch_import_job_input::Builder {
crate::input::delete_batch_import_job_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteBatchImportJob {
type Output = std::result::Result<
crate::output::DeleteBatchImportJobOutput,
crate::error::DeleteBatchImportJobError,
>;
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_batch_import_job_error(response)
} else {
crate::operation_deser::parse_delete_batch_import_job_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteBatchPredictionJob {
_private: (),
}
impl DeleteBatchPredictionJob {
pub fn builder() -> crate::input::delete_batch_prediction_job_input::Builder {
crate::input::delete_batch_prediction_job_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteBatchPredictionJob {
type Output = std::result::Result<
crate::output::DeleteBatchPredictionJobOutput,
crate::error::DeleteBatchPredictionJobError,
>;
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_batch_prediction_job_error(response)
} else {
crate::operation_deser::parse_delete_batch_prediction_job_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteDetector {
_private: (),
}
impl DeleteDetector {
pub fn builder() -> crate::input::delete_detector_input::Builder {
crate::input::delete_detector_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteDetector {
type Output =
std::result::Result<crate::output::DeleteDetectorOutput, crate::error::DeleteDetectorError>;
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_detector_error(response)
} else {
crate::operation_deser::parse_delete_detector_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteDetectorVersion {
_private: (),
}
impl DeleteDetectorVersion {
pub fn builder() -> crate::input::delete_detector_version_input::Builder {
crate::input::delete_detector_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteDetectorVersion {
type Output = std::result::Result<
crate::output::DeleteDetectorVersionOutput,
crate::error::DeleteDetectorVersionError,
>;
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_detector_version_error(response)
} else {
crate::operation_deser::parse_delete_detector_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteEntityType {
_private: (),
}
impl DeleteEntityType {
pub fn builder() -> crate::input::delete_entity_type_input::Builder {
crate::input::delete_entity_type_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteEntityType {
type Output = std::result::Result<
crate::output::DeleteEntityTypeOutput,
crate::error::DeleteEntityTypeError,
>;
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_entity_type_error(response)
} else {
crate::operation_deser::parse_delete_entity_type_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteEvent {
_private: (),
}
impl DeleteEvent {
pub fn builder() -> crate::input::delete_event_input::Builder {
crate::input::delete_event_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteEvent {
type Output =
std::result::Result<crate::output::DeleteEventOutput, crate::error::DeleteEventError>;
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_event_error(response)
} else {
crate::operation_deser::parse_delete_event_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteEventsByEventType {
_private: (),
}
impl DeleteEventsByEventType {
pub fn builder() -> crate::input::delete_events_by_event_type_input::Builder {
crate::input::delete_events_by_event_type_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteEventsByEventType {
type Output = std::result::Result<
crate::output::DeleteEventsByEventTypeOutput,
crate::error::DeleteEventsByEventTypeError,
>;
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_events_by_event_type_error(response)
} else {
crate::operation_deser::parse_delete_events_by_event_type_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteEventType {
_private: (),
}
impl DeleteEventType {
pub fn builder() -> crate::input::delete_event_type_input::Builder {
crate::input::delete_event_type_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteEventType {
type Output = std::result::Result<
crate::output::DeleteEventTypeOutput,
crate::error::DeleteEventTypeError,
>;
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_event_type_error(response)
} else {
crate::operation_deser::parse_delete_event_type_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteExternalModel {
_private: (),
}
impl DeleteExternalModel {
pub fn builder() -> crate::input::delete_external_model_input::Builder {
crate::input::delete_external_model_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteExternalModel {
type Output = std::result::Result<
crate::output::DeleteExternalModelOutput,
crate::error::DeleteExternalModelError,
>;
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_external_model_error(response)
} else {
crate::operation_deser::parse_delete_external_model_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteLabel {
_private: (),
}
impl DeleteLabel {
pub fn builder() -> crate::input::delete_label_input::Builder {
crate::input::delete_label_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteLabel {
type Output =
std::result::Result<crate::output::DeleteLabelOutput, crate::error::DeleteLabelError>;
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_label_error(response)
} else {
crate::operation_deser::parse_delete_label_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteModel {
_private: (),
}
impl DeleteModel {
pub fn builder() -> crate::input::delete_model_input::Builder {
crate::input::delete_model_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteModel {
type Output =
std::result::Result<crate::output::DeleteModelOutput, crate::error::DeleteModelError>;
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_model_error(response)
} else {
crate::operation_deser::parse_delete_model_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteModelVersion {
_private: (),
}
impl DeleteModelVersion {
pub fn builder() -> crate::input::delete_model_version_input::Builder {
crate::input::delete_model_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteModelVersion {
type Output = std::result::Result<
crate::output::DeleteModelVersionOutput,
crate::error::DeleteModelVersionError,
>;
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_model_version_error(response)
} else {
crate::operation_deser::parse_delete_model_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteOutcome {
_private: (),
}
impl DeleteOutcome {
pub fn builder() -> crate::input::delete_outcome_input::Builder {
crate::input::delete_outcome_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteOutcome {
type Output =
std::result::Result<crate::output::DeleteOutcomeOutput, crate::error::DeleteOutcomeError>;
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_outcome_error(response)
} else {
crate::operation_deser::parse_delete_outcome_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteRule {
_private: (),
}
impl DeleteRule {
pub fn builder() -> crate::input::delete_rule_input::Builder {
crate::input::delete_rule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteRule {
type Output =
std::result::Result<crate::output::DeleteRuleOutput, crate::error::DeleteRuleError>;
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_rule_error(response)
} else {
crate::operation_deser::parse_delete_rule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteVariable {
_private: (),
}
impl DeleteVariable {
pub fn builder() -> crate::input::delete_variable_input::Builder {
crate::input::delete_variable_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteVariable {
type Output =
std::result::Result<crate::output::DeleteVariableOutput, crate::error::DeleteVariableError>;
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_variable_error(response)
} else {
crate::operation_deser::parse_delete_variable_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDetector {
_private: (),
}
impl DescribeDetector {
pub fn builder() -> crate::input::describe_detector_input::Builder {
crate::input::describe_detector_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDetector {
type Output = std::result::Result<
crate::output::DescribeDetectorOutput,
crate::error::DescribeDetectorError,
>;
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_detector_error(response)
} else {
crate::operation_deser::parse_describe_detector_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeModelVersions {
_private: (),
}
impl DescribeModelVersions {
pub fn builder() -> crate::input::describe_model_versions_input::Builder {
crate::input::describe_model_versions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeModelVersions {
type Output = std::result::Result<
crate::output::DescribeModelVersionsOutput,
crate::error::DescribeModelVersionsError,
>;
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_model_versions_error(response)
} else {
crate::operation_deser::parse_describe_model_versions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetBatchImportJobs {
_private: (),
}
impl GetBatchImportJobs {
pub fn builder() -> crate::input::get_batch_import_jobs_input::Builder {
crate::input::get_batch_import_jobs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetBatchImportJobs {
type Output = std::result::Result<
crate::output::GetBatchImportJobsOutput,
crate::error::GetBatchImportJobsError,
>;
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_batch_import_jobs_error(response)
} else {
crate::operation_deser::parse_get_batch_import_jobs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetBatchPredictionJobs {
_private: (),
}
impl GetBatchPredictionJobs {
pub fn builder() -> crate::input::get_batch_prediction_jobs_input::Builder {
crate::input::get_batch_prediction_jobs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetBatchPredictionJobs {
type Output = std::result::Result<
crate::output::GetBatchPredictionJobsOutput,
crate::error::GetBatchPredictionJobsError,
>;
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_batch_prediction_jobs_error(response)
} else {
crate::operation_deser::parse_get_batch_prediction_jobs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetDeleteEventsByEventTypeStatus {
_private: (),
}
impl GetDeleteEventsByEventTypeStatus {
pub fn builder() -> crate::input::get_delete_events_by_event_type_status_input::Builder {
crate::input::get_delete_events_by_event_type_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetDeleteEventsByEventTypeStatus {
type Output = std::result::Result<
crate::output::GetDeleteEventsByEventTypeStatusOutput,
crate::error::GetDeleteEventsByEventTypeStatusError,
>;
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_delete_events_by_event_type_status_error(response)
} else {
crate::operation_deser::parse_get_delete_events_by_event_type_status_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetDetectors {
_private: (),
}
impl GetDetectors {
pub fn builder() -> crate::input::get_detectors_input::Builder {
crate::input::get_detectors_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetDetectors {
type Output =
std::result::Result<crate::output::GetDetectorsOutput, crate::error::GetDetectorsError>;
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_detectors_error(response)
} else {
crate::operation_deser::parse_get_detectors_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetDetectorVersion {
_private: (),
}
impl GetDetectorVersion {
pub fn builder() -> crate::input::get_detector_version_input::Builder {
crate::input::get_detector_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetDetectorVersion {
type Output = std::result::Result<
crate::output::GetDetectorVersionOutput,
crate::error::GetDetectorVersionError,
>;
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_detector_version_error(response)
} else {
crate::operation_deser::parse_get_detector_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetEntityTypes {
_private: (),
}
impl GetEntityTypes {
pub fn builder() -> crate::input::get_entity_types_input::Builder {
crate::input::get_entity_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetEntityTypes {
type Output =
std::result::Result<crate::output::GetEntityTypesOutput, crate::error::GetEntityTypesError>;
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_entity_types_error(response)
} else {
crate::operation_deser::parse_get_entity_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetEvent {
_private: (),
}
impl GetEvent {
pub fn builder() -> crate::input::get_event_input::Builder {
crate::input::get_event_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetEvent {
type Output = std::result::Result<crate::output::GetEventOutput, crate::error::GetEventError>;
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_event_error(response)
} else {
crate::operation_deser::parse_get_event_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetEventPrediction {
_private: (),
}
impl GetEventPrediction {
pub fn builder() -> crate::input::get_event_prediction_input::Builder {
crate::input::get_event_prediction_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetEventPrediction {
type Output = std::result::Result<
crate::output::GetEventPredictionOutput,
crate::error::GetEventPredictionError,
>;
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_event_prediction_error(response)
} else {
crate::operation_deser::parse_get_event_prediction_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetEventPredictionMetadata {
_private: (),
}
impl GetEventPredictionMetadata {
pub fn builder() -> crate::input::get_event_prediction_metadata_input::Builder {
crate::input::get_event_prediction_metadata_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetEventPredictionMetadata {
type Output = std::result::Result<
crate::output::GetEventPredictionMetadataOutput,
crate::error::GetEventPredictionMetadataError,
>;
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_event_prediction_metadata_error(response)
} else {
crate::operation_deser::parse_get_event_prediction_metadata_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetEventTypes {
_private: (),
}
impl GetEventTypes {
pub fn builder() -> crate::input::get_event_types_input::Builder {
crate::input::get_event_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetEventTypes {
type Output =
std::result::Result<crate::output::GetEventTypesOutput, crate::error::GetEventTypesError>;
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_event_types_error(response)
} else {
crate::operation_deser::parse_get_event_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetExternalModels {
_private: (),
}
impl GetExternalModels {
pub fn builder() -> crate::input::get_external_models_input::Builder {
crate::input::get_external_models_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetExternalModels {
type Output = std::result::Result<
crate::output::GetExternalModelsOutput,
crate::error::GetExternalModelsError,
>;
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_external_models_error(response)
} else {
crate::operation_deser::parse_get_external_models_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetKMSEncryptionKey {
_private: (),
}
impl GetKMSEncryptionKey {
pub fn builder() -> crate::input::get_kms_encryption_key_input::Builder {
crate::input::get_kms_encryption_key_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetKMSEncryptionKey {
type Output = std::result::Result<
crate::output::GetKmsEncryptionKeyOutput,
crate::error::GetKMSEncryptionKeyError,
>;
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_kms_encryption_key_error(response)
} else {
crate::operation_deser::parse_get_kms_encryption_key_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetLabels {
_private: (),
}
impl GetLabels {
pub fn builder() -> crate::input::get_labels_input::Builder {
crate::input::get_labels_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetLabels {
type Output = std::result::Result<crate::output::GetLabelsOutput, crate::error::GetLabelsError>;
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_labels_error(response)
} else {
crate::operation_deser::parse_get_labels_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetModels {
_private: (),
}
impl GetModels {
pub fn builder() -> crate::input::get_models_input::Builder {
crate::input::get_models_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetModels {
type Output = std::result::Result<crate::output::GetModelsOutput, crate::error::GetModelsError>;
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_models_error(response)
} else {
crate::operation_deser::parse_get_models_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetModelVersion {
_private: (),
}
impl GetModelVersion {
pub fn builder() -> crate::input::get_model_version_input::Builder {
crate::input::get_model_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetModelVersion {
type Output = std::result::Result<
crate::output::GetModelVersionOutput,
crate::error::GetModelVersionError,
>;
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_model_version_error(response)
} else {
crate::operation_deser::parse_get_model_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetOutcomes {
_private: (),
}
impl GetOutcomes {
pub fn builder() -> crate::input::get_outcomes_input::Builder {
crate::input::get_outcomes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetOutcomes {
type Output =
std::result::Result<crate::output::GetOutcomesOutput, crate::error::GetOutcomesError>;
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_outcomes_error(response)
} else {
crate::operation_deser::parse_get_outcomes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetRules {
_private: (),
}
impl GetRules {
pub fn builder() -> crate::input::get_rules_input::Builder {
crate::input::get_rules_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetRules {
type Output = std::result::Result<crate::output::GetRulesOutput, crate::error::GetRulesError>;
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_rules_error(response)
} else {
crate::operation_deser::parse_get_rules_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetVariables {
_private: (),
}
impl GetVariables {
pub fn builder() -> crate::input::get_variables_input::Builder {
crate::input::get_variables_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetVariables {
type Output =
std::result::Result<crate::output::GetVariablesOutput, crate::error::GetVariablesError>;
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_variables_error(response)
} else {
crate::operation_deser::parse_get_variables_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListEventPredictions {
_private: (),
}
impl ListEventPredictions {
pub fn builder() -> crate::input::list_event_predictions_input::Builder {
crate::input::list_event_predictions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListEventPredictions {
type Output = std::result::Result<
crate::output::ListEventPredictionsOutput,
crate::error::ListEventPredictionsError,
>;
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_event_predictions_error(response)
} else {
crate::operation_deser::parse_list_event_predictions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, 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::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutDetector {
_private: (),
}
impl PutDetector {
pub fn builder() -> crate::input::put_detector_input::Builder {
crate::input::put_detector_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutDetector {
type Output =
std::result::Result<crate::output::PutDetectorOutput, crate::error::PutDetectorError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_detector_error(response)
} else {
crate::operation_deser::parse_put_detector_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutEntityType {
_private: (),
}
impl PutEntityType {
pub fn builder() -> crate::input::put_entity_type_input::Builder {
crate::input::put_entity_type_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutEntityType {
type Output =
std::result::Result<crate::output::PutEntityTypeOutput, crate::error::PutEntityTypeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_entity_type_error(response)
} else {
crate::operation_deser::parse_put_entity_type_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutEventType {
_private: (),
}
impl PutEventType {
pub fn builder() -> crate::input::put_event_type_input::Builder {
crate::input::put_event_type_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutEventType {
type Output =
std::result::Result<crate::output::PutEventTypeOutput, crate::error::PutEventTypeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_event_type_error(response)
} else {
crate::operation_deser::parse_put_event_type_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutExternalModel {
_private: (),
}
impl PutExternalModel {
pub fn builder() -> crate::input::put_external_model_input::Builder {
crate::input::put_external_model_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutExternalModel {
type Output = std::result::Result<
crate::output::PutExternalModelOutput,
crate::error::PutExternalModelError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_external_model_error(response)
} else {
crate::operation_deser::parse_put_external_model_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutKMSEncryptionKey {
_private: (),
}
impl PutKMSEncryptionKey {
pub fn builder() -> crate::input::put_kms_encryption_key_input::Builder {
crate::input::put_kms_encryption_key_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutKMSEncryptionKey {
type Output = std::result::Result<
crate::output::PutKmsEncryptionKeyOutput,
crate::error::PutKMSEncryptionKeyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_kms_encryption_key_error(response)
} else {
crate::operation_deser::parse_put_kms_encryption_key_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutLabel {
_private: (),
}
impl PutLabel {
pub fn builder() -> crate::input::put_label_input::Builder {
crate::input::put_label_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutLabel {
type Output = std::result::Result<crate::output::PutLabelOutput, crate::error::PutLabelError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_label_error(response)
} else {
crate::operation_deser::parse_put_label_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutOutcome {
_private: (),
}
impl PutOutcome {
pub fn builder() -> crate::input::put_outcome_input::Builder {
crate::input::put_outcome_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutOutcome {
type Output =
std::result::Result<crate::output::PutOutcomeOutput, crate::error::PutOutcomeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_outcome_error(response)
} else {
crate::operation_deser::parse_put_outcome_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SendEvent {
_private: (),
}
impl SendEvent {
pub fn builder() -> crate::input::send_event_input::Builder {
crate::input::send_event_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SendEvent {
type Output = std::result::Result<crate::output::SendEventOutput, crate::error::SendEventError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_send_event_error(response)
} else {
crate::operation_deser::parse_send_event_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, 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::clone::Clone, std::default::Default, 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::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDetectorVersion {
_private: (),
}
impl UpdateDetectorVersion {
pub fn builder() -> crate::input::update_detector_version_input::Builder {
crate::input::update_detector_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDetectorVersion {
type Output = std::result::Result<
crate::output::UpdateDetectorVersionOutput,
crate::error::UpdateDetectorVersionError,
>;
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_detector_version_error(response)
} else {
crate::operation_deser::parse_update_detector_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDetectorVersionMetadata {
_private: (),
}
impl UpdateDetectorVersionMetadata {
pub fn builder() -> crate::input::update_detector_version_metadata_input::Builder {
crate::input::update_detector_version_metadata_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDetectorVersionMetadata {
type Output = std::result::Result<
crate::output::UpdateDetectorVersionMetadataOutput,
crate::error::UpdateDetectorVersionMetadataError,
>;
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_detector_version_metadata_error(response)
} else {
crate::operation_deser::parse_update_detector_version_metadata_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDetectorVersionStatus {
_private: (),
}
impl UpdateDetectorVersionStatus {
pub fn builder() -> crate::input::update_detector_version_status_input::Builder {
crate::input::update_detector_version_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDetectorVersionStatus {
type Output = std::result::Result<
crate::output::UpdateDetectorVersionStatusOutput,
crate::error::UpdateDetectorVersionStatusError,
>;
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_detector_version_status_error(response)
} else {
crate::operation_deser::parse_update_detector_version_status_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateEventLabel {
_private: (),
}
impl UpdateEventLabel {
pub fn builder() -> crate::input::update_event_label_input::Builder {
crate::input::update_event_label_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateEventLabel {
type Output = std::result::Result<
crate::output::UpdateEventLabelOutput,
crate::error::UpdateEventLabelError,
>;
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_event_label_error(response)
} else {
crate::operation_deser::parse_update_event_label_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateModel {
_private: (),
}
impl UpdateModel {
pub fn builder() -> crate::input::update_model_input::Builder {
crate::input::update_model_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateModel {
type Output =
std::result::Result<crate::output::UpdateModelOutput, crate::error::UpdateModelError>;
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_model_error(response)
} else {
crate::operation_deser::parse_update_model_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateModelVersion {
_private: (),
}
impl UpdateModelVersion {
pub fn builder() -> crate::input::update_model_version_input::Builder {
crate::input::update_model_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateModelVersion {
type Output = std::result::Result<
crate::output::UpdateModelVersionOutput,
crate::error::UpdateModelVersionError,
>;
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_model_version_error(response)
} else {
crate::operation_deser::parse_update_model_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateModelVersionStatus {
_private: (),
}
impl UpdateModelVersionStatus {
pub fn builder() -> crate::input::update_model_version_status_input::Builder {
crate::input::update_model_version_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateModelVersionStatus {
type Output = std::result::Result<
crate::output::UpdateModelVersionStatusOutput,
crate::error::UpdateModelVersionStatusError,
>;
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_model_version_status_error(response)
} else {
crate::operation_deser::parse_update_model_version_status_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateRuleMetadata {
_private: (),
}
impl UpdateRuleMetadata {
pub fn builder() -> crate::input::update_rule_metadata_input::Builder {
crate::input::update_rule_metadata_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateRuleMetadata {
type Output = std::result::Result<
crate::output::UpdateRuleMetadataOutput,
crate::error::UpdateRuleMetadataError,
>;
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_rule_metadata_error(response)
} else {
crate::operation_deser::parse_update_rule_metadata_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateRuleVersion {
_private: (),
}
impl UpdateRuleVersion {
pub fn builder() -> crate::input::update_rule_version_input::Builder {
crate::input::update_rule_version_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateRuleVersion {
type Output = std::result::Result<
crate::output::UpdateRuleVersionOutput,
crate::error::UpdateRuleVersionError,
>;
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_rule_version_error(response)
} else {
crate::operation_deser::parse_update_rule_version_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateVariable {
_private: (),
}
impl UpdateVariable {
pub fn builder() -> crate::input::update_variable_input::Builder {
crate::input::update_variable_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateVariable {
type Output =
std::result::Result<crate::output::UpdateVariableOutput, crate::error::UpdateVariableError>;
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_variable_error(response)
} else {
crate::operation_deser::parse_update_variable_response(response)
}
}
}
pub mod customize;