#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AcceptInboundConnection {
_private: (),
}
impl AcceptInboundConnection {
pub fn builder() -> crate::input::accept_inbound_connection_input::Builder {
crate::input::accept_inbound_connection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AcceptInboundConnection {
type Output = std::result::Result<
crate::output::AcceptInboundConnectionOutput,
crate::error::AcceptInboundConnectionError,
>;
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_inbound_connection_error(response)
} else {
crate::operation_deser::parse_accept_inbound_connection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AddTags {
_private: (),
}
impl AddTags {
pub fn builder() -> crate::input::add_tags_input::Builder {
crate::input::add_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AddTags {
type Output = std::result::Result<crate::output::AddTagsOutput, crate::error::AddTagsError>;
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_tags_error(response)
} else {
crate::operation_deser::parse_add_tags_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociatePackage {
_private: (),
}
impl AssociatePackage {
pub fn builder() -> crate::input::associate_package_input::Builder {
crate::input::associate_package_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociatePackage {
type Output = std::result::Result<
crate::output::AssociatePackageOutput,
crate::error::AssociatePackageError,
>;
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_package_error(response)
} else {
crate::operation_deser::parse_associate_package_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AuthorizeVpcEndpointAccess {
_private: (),
}
impl AuthorizeVpcEndpointAccess {
pub fn builder() -> crate::input::authorize_vpc_endpoint_access_input::Builder {
crate::input::authorize_vpc_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AuthorizeVpcEndpointAccess {
type Output = std::result::Result<
crate::output::AuthorizeVpcEndpointAccessOutput,
crate::error::AuthorizeVpcEndpointAccessError,
>;
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_vpc_endpoint_access_error(response)
} else {
crate::operation_deser::parse_authorize_vpc_endpoint_access_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelServiceSoftwareUpdate {
_private: (),
}
impl CancelServiceSoftwareUpdate {
pub fn builder() -> crate::input::cancel_service_software_update_input::Builder {
crate::input::cancel_service_software_update_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelServiceSoftwareUpdate {
type Output = std::result::Result<
crate::output::CancelServiceSoftwareUpdateOutput,
crate::error::CancelServiceSoftwareUpdateError,
>;
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_service_software_update_error(response)
} else {
crate::operation_deser::parse_cancel_service_software_update_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateDomain {
_private: (),
}
impl CreateDomain {
pub fn builder() -> crate::input::create_domain_input::Builder {
crate::input::create_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateDomain {
type Output =
std::result::Result<crate::output::CreateDomainOutput, crate::error::CreateDomainError>;
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_domain_error(response)
} else {
crate::operation_deser::parse_create_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateOutboundConnection {
_private: (),
}
impl CreateOutboundConnection {
pub fn builder() -> crate::input::create_outbound_connection_input::Builder {
crate::input::create_outbound_connection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateOutboundConnection {
type Output = std::result::Result<
crate::output::CreateOutboundConnectionOutput,
crate::error::CreateOutboundConnectionError,
>;
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_outbound_connection_error(response)
} else {
crate::operation_deser::parse_create_outbound_connection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreatePackage {
_private: (),
}
impl CreatePackage {
pub fn builder() -> crate::input::create_package_input::Builder {
crate::input::create_package_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreatePackage {
type Output =
std::result::Result<crate::output::CreatePackageOutput, crate::error::CreatePackageError>;
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_package_error(response)
} else {
crate::operation_deser::parse_create_package_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateVpcEndpoint {
_private: (),
}
impl CreateVpcEndpoint {
pub fn builder() -> crate::input::create_vpc_endpoint_input::Builder {
crate::input::create_vpc_endpoint_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateVpcEndpoint {
type Output = std::result::Result<
crate::output::CreateVpcEndpointOutput,
crate::error::CreateVpcEndpointError,
>;
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_vpc_endpoint_error(response)
} else {
crate::operation_deser::parse_create_vpc_endpoint_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 DeleteInboundConnection {
_private: (),
}
impl DeleteInboundConnection {
pub fn builder() -> crate::input::delete_inbound_connection_input::Builder {
crate::input::delete_inbound_connection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteInboundConnection {
type Output = std::result::Result<
crate::output::DeleteInboundConnectionOutput,
crate::error::DeleteInboundConnectionError,
>;
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_inbound_connection_error(response)
} else {
crate::operation_deser::parse_delete_inbound_connection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteOutboundConnection {
_private: (),
}
impl DeleteOutboundConnection {
pub fn builder() -> crate::input::delete_outbound_connection_input::Builder {
crate::input::delete_outbound_connection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteOutboundConnection {
type Output = std::result::Result<
crate::output::DeleteOutboundConnectionOutput,
crate::error::DeleteOutboundConnectionError,
>;
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_outbound_connection_error(response)
} else {
crate::operation_deser::parse_delete_outbound_connection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeletePackage {
_private: (),
}
impl DeletePackage {
pub fn builder() -> crate::input::delete_package_input::Builder {
crate::input::delete_package_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeletePackage {
type Output =
std::result::Result<crate::output::DeletePackageOutput, crate::error::DeletePackageError>;
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_package_error(response)
} else {
crate::operation_deser::parse_delete_package_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteVpcEndpoint {
_private: (),
}
impl DeleteVpcEndpoint {
pub fn builder() -> crate::input::delete_vpc_endpoint_input::Builder {
crate::input::delete_vpc_endpoint_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteVpcEndpoint {
type Output = std::result::Result<
crate::output::DeleteVpcEndpointOutput,
crate::error::DeleteVpcEndpointError,
>;
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_vpc_endpoint_error(response)
} else {
crate::operation_deser::parse_delete_vpc_endpoint_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDomain {
_private: (),
}
impl DescribeDomain {
pub fn builder() -> crate::input::describe_domain_input::Builder {
crate::input::describe_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDomain {
type Output =
std::result::Result<crate::output::DescribeDomainOutput, crate::error::DescribeDomainError>;
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_domain_error(response)
} else {
crate::operation_deser::parse_describe_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDomainAutoTunes {
_private: (),
}
impl DescribeDomainAutoTunes {
pub fn builder() -> crate::input::describe_domain_auto_tunes_input::Builder {
crate::input::describe_domain_auto_tunes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDomainAutoTunes {
type Output = std::result::Result<
crate::output::DescribeDomainAutoTunesOutput,
crate::error::DescribeDomainAutoTunesError,
>;
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_domain_auto_tunes_error(response)
} else {
crate::operation_deser::parse_describe_domain_auto_tunes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDomainChangeProgress {
_private: (),
}
impl DescribeDomainChangeProgress {
pub fn builder() -> crate::input::describe_domain_change_progress_input::Builder {
crate::input::describe_domain_change_progress_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDomainChangeProgress {
type Output = std::result::Result<
crate::output::DescribeDomainChangeProgressOutput,
crate::error::DescribeDomainChangeProgressError,
>;
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_domain_change_progress_error(response)
} else {
crate::operation_deser::parse_describe_domain_change_progress_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDomainConfig {
_private: (),
}
impl DescribeDomainConfig {
pub fn builder() -> crate::input::describe_domain_config_input::Builder {
crate::input::describe_domain_config_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDomainConfig {
type Output = std::result::Result<
crate::output::DescribeDomainConfigOutput,
crate::error::DescribeDomainConfigError,
>;
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_domain_config_error(response)
} else {
crate::operation_deser::parse_describe_domain_config_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDomains {
_private: (),
}
impl DescribeDomains {
pub fn builder() -> crate::input::describe_domains_input::Builder {
crate::input::describe_domains_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDomains {
type Output = std::result::Result<
crate::output::DescribeDomainsOutput,
crate::error::DescribeDomainsError,
>;
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_domains_error(response)
} else {
crate::operation_deser::parse_describe_domains_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeDryRunProgress {
_private: (),
}
impl DescribeDryRunProgress {
pub fn builder() -> crate::input::describe_dry_run_progress_input::Builder {
crate::input::describe_dry_run_progress_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeDryRunProgress {
type Output = std::result::Result<
crate::output::DescribeDryRunProgressOutput,
crate::error::DescribeDryRunProgressError,
>;
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_dry_run_progress_error(response)
} else {
crate::operation_deser::parse_describe_dry_run_progress_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeInboundConnections {
_private: (),
}
impl DescribeInboundConnections {
pub fn builder() -> crate::input::describe_inbound_connections_input::Builder {
crate::input::describe_inbound_connections_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeInboundConnections {
type Output = std::result::Result<
crate::output::DescribeInboundConnectionsOutput,
crate::error::DescribeInboundConnectionsError,
>;
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_inbound_connections_error(response)
} else {
crate::operation_deser::parse_describe_inbound_connections_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeInstanceTypeLimits {
_private: (),
}
impl DescribeInstanceTypeLimits {
pub fn builder() -> crate::input::describe_instance_type_limits_input::Builder {
crate::input::describe_instance_type_limits_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeInstanceTypeLimits {
type Output = std::result::Result<
crate::output::DescribeInstanceTypeLimitsOutput,
crate::error::DescribeInstanceTypeLimitsError,
>;
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_instance_type_limits_error(response)
} else {
crate::operation_deser::parse_describe_instance_type_limits_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeOutboundConnections {
_private: (),
}
impl DescribeOutboundConnections {
pub fn builder() -> crate::input::describe_outbound_connections_input::Builder {
crate::input::describe_outbound_connections_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeOutboundConnections {
type Output = std::result::Result<
crate::output::DescribeOutboundConnectionsOutput,
crate::error::DescribeOutboundConnectionsError,
>;
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_outbound_connections_error(response)
} else {
crate::operation_deser::parse_describe_outbound_connections_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribePackages {
_private: (),
}
impl DescribePackages {
pub fn builder() -> crate::input::describe_packages_input::Builder {
crate::input::describe_packages_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribePackages {
type Output = std::result::Result<
crate::output::DescribePackagesOutput,
crate::error::DescribePackagesError,
>;
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_packages_error(response)
} else {
crate::operation_deser::parse_describe_packages_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeReservedInstanceOfferings {
_private: (),
}
impl DescribeReservedInstanceOfferings {
pub fn builder() -> crate::input::describe_reserved_instance_offerings_input::Builder {
crate::input::describe_reserved_instance_offerings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeReservedInstanceOfferings {
type Output = std::result::Result<
crate::output::DescribeReservedInstanceOfferingsOutput,
crate::error::DescribeReservedInstanceOfferingsError,
>;
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_instance_offerings_error(response)
} else {
crate::operation_deser::parse_describe_reserved_instance_offerings_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeReservedInstances {
_private: (),
}
impl DescribeReservedInstances {
pub fn builder() -> crate::input::describe_reserved_instances_input::Builder {
crate::input::describe_reserved_instances_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeReservedInstances {
type Output = std::result::Result<
crate::output::DescribeReservedInstancesOutput,
crate::error::DescribeReservedInstancesError,
>;
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_instances_error(response)
} else {
crate::operation_deser::parse_describe_reserved_instances_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeVpcEndpoints {
_private: (),
}
impl DescribeVpcEndpoints {
pub fn builder() -> crate::input::describe_vpc_endpoints_input::Builder {
crate::input::describe_vpc_endpoints_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeVpcEndpoints {
type Output = std::result::Result<
crate::output::DescribeVpcEndpointsOutput,
crate::error::DescribeVpcEndpointsError,
>;
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_vpc_endpoints_error(response)
} else {
crate::operation_deser::parse_describe_vpc_endpoints_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DissociatePackage {
_private: (),
}
impl DissociatePackage {
pub fn builder() -> crate::input::dissociate_package_input::Builder {
crate::input::dissociate_package_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DissociatePackage {
type Output = std::result::Result<
crate::output::DissociatePackageOutput,
crate::error::DissociatePackageError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_dissociate_package_error(response)
} else {
crate::operation_deser::parse_dissociate_package_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetCompatibleVersions {
_private: (),
}
impl GetCompatibleVersions {
pub fn builder() -> crate::input::get_compatible_versions_input::Builder {
crate::input::get_compatible_versions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetCompatibleVersions {
type Output = std::result::Result<
crate::output::GetCompatibleVersionsOutput,
crate::error::GetCompatibleVersionsError,
>;
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_compatible_versions_error(response)
} else {
crate::operation_deser::parse_get_compatible_versions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetPackageVersionHistory {
_private: (),
}
impl GetPackageVersionHistory {
pub fn builder() -> crate::input::get_package_version_history_input::Builder {
crate::input::get_package_version_history_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetPackageVersionHistory {
type Output = std::result::Result<
crate::output::GetPackageVersionHistoryOutput,
crate::error::GetPackageVersionHistoryError,
>;
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_package_version_history_error(response)
} else {
crate::operation_deser::parse_get_package_version_history_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetUpgradeHistory {
_private: (),
}
impl GetUpgradeHistory {
pub fn builder() -> crate::input::get_upgrade_history_input::Builder {
crate::input::get_upgrade_history_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetUpgradeHistory {
type Output = std::result::Result<
crate::output::GetUpgradeHistoryOutput,
crate::error::GetUpgradeHistoryError,
>;
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_upgrade_history_error(response)
} else {
crate::operation_deser::parse_get_upgrade_history_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetUpgradeStatus {
_private: (),
}
impl GetUpgradeStatus {
pub fn builder() -> crate::input::get_upgrade_status_input::Builder {
crate::input::get_upgrade_status_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetUpgradeStatus {
type Output = std::result::Result<
crate::output::GetUpgradeStatusOutput,
crate::error::GetUpgradeStatusError,
>;
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_upgrade_status_error(response)
} else {
crate::operation_deser::parse_get_upgrade_status_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListDomainNames {
_private: (),
}
impl ListDomainNames {
pub fn builder() -> crate::input::list_domain_names_input::Builder {
crate::input::list_domain_names_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListDomainNames {
type Output = std::result::Result<
crate::output::ListDomainNamesOutput,
crate::error::ListDomainNamesError,
>;
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_domain_names_error(response)
} else {
crate::operation_deser::parse_list_domain_names_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListDomainsForPackage {
_private: (),
}
impl ListDomainsForPackage {
pub fn builder() -> crate::input::list_domains_for_package_input::Builder {
crate::input::list_domains_for_package_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListDomainsForPackage {
type Output = std::result::Result<
crate::output::ListDomainsForPackageOutput,
crate::error::ListDomainsForPackageError,
>;
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_for_package_error(response)
} else {
crate::operation_deser::parse_list_domains_for_package_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListInstanceTypeDetails {
_private: (),
}
impl ListInstanceTypeDetails {
pub fn builder() -> crate::input::list_instance_type_details_input::Builder {
crate::input::list_instance_type_details_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListInstanceTypeDetails {
type Output = std::result::Result<
crate::output::ListInstanceTypeDetailsOutput,
crate::error::ListInstanceTypeDetailsError,
>;
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_instance_type_details_error(response)
} else {
crate::operation_deser::parse_list_instance_type_details_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListPackagesForDomain {
_private: (),
}
impl ListPackagesForDomain {
pub fn builder() -> crate::input::list_packages_for_domain_input::Builder {
crate::input::list_packages_for_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListPackagesForDomain {
type Output = std::result::Result<
crate::output::ListPackagesForDomainOutput,
crate::error::ListPackagesForDomainError,
>;
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_packages_for_domain_error(response)
} else {
crate::operation_deser::parse_list_packages_for_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTags {
_private: (),
}
impl ListTags {
pub fn builder() -> crate::input::list_tags_input::Builder {
crate::input::list_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTags {
type Output = std::result::Result<crate::output::ListTagsOutput, crate::error::ListTagsError>;
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_error(response)
} else {
crate::operation_deser::parse_list_tags_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVersions {
_private: (),
}
impl ListVersions {
pub fn builder() -> crate::input::list_versions_input::Builder {
crate::input::list_versions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVersions {
type Output =
std::result::Result<crate::output::ListVersionsOutput, crate::error::ListVersionsError>;
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_versions_error(response)
} else {
crate::operation_deser::parse_list_versions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVpcEndpointAccess {
_private: (),
}
impl ListVpcEndpointAccess {
pub fn builder() -> crate::input::list_vpc_endpoint_access_input::Builder {
crate::input::list_vpc_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVpcEndpointAccess {
type Output = std::result::Result<
crate::output::ListVpcEndpointAccessOutput,
crate::error::ListVpcEndpointAccessError,
>;
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_vpc_endpoint_access_error(response)
} else {
crate::operation_deser::parse_list_vpc_endpoint_access_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVpcEndpoints {
_private: (),
}
impl ListVpcEndpoints {
pub fn builder() -> crate::input::list_vpc_endpoints_input::Builder {
crate::input::list_vpc_endpoints_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVpcEndpoints {
type Output = std::result::Result<
crate::output::ListVpcEndpointsOutput,
crate::error::ListVpcEndpointsError,
>;
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_vpc_endpoints_error(response)
} else {
crate::operation_deser::parse_list_vpc_endpoints_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVpcEndpointsForDomain {
_private: (),
}
impl ListVpcEndpointsForDomain {
pub fn builder() -> crate::input::list_vpc_endpoints_for_domain_input::Builder {
crate::input::list_vpc_endpoints_for_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVpcEndpointsForDomain {
type Output = std::result::Result<
crate::output::ListVpcEndpointsForDomainOutput,
crate::error::ListVpcEndpointsForDomainError,
>;
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_vpc_endpoints_for_domain_error(response)
} else {
crate::operation_deser::parse_list_vpc_endpoints_for_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PurchaseReservedInstanceOffering {
_private: (),
}
impl PurchaseReservedInstanceOffering {
pub fn builder() -> crate::input::purchase_reserved_instance_offering_input::Builder {
crate::input::purchase_reserved_instance_offering_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PurchaseReservedInstanceOffering {
type Output = std::result::Result<
crate::output::PurchaseReservedInstanceOfferingOutput,
crate::error::PurchaseReservedInstanceOfferingError,
>;
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_instance_offering_error(response)
} else {
crate::operation_deser::parse_purchase_reserved_instance_offering_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RejectInboundConnection {
_private: (),
}
impl RejectInboundConnection {
pub fn builder() -> crate::input::reject_inbound_connection_input::Builder {
crate::input::reject_inbound_connection_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RejectInboundConnection {
type Output = std::result::Result<
crate::output::RejectInboundConnectionOutput,
crate::error::RejectInboundConnectionError,
>;
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_inbound_connection_error(response)
} else {
crate::operation_deser::parse_reject_inbound_connection_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RemoveTags {
_private: (),
}
impl RemoveTags {
pub fn builder() -> crate::input::remove_tags_input::Builder {
crate::input::remove_tags_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RemoveTags {
type Output =
std::result::Result<crate::output::RemoveTagsOutput, crate::error::RemoveTagsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_remove_tags_error(response)
} else {
crate::operation_deser::parse_remove_tags_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RevokeVpcEndpointAccess {
_private: (),
}
impl RevokeVpcEndpointAccess {
pub fn builder() -> crate::input::revoke_vpc_endpoint_access_input::Builder {
crate::input::revoke_vpc_endpoint_access_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RevokeVpcEndpointAccess {
type Output = std::result::Result<
crate::output::RevokeVpcEndpointAccessOutput,
crate::error::RevokeVpcEndpointAccessError,
>;
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_vpc_endpoint_access_error(response)
} else {
crate::operation_deser::parse_revoke_vpc_endpoint_access_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct StartServiceSoftwareUpdate {
_private: (),
}
impl StartServiceSoftwareUpdate {
pub fn builder() -> crate::input::start_service_software_update_input::Builder {
crate::input::start_service_software_update_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for StartServiceSoftwareUpdate {
type Output = std::result::Result<
crate::output::StartServiceSoftwareUpdateOutput,
crate::error::StartServiceSoftwareUpdateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_start_service_software_update_error(response)
} else {
crate::operation_deser::parse_start_service_software_update_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateDomainConfig {
_private: (),
}
impl UpdateDomainConfig {
pub fn builder() -> crate::input::update_domain_config_input::Builder {
crate::input::update_domain_config_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateDomainConfig {
type Output = std::result::Result<
crate::output::UpdateDomainConfigOutput,
crate::error::UpdateDomainConfigError,
>;
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_config_error(response)
} else {
crate::operation_deser::parse_update_domain_config_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdatePackage {
_private: (),
}
impl UpdatePackage {
pub fn builder() -> crate::input::update_package_input::Builder {
crate::input::update_package_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdatePackage {
type Output =
std::result::Result<crate::output::UpdatePackageOutput, crate::error::UpdatePackageError>;
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_package_error(response)
} else {
crate::operation_deser::parse_update_package_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateVpcEndpoint {
_private: (),
}
impl UpdateVpcEndpoint {
pub fn builder() -> crate::input::update_vpc_endpoint_input::Builder {
crate::input::update_vpc_endpoint_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateVpcEndpoint {
type Output = std::result::Result<
crate::output::UpdateVpcEndpointOutput,
crate::error::UpdateVpcEndpointError,
>;
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_vpc_endpoint_error(response)
} else {
crate::operation_deser::parse_update_vpc_endpoint_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpgradeDomain {
_private: (),
}
impl UpgradeDomain {
pub fn builder() -> crate::input::upgrade_domain_input::Builder {
crate::input::upgrade_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpgradeDomain {
type Output =
std::result::Result<crate::output::UpgradeDomainOutput, crate::error::UpgradeDomainError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_upgrade_domain_error(response)
} else {
crate::operation_deser::parse_upgrade_domain_response(response)
}
}
}
pub mod customize;