AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Deletes the specified lifecycle policy and halts the automated operations that the policy specified.

For more information about deleting a policy, see Delete lifecycle policies.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteLifecyclePolicyAsync.

Namespace: Amazon.DLM
Assembly: AWSSDK.DLM.dll
Version: 3.x.y.z

Syntax

C#
public virtual DeleteLifecyclePolicyResponse DeleteLifecyclePolicy(
         DeleteLifecyclePolicyRequest request
)

Parameters

request
Type: Amazon.DLM.Model.DeleteLifecyclePolicyRequest

Container for the necessary parameters to execute the DeleteLifecyclePolicy service method.

Return Value


The response from the DeleteLifecyclePolicy service method, as returned by DLM.

Exceptions

ExceptionCondition
InternalServerException The service failed in an unexpected way.
LimitExceededException The request failed because a limit was exceeded.
ResourceNotFoundException A requested resource was not found.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also