amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Batch.DeleteSchedulingPolicy

Description

Deletes the specified scheduling policy.

You can't delete a scheduling policy that's used in any job queues.

Synopsis

Creating a Request

data DeleteSchedulingPolicy Source #

Contains the parameters for DeleteSchedulingPolicy.

See: newDeleteSchedulingPolicy smart constructor.

Constructors

DeleteSchedulingPolicy' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the scheduling policy to delete.

Instances

Instances details
ToJSON DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

ToHeaders DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

ToPath DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

ToQuery DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

AWSRequest DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Associated Types

type AWSResponse DeleteSchedulingPolicy #

Generic DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Associated Types

type Rep DeleteSchedulingPolicy :: Type -> Type #

Read DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Show DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

NFData DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Methods

rnf :: DeleteSchedulingPolicy -> () #

Eq DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Hashable DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

type AWSResponse DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

type Rep DeleteSchedulingPolicy Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

type Rep DeleteSchedulingPolicy = D1 ('MetaData "DeleteSchedulingPolicy" "Amazonka.Batch.DeleteSchedulingPolicy" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "DeleteSchedulingPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteSchedulingPolicy Source #

Create a value of DeleteSchedulingPolicy 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:

DeleteSchedulingPolicy, deleteSchedulingPolicy_arn - The Amazon Resource Name (ARN) of the scheduling policy to delete.

Request Lenses

deleteSchedulingPolicy_arn :: Lens' DeleteSchedulingPolicy Text Source #

The Amazon Resource Name (ARN) of the scheduling policy to delete.

Destructuring the Response

data DeleteSchedulingPolicyResponse Source #

See: newDeleteSchedulingPolicyResponse smart constructor.

Constructors

DeleteSchedulingPolicyResponse' 

Fields

Instances

Instances details
Generic DeleteSchedulingPolicyResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Associated Types

type Rep DeleteSchedulingPolicyResponse :: Type -> Type #

Read DeleteSchedulingPolicyResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Show DeleteSchedulingPolicyResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

NFData DeleteSchedulingPolicyResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

Eq DeleteSchedulingPolicyResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

type Rep DeleteSchedulingPolicyResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteSchedulingPolicy

type Rep DeleteSchedulingPolicyResponse = D1 ('MetaData "DeleteSchedulingPolicyResponse" "Amazonka.Batch.DeleteSchedulingPolicy" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "DeleteSchedulingPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSchedulingPolicyResponse Source #

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

Response Lenses