amazonka-dlm-2.0: Amazon Data Lifecycle Manager 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.DLM.UpdateLifecyclePolicy

Description

Updates the specified lifecycle policy.

For more information about updating a policy, see Modify lifecycle policies.

Synopsis

Creating a Request

data UpdateLifecyclePolicy Source #

See: newUpdateLifecyclePolicy smart constructor.

Constructors

UpdateLifecyclePolicy' 

Fields

Instances

Instances details
ToJSON UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.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

AWSRequest UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Associated Types

type AWSResponse UpdateLifecyclePolicy #

Generic UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Associated Types

type Rep UpdateLifecyclePolicy :: Type -> Type #

Read UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Show UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

NFData UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Methods

rnf :: UpdateLifecyclePolicy -> () #

Eq UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Hashable UpdateLifecyclePolicy Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

type AWSResponse 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" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" 'False) (C1 ('MetaCons "UpdateLifecyclePolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "executionRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "policyDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyDetails)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SettablePolicyStateValues)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

UpdateLifecyclePolicy, updateLifecyclePolicy_description - A description of the lifecycle policy.

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

UpdateLifecyclePolicy, updateLifecyclePolicy_policyDetails - The configuration of the lifecycle policy. You cannot update the policy type or the resource type.

UpdateLifecyclePolicy, updateLifecyclePolicy_state - The desired activation state of the lifecycle policy after creation.

UpdateLifecyclePolicy, updateLifecyclePolicy_policyId - The identifier of the lifecycle policy.

Request Lenses

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_policyDetails :: Lens' UpdateLifecyclePolicy (Maybe PolicyDetails) Source #

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

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

The desired activation state of the lifecycle policy after creation.

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
Generic UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Associated Types

type Rep UpdateLifecyclePolicyResponse :: Type -> Type #

Read UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Show UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

NFData UpdateLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.DLM.UpdateLifecyclePolicy

Eq 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" "amazonka-dlm-2.0-KlPkRzsIoa0q62N0Ereji" '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