libZSservicesZSamazonka-dlmZSamazonka-dlm
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.DLM.UpdateLifecyclePolicy

Description

Updates the specified lifecycle policy.

Synopsis

Creating a Request

data UpdateLifecyclePolicy Source #

See: newUpdateLifecyclePolicy smart constructor.

Constructors

UpdateLifecyclePolicy' 

Fields

Instances

Instances details
Eq UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Read UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Show UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Generic UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Associated Types

type Rep UpdateLifecyclePolicy :: Type -> Type #

NFData UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Methods

rnf :: UpdateLifecyclePolicy -> () #

Hashable UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

ToJSON UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

AWSRequest UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Associated Types

type AWSResponse UpdateLifecyclePolicy #

ToHeaders UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

ToPath UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

ToQuery UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

type Rep UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

type Rep UpdateLifecyclePolicy = D1 ('MetaData "UpdateLifecyclePolicy" "Amazonka.DLM.UpdateLifecyclePolicy" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "UpdateLifecyclePolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SettablePolicyStateValues)) :*: S1 ('MetaSel ('Just "policyDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyDetails))) :*: (S1 ('MetaSel ('Just "executionRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

newUpdateLifecyclePolicy Source #

Create a value of UpdateLifecyclePolicy 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:state:UpdateLifecyclePolicy', updateLifecyclePolicy_state - The desired activation state of the lifecycle policy after creation.

$sel:policyDetails:UpdateLifecyclePolicy', updateLifecyclePolicy_policyDetails - The configuration of the lifecycle policy. You cannot update the policy type or the resource type.

$sel:executionRoleArn:UpdateLifecyclePolicy', updateLifecyclePolicy_executionRoleArn - The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

$sel:description:UpdateLifecyclePolicy', updateLifecyclePolicy_description - A description of the lifecycle policy.

$sel:policyId:UpdateLifecyclePolicy', updateLifecyclePolicy_policyId - The identifier of the lifecycle policy.

Request Lenses

updateLifecyclePolicy_state :: Lens' UpdateLifecyclePolicy (Maybe SettablePolicyStateValues) Source #

The desired activation state of the lifecycle policy after creation.

updateLifecyclePolicy_policyDetails :: Lens' UpdateLifecyclePolicy (Maybe PolicyDetails) Source #

The configuration of the lifecycle policy. You cannot update the policy type or the resource type.

updateLifecyclePolicy_executionRoleArn :: Lens' UpdateLifecyclePolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

updateLifecyclePolicy_policyId :: Lens' UpdateLifecyclePolicy Text Source #

The identifier of the lifecycle policy.

Destructuring the Response

data UpdateLifecyclePolicyResponse Source #

See: newUpdateLifecyclePolicyResponse smart constructor.

Constructors

UpdateLifecyclePolicyResponse' 

Fields

Instances

Instances details
Eq UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Read UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Show UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Generic UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Associated Types

type Rep UpdateLifecyclePolicyResponse :: Type -> Type #

NFData UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

type Rep UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

type Rep UpdateLifecyclePolicyResponse = D1 ('MetaData "UpdateLifecyclePolicyResponse" "Amazonka.DLM.UpdateLifecyclePolicy" "libZSservicesZSamazonka-dlmZSamazonka-dlm" 'False) (C1 ('MetaCons "UpdateLifecyclePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateLifecyclePolicyResponse Source #

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

Response Lenses