ListContinuousDeploymentPolicies - Amazon CloudFront
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ListContinuousDeploymentPolicies

Gets a list of the continuous deployment policies in your Amazon Web Services account.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

Request Syntax

GET /2020-05-31/continuous-deployment-policy?Marker=Marker&MaxItems=MaxItems HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Marker

Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.

MaxItems

The maximum number of continuous deployment policies that you want returned in the response.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?> <ContinuousDeploymentPolicyList> <Items> <ContinuousDeploymentPolicySummary> <ContinuousDeploymentPolicy> <ContinuousDeploymentPolicyConfig> <Enabled>boolean</Enabled> <StagingDistributionDnsNames> <Items> <DnsName>string</DnsName> </Items> <Quantity>integer</Quantity> </StagingDistributionDnsNames> <TrafficConfig> <SingleHeaderConfig> <Header>string</Header> <Value>string</Value> </SingleHeaderConfig> <SingleWeightConfig> <SessionStickinessConfig> <IdleTTL>integer</IdleTTL> <MaximumTTL>integer</MaximumTTL> </SessionStickinessConfig> <Weight>float</Weight> </SingleWeightConfig> <Type>string</Type> </TrafficConfig> </ContinuousDeploymentPolicyConfig> <Id>string</Id> <LastModifiedTime>timestamp</LastModifiedTime> </ContinuousDeploymentPolicy> </ContinuousDeploymentPolicySummary> </Items> <MaxItems>integer</MaxItems> <NextMarker>string</NextMarker> <Quantity>integer</Quantity> </ContinuousDeploymentPolicyList>

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in XML format by the service.

ContinuousDeploymentPolicyList

Root level tag for the ContinuousDeploymentPolicyList parameters.

Required: Yes

Items

A list of continuous deployment policy items.

Type: Array of ContinuousDeploymentPolicySummary objects

MaxItems

The maximum number of continuous deployment policies that were specified in your request.

Type: Integer

NextMarker

Indicates the next page of continuous deployment policies. To get the next page of the list, use this value in the Marker field of your request.

Type: String

Quantity

The total number of continuous deployment policies in your Amazon Web Services account, regardless of the MaxItems value.

Type: Integer

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDenied

Access denied.

HTTP Status Code: 403

InvalidArgument

An argument is invalid.

HTTP Status Code: 400

NoSuchContinuousDeploymentPolicy

The continuous deployment policy doesn't exist.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: