#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelTaskExecution {
_private: (),
}
impl CancelTaskExecution {
pub fn builder() -> crate::input::cancel_task_execution_input::Builder {
crate::input::cancel_task_execution_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelTaskExecution {
type Output = std::result::Result<
crate::output::CancelTaskExecutionOutput,
crate::error::CancelTaskExecutionError,
>;
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_task_execution_error(response)
} else {
crate::operation_deser::parse_cancel_task_execution_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateAgent {
_private: (),
}
impl CreateAgent {
pub fn builder() -> crate::input::create_agent_input::Builder {
crate::input::create_agent_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateAgent {
type Output =
std::result::Result<crate::output::CreateAgentOutput, crate::error::CreateAgentError>;
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_agent_error(response)
} else {
crate::operation_deser::parse_create_agent_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationEfs {
_private: (),
}
impl CreateLocationEfs {
pub fn builder() -> crate::input::create_location_efs_input::Builder {
crate::input::create_location_efs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationEfs {
type Output = std::result::Result<
crate::output::CreateLocationEfsOutput,
crate::error::CreateLocationEfsError,
>;
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_location_efs_error(response)
} else {
crate::operation_deser::parse_create_location_efs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationFsxLustre {
_private: (),
}
impl CreateLocationFsxLustre {
pub fn builder() -> crate::input::create_location_fsx_lustre_input::Builder {
crate::input::create_location_fsx_lustre_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationFsxLustre {
type Output = std::result::Result<
crate::output::CreateLocationFsxLustreOutput,
crate::error::CreateLocationFsxLustreError,
>;
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_location_fsx_lustre_error(response)
} else {
crate::operation_deser::parse_create_location_fsx_lustre_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationFsxOntap {
_private: (),
}
impl CreateLocationFsxOntap {
pub fn builder() -> crate::input::create_location_fsx_ontap_input::Builder {
crate::input::create_location_fsx_ontap_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationFsxOntap {
type Output = std::result::Result<
crate::output::CreateLocationFsxOntapOutput,
crate::error::CreateLocationFsxOntapError,
>;
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_location_fsx_ontap_error(response)
} else {
crate::operation_deser::parse_create_location_fsx_ontap_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationFsxOpenZfs {
_private: (),
}
impl CreateLocationFsxOpenZfs {
pub fn builder() -> crate::input::create_location_fsx_open_zfs_input::Builder {
crate::input::create_location_fsx_open_zfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationFsxOpenZfs {
type Output = std::result::Result<
crate::output::CreateLocationFsxOpenZfsOutput,
crate::error::CreateLocationFsxOpenZfsError,
>;
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_location_fsx_open_zfs_error(response)
} else {
crate::operation_deser::parse_create_location_fsx_open_zfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationFsxWindows {
_private: (),
}
impl CreateLocationFsxWindows {
pub fn builder() -> crate::input::create_location_fsx_windows_input::Builder {
crate::input::create_location_fsx_windows_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationFsxWindows {
type Output = std::result::Result<
crate::output::CreateLocationFsxWindowsOutput,
crate::error::CreateLocationFsxWindowsError,
>;
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_location_fsx_windows_error(response)
} else {
crate::operation_deser::parse_create_location_fsx_windows_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationHdfs {
_private: (),
}
impl CreateLocationHdfs {
pub fn builder() -> crate::input::create_location_hdfs_input::Builder {
crate::input::create_location_hdfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationHdfs {
type Output = std::result::Result<
crate::output::CreateLocationHdfsOutput,
crate::error::CreateLocationHdfsError,
>;
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_location_hdfs_error(response)
} else {
crate::operation_deser::parse_create_location_hdfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationNfs {
_private: (),
}
impl CreateLocationNfs {
pub fn builder() -> crate::input::create_location_nfs_input::Builder {
crate::input::create_location_nfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationNfs {
type Output = std::result::Result<
crate::output::CreateLocationNfsOutput,
crate::error::CreateLocationNfsError,
>;
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_location_nfs_error(response)
} else {
crate::operation_deser::parse_create_location_nfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationObjectStorage {
_private: (),
}
impl CreateLocationObjectStorage {
pub fn builder() -> crate::input::create_location_object_storage_input::Builder {
crate::input::create_location_object_storage_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationObjectStorage {
type Output = std::result::Result<
crate::output::CreateLocationObjectStorageOutput,
crate::error::CreateLocationObjectStorageError,
>;
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_location_object_storage_error(response)
} else {
crate::operation_deser::parse_create_location_object_storage_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationS3 {
_private: (),
}
impl CreateLocationS3 {
pub fn builder() -> crate::input::create_location_s3_input::Builder {
crate::input::create_location_s3_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationS3 {
type Output = std::result::Result<
crate::output::CreateLocationS3Output,
crate::error::CreateLocationS3Error,
>;
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_location_s3_error(response)
} else {
crate::operation_deser::parse_create_location_s3_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateLocationSmb {
_private: (),
}
impl CreateLocationSmb {
pub fn builder() -> crate::input::create_location_smb_input::Builder {
crate::input::create_location_smb_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateLocationSmb {
type Output = std::result::Result<
crate::output::CreateLocationSmbOutput,
crate::error::CreateLocationSmbError,
>;
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_location_smb_error(response)
} else {
crate::operation_deser::parse_create_location_smb_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateTask {
_private: (),
}
impl CreateTask {
pub fn builder() -> crate::input::create_task_input::Builder {
crate::input::create_task_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateTask {
type Output =
std::result::Result<crate::output::CreateTaskOutput, crate::error::CreateTaskError>;
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_task_error(response)
} else {
crate::operation_deser::parse_create_task_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteAgent {
_private: (),
}
impl DeleteAgent {
pub fn builder() -> crate::input::delete_agent_input::Builder {
crate::input::delete_agent_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteAgent {
type Output =
std::result::Result<crate::output::DeleteAgentOutput, crate::error::DeleteAgentError>;
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_agent_error(response)
} else {
crate::operation_deser::parse_delete_agent_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteLocation {
_private: (),
}
impl DeleteLocation {
pub fn builder() -> crate::input::delete_location_input::Builder {
crate::input::delete_location_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteLocation {
type Output =
std::result::Result<crate::output::DeleteLocationOutput, crate::error::DeleteLocationError>;
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_location_error(response)
} else {
crate::operation_deser::parse_delete_location_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteTask {
_private: (),
}
impl DeleteTask {
pub fn builder() -> crate::input::delete_task_input::Builder {
crate::input::delete_task_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTask {
type Output =
std::result::Result<crate::output::DeleteTaskOutput, crate::error::DeleteTaskError>;
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_task_error(response)
} else {
crate::operation_deser::parse_delete_task_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAgent {
_private: (),
}
impl DescribeAgent {
pub fn builder() -> crate::input::describe_agent_input::Builder {
crate::input::describe_agent_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAgent {
type Output =
std::result::Result<crate::output::DescribeAgentOutput, crate::error::DescribeAgentError>;
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_agent_error(response)
} else {
crate::operation_deser::parse_describe_agent_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationEfs {
_private: (),
}
impl DescribeLocationEfs {
pub fn builder() -> crate::input::describe_location_efs_input::Builder {
crate::input::describe_location_efs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationEfs {
type Output = std::result::Result<
crate::output::DescribeLocationEfsOutput,
crate::error::DescribeLocationEfsError,
>;
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_location_efs_error(response)
} else {
crate::operation_deser::parse_describe_location_efs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationFsxLustre {
_private: (),
}
impl DescribeLocationFsxLustre {
pub fn builder() -> crate::input::describe_location_fsx_lustre_input::Builder {
crate::input::describe_location_fsx_lustre_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationFsxLustre {
type Output = std::result::Result<
crate::output::DescribeLocationFsxLustreOutput,
crate::error::DescribeLocationFsxLustreError,
>;
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_location_fsx_lustre_error(response)
} else {
crate::operation_deser::parse_describe_location_fsx_lustre_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationFsxOntap {
_private: (),
}
impl DescribeLocationFsxOntap {
pub fn builder() -> crate::input::describe_location_fsx_ontap_input::Builder {
crate::input::describe_location_fsx_ontap_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationFsxOntap {
type Output = std::result::Result<
crate::output::DescribeLocationFsxOntapOutput,
crate::error::DescribeLocationFsxOntapError,
>;
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_location_fsx_ontap_error(response)
} else {
crate::operation_deser::parse_describe_location_fsx_ontap_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationFsxOpenZfs {
_private: (),
}
impl DescribeLocationFsxOpenZfs {
pub fn builder() -> crate::input::describe_location_fsx_open_zfs_input::Builder {
crate::input::describe_location_fsx_open_zfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationFsxOpenZfs {
type Output = std::result::Result<
crate::output::DescribeLocationFsxOpenZfsOutput,
crate::error::DescribeLocationFsxOpenZfsError,
>;
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_location_fsx_open_zfs_error(response)
} else {
crate::operation_deser::parse_describe_location_fsx_open_zfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationFsxWindows {
_private: (),
}
impl DescribeLocationFsxWindows {
pub fn builder() -> crate::input::describe_location_fsx_windows_input::Builder {
crate::input::describe_location_fsx_windows_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationFsxWindows {
type Output = std::result::Result<
crate::output::DescribeLocationFsxWindowsOutput,
crate::error::DescribeLocationFsxWindowsError,
>;
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_location_fsx_windows_error(response)
} else {
crate::operation_deser::parse_describe_location_fsx_windows_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationHdfs {
_private: (),
}
impl DescribeLocationHdfs {
pub fn builder() -> crate::input::describe_location_hdfs_input::Builder {
crate::input::describe_location_hdfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationHdfs {
type Output = std::result::Result<
crate::output::DescribeLocationHdfsOutput,
crate::error::DescribeLocationHdfsError,
>;
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_location_hdfs_error(response)
} else {
crate::operation_deser::parse_describe_location_hdfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationNfs {
_private: (),
}
impl DescribeLocationNfs {
pub fn builder() -> crate::input::describe_location_nfs_input::Builder {
crate::input::describe_location_nfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationNfs {
type Output = std::result::Result<
crate::output::DescribeLocationNfsOutput,
crate::error::DescribeLocationNfsError,
>;
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_location_nfs_error(response)
} else {
crate::operation_deser::parse_describe_location_nfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationObjectStorage {
_private: (),
}
impl DescribeLocationObjectStorage {
pub fn builder() -> crate::input::describe_location_object_storage_input::Builder {
crate::input::describe_location_object_storage_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationObjectStorage {
type Output = std::result::Result<
crate::output::DescribeLocationObjectStorageOutput,
crate::error::DescribeLocationObjectStorageError,
>;
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_location_object_storage_error(response)
} else {
crate::operation_deser::parse_describe_location_object_storage_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationS3 {
_private: (),
}
impl DescribeLocationS3 {
pub fn builder() -> crate::input::describe_location_s3_input::Builder {
crate::input::describe_location_s3_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationS3 {
type Output = std::result::Result<
crate::output::DescribeLocationS3Output,
crate::error::DescribeLocationS3Error,
>;
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_location_s3_error(response)
} else {
crate::operation_deser::parse_describe_location_s3_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeLocationSmb {
_private: (),
}
impl DescribeLocationSmb {
pub fn builder() -> crate::input::describe_location_smb_input::Builder {
crate::input::describe_location_smb_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeLocationSmb {
type Output = std::result::Result<
crate::output::DescribeLocationSmbOutput,
crate::error::DescribeLocationSmbError,
>;
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_location_smb_error(response)
} else {
crate::operation_deser::parse_describe_location_smb_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTask {
_private: (),
}
impl DescribeTask {
pub fn builder() -> crate::input::describe_task_input::Builder {
crate::input::describe_task_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTask {
type Output =
std::result::Result<crate::output::DescribeTaskOutput, crate::error::DescribeTaskError>;
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_task_error(response)
} else {
crate::operation_deser::parse_describe_task_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTaskExecution {
_private: (),
}
impl DescribeTaskExecution {
pub fn builder() -> crate::input::describe_task_execution_input::Builder {
crate::input::describe_task_execution_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTaskExecution {
type Output = std::result::Result<
crate::output::DescribeTaskExecutionOutput,
crate::error::DescribeTaskExecutionError,
>;
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_task_execution_error(response)
} else {
crate::operation_deser::parse_describe_task_execution_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListAgents {
_private: (),
}
impl ListAgents {
pub fn builder() -> crate::input::list_agents_input::Builder {
crate::input::list_agents_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListAgents {
type Output =
std::result::Result<crate::output::ListAgentsOutput, crate::error::ListAgentsError>;
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_agents_error(response)
} else {
crate::operation_deser::parse_list_agents_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListLocations {
_private: (),
}
impl ListLocations {
pub fn builder() -> crate::input::list_locations_input::Builder {
crate::input::list_locations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListLocations {
type Output =
std::result::Result<crate::output::ListLocationsOutput, crate::error::ListLocationsError>;
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_locations_error(response)
} else {
crate::operation_deser::parse_list_locations_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 ListTaskExecutions {
_private: (),
}
impl ListTaskExecutions {
pub fn builder() -> crate::input::list_task_executions_input::Builder {
crate::input::list_task_executions_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTaskExecutions {
type Output = std::result::Result<
crate::output::ListTaskExecutionsOutput,
crate::error::ListTaskExecutionsError,
>;
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_task_executions_error(response)
} else {
crate::operation_deser::parse_list_task_executions_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTasks {
_private: (),
}
impl ListTasks {
pub fn builder() -> crate::input::list_tasks_input::Builder {
crate::input::list_tasks_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTasks {
type Output = std::result::Result<crate::output::ListTasksOutput, crate::error::ListTasksError>;
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_tasks_error(response)
} else {
crate::operation_deser::parse_list_tasks_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct StartTaskExecution {
_private: (),
}
impl StartTaskExecution {
pub fn builder() -> crate::input::start_task_execution_input::Builder {
crate::input::start_task_execution_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for StartTaskExecution {
type Output = std::result::Result<
crate::output::StartTaskExecutionOutput,
crate::error::StartTaskExecutionError,
>;
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_task_execution_error(response)
} else {
crate::operation_deser::parse_start_task_execution_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)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateAgent {
_private: (),
}
impl UpdateAgent {
pub fn builder() -> crate::input::update_agent_input::Builder {
crate::input::update_agent_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateAgent {
type Output =
std::result::Result<crate::output::UpdateAgentOutput, crate::error::UpdateAgentError>;
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_agent_error(response)
} else {
crate::operation_deser::parse_update_agent_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateLocationHdfs {
_private: (),
}
impl UpdateLocationHdfs {
pub fn builder() -> crate::input::update_location_hdfs_input::Builder {
crate::input::update_location_hdfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateLocationHdfs {
type Output = std::result::Result<
crate::output::UpdateLocationHdfsOutput,
crate::error::UpdateLocationHdfsError,
>;
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_location_hdfs_error(response)
} else {
crate::operation_deser::parse_update_location_hdfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateLocationNfs {
_private: (),
}
impl UpdateLocationNfs {
pub fn builder() -> crate::input::update_location_nfs_input::Builder {
crate::input::update_location_nfs_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateLocationNfs {
type Output = std::result::Result<
crate::output::UpdateLocationNfsOutput,
crate::error::UpdateLocationNfsError,
>;
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_location_nfs_error(response)
} else {
crate::operation_deser::parse_update_location_nfs_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateLocationObjectStorage {
_private: (),
}
impl UpdateLocationObjectStorage {
pub fn builder() -> crate::input::update_location_object_storage_input::Builder {
crate::input::update_location_object_storage_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateLocationObjectStorage {
type Output = std::result::Result<
crate::output::UpdateLocationObjectStorageOutput,
crate::error::UpdateLocationObjectStorageError,
>;
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_location_object_storage_error(response)
} else {
crate::operation_deser::parse_update_location_object_storage_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateLocationSmb {
_private: (),
}
impl UpdateLocationSmb {
pub fn builder() -> crate::input::update_location_smb_input::Builder {
crate::input::update_location_smb_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateLocationSmb {
type Output = std::result::Result<
crate::output::UpdateLocationSmbOutput,
crate::error::UpdateLocationSmbError,
>;
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_location_smb_error(response)
} else {
crate::operation_deser::parse_update_location_smb_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateTask {
_private: (),
}
impl UpdateTask {
pub fn builder() -> crate::input::update_task_input::Builder {
crate::input::update_task_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateTask {
type Output =
std::result::Result<crate::output::UpdateTaskOutput, crate::error::UpdateTaskError>;
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_task_error(response)
} else {
crate::operation_deser::parse_update_task_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateTaskExecution {
_private: (),
}
impl UpdateTaskExecution {
pub fn builder() -> crate::input::update_task_execution_input::Builder {
crate::input::update_task_execution_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateTaskExecution {
type Output = std::result::Result<
crate::output::UpdateTaskExecutionOutput,
crate::error::UpdateTaskExecutionError,
>;
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_task_execution_error(response)
} else {
crate::operation_deser::parse_update_task_execution_response(response)
}
}
}
pub mod customize;