Skip to content

Commit b09b9a5

Browse files
committed
Merge branch 'sso-sts--url-validation' of https://github.com/aws/aws-sdk-cpp into sso-sts--url-validation
2 parents d8329bc + 497b371 commit b09b9a5

File tree

153 files changed

+34032
-16577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+34032
-16577
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.683
1+
1.11.684

generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontClient.h

Lines changed: 154 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,10 @@ class AWS_CLOUDFRONT_API CloudFrontClient : public Aws::Client::AWSXMLClient,
12151215
}
12161216

12171217
/**
1218-
* <p>Delete a distribution.</p><p><h3>See Also:</h3> <a
1218+
* <p>Delete a distribution.</p> <p>Before you can delete a
1219+
* distribution, you must disable it, which requires permission to update the
1220+
* distribution. Once deleted, a distribution cannot be recovered.</p>
1221+
* <p><h3>See Also:</h3> <a
12191222
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution2020_05_31">AWS
12201223
* API Reference</a></p>
12211224
*/
@@ -1592,6 +1595,36 @@ class AWS_CLOUDFRONT_API CloudFrontClient : public Aws::Client::AWSXMLClient,
15921595
return SubmitAsync(&CloudFrontClient::DeleteRealtimeLogConfig2020_05_31, request, handler, context);
15931596
}
15941597

