#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociateServiceQuotaTemplate {
_private: (),
}
impl AssociateServiceQuotaTemplate {
pub fn builder() -> crate::input::associate_service_quota_template_input::Builder {
crate::input::associate_service_quota_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateServiceQuotaTemplate {
type Output = std::result::Result<
crate::output::AssociateServiceQuotaTemplateOutput,
crate::error::AssociateServiceQuotaTemplateError,
>;
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_service_quota_template_error(response)
} else {
crate::operation_deser::parse_associate_service_quota_template_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteServiceQuotaIncreaseRequestFromTemplate {
_private: (),
}
impl DeleteServiceQuotaIncreaseRequestFromTemplate {
pub fn builder(
) -> crate::input::delete_service_quota_increase_request_from_template_input::Builder {
crate::input::delete_service_quota_increase_request_from_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse
for DeleteServiceQuotaIncreaseRequestFromTemplate
{
type Output = std::result::Result<
crate::output::DeleteServiceQuotaIncreaseRequestFromTemplateOutput,
crate::error::DeleteServiceQuotaIncreaseRequestFromTemplateError,
>;
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_service_quota_increase_request_from_template_error(
response,
)
} else {
crate::operation_deser::parse_delete_service_quota_increase_request_from_template_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisassociateServiceQuotaTemplate {
_private: (),
}
impl DisassociateServiceQuotaTemplate {
pub fn builder() -> crate::input::disassociate_service_quota_template_input::Builder {
crate::input::disassociate_service_quota_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateServiceQuotaTemplate {
type Output = std::result::Result<
crate::output::DisassociateServiceQuotaTemplateOutput,
crate::error::DisassociateServiceQuotaTemplateError,
>;
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_service_quota_template_error(response)
} else {
crate::operation_deser::parse_disassociate_service_quota_template_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetAssociationForServiceQuotaTemplate {
_private: (),
}
impl GetAssociationForServiceQuotaTemplate {
pub fn builder() -> crate::input::get_association_for_service_quota_template_input::Builder {
crate::input::get_association_for_service_quota_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetAssociationForServiceQuotaTemplate {
type Output = std::result::Result<
crate::output::GetAssociationForServiceQuotaTemplateOutput,
crate::error::GetAssociationForServiceQuotaTemplateError,
>;
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_association_for_service_quota_template_error(response)
} else {
crate::operation_deser::parse_get_association_for_service_quota_template_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetAWSDefaultServiceQuota {
_private: (),
}
impl GetAWSDefaultServiceQuota {
pub fn builder() -> crate::input::get_aws_default_service_quota_input::Builder {
crate::input::get_aws_default_service_quota_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetAWSDefaultServiceQuota {
type Output = std::result::Result<
crate::output::GetAwsDefaultServiceQuotaOutput,
crate::error::GetAWSDefaultServiceQuotaError,
>;
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_aws_default_service_quota_error(response)
} else {
crate::operation_deser::parse_get_aws_default_service_quota_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetRequestedServiceQuotaChange {
_private: (),
}
impl GetRequestedServiceQuotaChange {
pub fn builder() -> crate::input::get_requested_service_quota_change_input::Builder {
crate::input::get_requested_service_quota_change_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetRequestedServiceQuotaChange {
type Output = std::result::Result<
crate::output::GetRequestedServiceQuotaChangeOutput,
crate::error::GetRequestedServiceQuotaChangeError,
>;
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_requested_service_quota_change_error(response)
} else {
crate::operation_deser::parse_get_requested_service_quota_change_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetServiceQuota {
_private: (),
}
impl GetServiceQuota {
pub fn builder() -> crate::input::get_service_quota_input::Builder {
crate::input::get_service_quota_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetServiceQuota {
type Output = std::result::Result<
crate::output::GetServiceQuotaOutput,
crate::error::GetServiceQuotaError,
>;
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_service_quota_error(response)
} else {
crate::operation_deser::parse_get_service_quota_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct GetServiceQuotaIncreaseRequestFromTemplate {
_private: (),
}
impl GetServiceQuotaIncreaseRequestFromTemplate {
pub fn builder() -> crate::input::get_service_quota_increase_request_from_template_input::Builder
{
crate::input::get_service_quota_increase_request_from_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for GetServiceQuotaIncreaseRequestFromTemplate {
type Output = std::result::Result<
crate::output::GetServiceQuotaIncreaseRequestFromTemplateOutput,
crate::error::GetServiceQuotaIncreaseRequestFromTemplateError,
>;
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_service_quota_increase_request_from_template_error(
response,
)
} else {
crate::operation_deser::parse_get_service_quota_increase_request_from_template_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListAWSDefaultServiceQuotas {
_private: (),
}
impl ListAWSDefaultServiceQuotas {
pub fn builder() -> crate::input::list_aws_default_service_quotas_input::Builder {
crate::input::list_aws_default_service_quotas_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListAWSDefaultServiceQuotas {
type Output = std::result::Result<
crate::output::ListAwsDefaultServiceQuotasOutput,
crate::error::ListAWSDefaultServiceQuotasError,
>;
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_aws_default_service_quotas_error(response)
} else {
crate::operation_deser::parse_list_aws_default_service_quotas_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListRequestedServiceQuotaChangeHistory {
_private: (),
}
impl ListRequestedServiceQuotaChangeHistory {
pub fn builder() -> crate::input::list_requested_service_quota_change_history_input::Builder {
crate::input::list_requested_service_quota_change_history_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListRequestedServiceQuotaChangeHistory {
type Output = std::result::Result<
crate::output::ListRequestedServiceQuotaChangeHistoryOutput,
crate::error::ListRequestedServiceQuotaChangeHistoryError,
>;
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_requested_service_quota_change_history_error(
response,
)
} else {
crate::operation_deser::parse_list_requested_service_quota_change_history_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListRequestedServiceQuotaChangeHistoryByQuota {
_private: (),
}
impl ListRequestedServiceQuotaChangeHistoryByQuota {
pub fn builder(
) -> crate::input::list_requested_service_quota_change_history_by_quota_input::Builder {
crate::input::list_requested_service_quota_change_history_by_quota_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse
for ListRequestedServiceQuotaChangeHistoryByQuota
{
type Output = std::result::Result<
crate::output::ListRequestedServiceQuotaChangeHistoryByQuotaOutput,
crate::error::ListRequestedServiceQuotaChangeHistoryByQuotaError,
>;
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_requested_service_quota_change_history_by_quota_error(
response,
)
} else {
crate::operation_deser::parse_list_requested_service_quota_change_history_by_quota_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListServiceQuotaIncreaseRequestsInTemplate {
_private: (),
}
impl ListServiceQuotaIncreaseRequestsInTemplate {
pub fn builder() -> crate::input::list_service_quota_increase_requests_in_template_input::Builder
{
crate::input::list_service_quota_increase_requests_in_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListServiceQuotaIncreaseRequestsInTemplate {
type Output = std::result::Result<
crate::output::ListServiceQuotaIncreaseRequestsInTemplateOutput,
crate::error::ListServiceQuotaIncreaseRequestsInTemplateError,
>;
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_service_quota_increase_requests_in_template_error(
response,
)
} else {
crate::operation_deser::parse_list_service_quota_increase_requests_in_template_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListServiceQuotas {
_private: (),
}
impl ListServiceQuotas {
pub fn builder() -> crate::input::list_service_quotas_input::Builder {
crate::input::list_service_quotas_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListServiceQuotas {
type Output = std::result::Result<
crate::output::ListServiceQuotasOutput,
crate::error::ListServiceQuotasError,
>;
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_service_quotas_error(response)
} else {
crate::operation_deser::parse_list_service_quotas_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListServices {
_private: (),
}
impl ListServices {
pub fn builder() -> crate::input::list_services_input::Builder {
crate::input::list_services_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListServices {
type Output =
std::result::Result<crate::output::ListServicesOutput, crate::error::ListServicesError>;
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_services_error(response)
} else {
crate::operation_deser::parse_list_services_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, 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::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct PutServiceQuotaIncreaseRequestIntoTemplate {
_private: (),
}
impl PutServiceQuotaIncreaseRequestIntoTemplate {
pub fn builder() -> crate::input::put_service_quota_increase_request_into_template_input::Builder
{
crate::input::put_service_quota_increase_request_into_template_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for PutServiceQuotaIncreaseRequestIntoTemplate {
type Output = std::result::Result<
crate::output::PutServiceQuotaIncreaseRequestIntoTemplateOutput,
crate::error::PutServiceQuotaIncreaseRequestIntoTemplateError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_put_service_quota_increase_request_into_template_error(
response,
)
} else {
crate::operation_deser::parse_put_service_quota_increase_request_into_template_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RequestServiceQuotaIncrease {
_private: (),
}
impl RequestServiceQuotaIncrease {
pub fn builder() -> crate::input::request_service_quota_increase_input::Builder {
crate::input::request_service_quota_increase_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RequestServiceQuotaIncrease {
type Output = std::result::Result<
crate::output::RequestServiceQuotaIncreaseOutput,
crate::error::RequestServiceQuotaIncreaseError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_request_service_quota_increase_error(response)
} else {
crate::operation_deser::parse_request_service_quota_increase_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, 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::clone::Clone, std::default::Default, 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)
}
}
}
pub mod customize;