#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociateTeamMember {
_private: (),
}
impl AssociateTeamMember {
pub fn builder() -> crate::input::associate_team_member_input::Builder {
crate::input::associate_team_member_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateTeamMember {
type Output = std::result::Result<
crate::output::AssociateTeamMemberOutput,
crate::error::AssociateTeamMemberError,
>;
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_team_member_error(response)
} else {
crate::operation_deser::parse_associate_team_member_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateProject {
_private: (),
}
impl CreateProject {
pub fn builder() -> crate::input::create_project_input::Builder {
crate::input::create_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateProject {
type Output =
std::result::Result<crate::output::CreateProjectOutput, crate::error::CreateProjectError>;
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_project_error(response)
} else {
crate::operation_deser::parse_create_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateUserProfile {
_private: (),
}
impl CreateUserProfile {
pub fn builder() -> crate::input::create_user_profile_input::Builder {
crate::input::create_user_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateUserProfile {
type Output = std::result::Result<
crate::output::CreateUserProfileOutput,
crate::error::CreateUserProfileError,
>;
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_profile_error(response)
} else {
crate::operation_deser::parse_create_user_profile_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteProject {
_private: (),
}
impl DeleteProject {
pub fn builder() -> crate::input::delete_project_input::Builder {
crate::input::delete_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteProject {
type Output =
std::result::Result<crate::output::DeleteProjectOutput, crate::error::DeleteProjectError>;
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_project_error(response)
} else {
crate::operation_deser::parse_delete_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteUserProfile {
_private: (),
}
impl DeleteUserProfile {
pub fn builder() -> crate::input::delete_user_profile_input::Builder {
crate::input::delete_user_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteUserProfile {
type Output = std::result::Result<
crate::output::DeleteUserProfileOutput,
crate::error::DeleteUserProfileError,
>;
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_profile_error(response)
} else {
crate::operation_deser::parse_delete_user_profile_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeProject {
_private: (),
}
impl DescribeProject {
pub fn builder() -> crate::input::describe_project_input::Builder {
crate::input::describe_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeProject {
type Output = std::result::Result<
crate::output::DescribeProjectOutput,
crate::error::DescribeProjectError,
>;
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_project_error(response)
} else {
crate::operation_deser::parse_describe_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeUserProfile {
_private: (),
}
impl DescribeUserProfile {
pub fn builder() -> crate::input::describe_user_profile_input::Builder {
crate::input::describe_user_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeUserProfile {
type Output = std::result::Result<
crate::output::DescribeUserProfileOutput,
crate::error::DescribeUserProfileError,
>;
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_user_profile_error(response)
} else {
crate::operation_deser::parse_describe_user_profile_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisassociateTeamMember {
_private: (),
}
impl DisassociateTeamMember {
pub fn builder() -> crate::input::disassociate_team_member_input::Builder {
crate::input::disassociate_team_member_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateTeamMember {
type Output = std::result::Result<
crate::output::DisassociateTeamMemberOutput,
crate::error::DisassociateTeamMemberError,
>;
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_team_member_error(response)
} else {
crate::operation_deser::parse_disassociate_team_member_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListProjects {
_private: (),
}
impl ListProjects {
pub fn builder() -> crate::input::list_projects_input::Builder {
crate::input::list_projects_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListProjects {
type Output =
std::result::Result<crate::output::ListProjectsOutput, crate::error::ListProjectsError>;
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_projects_error(response)
} else {
crate::operation_deser::parse_list_projects_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListResources {
_private: (),
}
impl ListResources {
pub fn builder() -> crate::input::list_resources_input::Builder {
crate::input::list_resources_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListResources {
type Output =
std::result::Result<crate::output::ListResourcesOutput, crate::error::ListResourcesError>;
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_resources_error(response)
} else {
crate::operation_deser::parse_list_resources_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTagsForProject {
_private: (),
}
impl ListTagsForProject {
pub fn builder() -> crate::input::list_tags_for_project_input::Builder {
crate::input::list_tags_for_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTagsForProject {
type Output = std::result::Result<
crate::output::ListTagsForProjectOutput,
crate::error::ListTagsForProjectError,
>;
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_project_error(response)
} else {
crate::operation_deser::parse_list_tags_for_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTeamMembers {
_private: (),
}
impl ListTeamMembers {
pub fn builder() -> crate::input::list_team_members_input::Builder {
crate::input::list_team_members_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTeamMembers {
type Output = std::result::Result<
crate::output::ListTeamMembersOutput,
crate::error::ListTeamMembersError,
>;
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_team_members_error(response)
} else {
crate::operation_deser::parse_list_team_members_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListUserProfiles {
_private: (),
}
impl ListUserProfiles {
pub fn builder() -> crate::input::list_user_profiles_input::Builder {
crate::input::list_user_profiles_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListUserProfiles {
type Output = std::result::Result<
crate::output::ListUserProfilesOutput,
crate::error::ListUserProfilesError,
>;
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_profiles_error(response)
} else {
crate::operation_deser::parse_list_user_profiles_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct TagProject {
_private: (),
}
impl TagProject {
pub fn builder() -> crate::input::tag_project_input::Builder {
crate::input::tag_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for TagProject {
type Output =
std::result::Result<crate::output::TagProjectOutput, crate::error::TagProjectError>;
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_project_error(response)
} else {
crate::operation_deser::parse_tag_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UntagProject {
_private: (),
}
impl UntagProject {
pub fn builder() -> crate::input::untag_project_input::Builder {
crate::input::untag_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UntagProject {
type Output =
std::result::Result<crate::output::UntagProjectOutput, crate::error::UntagProjectError>;
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_project_error(response)
} else {
crate::operation_deser::parse_untag_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateProject {
_private: (),
}
impl UpdateProject {
pub fn builder() -> crate::input::update_project_input::Builder {
crate::input::update_project_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateProject {
type Output =
std::result::Result<crate::output::UpdateProjectOutput, crate::error::UpdateProjectError>;
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_project_error(response)
} else {
crate::operation_deser::parse_update_project_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateTeamMember {
_private: (),
}
impl UpdateTeamMember {
pub fn builder() -> crate::input::update_team_member_input::Builder {
crate::input::update_team_member_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateTeamMember {
type Output = std::result::Result<
crate::output::UpdateTeamMemberOutput,
crate::error::UpdateTeamMemberError,
>;
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_team_member_error(response)
} else {
crate::operation_deser::parse_update_team_member_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateUserProfile {
_private: (),
}
impl UpdateUserProfile {
pub fn builder() -> crate::input::update_user_profile_input::Builder {
crate::input::update_user_profile_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateUserProfile {
type Output = std::result::Result<
crate::output::UpdateUserProfileOutput,
crate::error::UpdateUserProfileError,
>;
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_profile_error(response)
} else {
crate::operation_deser::parse_update_user_profile_response(response)
}
}
}
pub mod customize;