1598+
/**
1599+
* <p>Deletes the resource policy attached to the CloudFront
1600+
* resource.</p><p><h3>See Also:</h3> <a
1601+
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResourcePolicy2020_05_31">AWS
1602+
* API Reference</a></p>
1603+
*/
1604+
virtual Model::DeleteResourcePolicy2020_05_31Outcome DeleteResourcePolicy2020_05_31(
1605+
const Model::DeleteResourcePolicy2020_05_31Request& request) const;
1606+
1607+
/**
1608+
* A Callable wrapper for DeleteResourcePolicy2020_05_31 that returns a future to the operation so that it can be executed in parallel to
1609+
* other requests.
1610+
*/
1611+
template <typename DeleteResourcePolicy2020_05_31RequestT = Model::DeleteResourcePolicy2020_05_31Request>
1612+
Model::DeleteResourcePolicy2020_05_31OutcomeCallable DeleteResourcePolicy2020_05_31Callable(
1613+
const DeleteResourcePolicy2020_05_31RequestT& request) const {
1614+
return SubmitCallable(&CloudFrontClient::DeleteResourcePolicy2020_05_31, request);
1615+
}
1616+
1617+
/**
1618+
* An Async wrapper for DeleteResourcePolicy2020_05_31 that queues the request into a thread executor and triggers associated callback
1619+
* when operation has finished.
1620+
*/
1621+
template <typename DeleteResourcePolicy2020_05_31RequestT = Model::DeleteResourcePolicy2020_05_31Request>
1622+
void DeleteResourcePolicy2020_05_31Async(const DeleteResourcePolicy2020_05_31RequestT& request,
1623+
const DeleteResourcePolicy2020_05_31ResponseReceivedHandler& handler,
1624+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
1625+
return SubmitAsync(&CloudFrontClient::DeleteResourcePolicy2020_05_31, request, handler, context);
1626+
}
1627+
15951628
/**
15961629
* <p>Deletes a response headers policy.</p> <p>You cannot delete a response
15971630
* headers policy if it's attached to a cache behavior. First update your
@@ -2794,6 +2827,36 @@ class AWS_CLOUDFRONT_API CloudFrontClient : public Aws::Client::AWSXMLClient,
27942827
return SubmitAsync(&CloudFrontClient::GetRealtimeLogConfig2020_05_31, request, handler, context);
27952828
}
27962829

2830+
/**
2831+
* <p>Retrieves the resource policy for the specified CloudFront resource that you
2832+
* own and have shared.</p><p><h3>See Also:</h3> <a
2833+
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicy2020_05_31">AWS
2834+
* API Reference</a></p>
2835+
*/
2836+
virtual Model::GetResourcePolicy2020_05_31Outcome GetResourcePolicy2020_05_31(
2837+
const Model::GetResourcePolicy2020_05_31Request& request) const;
2838+
2839+
/**
2840+
* A Callable wrapper for GetResourcePolicy2020_05_31 that returns a future to the operation so that it can be executed in parallel to
2841+
* other requests.
2842+
*/
2843+
template <typename GetResourcePolicy2020_05_31RequestT = Model::GetResourcePolicy2020_05_31Request>
2844+
Model::GetResourcePolicy2020_05_31OutcomeCallable GetResourcePolicy2020_05_31Callable(
2845+
const GetResourcePolicy2020_05_31RequestT& request) const {
2846+
return SubmitCallable(&CloudFrontClient::GetResourcePolicy2020_05_31, request);
2847+
}
2848+
2849+
/**
2850+
* An Async wrapper for GetResourcePolicy2020_05_31 that queues the request into a thread executor and triggers associated callback when
2851+
* operation has finished.
2852+
*/
2853+
template <typename GetResourcePolicy2020_05_31RequestT = Model::GetResourcePolicy2020_05_31Request>
2854+
void GetResourcePolicy2020_05_31Async(const GetResourcePolicy2020_05_31RequestT& request,
2855+
const GetResourcePolicy2020_05_31ResponseReceivedHandler& handler,
2856+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
2857+
return SubmitAsync(&CloudFrontClient::GetResourcePolicy2020_05_31, request, handler, context);
2858+
}
2859+
27972860
/**
27982861
* <p>Gets a response headers policy, including metadata (the policy's identifier
27992862
* and the date and time when the policy was last modified).</p> <p>To get a
@@ -3446,6 +3509,37 @@ class AWS_CLOUDFRONT_API CloudFrontClient : public Aws::Client::AWSXMLClient,
34463509
return SubmitAsync(&CloudFrontClient::ListDistributionsByOriginRequestPolicyId2020_05_31, request, handler, context);
34473510
}
34483511

3512+
/**
3513+
* <p>Lists the CloudFront distributions that are associated with the specified
3514+
* resource that you own.</p><p><h3>See Also:</h3> <a
3515+
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResource2020_05_31">AWS
3516+
* API Reference</a></p>
3517+
*/
3518+
virtual Model::ListDistributionsByOwnedResource2020_05_31Outcome ListDistributionsByOwnedResource2020_05_31(
3519+
const Model::ListDistributionsByOwnedResource2020_05_31Request& request) const;
3520+
3521+
/**
3522+
* A Callable wrapper for ListDistributionsByOwnedResource2020_05_31 that returns a future to the operation so that it can be executed in
3523+
* parallel to other requests.
3524+
*/
3525+
template <typename ListDistributionsByOwnedResource2020_05_31RequestT = Model::ListDistributionsByOwnedResource2020_05_31Request>
3526+
Model::ListDistributionsByOwnedResource2020_05_31OutcomeCallable ListDistributionsByOwnedResource2020_05_31Callable(
3527+
const ListDistributionsByOwnedResource2020_05_31RequestT& request) const {
3528+
return SubmitCallable(&CloudFrontClient::ListDistributionsByOwnedResource2020_05_31, request);
3529+
}
3530+
3531+
/**
3532+
* An Async wrapper for ListDistributionsByOwnedResource2020_05_31 that queues the request into a thread executor and triggers associated
3533+
* callback when operation has finished.
3534+
*/
3535+
template <typename ListDistributionsByOwnedResource2020_05_31RequestT = Model::ListDistributionsByOwnedResource2020_05_31Request>
3536+
void ListDistributionsByOwnedResource2020_05_31Async(
3537+
const ListDistributionsByOwnedResource2020_05_31RequestT& request,
3538+
const ListDistributionsByOwnedResource2020_05_31ResponseReceivedHandler& handler,
3539+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
3540+
return SubmitAsync(&CloudFrontClient::ListDistributionsByOwnedResource2020_05_31, request, handler, context);
3541+
}
3542+
34493543
/**
34503544
* <p>Gets a list of distributions that have a cache behavior that's associated
34513545
* with the specified real-time log configuration.</p> <p>You can specify the
@@ -4168,6 +4262,36 @@ class AWS_CLOUDFRONT_API CloudFrontClient : public Aws::Client::AWSXMLClient,
41684262
return SubmitAsync(&CloudFrontClient::PublishFunction2020_05_31, request, handler, context);
41694263
}
41704264

4265+
/**
4266+
* <p>Creates a resource control policy for a given CloudFront
4267+
* resource.</p><p><h3>See Also:</h3> <a
4268+
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicy2020_05_31">AWS
4269+
* API Reference</a></p>
4270+
*/
4271+
virtual Model::PutResourcePolicy2020_05_31Outcome PutResourcePolicy2020_05_31(
4272+
const Model::PutResourcePolicy2020_05_31Request& request) const;
4273+
4274+
/**
4275+
* A Callable wrapper for PutResourcePolicy2020_05_31 that returns a future to the operation so that it can be executed in parallel to
4276+
* other requests.
4277+
*/
4278+
template <typename PutResourcePolicy2020_05_31RequestT = Model::PutResourcePolicy2020_05_31Request>
4279+
Model::PutResourcePolicy2020_05_31OutcomeCallable PutResourcePolicy2020_05_31Callable(
4280+
const PutResourcePolicy2020_05_31RequestT& request) const {
4281+
return SubmitCallable(&CloudFrontClient::PutResourcePolicy2020_05_31, request);
4282+
}
4283+
4284+
/**
4285+
* An Async wrapper for PutResourcePolicy2020_05_31 that queues the request into a thread executor and triggers associated callback when
4286+
* operation has finished.
4287+
*/
4288+
template <typename PutResourcePolicy2020_05_31RequestT = Model::PutResourcePolicy2020_05_31Request>
4289+
void PutResourcePolicy2020_05_31Async(const PutResourcePolicy2020_05_31RequestT& request,
4290+
const PutResourcePolicy2020_05_31ResponseReceivedHandler& handler,
4291+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
4292+
return SubmitAsync(&CloudFrontClient::PutResourcePolicy2020_05_31, request, handler, context);
4293+
}
4294+
41714295
/**
41724296
* <p>Add tags to a CloudFront resource. For more information, see <a
41734297
* href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/tagging.html">Tagging
@@ -4266,6 +4390,35 @@ class AWS_CLOUDFRONT_API CloudFrontClient : public Aws::Client::AWSXMLClient,
42664390
return SubmitAsync(&CloudFrontClient::UntagResource2020_05_31, request, handler, context);
42674391
}
42684392

4393+
/**
4394+
* <p>Updates an Anycast static IP list.</p><p><h3>See Also:</h3> <a
4395+
* href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpList2020_05_31">AWS
4396+
* API Reference</a></p>
4397+
*/
4398+
virtual Model::UpdateAnycastIpList2020_05_31Outcome UpdateAnycastIpList2020_05_31(
4399+
const Model::UpdateAnycastIpList2020_05_31Request& request) const;
4400+
4401+
/**
4402+
* A Callable wrapper for UpdateAnycastIpList2020_05_31 that returns a future to the operation so that it can be executed in parallel to
4403+
* other requests.
4404+
*/
4405+
template <typename UpdateAnycastIpList2020_05_31RequestT = Model::UpdateAnycastIpList2020_05_31Request>
4406+
Model::UpdateAnycastIpList2020_05_31OutcomeCallable UpdateAnycastIpList2020_05_31Callable(
4407+
const UpdateAnycastIpList2020_05_31RequestT& request) const {
4408+
return SubmitCallable(&CloudFrontClient::UpdateAnycastIpList2020_05_31, request);
4409+
}
4410+
4411+
/**
4412+
* An Async wrapper for UpdateAnycastIpList2020_05_31 that queues the request into a thread executor and triggers associated callback when
4413+
* operation has finished.
4414+
*/
4415+
template <typename UpdateAnycastIpList2020_05_31RequestT = Model::UpdateAnycastIpList2020_05_31Request>
4416+
void UpdateAnycastIpList2020_05_31Async(const UpdateAnycastIpList2020_05_31RequestT& request,
4417+
const UpdateAnycastIpList2020_05_31ResponseReceivedHandler& handler,
4418+
const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
4419+
return SubmitAsync(&CloudFrontClient::UpdateAnycastIpList2020_05_31, request, handler, context);
4420+
}
4421+
42694422
/**
42704423
* <p>Updates a cache policy configuration.</p> <p>When you update a cache policy
42714424
* configuration, all the fields are updated with the values provided in the

0 commit comments

Comments
 (0)