Skip to content

CloudFront  >  Operations  >  get_continuous_deployment_policy

get_continuous_deployment_policy

Operation

get_continuous_deployment_policy async

get_continuous_deployment_policy(input: GetContinuousDeploymentPolicyInput, plugins: list[Plugin] | None = None) -> GetContinuousDeploymentPolicyOutput

Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).

Parameters:

Name Type Description Default
input GetContinuousDeploymentPolicyInput

An instance of GetContinuousDeploymentPolicyInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetContinuousDeploymentPolicyOutput

An instance of GetContinuousDeploymentPolicyOutput.

Input

GetContinuousDeploymentPolicyInput dataclass

Bases: _SerdeShape

Dataclass for GetContinuousDeploymentPolicyInput structure.

Attributes

id class-attribute instance-attribute
id: str | None = ...

The identifier of the continuous deployment policy that you are getting.

Output

GetContinuousDeploymentPolicyOutput dataclass

Bases: _SerdeShape

Dataclass for GetContinuousDeploymentPolicyOutput structure.

Attributes

continuous_deployment_policy class-attribute instance-attribute
continuous_deployment_policy: ContinuousDeploymentPolicy | None = ...

A continuous deployment policy.

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The version identifier for the current version of the continuous deployment policy.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.