#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AcceptReservedNodeExchange {
_private: (),
}
impl AcceptReservedNodeExchange {
pub fn builder() -> crate::input::accept_reserved_node_exchange_input::Builder {
crate::input::accept_reserved_node_exchange_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AcceptReservedNodeExchange {
type Output = std::result::Result<
crate::output::AcceptReservedNodeExchangeOutput,
crate::error::AcceptReservedNodeExchangeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_accept_reserved_node_exchange_error(response)
} else {
crate::operation_deser::parse_accept_reserved_node_exchange_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AddPartner {
_private: (),
}
impl AddPartner {
pub fn builder() -> crate::input::add_partner_input::Builder {
crate::input::add_partner_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AddPartner {
type Output =
std::result::Result<crate::output::AddPartnerOutput, crate::error::AddPartnerError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_add_partner_error(response)
} else {
crate::operation_deser::parse_add_partner_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AssociateDataShareConsumer {
_private: (),
}
impl AssociateDataShareConsumer {
pub fn builder() -> crate::input::associate_data_share_consumer_input::Builder {
crate::input::associate_data_share_consumer_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateDataShareConsumer {
type Output = std::result::Result<
crate::output::AssociateDataShareConsumerOutput,
crate::error::AssociateDataShareConsumerError,
>;
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_data_share_consumer_error(response)
} else {
crate::operation_deser::parse_associate_data_share_consumer_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AuthorizeClusterSecurityGroupIngress {
_private: (),
}
impl AuthorizeClusterSecurityGroupIngress {
pub fn builder() -> crate::input::authorize_cluster_security_group_ingress_input::Builder {
crate::input::authorize_cluster_security_group_ingress_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AuthorizeClusterSecurityGroupIngress {
type Output = std::result::Result<
crate::output::AuthorizeClusterSecurityGroupIngressOutput,
crate::error::AuthorizeClusterSecurityGroupIngressError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_authorize_cluster_security_group_ingress_error(response)
} else {
crate::operation_deser::parse_authorize_cluster_security_group_ingress_response(
response,
)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AuthorizeDataShare {
_private: (),
}
impl AuthorizeDataShare {
pub fn builder() -> crate::input::authorize_data_share_input::Builder {
crate::input::authorize_data_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AuthorizeDataShare {
type Output = std::result::Result<
crate::output::AuthorizeDataShareOutput,
crate::error::AuthorizeDataShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_authorize_data_share_error(response)
} else {
crate::operation_deser::parse_authorize_data_share_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AuthorizeEndpointAccess {
_private: (),
}
impl AuthorizeEndpointAccess {
pub fn builder() -> crate::input::authorize_endpoint_access_input::Builder {
crate::input::authorize_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AuthorizeEndpointAccess {
type Output = std::result::Result<
crate::output::AuthorizeEndpointAccessOutput,
crate::error::AuthorizeEndpointAccessError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_authorize_endpoint_access_error(response)
} else {
crate::operation_deser::parse_authorize_endpoint_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AuthorizeSnapshotAccess {
_private: (),
}
impl AuthorizeSnapshotAccess {
pub fn builder() -> crate::input::authorize_snapshot_access_input::Builder {
crate::input::authorize_snapshot_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AuthorizeSnapshotAccess {
type Output = std::result::Result<
crate::output::AuthorizeSnapshotAccessOutput,
crate::error::AuthorizeSnapshotAccessError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_authorize_snapshot_access_error(response)
} else {
crate::operation_deser::parse_authorize_snapshot_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct BatchDeleteClusterSnapshots {
_private: (),
}
impl BatchDeleteClusterSnapshots {
pub fn builder() -> crate::input::batch_delete_cluster_snapshots_input::Builder {
crate::input::batch_delete_cluster_snapshots_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for BatchDeleteClusterSnapshots {
type Output = std::result::Result<
crate::output::BatchDeleteClusterSnapshotsOutput,
crate::error::BatchDeleteClusterSnapshotsError,
>;
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_delete_cluster_snapshots_error(response)
} else {
crate::operation_deser::parse_batch_delete_cluster_snapshots_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct BatchModifyClusterSnapshots {
_private: (),
}
impl BatchModifyClusterSnapshots {
pub fn builder() -> crate::input::batch_modify_cluster_snapshots_input::Builder {
crate::input::batch_modify_cluster_snapshots_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for BatchModifyClusterSnapshots {
type Output = std::result::Result<
crate::output::BatchModifyClusterSnapshotsOutput,
crate::error::BatchModifyClusterSnapshotsError,
>;
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_modify_cluster_snapshots_error(response)
} else {
crate::operation_deser::parse_batch_modify_cluster_snapshots_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CancelResize {
_private: (),
}
impl CancelResize {
pub fn builder() -> crate::input::cancel_resize_input::Builder {
crate::input::cancel_resize_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelResize {
type Output =
std::result::Result<crate::output::CancelResizeOutput, crate::error::CancelResizeError>;
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_resize_error(response)
} else {
crate::operation_deser::parse_cancel_resize_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CopyClusterSnapshot {
_private: (),
}
impl CopyClusterSnapshot {
pub fn builder() -> crate::input::copy_cluster_snapshot_input::Builder {
crate::input::copy_cluster_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CopyClusterSnapshot {
type Output = std::result::Result<
crate::output::CopyClusterSnapshotOutput,
crate::error::CopyClusterSnapshotError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_copy_cluster_snapshot_error(response)
} else {
crate::operation_deser::parse_copy_cluster_snapshot_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateAuthenticationProfile {
_private: (),
}
impl CreateAuthenticationProfile {
pub fn builder() -> crate::input::create_authentication_profile_input::Builder {
crate::input::create_authentication_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateAuthenticationProfile {
type Output = std::result::Result<
crate::output::CreateAuthenticationProfileOutput,
crate::error::CreateAuthenticationProfileError,
>;
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_authentication_profile_error(response)
} else {
crate::operation_deser::parse_create_authentication_profile_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateCluster {
_private: (),
}
impl CreateCluster {
pub fn builder() -> crate::input::create_cluster_input::Builder {
crate::input::create_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateCluster {
type Output =
std::result::Result<crate::output::CreateClusterOutput, crate::error::CreateClusterError>;
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_cluster_error(response)
} else {
crate::operation_deser::parse_create_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateClusterParameterGroup {
_private: (),
}
impl CreateClusterParameterGroup {
pub fn builder() -> crate::input::create_cluster_parameter_group_input::Builder {
crate::input::create_cluster_parameter_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateClusterParameterGroup {
type Output = std::result::Result<
crate::output::CreateClusterParameterGroupOutput,
crate::error::CreateClusterParameterGroupError,
>;
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_cluster_parameter_group_error(response)
} else {
crate::operation_deser::parse_create_cluster_parameter_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateClusterSecurityGroup {
_private: (),
}
impl CreateClusterSecurityGroup {
pub fn builder() -> crate::input::create_cluster_security_group_input::Builder {
crate::input::create_cluster_security_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateClusterSecurityGroup {
type Output = std::result::Result<
crate::output::CreateClusterSecurityGroupOutput,
crate::error::CreateClusterSecurityGroupError,
>;
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_cluster_security_group_error(response)
} else {
crate::operation_deser::parse_create_cluster_security_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateClusterSnapshot {
_private: (),
}
impl CreateClusterSnapshot {
pub fn builder() -> crate::input::create_cluster_snapshot_input::Builder {
crate::input::create_cluster_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateClusterSnapshot {
type Output = std::result::Result<
crate::output::CreateClusterSnapshotOutput,
crate::error::CreateClusterSnapshotError,
>;
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_cluster_snapshot_error(response)
} else {
crate::operation_deser::parse_create_cluster_snapshot_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateClusterSubnetGroup {
_private: (),
}
impl CreateClusterSubnetGroup {
pub fn builder() -> crate::input::create_cluster_subnet_group_input::Builder {
crate::input::create_cluster_subnet_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateClusterSubnetGroup {
type Output = std::result::Result<
crate::output::CreateClusterSubnetGroupOutput,
crate::error::CreateClusterSubnetGroupError,
>;
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_cluster_subnet_group_error(response)
} else {
crate::operation_deser::parse_create_cluster_subnet_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateEndpointAccess {
_private: (),
}
impl CreateEndpointAccess {
pub fn builder() -> crate::input::create_endpoint_access_input::Builder {
crate::input::create_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateEndpointAccess {
type Output = std::result::Result<
crate::output::CreateEndpointAccessOutput,
crate::error::CreateEndpointAccessError,
>;
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_endpoint_access_error(response)
} else {
crate::operation_deser::parse_create_endpoint_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateEventSubscription {
_private: (),
}
impl CreateEventSubscription {
pub fn builder() -> crate::input::create_event_subscription_input::Builder {
crate::input::create_event_subscription_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateEventSubscription {
type Output = std::result::Result<
crate::output::CreateEventSubscriptionOutput,
crate::error::CreateEventSubscriptionError,
>;
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_event_subscription_error(response)
} else {
crate::operation_deser::parse_create_event_subscription_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateHsmClientCertificate {
_private: (),
}
impl CreateHsmClientCertificate {
pub fn builder() -> crate::input::create_hsm_client_certificate_input::Builder {
crate::input::create_hsm_client_certificate_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateHsmClientCertificate {
type Output = std::result::Result<
crate::output::CreateHsmClientCertificateOutput,
crate::error::CreateHsmClientCertificateError,
>;
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_hsm_client_certificate_error(response)
} else {
crate::operation_deser::parse_create_hsm_client_certificate_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateHsmConfiguration {
_private: (),
}
impl CreateHsmConfiguration {
pub fn builder() -> crate::input::create_hsm_configuration_input::Builder {
crate::input::create_hsm_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateHsmConfiguration {
type Output = std::result::Result<
crate::output::CreateHsmConfigurationOutput,
crate::error::CreateHsmConfigurationError,
>;
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_hsm_configuration_error(response)
} else {
crate::operation_deser::parse_create_hsm_configuration_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateScheduledAction {
_private: (),
}
impl CreateScheduledAction {
pub fn builder() -> crate::input::create_scheduled_action_input::Builder {
crate::input::create_scheduled_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateScheduledAction {
type Output = std::result::Result<
crate::output::CreateScheduledActionOutput,
crate::error::CreateScheduledActionError,
>;
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_scheduled_action_error(response)
} else {
crate::operation_deser::parse_create_scheduled_action_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateSnapshotCopyGrant {
_private: (),
}
impl CreateSnapshotCopyGrant {
pub fn builder() -> crate::input::create_snapshot_copy_grant_input::Builder {
crate::input::create_snapshot_copy_grant_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSnapshotCopyGrant {
type Output = std::result::Result<
crate::output::CreateSnapshotCopyGrantOutput,
crate::error::CreateSnapshotCopyGrantError,
>;
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_snapshot_copy_grant_error(response)
} else {
crate::operation_deser::parse_create_snapshot_copy_grant_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateSnapshotSchedule {
_private: (),
}
impl CreateSnapshotSchedule {
pub fn builder() -> crate::input::create_snapshot_schedule_input::Builder {
crate::input::create_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSnapshotSchedule {
type Output = std::result::Result<
crate::output::CreateSnapshotScheduleOutput,
crate::error::CreateSnapshotScheduleError,
>;
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_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_create_snapshot_schedule_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateTags {
_private: (),
}
impl CreateTags {
pub fn builder() -> crate::input::create_tags_input::Builder {
crate::input::create_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateTags {
type Output =
std::result::Result<crate::output::CreateTagsOutput, crate::error::CreateTagsError>;
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_tags_error(response)
} else {
crate::operation_deser::parse_create_tags_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateUsageLimit {
_private: (),
}
impl CreateUsageLimit {
pub fn builder() -> crate::input::create_usage_limit_input::Builder {
crate::input::create_usage_limit_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateUsageLimit {
type Output = std::result::Result<
crate::output::CreateUsageLimitOutput,
crate::error::CreateUsageLimitError,
>;
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_usage_limit_error(response)
} else {
crate::operation_deser::parse_create_usage_limit_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeauthorizeDataShare {
_private: (),
}
impl DeauthorizeDataShare {
pub fn builder() -> crate::input::deauthorize_data_share_input::Builder {
crate::input::deauthorize_data_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeauthorizeDataShare {
type Output = std::result::Result<
crate::output::DeauthorizeDataShareOutput,
crate::error::DeauthorizeDataShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_deauthorize_data_share_error(response)
} else {
crate::operation_deser::parse_deauthorize_data_share_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteAuthenticationProfile {
_private: (),
}
impl DeleteAuthenticationProfile {
pub fn builder() -> crate::input::delete_authentication_profile_input::Builder {
crate::input::delete_authentication_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteAuthenticationProfile {
type Output = std::result::Result<
crate::output::DeleteAuthenticationProfileOutput,
crate::error::DeleteAuthenticationProfileError,
>;
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_authentication_profile_error(response)
} else {
crate::operation_deser::parse_delete_authentication_profile_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteCluster {
_private: (),
}
impl DeleteCluster {
pub fn builder() -> crate::input::delete_cluster_input::Builder {
crate::input::delete_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteCluster {
type Output =
std::result::Result<crate::output::DeleteClusterOutput, crate::error::DeleteClusterError>;
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_cluster_error(response)
} else {
crate::operation_deser::parse_delete_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteClusterParameterGroup {
_private: (),
}
impl DeleteClusterParameterGroup {
pub fn builder() -> crate::input::delete_cluster_parameter_group_input::Builder {
crate::input::delete_cluster_parameter_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteClusterParameterGroup {
type Output = std::result::Result<
crate::output::DeleteClusterParameterGroupOutput,
crate::error::DeleteClusterParameterGroupError,
>;
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_cluster_parameter_group_error(response)
} else {
crate::operation_deser::parse_delete_cluster_parameter_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteClusterSecurityGroup {
_private: (),
}
impl DeleteClusterSecurityGroup {
pub fn builder() -> crate::input::delete_cluster_security_group_input::Builder {
crate::input::delete_cluster_security_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteClusterSecurityGroup {
type Output = std::result::Result<
crate::output::DeleteClusterSecurityGroupOutput,
crate::error::DeleteClusterSecurityGroupError,
>;
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_cluster_security_group_error(response)
} else {
crate::operation_deser::parse_delete_cluster_security_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteClusterSnapshot {
_private: (),
}
impl DeleteClusterSnapshot {
pub fn builder() -> crate::input::delete_cluster_snapshot_input::Builder {
crate::input::delete_cluster_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteClusterSnapshot {
type Output = std::result::Result<
crate::output::DeleteClusterSnapshotOutput,
crate::error::DeleteClusterSnapshotError,
>;
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_cluster_snapshot_error(response)
} else {
crate::operation_deser::parse_delete_cluster_snapshot_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteClusterSubnetGroup {
_private: (),
}
impl DeleteClusterSubnetGroup {
pub fn builder() -> crate::input::delete_cluster_subnet_group_input::Builder {
crate::input::delete_cluster_subnet_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteClusterSubnetGroup {
type Output = std::result::Result<
crate::output::DeleteClusterSubnetGroupOutput,
crate::error::DeleteClusterSubnetGroupError,
>;
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_cluster_subnet_group_error(response)
} else {
crate::operation_deser::parse_delete_cluster_subnet_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteEndpointAccess {
_private: (),
}
impl DeleteEndpointAccess {
pub fn builder() -> crate::input::delete_endpoint_access_input::Builder {
crate::input::delete_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteEndpointAccess {
type Output = std::result::Result<
crate::output::DeleteEndpointAccessOutput,
crate::error::DeleteEndpointAccessError,
>;
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_endpoint_access_error(response)
} else {
crate::operation_deser::parse_delete_endpoint_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteEventSubscription {
_private: (),
}
impl DeleteEventSubscription {
pub fn builder() -> crate::input::delete_event_subscription_input::Builder {
crate::input::delete_event_subscription_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteEventSubscription {
type Output = std::result::Result<
crate::output::DeleteEventSubscriptionOutput,
crate::error::DeleteEventSubscriptionError,
>;
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_subscription_error(response)
} else {
crate::operation_deser::parse_delete_event_subscription_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteHsmClientCertificate {
_private: (),
}
impl DeleteHsmClientCertificate {
pub fn builder() -> crate::input::delete_hsm_client_certificate_input::Builder {
crate::input::delete_hsm_client_certificate_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteHsmClientCertificate {
type Output = std::result::Result<
crate::output::DeleteHsmClientCertificateOutput,
crate::error::DeleteHsmClientCertificateError,
>;
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_hsm_client_certificate_error(response)
} else {
crate::operation_deser::parse_delete_hsm_client_certificate_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteHsmConfiguration {
_private: (),
}
impl DeleteHsmConfiguration {
pub fn builder() -> crate::input::delete_hsm_configuration_input::Builder {
crate::input::delete_hsm_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteHsmConfiguration {
type Output = std::result::Result<
crate::output::DeleteHsmConfigurationOutput,
crate::error::DeleteHsmConfigurationError,
>;
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_hsm_configuration_error(response)
} else {
crate::operation_deser::parse_delete_hsm_configuration_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeletePartner {
_private: (),
}
impl DeletePartner {
pub fn builder() -> crate::input::delete_partner_input::Builder {
crate::input::delete_partner_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeletePartner {
type Output =
std::result::Result<crate::output::DeletePartnerOutput, crate::error::DeletePartnerError>;
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_partner_error(response)
} else {
crate::operation_deser::parse_delete_partner_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteScheduledAction {
_private: (),
}
impl DeleteScheduledAction {
pub fn builder() -> crate::input::delete_scheduled_action_input::Builder {
crate::input::delete_scheduled_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteScheduledAction {
type Output = std::result::Result<
crate::output::DeleteScheduledActionOutput,
crate::error::DeleteScheduledActionError,
>;
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_scheduled_action_error(response)
} else {
crate::operation_deser::parse_delete_scheduled_action_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteSnapshotCopyGrant {
_private: (),
}
impl DeleteSnapshotCopyGrant {
pub fn builder() -> crate::input::delete_snapshot_copy_grant_input::Builder {
crate::input::delete_snapshot_copy_grant_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteSnapshotCopyGrant {
type Output = std::result::Result<
crate::output::DeleteSnapshotCopyGrantOutput,
crate::error::DeleteSnapshotCopyGrantError,
>;
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_snapshot_copy_grant_error(response)
} else {
crate::operation_deser::parse_delete_snapshot_copy_grant_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteSnapshotSchedule {
_private: (),
}
impl DeleteSnapshotSchedule {
pub fn builder() -> crate::input::delete_snapshot_schedule_input::Builder {
crate::input::delete_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteSnapshotSchedule {
type Output = std::result::Result<
crate::output::DeleteSnapshotScheduleOutput,
crate::error::DeleteSnapshotScheduleError,
>;
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_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_delete_snapshot_schedule_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteTags {
_private: (),
}
impl DeleteTags {
pub fn builder() -> crate::input::delete_tags_input::Builder {
crate::input::delete_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTags {
type Output =
std::result::Result<crate::output::DeleteTagsOutput, crate::error::DeleteTagsError>;
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_tags_error(response)
} else {
crate::operation_deser::parse_delete_tags_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteUsageLimit {
_private: (),
}
impl DeleteUsageLimit {
pub fn builder() -> crate::input::delete_usage_limit_input::Builder {
crate::input::delete_usage_limit_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteUsageLimit {
type Output = std::result::Result<
crate::output::DeleteUsageLimitOutput,
crate::error::DeleteUsageLimitError,
>;
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_usage_limit_error(response)
} else {
crate::operation_deser::parse_delete_usage_limit_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeAccountAttributes {
_private: (),
}
impl DescribeAccountAttributes {
pub fn builder() -> crate::input::describe_account_attributes_input::Builder {
crate::input::describe_account_attributes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAccountAttributes {
type Output = std::result::Result<
crate::output::DescribeAccountAttributesOutput,
crate::error::DescribeAccountAttributesError,
>;
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_account_attributes_error(response)
} else {
crate::operation_deser::parse_describe_account_attributes_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeAuthenticationProfiles {
_private: (),
}
impl DescribeAuthenticationProfiles {
pub fn builder() -> crate::input::describe_authentication_profiles_input::Builder {
crate::input::describe_authentication_profiles_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAuthenticationProfiles {
type Output = std::result::Result<
crate::output::DescribeAuthenticationProfilesOutput,
crate::error::DescribeAuthenticationProfilesError,
>;
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_authentication_profiles_error(response)
} else {
crate::operation_deser::parse_describe_authentication_profiles_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterDbRevisions {
_private: (),
}
impl DescribeClusterDbRevisions {
pub fn builder() -> crate::input::describe_cluster_db_revisions_input::Builder {
crate::input::describe_cluster_db_revisions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterDbRevisions {
type Output = std::result::Result<
crate::output::DescribeClusterDbRevisionsOutput,
crate::error::DescribeClusterDbRevisionsError,
>;
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_cluster_db_revisions_error(response)
} else {
crate::operation_deser::parse_describe_cluster_db_revisions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterParameterGroups {
_private: (),
}
impl DescribeClusterParameterGroups {
pub fn builder() -> crate::input::describe_cluster_parameter_groups_input::Builder {
crate::input::describe_cluster_parameter_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterParameterGroups {
type Output = std::result::Result<
crate::output::DescribeClusterParameterGroupsOutput,
crate::error::DescribeClusterParameterGroupsError,
>;
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_cluster_parameter_groups_error(response)
} else {
crate::operation_deser::parse_describe_cluster_parameter_groups_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterParameters {
_private: (),
}
impl DescribeClusterParameters {
pub fn builder() -> crate::input::describe_cluster_parameters_input::Builder {
crate::input::describe_cluster_parameters_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterParameters {
type Output = std::result::Result<
crate::output::DescribeClusterParametersOutput,
crate::error::DescribeClusterParametersError,
>;
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_cluster_parameters_error(response)
} else {
crate::operation_deser::parse_describe_cluster_parameters_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusters {
_private: (),
}
impl DescribeClusters {
pub fn builder() -> crate::input::describe_clusters_input::Builder {
crate::input::describe_clusters_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusters {
type Output = std::result::Result<
crate::output::DescribeClustersOutput,
crate::error::DescribeClustersError,
>;
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_clusters_error(response)
} else {
crate::operation_deser::parse_describe_clusters_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterSecurityGroups {
_private: (),
}
impl DescribeClusterSecurityGroups {
pub fn builder() -> crate::input::describe_cluster_security_groups_input::Builder {
crate::input::describe_cluster_security_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterSecurityGroups {
type Output = std::result::Result<
crate::output::DescribeClusterSecurityGroupsOutput,
crate::error::DescribeClusterSecurityGroupsError,
>;
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_cluster_security_groups_error(response)
} else {
crate::operation_deser::parse_describe_cluster_security_groups_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterSnapshots {
_private: (),
}
impl DescribeClusterSnapshots {
pub fn builder() -> crate::input::describe_cluster_snapshots_input::Builder {
crate::input::describe_cluster_snapshots_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterSnapshots {
type Output = std::result::Result<
crate::output::DescribeClusterSnapshotsOutput,
crate::error::DescribeClusterSnapshotsError,
>;
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_cluster_snapshots_error(response)
} else {
crate::operation_deser::parse_describe_cluster_snapshots_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterSubnetGroups {
_private: (),
}
impl DescribeClusterSubnetGroups {
pub fn builder() -> crate::input::describe_cluster_subnet_groups_input::Builder {
crate::input::describe_cluster_subnet_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterSubnetGroups {
type Output = std::result::Result<
crate::output::DescribeClusterSubnetGroupsOutput,
crate::error::DescribeClusterSubnetGroupsError,
>;
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_cluster_subnet_groups_error(response)
} else {
crate::operation_deser::parse_describe_cluster_subnet_groups_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterTracks {
_private: (),
}
impl DescribeClusterTracks {
pub fn builder() -> crate::input::describe_cluster_tracks_input::Builder {
crate::input::describe_cluster_tracks_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterTracks {
type Output = std::result::Result<
crate::output::DescribeClusterTracksOutput,
crate::error::DescribeClusterTracksError,
>;
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_cluster_tracks_error(response)
} else {
crate::operation_deser::parse_describe_cluster_tracks_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeClusterVersions {
_private: (),
}
impl DescribeClusterVersions {
pub fn builder() -> crate::input::describe_cluster_versions_input::Builder {
crate::input::describe_cluster_versions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeClusterVersions {
type Output = std::result::Result<
crate::output::DescribeClusterVersionsOutput,
crate::error::DescribeClusterVersionsError,
>;
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_cluster_versions_error(response)
} else {
crate::operation_deser::parse_describe_cluster_versions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeDataShares {
_private: (),
}
impl DescribeDataShares {
pub fn builder() -> crate::input::describe_data_shares_input::Builder {
crate::input::describe_data_shares_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDataShares {
type Output = std::result::Result<
crate::output::DescribeDataSharesOutput,
crate::error::DescribeDataSharesError,
>;
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_data_shares_error(response)
} else {
crate::operation_deser::parse_describe_data_shares_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeDataSharesForConsumer {
_private: (),
}
impl DescribeDataSharesForConsumer {
pub fn builder() -> crate::input::describe_data_shares_for_consumer_input::Builder {
crate::input::describe_data_shares_for_consumer_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDataSharesForConsumer {
type Output = std::result::Result<
crate::output::DescribeDataSharesForConsumerOutput,
crate::error::DescribeDataSharesForConsumerError,
>;
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_data_shares_for_consumer_error(response)
} else {
crate::operation_deser::parse_describe_data_shares_for_consumer_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeDataSharesForProducer {
_private: (),
}
impl DescribeDataSharesForProducer {
pub fn builder() -> crate::input::describe_data_shares_for_producer_input::Builder {
crate::input::describe_data_shares_for_producer_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDataSharesForProducer {
type Output = std::result::Result<
crate::output::DescribeDataSharesForProducerOutput,
crate::error::DescribeDataSharesForProducerError,
>;
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_data_shares_for_producer_error(response)
} else {
crate::operation_deser::parse_describe_data_shares_for_producer_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeDefaultClusterParameters {
_private: (),
}
impl DescribeDefaultClusterParameters {
pub fn builder() -> crate::input::describe_default_cluster_parameters_input::Builder {
crate::input::describe_default_cluster_parameters_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDefaultClusterParameters {
type Output = std::result::Result<
crate::output::DescribeDefaultClusterParametersOutput,
crate::error::DescribeDefaultClusterParametersError,
>;
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_default_cluster_parameters_error(response)
} else {
crate::operation_deser::parse_describe_default_cluster_parameters_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeEndpointAccess {
_private: (),
}
impl DescribeEndpointAccess {
pub fn builder() -> crate::input::describe_endpoint_access_input::Builder {
crate::input::describe_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEndpointAccess {
type Output = std::result::Result<
crate::output::DescribeEndpointAccessOutput,
crate::error::DescribeEndpointAccessError,
>;
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_endpoint_access_error(response)
} else {
crate::operation_deser::parse_describe_endpoint_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeEndpointAuthorization {
_private: (),
}
impl DescribeEndpointAuthorization {
pub fn builder() -> crate::input::describe_endpoint_authorization_input::Builder {
crate::input::describe_endpoint_authorization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEndpointAuthorization {
type Output = std::result::Result<
crate::output::DescribeEndpointAuthorizationOutput,
crate::error::DescribeEndpointAuthorizationError,
>;
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_endpoint_authorization_error(response)
} else {
crate::operation_deser::parse_describe_endpoint_authorization_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeEventCategories {
_private: (),
}
impl DescribeEventCategories {
pub fn builder() -> crate::input::describe_event_categories_input::Builder {
crate::input::describe_event_categories_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventCategories {
type Output = std::result::Result<
crate::output::DescribeEventCategoriesOutput,
crate::error::DescribeEventCategoriesError,
>;
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_event_categories_error(response)
} else {
crate::operation_deser::parse_describe_event_categories_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeEvents {
_private: (),
}
impl DescribeEvents {
pub fn builder() -> crate::input::describe_events_input::Builder {
crate::input::describe_events_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEvents {
type Output =
std::result::Result<crate::output::DescribeEventsOutput, crate::error::DescribeEventsError>;
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_events_error(response)
} else {
crate::operation_deser::parse_describe_events_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeEventSubscriptions {
_private: (),
}
impl DescribeEventSubscriptions {
pub fn builder() -> crate::input::describe_event_subscriptions_input::Builder {
crate::input::describe_event_subscriptions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventSubscriptions {
type Output = std::result::Result<
crate::output::DescribeEventSubscriptionsOutput,
crate::error::DescribeEventSubscriptionsError,
>;
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_event_subscriptions_error(response)
} else {
crate::operation_deser::parse_describe_event_subscriptions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeHsmClientCertificates {
_private: (),
}
impl DescribeHsmClientCertificates {
pub fn builder() -> crate::input::describe_hsm_client_certificates_input::Builder {
crate::input::describe_hsm_client_certificates_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeHsmClientCertificates {
type Output = std::result::Result<
crate::output::DescribeHsmClientCertificatesOutput,
crate::error::DescribeHsmClientCertificatesError,
>;
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_hsm_client_certificates_error(response)
} else {
crate::operation_deser::parse_describe_hsm_client_certificates_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeHsmConfigurations {
_private: (),
}
impl DescribeHsmConfigurations {
pub fn builder() -> crate::input::describe_hsm_configurations_input::Builder {
crate::input::describe_hsm_configurations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeHsmConfigurations {
type Output = std::result::Result<
crate::output::DescribeHsmConfigurationsOutput,
crate::error::DescribeHsmConfigurationsError,
>;
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_hsm_configurations_error(response)
} else {
crate::operation_deser::parse_describe_hsm_configurations_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeLoggingStatus {
_private: (),
}
impl DescribeLoggingStatus {
pub fn builder() -> crate::input::describe_logging_status_input::Builder {
crate::input::describe_logging_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLoggingStatus {
type Output = std::result::Result<
crate::output::DescribeLoggingStatusOutput,
crate::error::DescribeLoggingStatusError,
>;
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_logging_status_error(response)
} else {
crate::operation_deser::parse_describe_logging_status_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeNodeConfigurationOptions {
_private: (),
}
impl DescribeNodeConfigurationOptions {
pub fn builder() -> crate::input::describe_node_configuration_options_input::Builder {
crate::input::describe_node_configuration_options_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeNodeConfigurationOptions {
type Output = std::result::Result<
crate::output::DescribeNodeConfigurationOptionsOutput,
crate::error::DescribeNodeConfigurationOptionsError,
>;
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_node_configuration_options_error(response)
} else {
crate::operation_deser::parse_describe_node_configuration_options_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeOrderableClusterOptions {
_private: (),
}
impl DescribeOrderableClusterOptions {
pub fn builder() -> crate::input::describe_orderable_cluster_options_input::Builder {
crate::input::describe_orderable_cluster_options_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeOrderableClusterOptions {
type Output = std::result::Result<
crate::output::DescribeOrderableClusterOptionsOutput,
crate::error::DescribeOrderableClusterOptionsError,
>;
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_orderable_cluster_options_error(response)
} else {
crate::operation_deser::parse_describe_orderable_cluster_options_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribePartners {
_private: (),
}
impl DescribePartners {
pub fn builder() -> crate::input::describe_partners_input::Builder {
crate::input::describe_partners_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribePartners {
type Output = std::result::Result<
crate::output::DescribePartnersOutput,
crate::error::DescribePartnersError,
>;
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_partners_error(response)
} else {
crate::operation_deser::parse_describe_partners_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeReservedNodeOfferings {
_private: (),
}
impl DescribeReservedNodeOfferings {
pub fn builder() -> crate::input::describe_reserved_node_offerings_input::Builder {
crate::input::describe_reserved_node_offerings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeReservedNodeOfferings {
type Output = std::result::Result<
crate::output::DescribeReservedNodeOfferingsOutput,
crate::error::DescribeReservedNodeOfferingsError,
>;
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_reserved_node_offerings_error(response)
} else {
crate::operation_deser::parse_describe_reserved_node_offerings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeReservedNodes {
_private: (),
}
impl DescribeReservedNodes {
pub fn builder() -> crate::input::describe_reserved_nodes_input::Builder {
crate::input::describe_reserved_nodes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeReservedNodes {
type Output = std::result::Result<
crate::output::DescribeReservedNodesOutput,
crate::error::DescribeReservedNodesError,
>;
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_reserved_nodes_error(response)
} else {
crate::operation_deser::parse_describe_reserved_nodes_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeResize {
_private: (),
}
impl DescribeResize {
pub fn builder() -> crate::input::describe_resize_input::Builder {
crate::input::describe_resize_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeResize {
type Output =
std::result::Result<crate::output::DescribeResizeOutput, crate::error::DescribeResizeError>;
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_resize_error(response)
} else {
crate::operation_deser::parse_describe_resize_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeScheduledActions {
_private: (),
}
impl DescribeScheduledActions {
pub fn builder() -> crate::input::describe_scheduled_actions_input::Builder {
crate::input::describe_scheduled_actions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeScheduledActions {
type Output = std::result::Result<
crate::output::DescribeScheduledActionsOutput,
crate::error::DescribeScheduledActionsError,
>;
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_scheduled_actions_error(response)
} else {
crate::operation_deser::parse_describe_scheduled_actions_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeSnapshotCopyGrants {
_private: (),
}
impl DescribeSnapshotCopyGrants {
pub fn builder() -> crate::input::describe_snapshot_copy_grants_input::Builder {
crate::input::describe_snapshot_copy_grants_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeSnapshotCopyGrants {
type Output = std::result::Result<
crate::output::DescribeSnapshotCopyGrantsOutput,
crate::error::DescribeSnapshotCopyGrantsError,
>;
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_snapshot_copy_grants_error(response)
} else {
crate::operation_deser::parse_describe_snapshot_copy_grants_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeSnapshotSchedules {
_private: (),
}
impl DescribeSnapshotSchedules {
pub fn builder() -> crate::input::describe_snapshot_schedules_input::Builder {
crate::input::describe_snapshot_schedules_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeSnapshotSchedules {
type Output = std::result::Result<
crate::output::DescribeSnapshotSchedulesOutput,
crate::error::DescribeSnapshotSchedulesError,
>;
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_snapshot_schedules_error(response)
} else {
crate::operation_deser::parse_describe_snapshot_schedules_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeStorage {
_private: (),
}
impl DescribeStorage {
pub fn builder() -> crate::input::describe_storage_input::Builder {
crate::input::describe_storage_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeStorage {
type Output = std::result::Result<
crate::output::DescribeStorageOutput,
crate::error::DescribeStorageError,
>;
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_storage_error(response)
} else {
crate::operation_deser::parse_describe_storage_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeTableRestoreStatus {
_private: (),
}
impl DescribeTableRestoreStatus {
pub fn builder() -> crate::input::describe_table_restore_status_input::Builder {
crate::input::describe_table_restore_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTableRestoreStatus {
type Output = std::result::Result<
crate::output::DescribeTableRestoreStatusOutput,
crate::error::DescribeTableRestoreStatusError,
>;
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_table_restore_status_error(response)
} else {
crate::operation_deser::parse_describe_table_restore_status_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeTags {
_private: (),
}
impl DescribeTags {
pub fn builder() -> crate::input::describe_tags_input::Builder {
crate::input::describe_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTags {
type Output =
std::result::Result<crate::output::DescribeTagsOutput, crate::error::DescribeTagsError>;
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_tags_error(response)
} else {
crate::operation_deser::parse_describe_tags_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DescribeUsageLimits {
_private: (),
}
impl DescribeUsageLimits {
pub fn builder() -> crate::input::describe_usage_limits_input::Builder {
crate::input::describe_usage_limits_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeUsageLimits {
type Output = std::result::Result<
crate::output::DescribeUsageLimitsOutput,
crate::error::DescribeUsageLimitsError,
>;
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_usage_limits_error(response)
} else {
crate::operation_deser::parse_describe_usage_limits_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisableLogging {
_private: (),
}
impl DisableLogging {
pub fn builder() -> crate::input::disable_logging_input::Builder {
crate::input::disable_logging_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableLogging {
type Output =
std::result::Result<crate::output::DisableLoggingOutput, crate::error::DisableLoggingError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_disable_logging_error(response)
} else {
crate::operation_deser::parse_disable_logging_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisableSnapshotCopy {
_private: (),
}
impl DisableSnapshotCopy {
pub fn builder() -> crate::input::disable_snapshot_copy_input::Builder {
crate::input::disable_snapshot_copy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableSnapshotCopy {
type Output = std::result::Result<
crate::output::DisableSnapshotCopyOutput,
crate::error::DisableSnapshotCopyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_disable_snapshot_copy_error(response)
} else {
crate::operation_deser::parse_disable_snapshot_copy_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisassociateDataShareConsumer {
_private: (),
}
impl DisassociateDataShareConsumer {
pub fn builder() -> crate::input::disassociate_data_share_consumer_input::Builder {
crate::input::disassociate_data_share_consumer_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateDataShareConsumer {
type Output = std::result::Result<
crate::output::DisassociateDataShareConsumerOutput,
crate::error::DisassociateDataShareConsumerError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_disassociate_data_share_consumer_error(response)
} else {
crate::operation_deser::parse_disassociate_data_share_consumer_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct EnableLogging {
_private: (),
}
impl EnableLogging {
pub fn builder() -> crate::input::enable_logging_input::Builder {
crate::input::enable_logging_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnableLogging {
type Output =
std::result::Result<crate::output::EnableLoggingOutput, crate::error::EnableLoggingError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_enable_logging_error(response)
} else {
crate::operation_deser::parse_enable_logging_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct EnableSnapshotCopy {
_private: (),
}
impl EnableSnapshotCopy {
pub fn builder() -> crate::input::enable_snapshot_copy_input::Builder {
crate::input::enable_snapshot_copy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnableSnapshotCopy {
type Output = std::result::Result<
crate::output::EnableSnapshotCopyOutput,
crate::error::EnableSnapshotCopyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_enable_snapshot_copy_error(response)
} else {
crate::operation_deser::parse_enable_snapshot_copy_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetClusterCredentials {
_private: (),
}
impl GetClusterCredentials {
pub fn builder() -> crate::input::get_cluster_credentials_input::Builder {
crate::input::get_cluster_credentials_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetClusterCredentials {
type Output = std::result::Result<
crate::output::GetClusterCredentialsOutput,
crate::error::GetClusterCredentialsError,
>;
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_cluster_credentials_error(response)
} else {
crate::operation_deser::parse_get_cluster_credentials_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetReservedNodeExchangeOfferings {
_private: (),
}
impl GetReservedNodeExchangeOfferings {
pub fn builder() -> crate::input::get_reserved_node_exchange_offerings_input::Builder {
crate::input::get_reserved_node_exchange_offerings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetReservedNodeExchangeOfferings {
type Output = std::result::Result<
crate::output::GetReservedNodeExchangeOfferingsOutput,
crate::error::GetReservedNodeExchangeOfferingsError,
>;
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_reserved_node_exchange_offerings_error(response)
} else {
crate::operation_deser::parse_get_reserved_node_exchange_offerings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyAquaConfiguration {
_private: (),
}
impl ModifyAquaConfiguration {
pub fn builder() -> crate::input::modify_aqua_configuration_input::Builder {
crate::input::modify_aqua_configuration_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyAquaConfiguration {
type Output = std::result::Result<
crate::output::ModifyAquaConfigurationOutput,
crate::error::ModifyAquaConfigurationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_aqua_configuration_error(response)
} else {
crate::operation_deser::parse_modify_aqua_configuration_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyAuthenticationProfile {
_private: (),
}
impl ModifyAuthenticationProfile {
pub fn builder() -> crate::input::modify_authentication_profile_input::Builder {
crate::input::modify_authentication_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyAuthenticationProfile {
type Output = std::result::Result<
crate::output::ModifyAuthenticationProfileOutput,
crate::error::ModifyAuthenticationProfileError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_authentication_profile_error(response)
} else {
crate::operation_deser::parse_modify_authentication_profile_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyCluster {
_private: (),
}
impl ModifyCluster {
pub fn builder() -> crate::input::modify_cluster_input::Builder {
crate::input::modify_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyCluster {
type Output =
std::result::Result<crate::output::ModifyClusterOutput, crate::error::ModifyClusterError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_error(response)
} else {
crate::operation_deser::parse_modify_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterDbRevision {
_private: (),
}
impl ModifyClusterDbRevision {
pub fn builder() -> crate::input::modify_cluster_db_revision_input::Builder {
crate::input::modify_cluster_db_revision_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterDbRevision {
type Output = std::result::Result<
crate::output::ModifyClusterDbRevisionOutput,
crate::error::ModifyClusterDbRevisionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_db_revision_error(response)
} else {
crate::operation_deser::parse_modify_cluster_db_revision_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterIamRoles {
_private: (),
}
impl ModifyClusterIamRoles {
pub fn builder() -> crate::input::modify_cluster_iam_roles_input::Builder {
crate::input::modify_cluster_iam_roles_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterIamRoles {
type Output = std::result::Result<
crate::output::ModifyClusterIamRolesOutput,
crate::error::ModifyClusterIamRolesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_iam_roles_error(response)
} else {
crate::operation_deser::parse_modify_cluster_iam_roles_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterMaintenance {
_private: (),
}
impl ModifyClusterMaintenance {
pub fn builder() -> crate::input::modify_cluster_maintenance_input::Builder {
crate::input::modify_cluster_maintenance_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterMaintenance {
type Output = std::result::Result<
crate::output::ModifyClusterMaintenanceOutput,
crate::error::ModifyClusterMaintenanceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_maintenance_error(response)
} else {
crate::operation_deser::parse_modify_cluster_maintenance_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterParameterGroup {
_private: (),
}
impl ModifyClusterParameterGroup {
pub fn builder() -> crate::input::modify_cluster_parameter_group_input::Builder {
crate::input::modify_cluster_parameter_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterParameterGroup {
type Output = std::result::Result<
crate::output::ModifyClusterParameterGroupOutput,
crate::error::ModifyClusterParameterGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_parameter_group_error(response)
} else {
crate::operation_deser::parse_modify_cluster_parameter_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterSnapshot {
_private: (),
}
impl ModifyClusterSnapshot {
pub fn builder() -> crate::input::modify_cluster_snapshot_input::Builder {
crate::input::modify_cluster_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterSnapshot {
type Output = std::result::Result<
crate::output::ModifyClusterSnapshotOutput,
crate::error::ModifyClusterSnapshotError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_snapshot_error(response)
} else {
crate::operation_deser::parse_modify_cluster_snapshot_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterSnapshotSchedule {
_private: (),
}
impl ModifyClusterSnapshotSchedule {
pub fn builder() -> crate::input::modify_cluster_snapshot_schedule_input::Builder {
crate::input::modify_cluster_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterSnapshotSchedule {
type Output = std::result::Result<
crate::output::ModifyClusterSnapshotScheduleOutput,
crate::error::ModifyClusterSnapshotScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_modify_cluster_snapshot_schedule_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyClusterSubnetGroup {
_private: (),
}
impl ModifyClusterSubnetGroup {
pub fn builder() -> crate::input::modify_cluster_subnet_group_input::Builder {
crate::input::modify_cluster_subnet_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyClusterSubnetGroup {
type Output = std::result::Result<
crate::output::ModifyClusterSubnetGroupOutput,
crate::error::ModifyClusterSubnetGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_cluster_subnet_group_error(response)
} else {
crate::operation_deser::parse_modify_cluster_subnet_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyEndpointAccess {
_private: (),
}
impl ModifyEndpointAccess {
pub fn builder() -> crate::input::modify_endpoint_access_input::Builder {
crate::input::modify_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyEndpointAccess {
type Output = std::result::Result<
crate::output::ModifyEndpointAccessOutput,
crate::error::ModifyEndpointAccessError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_endpoint_access_error(response)
} else {
crate::operation_deser::parse_modify_endpoint_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyEventSubscription {
_private: (),
}
impl ModifyEventSubscription {
pub fn builder() -> crate::input::modify_event_subscription_input::Builder {
crate::input::modify_event_subscription_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyEventSubscription {
type Output = std::result::Result<
crate::output::ModifyEventSubscriptionOutput,
crate::error::ModifyEventSubscriptionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_event_subscription_error(response)
} else {
crate::operation_deser::parse_modify_event_subscription_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyScheduledAction {
_private: (),
}
impl ModifyScheduledAction {
pub fn builder() -> crate::input::modify_scheduled_action_input::Builder {
crate::input::modify_scheduled_action_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyScheduledAction {
type Output = std::result::Result<
crate::output::ModifyScheduledActionOutput,
crate::error::ModifyScheduledActionError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_scheduled_action_error(response)
} else {
crate::operation_deser::parse_modify_scheduled_action_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifySnapshotCopyRetentionPeriod {
_private: (),
}
impl ModifySnapshotCopyRetentionPeriod {
pub fn builder() -> crate::input::modify_snapshot_copy_retention_period_input::Builder {
crate::input::modify_snapshot_copy_retention_period_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifySnapshotCopyRetentionPeriod {
type Output = std::result::Result<
crate::output::ModifySnapshotCopyRetentionPeriodOutput,
crate::error::ModifySnapshotCopyRetentionPeriodError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_snapshot_copy_retention_period_error(response)
} else {
crate::operation_deser::parse_modify_snapshot_copy_retention_period_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifySnapshotSchedule {
_private: (),
}
impl ModifySnapshotSchedule {
pub fn builder() -> crate::input::modify_snapshot_schedule_input::Builder {
crate::input::modify_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifySnapshotSchedule {
type Output = std::result::Result<
crate::output::ModifySnapshotScheduleOutput,
crate::error::ModifySnapshotScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_modify_snapshot_schedule_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ModifyUsageLimit {
_private: (),
}
impl ModifyUsageLimit {
pub fn builder() -> crate::input::modify_usage_limit_input::Builder {
crate::input::modify_usage_limit_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ModifyUsageLimit {
type Output = std::result::Result<
crate::output::ModifyUsageLimitOutput,
crate::error::ModifyUsageLimitError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_modify_usage_limit_error(response)
} else {
crate::operation_deser::parse_modify_usage_limit_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct PauseCluster {
_private: (),
}
impl PauseCluster {
pub fn builder() -> crate::input::pause_cluster_input::Builder {
crate::input::pause_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PauseCluster {
type Output =
std::result::Result<crate::output::PauseClusterOutput, crate::error::PauseClusterError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_pause_cluster_error(response)
} else {
crate::operation_deser::parse_pause_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct PurchaseReservedNodeOffering {
_private: (),
}
impl PurchaseReservedNodeOffering {
pub fn builder() -> crate::input::purchase_reserved_node_offering_input::Builder {
crate::input::purchase_reserved_node_offering_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PurchaseReservedNodeOffering {
type Output = std::result::Result<
crate::output::PurchaseReservedNodeOfferingOutput,
crate::error::PurchaseReservedNodeOfferingError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_purchase_reserved_node_offering_error(response)
} else {
crate::operation_deser::parse_purchase_reserved_node_offering_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RebootCluster {
_private: (),
}
impl RebootCluster {
pub fn builder() -> crate::input::reboot_cluster_input::Builder {
crate::input::reboot_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RebootCluster {
type Output =
std::result::Result<crate::output::RebootClusterOutput, crate::error::RebootClusterError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_reboot_cluster_error(response)
} else {
crate::operation_deser::parse_reboot_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RejectDataShare {
_private: (),
}
impl RejectDataShare {
pub fn builder() -> crate::input::reject_data_share_input::Builder {
crate::input::reject_data_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RejectDataShare {
type Output = std::result::Result<
crate::output::RejectDataShareOutput,
crate::error::RejectDataShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_reject_data_share_error(response)
} else {
crate::operation_deser::parse_reject_data_share_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ResetClusterParameterGroup {
_private: (),
}
impl ResetClusterParameterGroup {
pub fn builder() -> crate::input::reset_cluster_parameter_group_input::Builder {
crate::input::reset_cluster_parameter_group_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResetClusterParameterGroup {
type Output = std::result::Result<
crate::output::ResetClusterParameterGroupOutput,
crate::error::ResetClusterParameterGroupError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_reset_cluster_parameter_group_error(response)
} else {
crate::operation_deser::parse_reset_cluster_parameter_group_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ResizeCluster {
_private: (),
}
impl ResizeCluster {
pub fn builder() -> crate::input::resize_cluster_input::Builder {
crate::input::resize_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResizeCluster {
type Output =
std::result::Result<crate::output::ResizeClusterOutput, crate::error::ResizeClusterError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_resize_cluster_error(response)
} else {
crate::operation_deser::parse_resize_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RestoreFromClusterSnapshot {
_private: (),
}
impl RestoreFromClusterSnapshot {
pub fn builder() -> crate::input::restore_from_cluster_snapshot_input::Builder {
crate::input::restore_from_cluster_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RestoreFromClusterSnapshot {
type Output = std::result::Result<
crate::output::RestoreFromClusterSnapshotOutput,
crate::error::RestoreFromClusterSnapshotError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_restore_from_cluster_snapshot_error(response)
} else {
crate::operation_deser::parse_restore_from_cluster_snapshot_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RestoreTableFromClusterSnapshot {
_private: (),
}
impl RestoreTableFromClusterSnapshot {
pub fn builder() -> crate::input::restore_table_from_cluster_snapshot_input::Builder {
crate::input::restore_table_from_cluster_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RestoreTableFromClusterSnapshot {
type Output = std::result::Result<
crate::output::RestoreTableFromClusterSnapshotOutput,
crate::error::RestoreTableFromClusterSnapshotError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_restore_table_from_cluster_snapshot_error(response)
} else {
crate::operation_deser::parse_restore_table_from_cluster_snapshot_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ResumeCluster {
_private: (),
}
impl ResumeCluster {
pub fn builder() -> crate::input::resume_cluster_input::Builder {
crate::input::resume_cluster_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResumeCluster {
type Output =
std::result::Result<crate::output::ResumeClusterOutput, crate::error::ResumeClusterError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_resume_cluster_error(response)
} else {
crate::operation_deser::parse_resume_cluster_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RevokeClusterSecurityGroupIngress {
_private: (),
}
impl RevokeClusterSecurityGroupIngress {
pub fn builder() -> crate::input::revoke_cluster_security_group_ingress_input::Builder {
crate::input::revoke_cluster_security_group_ingress_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RevokeClusterSecurityGroupIngress {
type Output = std::result::Result<
crate::output::RevokeClusterSecurityGroupIngressOutput,
crate::error::RevokeClusterSecurityGroupIngressError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_revoke_cluster_security_group_ingress_error(response)
} else {
crate::operation_deser::parse_revoke_cluster_security_group_ingress_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RevokeEndpointAccess {
_private: (),
}
impl RevokeEndpointAccess {
pub fn builder() -> crate::input::revoke_endpoint_access_input::Builder {
crate::input::revoke_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RevokeEndpointAccess {
type Output = std::result::Result<
crate::output::RevokeEndpointAccessOutput,
crate::error::RevokeEndpointAccessError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_revoke_endpoint_access_error(response)
} else {
crate::operation_deser::parse_revoke_endpoint_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RevokeSnapshotAccess {
_private: (),
}
impl RevokeSnapshotAccess {
pub fn builder() -> crate::input::revoke_snapshot_access_input::Builder {
crate::input::revoke_snapshot_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RevokeSnapshotAccess {
type Output = std::result::Result<
crate::output::RevokeSnapshotAccessOutput,
crate::error::RevokeSnapshotAccessError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_revoke_snapshot_access_error(response)
} else {
crate::operation_deser::parse_revoke_snapshot_access_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct RotateEncryptionKey {
_private: (),
}
impl RotateEncryptionKey {
pub fn builder() -> crate::input::rotate_encryption_key_input::Builder {
crate::input::rotate_encryption_key_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RotateEncryptionKey {
type Output = std::result::Result<
crate::output::RotateEncryptionKeyOutput,
crate::error::RotateEncryptionKeyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_rotate_encryption_key_error(response)
} else {
crate::operation_deser::parse_rotate_encryption_key_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdatePartnerStatus {
_private: (),
}
impl UpdatePartnerStatus {
pub fn builder() -> crate::input::update_partner_status_input::Builder {
crate::input::update_partner_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdatePartnerStatus {
type Output = std::result::Result<
crate::output::UpdatePartnerStatusOutput,
crate::error::UpdatePartnerStatusError,
>;
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_partner_status_error(response)
} else {
crate::operation_deser::parse_update_partner_status_response(response)
}
}
}