libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.DeleteWorkteam

Description

Deletes an existing work team. This operation can't be undone.

Synopsis

Creating a Request

data DeleteWorkteam Source #

See: newDeleteWorkteam smart constructor.

Constructors

DeleteWorkteam' 

Fields

Instances

Instances details
Eq DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Read DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Show DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Generic DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Associated Types

type Rep DeleteWorkteam :: Type -> Type #

NFData DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Methods

rnf :: DeleteWorkteam -> () #

Hashable DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

ToJSON DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

AWSRequest DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Associated Types

type AWSResponse DeleteWorkteam #

ToHeaders DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

ToPath DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

ToQuery DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

type Rep DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

type Rep DeleteWorkteam = D1 ('MetaData "DeleteWorkteam" "Amazonka.SageMaker.DeleteWorkteam" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "DeleteWorkteam'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workteamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

newDeleteWorkteam Source #

Create a value of DeleteWorkteam with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:workteamName:DeleteWorkteam', deleteWorkteam_workteamName - The name of the work team to delete.

Request Lenses

deleteWorkteam_workteamName :: Lens' DeleteWorkteam Text Source #

The name of the work team to delete.

Destructuring the Response

data DeleteWorkteamResponse Source #

See: newDeleteWorkteamResponse smart constructor.

Constructors

DeleteWorkteamResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • success :: Bool

    Returns true if the work team was successfully deleted; otherwise, returns false.

Instances

Instances details
Eq DeleteWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Read DeleteWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Show DeleteWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Generic DeleteWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Associated Types

type Rep DeleteWorkteamResponse :: Type -> Type #

NFData DeleteWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

Methods

rnf :: DeleteWorkteamResponse -> () #

type Rep DeleteWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkteam

type Rep DeleteWorkteamResponse = D1 ('MetaData "DeleteWorkteamResponse" "Amazonka.SageMaker.DeleteWorkteam" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "DeleteWorkteamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newDeleteWorkteamResponse Source #

Create a value of DeleteWorkteamResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteWorkteamResponse', deleteWorkteamResponse_httpStatus - The response's http status code.

$sel:success:DeleteWorkteamResponse', deleteWorkteamResponse_success - Returns true if the work team was successfully deleted; otherwise, returns false.

Response Lenses

deleteWorkteamResponse_success :: Lens' DeleteWorkteamResponse Bool Source #

Returns true if the work team was successfully deleted; otherwise, returns false.