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.Types.SchedulingPolicyDetail

Description

 
Synopsis

Documentation

data SchedulingPolicyDetail Source #

An object that represents a scheduling policy.

See: newSchedulingPolicyDetail smart constructor.

Constructors

SchedulingPolicyDetail' 

Fields

  • fairsharePolicy :: Maybe FairsharePolicy

    The fair share policy for the scheduling policy.

  • tags :: Maybe (HashMap Text Text)

    The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.

  • name :: Text

    The name of the scheduling policy.

  • arn :: Text

    The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority .

Instances

Instances details
FromJSON SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

Generic SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

Associated Types

type Rep SchedulingPolicyDetail :: Type -> Type #

Read SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

Show SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

NFData SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

Methods

rnf :: SchedulingPolicyDetail -> () #

Eq SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

Hashable SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

type Rep SchedulingPolicyDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.SchedulingPolicyDetail

type Rep SchedulingPolicyDetail = D1 ('MetaData "SchedulingPolicyDetail" "Amazonka.Batch.Types.SchedulingPolicyDetail" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "SchedulingPolicyDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fairsharePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FairsharePolicy)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSchedulingPolicyDetail Source #

Create a value of SchedulingPolicyDetail 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:fairsharePolicy:SchedulingPolicyDetail', schedulingPolicyDetail_fairsharePolicy - The fair share policy for the scheduling policy.

$sel:tags:SchedulingPolicyDetail', schedulingPolicyDetail_tags - The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.

$sel:name:SchedulingPolicyDetail', schedulingPolicyDetail_name - The name of the scheduling policy.

$sel:arn:SchedulingPolicyDetail', schedulingPolicyDetail_arn - The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority .

schedulingPolicyDetail_tags :: Lens' SchedulingPolicyDetail (Maybe (HashMap Text Text)) Source #

The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services resources in Amazon Web Services General Reference.

schedulingPolicyDetail_arn :: Lens' SchedulingPolicyDetail Text Source #

The Amazon Resource Name (ARN) of the scheduling policy. An example is arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority .