#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AssociateBrowserSettings {
_private: (),
}
impl AssociateBrowserSettings {
pub fn builder() -> crate::input::associate_browser_settings_input::Builder {
crate::input::associate_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateBrowserSettings {
type Output = std::result::Result<
crate::output::AssociateBrowserSettingsOutput,
crate::error::AssociateBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_associate_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AssociateNetworkSettings {
_private: (),
}
impl AssociateNetworkSettings {
pub fn builder() -> crate::input::associate_network_settings_input::Builder {
crate::input::associate_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateNetworkSettings {
type Output = std::result::Result<
crate::output::AssociateNetworkSettingsOutput,
crate::error::AssociateNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_associate_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AssociateTrustStore {
_private: (),
}
impl AssociateTrustStore {
pub fn builder() -> crate::input::associate_trust_store_input::Builder {
crate::input::associate_trust_store_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateTrustStore {
type Output = std::result::Result<
crate::output::AssociateTrustStoreOutput,
crate::error::AssociateTrustStoreError,
>;
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_trust_store_error(response)
} else {
crate::operation_deser::parse_associate_trust_store_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct AssociateUserSettings {
_private: (),
}
impl AssociateUserSettings {
pub fn builder() -> crate::input::associate_user_settings_input::Builder {
crate::input::associate_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateUserSettings {
type Output = std::result::Result<
crate::output::AssociateUserSettingsOutput,
crate::error::AssociateUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_associate_user_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateBrowserSettings {
_private: (),
}
impl CreateBrowserSettings {
pub fn builder() -> crate::input::create_browser_settings_input::Builder {
crate::input::create_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateBrowserSettings {
type Output = std::result::Result<
crate::output::CreateBrowserSettingsOutput,
crate::error::CreateBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_create_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateIdentityProvider {
_private: (),
}
impl CreateIdentityProvider {
pub fn builder() -> crate::input::create_identity_provider_input::Builder {
crate::input::create_identity_provider_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateIdentityProvider {
type Output = std::result::Result<
crate::output::CreateIdentityProviderOutput,
crate::error::CreateIdentityProviderError,
>;
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_identity_provider_error(response)
} else {
crate::operation_deser::parse_create_identity_provider_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateNetworkSettings {
_private: (),
}
impl CreateNetworkSettings {
pub fn builder() -> crate::input::create_network_settings_input::Builder {
crate::input::create_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateNetworkSettings {
type Output = std::result::Result<
crate::output::CreateNetworkSettingsOutput,
crate::error::CreateNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_create_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreatePortal {
_private: (),
}
impl CreatePortal {
pub fn builder() -> crate::input::create_portal_input::Builder {
crate::input::create_portal_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreatePortal {
type Output =
std::result::Result<crate::output::CreatePortalOutput, crate::error::CreatePortalError>;
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_portal_error(response)
} else {
crate::operation_deser::parse_create_portal_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateTrustStore {
_private: (),
}
impl CreateTrustStore {
pub fn builder() -> crate::input::create_trust_store_input::Builder {
crate::input::create_trust_store_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateTrustStore {
type Output = std::result::Result<
crate::output::CreateTrustStoreOutput,
crate::error::CreateTrustStoreError,
>;
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_trust_store_error(response)
} else {
crate::operation_deser::parse_create_trust_store_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct CreateUserSettings {
_private: (),
}
impl CreateUserSettings {
pub fn builder() -> crate::input::create_user_settings_input::Builder {
crate::input::create_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateUserSettings {
type Output = std::result::Result<
crate::output::CreateUserSettingsOutput,
crate::error::CreateUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_create_user_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteBrowserSettings {
_private: (),
}
impl DeleteBrowserSettings {
pub fn builder() -> crate::input::delete_browser_settings_input::Builder {
crate::input::delete_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteBrowserSettings {
type Output = std::result::Result<
crate::output::DeleteBrowserSettingsOutput,
crate::error::DeleteBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_delete_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteIdentityProvider {
_private: (),
}
impl DeleteIdentityProvider {
pub fn builder() -> crate::input::delete_identity_provider_input::Builder {
crate::input::delete_identity_provider_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteIdentityProvider {
type Output = std::result::Result<
crate::output::DeleteIdentityProviderOutput,
crate::error::DeleteIdentityProviderError,
>;
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_identity_provider_error(response)
} else {
crate::operation_deser::parse_delete_identity_provider_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteNetworkSettings {
_private: (),
}
impl DeleteNetworkSettings {
pub fn builder() -> crate::input::delete_network_settings_input::Builder {
crate::input::delete_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteNetworkSettings {
type Output = std::result::Result<
crate::output::DeleteNetworkSettingsOutput,
crate::error::DeleteNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_delete_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeletePortal {
_private: (),
}
impl DeletePortal {
pub fn builder() -> crate::input::delete_portal_input::Builder {
crate::input::delete_portal_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeletePortal {
type Output =
std::result::Result<crate::output::DeletePortalOutput, crate::error::DeletePortalError>;
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_portal_error(response)
} else {
crate::operation_deser::parse_delete_portal_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteTrustStore {
_private: (),
}
impl DeleteTrustStore {
pub fn builder() -> crate::input::delete_trust_store_input::Builder {
crate::input::delete_trust_store_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTrustStore {
type Output = std::result::Result<
crate::output::DeleteTrustStoreOutput,
crate::error::DeleteTrustStoreError,
>;
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_trust_store_error(response)
} else {
crate::operation_deser::parse_delete_trust_store_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DeleteUserSettings {
_private: (),
}
impl DeleteUserSettings {
pub fn builder() -> crate::input::delete_user_settings_input::Builder {
crate::input::delete_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteUserSettings {
type Output = std::result::Result<
crate::output::DeleteUserSettingsOutput,
crate::error::DeleteUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_delete_user_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisassociateBrowserSettings {
_private: (),
}
impl DisassociateBrowserSettings {
pub fn builder() -> crate::input::disassociate_browser_settings_input::Builder {
crate::input::disassociate_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateBrowserSettings {
type Output = std::result::Result<
crate::output::DisassociateBrowserSettingsOutput,
crate::error::DisassociateBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_disassociate_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisassociateNetworkSettings {
_private: (),
}
impl DisassociateNetworkSettings {
pub fn builder() -> crate::input::disassociate_network_settings_input::Builder {
crate::input::disassociate_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateNetworkSettings {
type Output = std::result::Result<
crate::output::DisassociateNetworkSettingsOutput,
crate::error::DisassociateNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_disassociate_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisassociateTrustStore {
_private: (),
}
impl DisassociateTrustStore {
pub fn builder() -> crate::input::disassociate_trust_store_input::Builder {
crate::input::disassociate_trust_store_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateTrustStore {
type Output = std::result::Result<
crate::output::DisassociateTrustStoreOutput,
crate::error::DisassociateTrustStoreError,
>;
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_trust_store_error(response)
} else {
crate::operation_deser::parse_disassociate_trust_store_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct DisassociateUserSettings {
_private: (),
}
impl DisassociateUserSettings {
pub fn builder() -> crate::input::disassociate_user_settings_input::Builder {
crate::input::disassociate_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateUserSettings {
type Output = std::result::Result<
crate::output::DisassociateUserSettingsOutput,
crate::error::DisassociateUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_disassociate_user_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetBrowserSettings {
_private: (),
}
impl GetBrowserSettings {
pub fn builder() -> crate::input::get_browser_settings_input::Builder {
crate::input::get_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetBrowserSettings {
type Output = std::result::Result<
crate::output::GetBrowserSettingsOutput,
crate::error::GetBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_get_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetIdentityProvider {
_private: (),
}
impl GetIdentityProvider {
pub fn builder() -> crate::input::get_identity_provider_input::Builder {
crate::input::get_identity_provider_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetIdentityProvider {
type Output = std::result::Result<
crate::output::GetIdentityProviderOutput,
crate::error::GetIdentityProviderError,
>;
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_identity_provider_error(response)
} else {
crate::operation_deser::parse_get_identity_provider_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetNetworkSettings {
_private: (),
}
impl GetNetworkSettings {
pub fn builder() -> crate::input::get_network_settings_input::Builder {
crate::input::get_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetNetworkSettings {
type Output = std::result::Result<
crate::output::GetNetworkSettingsOutput,
crate::error::GetNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_get_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetPortal {
_private: (),
}
impl GetPortal {
pub fn builder() -> crate::input::get_portal_input::Builder {
crate::input::get_portal_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetPortal {
type Output = std::result::Result<crate::output::GetPortalOutput, crate::error::GetPortalError>;
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_portal_error(response)
} else {
crate::operation_deser::parse_get_portal_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetPortalServiceProviderMetadata {
_private: (),
}
impl GetPortalServiceProviderMetadata {
pub fn builder() -> crate::input::get_portal_service_provider_metadata_input::Builder {
crate::input::get_portal_service_provider_metadata_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetPortalServiceProviderMetadata {
type Output = std::result::Result<
crate::output::GetPortalServiceProviderMetadataOutput,
crate::error::GetPortalServiceProviderMetadataError,
>;
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_portal_service_provider_metadata_error(response)
} else {
crate::operation_deser::parse_get_portal_service_provider_metadata_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetTrustStore {
_private: (),
}
impl GetTrustStore {
pub fn builder() -> crate::input::get_trust_store_input::Builder {
crate::input::get_trust_store_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetTrustStore {
type Output =
std::result::Result<crate::output::GetTrustStoreOutput, crate::error::GetTrustStoreError>;
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_trust_store_error(response)
} else {
crate::operation_deser::parse_get_trust_store_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetTrustStoreCertificate {
_private: (),
}
impl GetTrustStoreCertificate {
pub fn builder() -> crate::input::get_trust_store_certificate_input::Builder {
crate::input::get_trust_store_certificate_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetTrustStoreCertificate {
type Output = std::result::Result<
crate::output::GetTrustStoreCertificateOutput,
crate::error::GetTrustStoreCertificateError,
>;
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_trust_store_certificate_error(response)
} else {
crate::operation_deser::parse_get_trust_store_certificate_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct GetUserSettings {
_private: (),
}
impl GetUserSettings {
pub fn builder() -> crate::input::get_user_settings_input::Builder {
crate::input::get_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetUserSettings {
type Output = std::result::Result<
crate::output::GetUserSettingsOutput,
crate::error::GetUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_get_user_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListBrowserSettings {
_private: (),
}
impl ListBrowserSettings {
pub fn builder() -> crate::input::list_browser_settings_input::Builder {
crate::input::list_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListBrowserSettings {
type Output = std::result::Result<
crate::output::ListBrowserSettingsOutput,
crate::error::ListBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_list_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListIdentityProviders {
_private: (),
}
impl ListIdentityProviders {
pub fn builder() -> crate::input::list_identity_providers_input::Builder {
crate::input::list_identity_providers_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListIdentityProviders {
type Output = std::result::Result<
crate::output::ListIdentityProvidersOutput,
crate::error::ListIdentityProvidersError,
>;
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_identity_providers_error(response)
} else {
crate::operation_deser::parse_list_identity_providers_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListNetworkSettings {
_private: (),
}
impl ListNetworkSettings {
pub fn builder() -> crate::input::list_network_settings_input::Builder {
crate::input::list_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListNetworkSettings {
type Output = std::result::Result<
crate::output::ListNetworkSettingsOutput,
crate::error::ListNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_list_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListPortals {
_private: (),
}
impl ListPortals {
pub fn builder() -> crate::input::list_portals_input::Builder {
crate::input::list_portals_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListPortals {
type Output =
std::result::Result<crate::output::ListPortalsOutput, crate::error::ListPortalsError>;
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_portals_error(response)
} else {
crate::operation_deser::parse_list_portals_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListTagsForResource {
_private: (),
}
impl ListTagsForResource {
pub fn builder() -> crate::input::list_tags_for_resource_input::Builder {
crate::input::list_tags_for_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTagsForResource {
type Output = std::result::Result<
crate::output::ListTagsForResourceOutput,
crate::error::ListTagsForResourceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_tags_for_resource_error(response)
} else {
crate::operation_deser::parse_list_tags_for_resource_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListTrustStoreCertificates {
_private: (),
}
impl ListTrustStoreCertificates {
pub fn builder() -> crate::input::list_trust_store_certificates_input::Builder {
crate::input::list_trust_store_certificates_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTrustStoreCertificates {
type Output = std::result::Result<
crate::output::ListTrustStoreCertificatesOutput,
crate::error::ListTrustStoreCertificatesError,
>;
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_trust_store_certificates_error(response)
} else {
crate::operation_deser::parse_list_trust_store_certificates_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListTrustStores {
_private: (),
}
impl ListTrustStores {
pub fn builder() -> crate::input::list_trust_stores_input::Builder {
crate::input::list_trust_stores_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTrustStores {
type Output = std::result::Result<
crate::output::ListTrustStoresOutput,
crate::error::ListTrustStoresError,
>;
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_trust_stores_error(response)
} else {
crate::operation_deser::parse_list_trust_stores_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct ListUserSettings {
_private: (),
}
impl ListUserSettings {
pub fn builder() -> crate::input::list_user_settings_input::Builder {
crate::input::list_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListUserSettings {
type Output = std::result::Result<
crate::output::ListUserSettingsOutput,
crate::error::ListUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_list_user_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct TagResource {
_private: (),
}
impl TagResource {
pub fn builder() -> crate::input::tag_resource_input::Builder {
crate::input::tag_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for TagResource {
type Output =
std::result::Result<crate::output::TagResourceOutput, crate::error::TagResourceError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_tag_resource_error(response)
} else {
crate::operation_deser::parse_tag_resource_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UntagResource {
_private: (),
}
impl UntagResource {
pub fn builder() -> crate::input::untag_resource_input::Builder {
crate::input::untag_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UntagResource {
type Output =
std::result::Result<crate::output::UntagResourceOutput, crate::error::UntagResourceError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_untag_resource_error(response)
} else {
crate::operation_deser::parse_untag_resource_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateBrowserSettings {
_private: (),
}
impl UpdateBrowserSettings {
pub fn builder() -> crate::input::update_browser_settings_input::Builder {
crate::input::update_browser_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateBrowserSettings {
type Output = std::result::Result<
crate::output::UpdateBrowserSettingsOutput,
crate::error::UpdateBrowserSettingsError,
>;
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_browser_settings_error(response)
} else {
crate::operation_deser::parse_update_browser_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateIdentityProvider {
_private: (),
}
impl UpdateIdentityProvider {
pub fn builder() -> crate::input::update_identity_provider_input::Builder {
crate::input::update_identity_provider_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateIdentityProvider {
type Output = std::result::Result<
crate::output::UpdateIdentityProviderOutput,
crate::error::UpdateIdentityProviderError,
>;
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_identity_provider_error(response)
} else {
crate::operation_deser::parse_update_identity_provider_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateNetworkSettings {
_private: (),
}
impl UpdateNetworkSettings {
pub fn builder() -> crate::input::update_network_settings_input::Builder {
crate::input::update_network_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateNetworkSettings {
type Output = std::result::Result<
crate::output::UpdateNetworkSettingsOutput,
crate::error::UpdateNetworkSettingsError,
>;
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_network_settings_error(response)
} else {
crate::operation_deser::parse_update_network_settings_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdatePortal {
_private: (),
}
impl UpdatePortal {
pub fn builder() -> crate::input::update_portal_input::Builder {
crate::input::update_portal_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdatePortal {
type Output =
std::result::Result<crate::output::UpdatePortalOutput, crate::error::UpdatePortalError>;
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_portal_error(response)
} else {
crate::operation_deser::parse_update_portal_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateTrustStore {
_private: (),
}
impl UpdateTrustStore {
pub fn builder() -> crate::input::update_trust_store_input::Builder {
crate::input::update_trust_store_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateTrustStore {
type Output = std::result::Result<
crate::output::UpdateTrustStoreOutput,
crate::error::UpdateTrustStoreError,
>;
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_trust_store_error(response)
} else {
crate::operation_deser::parse_update_trust_store_response(response)
}
}
}
#[derive(std::default::Default, std::clone::Clone, std::fmt::Debug)]
pub struct UpdateUserSettings {
_private: (),
}
impl UpdateUserSettings {
pub fn builder() -> crate::input::update_user_settings_input::Builder {
crate::input::update_user_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateUserSettings {
type Output = std::result::Result<
crate::output::UpdateUserSettingsOutput,
crate::error::UpdateUserSettingsError,
>;
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_user_settings_error(response)
} else {
crate::operation_deser::parse_update_user_settings_response(response)
}
}
}