#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAffectedAccountsForOrganization {
_private: (),
}
impl DescribeAffectedAccountsForOrganization {
pub fn builder() -> crate::input::describe_affected_accounts_for_organization_input::Builder {
crate::input::describe_affected_accounts_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAffectedAccountsForOrganization {
type Output = std::result::Result<
crate::output::DescribeAffectedAccountsForOrganizationOutput,
crate::error::DescribeAffectedAccountsForOrganizationError,
>;
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_affected_accounts_for_organization_error(
response,
)
} else {
crate::operation_deser::parse_describe_affected_accounts_for_organization_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAffectedEntities {
_private: (),
}
impl DescribeAffectedEntities {
pub fn builder() -> crate::input::describe_affected_entities_input::Builder {
crate::input::describe_affected_entities_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAffectedEntities {
type Output = std::result::Result<
crate::output::DescribeAffectedEntitiesOutput,
crate::error::DescribeAffectedEntitiesError,
>;
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_affected_entities_error(response)
} else {
crate::operation_deser::parse_describe_affected_entities_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAffectedEntitiesForOrganization {
_private: (),
}
impl DescribeAffectedEntitiesForOrganization {
pub fn builder() -> crate::input::describe_affected_entities_for_organization_input::Builder {
crate::input::describe_affected_entities_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAffectedEntitiesForOrganization {
type Output = std::result::Result<
crate::output::DescribeAffectedEntitiesForOrganizationOutput,
crate::error::DescribeAffectedEntitiesForOrganizationError,
>;
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_affected_entities_for_organization_error(
response,
)
} else {
crate::operation_deser::parse_describe_affected_entities_for_organization_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEntityAggregates {
_private: (),
}
impl DescribeEntityAggregates {
pub fn builder() -> crate::input::describe_entity_aggregates_input::Builder {
crate::input::describe_entity_aggregates_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEntityAggregates {
type Output = std::result::Result<
crate::output::DescribeEntityAggregatesOutput,
crate::error::DescribeEntityAggregatesError,
>;
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_entity_aggregates_error(response)
} else {
crate::operation_deser::parse_describe_entity_aggregates_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEventAggregates {
_private: (),
}
impl DescribeEventAggregates {
pub fn builder() -> crate::input::describe_event_aggregates_input::Builder {
crate::input::describe_event_aggregates_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventAggregates {
type Output = std::result::Result<
crate::output::DescribeEventAggregatesOutput,
crate::error::DescribeEventAggregatesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_event_aggregates_error(response)
} else {
crate::operation_deser::parse_describe_event_aggregates_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEventDetails {
_private: (),
}
impl DescribeEventDetails {
pub fn builder() -> crate::input::describe_event_details_input::Builder {
crate::input::describe_event_details_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventDetails {
type Output = std::result::Result<
crate::output::DescribeEventDetailsOutput,
crate::error::DescribeEventDetailsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_event_details_error(response)
} else {
crate::operation_deser::parse_describe_event_details_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEventDetailsForOrganization {
_private: (),
}
impl DescribeEventDetailsForOrganization {
pub fn builder() -> crate::input::describe_event_details_for_organization_input::Builder {
crate::input::describe_event_details_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventDetailsForOrganization {
type Output = std::result::Result<
crate::output::DescribeEventDetailsForOrganizationOutput,
crate::error::DescribeEventDetailsForOrganizationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_event_details_for_organization_error(response)
} else {
crate::operation_deser::parse_describe_event_details_for_organization_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEvents {
_private: (),
}
impl DescribeEvents {
pub fn builder() -> crate::input::describe_events_input::Builder {
crate::input::describe_events_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEvents {
type Output =
std::result::Result<crate::output::DescribeEventsOutput, crate::error::DescribeEventsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_events_error(response)
} else {
crate::operation_deser::parse_describe_events_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEventsForOrganization {
_private: (),
}
impl DescribeEventsForOrganization {
pub fn builder() -> crate::input::describe_events_for_organization_input::Builder {
crate::input::describe_events_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventsForOrganization {
type Output = std::result::Result<
crate::output::DescribeEventsForOrganizationOutput,
crate::error::DescribeEventsForOrganizationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_events_for_organization_error(response)
} else {
crate::operation_deser::parse_describe_events_for_organization_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeEventTypes {
_private: (),
}
impl DescribeEventTypes {
pub fn builder() -> crate::input::describe_event_types_input::Builder {
crate::input::describe_event_types_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeEventTypes {
type Output = std::result::Result<
crate::output::DescribeEventTypesOutput,
crate::error::DescribeEventTypesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_event_types_error(response)
} else {
crate::operation_deser::parse_describe_event_types_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeHealthServiceStatusForOrganization {
_private: (),
}
impl DescribeHealthServiceStatusForOrganization {
pub fn builder() -> crate::input::describe_health_service_status_for_organization_input::Builder
{
crate::input::describe_health_service_status_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeHealthServiceStatusForOrganization {
type Output = std::result::Result<
crate::output::DescribeHealthServiceStatusForOrganizationOutput,
crate::error::DescribeHealthServiceStatusForOrganizationError,
>;
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_health_service_status_for_organization_error(
response,
)
} else {
crate::operation_deser::parse_describe_health_service_status_for_organization_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisableHealthServiceAccessForOrganization {
_private: (),
}
impl DisableHealthServiceAccessForOrganization {
pub fn builder() -> crate::input::disable_health_service_access_for_organization_input::Builder
{
crate::input::disable_health_service_access_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableHealthServiceAccessForOrganization {
type Output = std::result::Result<
crate::output::DisableHealthServiceAccessForOrganizationOutput,
crate::error::DisableHealthServiceAccessForOrganizationError,
>;
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_health_service_access_for_organization_error(
response,
)
} else {
crate::operation_deser::parse_disable_health_service_access_for_organization_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct EnableHealthServiceAccessForOrganization {
_private: (),
}
impl EnableHealthServiceAccessForOrganization {
pub fn builder() -> crate::input::enable_health_service_access_for_organization_input::Builder {
crate::input::enable_health_service_access_for_organization_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for EnableHealthServiceAccessForOrganization {
type Output = std::result::Result<
crate::output::EnableHealthServiceAccessForOrganizationOutput,
crate::error::EnableHealthServiceAccessForOrganizationError,
>;
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_health_service_access_for_organization_error(
response,
)
} else {
crate::operation_deser::parse_enable_health_service_access_for_organization_response(
response,
)
}
}
}
pub mod customize;