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.DeleteWorkforce

Description

Use this operation to delete a workforce.

If you want to create a new workforce in an Amazon Web Services Region where a workforce already exists, use this operation to delete the existing workforce and then use to create a new workforce.

If a private workforce contains one or more work teams, you must use the operation to delete all work teams before you delete the workforce. If you try to delete a workforce that contains one or more work teams, you will recieve a ResourceInUse error.

Synopsis

Creating a Request

data DeleteWorkforce Source #

See: newDeleteWorkforce smart constructor.

Constructors

DeleteWorkforce' 

Fields

Instances

Instances details
Eq DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Read DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Show DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Generic DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Associated Types

type Rep DeleteWorkforce :: Type -> Type #

NFData DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Methods

rnf :: DeleteWorkforce -> () #

Hashable DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

ToJSON DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

AWSRequest DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Associated Types

type AWSResponse DeleteWorkforce #

ToHeaders DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

ToPath DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

ToQuery DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

type Rep DeleteWorkforce Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

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

Defined in Amazonka.SageMaker.DeleteWorkforce

newDeleteWorkforce Source #

Create a value of DeleteWorkforce 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:workforceName:DeleteWorkforce', deleteWorkforce_workforceName - The name of the workforce.

Request Lenses

Destructuring the Response

data DeleteWorkforceResponse Source #

See: newDeleteWorkforceResponse smart constructor.

Constructors

DeleteWorkforceResponse' 

Fields

Instances

Instances details
Eq DeleteWorkforceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Read DeleteWorkforceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Show DeleteWorkforceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Generic DeleteWorkforceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Associated Types

type Rep DeleteWorkforceResponse :: Type -> Type #

NFData DeleteWorkforceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

Methods

rnf :: DeleteWorkforceResponse -> () #

type Rep DeleteWorkforceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteWorkforce

type Rep DeleteWorkforceResponse = D1 ('MetaData "DeleteWorkforceResponse" "Amazonka.SageMaker.DeleteWorkforce" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "DeleteWorkforceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteWorkforceResponse Source #

Create a value of DeleteWorkforceResponse 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:DeleteWorkforceResponse', deleteWorkforceResponse_httpStatus - The response's http status code.

Response Lenses