#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AcceptDomainTransferFromAnotherAwsAccount {
_private: (),
}
impl AcceptDomainTransferFromAnotherAwsAccount {
pub fn builder() -> crate::input::accept_domain_transfer_from_another_aws_account_input::Builder
{
crate::input::accept_domain_transfer_from_another_aws_account_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AcceptDomainTransferFromAnotherAwsAccount {
type Output = std::result::Result<
crate::output::AcceptDomainTransferFromAnotherAwsAccountOutput,
crate::error::AcceptDomainTransferFromAnotherAwsAccountError,
>;
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_domain_transfer_from_another_aws_account_error(
response,
)
} else {
crate::operation_deser::parse_accept_domain_transfer_from_another_aws_account_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociateDelegationSignerToDomain {
_private: (),
}
impl AssociateDelegationSignerToDomain {
pub fn builder() -> crate::input::associate_delegation_signer_to_domain_input::Builder {
crate::input::associate_delegation_signer_to_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateDelegationSignerToDomain {
type Output = std::result::Result<
crate::output::AssociateDelegationSignerToDomainOutput,
crate::error::AssociateDelegationSignerToDomainError,
>;
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_delegation_signer_to_domain_error(response)
} else {
crate::operation_deser::parse_associate_delegation_signer_to_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelDomainTransferToAnotherAwsAccount {
_private: (),
}
impl CancelDomainTransferToAnotherAwsAccount {
pub fn builder() -> crate::input::cancel_domain_transfer_to_another_aws_account_input::Builder {
crate::input::cancel_domain_transfer_to_another_aws_account_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelDomainTransferToAnotherAwsAccount {
type Output = std::result::Result<
crate::output::CancelDomainTransferToAnotherAwsAccountOutput,
crate::error::CancelDomainTransferToAnotherAwsAccountError,
>;
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_domain_transfer_to_another_aws_account_error(
response,
)
} else {
crate::operation_deser::parse_cancel_domain_transfer_to_another_aws_account_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CheckDomainAvailability {
_private: (),
}
impl CheckDomainAvailability {
pub fn builder() -> crate::input::check_domain_availability_input::Builder {
crate::input::check_domain_availability_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CheckDomainAvailability {
type Output = std::result::Result<
crate::output::CheckDomainAvailabilityOutput,
crate::error::CheckDomainAvailabilityError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_check_domain_availability_error(response)
} else {
crate::operation_deser::parse_check_domain_availability_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CheckDomainTransferability {
_private: (),
}
impl CheckDomainTransferability {
pub fn builder() -> crate::input::check_domain_transferability_input::Builder {
crate::input::check_domain_transferability_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CheckDomainTransferability {
type Output = std::result::Result<
crate::output::CheckDomainTransferabilityOutput,
crate::error::CheckDomainTransferabilityError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_check_domain_transferability_error(response)
} else {
crate::operation_deser::parse_check_domain_transferability_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteDomain {
_private: (),
}
impl DeleteDomain {
pub fn builder() -> crate::input::delete_domain_input::Builder {
crate::input::delete_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteDomain {
type Output =
std::result::Result<crate::output::DeleteDomainOutput, crate::error::DeleteDomainError>;
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_domain_error(response)
} else {
crate::operation_deser::parse_delete_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteTagsForDomain {
_private: (),
}
impl DeleteTagsForDomain {
pub fn builder() -> crate::input::delete_tags_for_domain_input::Builder {
crate::input::delete_tags_for_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTagsForDomain {
type Output = std::result::Result<
crate::output::DeleteTagsForDomainOutput,
crate::error::DeleteTagsForDomainError,
>;
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_for_domain_error(response)
} else {
crate::operation_deser::parse_delete_tags_for_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisableDomainAutoRenew {
_private: (),
}
impl DisableDomainAutoRenew {
pub fn builder() -> crate::input::disable_domain_auto_renew_input::Builder {
crate::input::disable_domain_auto_renew_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableDomainAutoRenew {
type Output = std::result::Result<
crate::output::DisableDomainAutoRenewOutput,
crate::error::DisableDomainAutoRenewError,
>;
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_domain_auto_renew_error(response)
} else {
crate::operation_deser::parse_disable_domain_auto_renew_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisableDomainTransferLock {
_private: (),
}
impl DisableDomainTransferLock {
pub fn builder() -> crate::input::disable_domain_transfer_lock_input::Builder {
crate::input::disable_domain_transfer_lock_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableDomainTransferLock {
type Output = std::result::Result<
crate::output::DisableDomainTransferLockOutput,
crate::error::DisableDomainTransferLockError,
>;
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_domain_transfer_lock_error(response)
} else {
crate::operation_deser::parse_disable_domain_transfer_lock_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisassociateDelegationSignerFromDomain {
_private: (),
}
impl DisassociateDelegationSignerFromDomain {
pub fn builder() -> crate::input::disassociate_delegation_signer_from_domain_input::Builder {
crate::input::disassociate_delegation_signer_from_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateDelegationSignerFromDomain {
type Output = std::result::Result<
crate::output::DisassociateDelegationSignerFromDomainOutput,
crate::error::DisassociateDelegationSignerFromDomainError,
>;
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_delegation_signer_from_domain_error(response)
} else {
crate::operation_deser::parse_disassociate_delegation_signer_from_domain_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct EnableDomainAutoRenew {
_private: (),
}
impl EnableDomainAutoRenew {
pub fn builder() -> crate::input::enable_domain_auto_renew_input::Builder {
crate::input::enable_domain_auto_renew_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnableDomainAutoRenew {
type Output = std::result::Result<
crate::output::EnableDomainAutoRenewOutput,
crate::error::EnableDomainAutoRenewError,
>;
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_domain_auto_renew_error(response)
} else {
crate::operation_deser::parse_enable_domain_auto_renew_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct EnableDomainTransferLock {
_private: (),
}
impl EnableDomainTransferLock {
pub fn builder() -> crate::input::enable_domain_transfer_lock_input::Builder {
crate::input::enable_domain_transfer_lock_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnableDomainTransferLock {
type Output = std::result::Result<
crate::output::EnableDomainTransferLockOutput,
crate::error::EnableDomainTransferLockError,
>;
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_domain_transfer_lock_error(response)
} else {
crate::operation_deser::parse_enable_domain_transfer_lock_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetContactReachabilityStatus {
_private: (),
}
impl GetContactReachabilityStatus {
pub fn builder() -> crate::input::get_contact_reachability_status_input::Builder {
crate::input::get_contact_reachability_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetContactReachabilityStatus {
type Output = std::result::Result<
crate::output::GetContactReachabilityStatusOutput,
crate::error::GetContactReachabilityStatusError,
>;
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_contact_reachability_status_error(response)
} else {
crate::operation_deser::parse_get_contact_reachability_status_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetDomainDetail {
_private: (),
}
impl GetDomainDetail {
pub fn builder() -> crate::input::get_domain_detail_input::Builder {
crate::input::get_domain_detail_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetDomainDetail {
type Output = std::result::Result<
crate::output::GetDomainDetailOutput,
crate::error::GetDomainDetailError,
>;
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_domain_detail_error(response)
} else {
crate::operation_deser::parse_get_domain_detail_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetDomainSuggestions {
_private: (),
}
impl GetDomainSuggestions {
pub fn builder() -> crate::input::get_domain_suggestions_input::Builder {
crate::input::get_domain_suggestions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetDomainSuggestions {
type Output = std::result::Result<
crate::output::GetDomainSuggestionsOutput,
crate::error::GetDomainSuggestionsError,
>;
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_domain_suggestions_error(response)
} else {
crate::operation_deser::parse_get_domain_suggestions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetOperationDetail {
_private: (),
}
impl GetOperationDetail {
pub fn builder() -> crate::input::get_operation_detail_input::Builder {
crate::input::get_operation_detail_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetOperationDetail {
type Output = std::result::Result<
crate::output::GetOperationDetailOutput,
crate::error::GetOperationDetailError,
>;
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_operation_detail_error(response)
} else {
crate::operation_deser::parse_get_operation_detail_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListDomains {
_private: (),
}
impl ListDomains {
pub fn builder() -> crate::input::list_domains_input::Builder {
crate::input::list_domains_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListDomains {
type Output =
std::result::Result<crate::output::ListDomainsOutput, crate::error::ListDomainsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_domains_error(response)
} else {
crate::operation_deser::parse_list_domains_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListOperations {
_private: (),
}
impl ListOperations {
pub fn builder() -> crate::input::list_operations_input::Builder {
crate::input::list_operations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListOperations {
type Output =
std::result::Result<crate::output::ListOperationsOutput, crate::error::ListOperationsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_operations_error(response)
} else {
crate::operation_deser::parse_list_operations_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListPrices {
_private: (),
}
impl ListPrices {
pub fn builder() -> crate::input::list_prices_input::Builder {
crate::input::list_prices_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListPrices {
type Output =
std::result::Result<crate::output::ListPricesOutput, crate::error::ListPricesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_prices_error(response)
} else {
crate::operation_deser::parse_list_prices_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTagsForDomain {
_private: (),
}
impl ListTagsForDomain {
pub fn builder() -> crate::input::list_tags_for_domain_input::Builder {
crate::input::list_tags_for_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTagsForDomain {
type Output = std::result::Result<
crate::output::ListTagsForDomainOutput,
crate::error::ListTagsForDomainError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_tags_for_domain_error(response)
} else {
crate::operation_deser::parse_list_tags_for_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PushDomain {
_private: (),
}
impl PushDomain {
pub fn builder() -> crate::input::push_domain_input::Builder {
crate::input::push_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PushDomain {
type Output =
std::result::Result<crate::output::PushDomainOutput, crate::error::PushDomainError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_push_domain_error(response)
} else {
crate::operation_deser::parse_push_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RegisterDomain {
_private: (),
}
impl RegisterDomain {
pub fn builder() -> crate::input::register_domain_input::Builder {
crate::input::register_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RegisterDomain {
type Output =
std::result::Result<crate::output::RegisterDomainOutput, crate::error::RegisterDomainError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_register_domain_error(response)
} else {
crate::operation_deser::parse_register_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RejectDomainTransferFromAnotherAwsAccount {
_private: (),
}
impl RejectDomainTransferFromAnotherAwsAccount {
pub fn builder() -> crate::input::reject_domain_transfer_from_another_aws_account_input::Builder
{
crate::input::reject_domain_transfer_from_another_aws_account_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RejectDomainTransferFromAnotherAwsAccount {
type Output = std::result::Result<
crate::output::RejectDomainTransferFromAnotherAwsAccountOutput,
crate::error::RejectDomainTransferFromAnotherAwsAccountError,
>;
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_domain_transfer_from_another_aws_account_error(
response,
)
} else {
crate::operation_deser::parse_reject_domain_transfer_from_another_aws_account_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RenewDomain {
_private: (),
}
impl RenewDomain {
pub fn builder() -> crate::input::renew_domain_input::Builder {
crate::input::renew_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RenewDomain {
type Output =
std::result::Result<crate::output::RenewDomainOutput, crate::error::RenewDomainError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_renew_domain_error(response)
} else {
crate::operation_deser::parse_renew_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ResendContactReachabilityEmail {
_private: (),
}
impl ResendContactReachabilityEmail {
pub fn builder() -> crate::input::resend_contact_reachability_email_input::Builder {
crate::input::resend_contact_reachability_email_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResendContactReachabilityEmail {
type Output = std::result::Result<
crate::output::ResendContactReachabilityEmailOutput,
crate::error::ResendContactReachabilityEmailError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_resend_contact_reachability_email_error(response)
} else {
crate::operation_deser::parse_resend_contact_reachability_email_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ResendOperationAuthorization {
_private: (),
}
impl ResendOperationAuthorization {
pub fn builder() -> crate::input::resend_operation_authorization_input::Builder {
crate::input::resend_operation_authorization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResendOperationAuthorization {
type Output = std::result::Result<
crate::output::ResendOperationAuthorizationOutput,
crate::error::ResendOperationAuthorizationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_resend_operation_authorization_error(response)
} else {
crate::operation_deser::parse_resend_operation_authorization_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RetrieveDomainAuthCode {
_private: (),
}
impl RetrieveDomainAuthCode {
pub fn builder() -> crate::input::retrieve_domain_auth_code_input::Builder {
crate::input::retrieve_domain_auth_code_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RetrieveDomainAuthCode {
type Output = std::result::Result<
crate::output::RetrieveDomainAuthCodeOutput,
crate::error::RetrieveDomainAuthCodeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_retrieve_domain_auth_code_error(response)
} else {
crate::operation_deser::parse_retrieve_domain_auth_code_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct TransferDomain {
_private: (),
}
impl TransferDomain {
pub fn builder() -> crate::input::transfer_domain_input::Builder {
crate::input::transfer_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for TransferDomain {
type Output =
std::result::Result<crate::output::TransferDomainOutput, crate::error::TransferDomainError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_transfer_domain_error(response)
} else {
crate::operation_deser::parse_transfer_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct TransferDomainToAnotherAwsAccount {
_private: (),
}
impl TransferDomainToAnotherAwsAccount {
pub fn builder() -> crate::input::transfer_domain_to_another_aws_account_input::Builder {
crate::input::transfer_domain_to_another_aws_account_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for TransferDomainToAnotherAwsAccount {
type Output = std::result::Result<
crate::output::TransferDomainToAnotherAwsAccountOutput,
crate::error::TransferDomainToAnotherAwsAccountError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_transfer_domain_to_another_aws_account_error(response)
} else {
crate::operation_deser::parse_transfer_domain_to_another_aws_account_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDomainContact {
_private: (),
}
impl UpdateDomainContact {
pub fn builder() -> crate::input::update_domain_contact_input::Builder {
crate::input::update_domain_contact_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDomainContact {
type Output = std::result::Result<
crate::output::UpdateDomainContactOutput,
crate::error::UpdateDomainContactError,
>;
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_domain_contact_error(response)
} else {
crate::operation_deser::parse_update_domain_contact_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDomainContactPrivacy {
_private: (),
}
impl UpdateDomainContactPrivacy {
pub fn builder() -> crate::input::update_domain_contact_privacy_input::Builder {
crate::input::update_domain_contact_privacy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDomainContactPrivacy {
type Output = std::result::Result<
crate::output::UpdateDomainContactPrivacyOutput,
crate::error::UpdateDomainContactPrivacyError,
>;
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_domain_contact_privacy_error(response)
} else {
crate::operation_deser::parse_update_domain_contact_privacy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDomainNameservers {
_private: (),
}
impl UpdateDomainNameservers {
pub fn builder() -> crate::input::update_domain_nameservers_input::Builder {
crate::input::update_domain_nameservers_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDomainNameservers {
type Output = std::result::Result<
crate::output::UpdateDomainNameserversOutput,
crate::error::UpdateDomainNameserversError,
>;
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_domain_nameservers_error(response)
} else {
crate::operation_deser::parse_update_domain_nameservers_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateTagsForDomain {
_private: (),
}
impl UpdateTagsForDomain {
pub fn builder() -> crate::input::update_tags_for_domain_input::Builder {
crate::input::update_tags_for_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateTagsForDomain {
type Output = std::result::Result<
crate::output::UpdateTagsForDomainOutput,
crate::error::UpdateTagsForDomainError,
>;
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_tags_for_domain_error(response)
} else {
crate::operation_deser::parse_update_tags_for_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ViewBilling {
_private: (),
}
impl ViewBilling {
pub fn builder() -> crate::input::view_billing_input::Builder {
crate::input::view_billing_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ViewBilling {
type Output =
std::result::Result<crate::output::ViewBillingOutput, crate::error::ViewBillingError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_view_billing_error(response)
} else {
crate::operation_deser::parse_view_billing_response(response)
}
}
}
pub mod customize;