diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e39cabce..146ee8f9ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.36.16 (2020-12-28) +=== + +### Service Client Updates +* `service/cloudfront`: Updates service documentation + * Amazon CloudFront has deprecated the CreateStreamingDistribution and CreateStreamingDistributionWithTags APIs as part of discontinuing support for Real-Time Messaging Protocol (RTMP) distributions. + Release v1.36.15 (2020-12-23) === diff --git a/aws/version.go b/aws/version.go index 919084d52f..c86610deb8 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.36.15" +const SDKVersion = "1.36.16" diff --git a/models/apis/cloudfront/2020-05-31/docs-2.json b/models/apis/cloudfront/2020-05-31/docs-2.json index 9228c80a1f..ca14306639 100644 --- a/models/apis/cloudfront/2020-05-31/docs-2.json +++ b/models/apis/cloudfront/2020-05-31/docs-2.json @@ -14,8 +14,8 @@ "CreateOriginRequestPolicy": "

Creates an origin request policy.

After you create an origin request policy, you can attach it to one or more cache behaviors. When it’s attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

CloudFront sends a request when it can’t find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide.

", "CreatePublicKey": "

Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption.

", "CreateRealtimeLogConfig": "

Creates a real-time log configuration.

After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.

For more information about real-time log configurations, see Real-time logs in the Amazon CloudFront Developer Guide.

", - "CreateStreamingDistribution": "

Creates a new RTMP distribution. An RTMP distribution is similar to a web distribution, but an RTMP distribution streams media files using the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP.

To create a new distribution, submit a POST request to the CloudFront API version/distribution resource. The request body must include a document with a StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig element and returns other information about the RTMP distribution.

To get the status of your request, use the GET StreamingDistribution API action. When the value of Enabled is true and the value of Status is Deployed, your distribution is ready. A distribution usually deploys in less than 15 minutes.

For more information about web distributions, see Working with RTMP Distributions in the Amazon CloudFront Developer Guide.

Beginning with the 2012-05-05 version of the CloudFront API, we made substantial changes to the format of the XML document that you include in the request body when you create or update a web distribution or an RTMP distribution, and when you invalidate objects. With previous versions of the API, we discovered that it was too easy to accidentally delete one or more values for an element that accepts multiple values, for example, CNAMEs and trusted signers. Our changes for the 2012-05-05 release are intended to prevent these accidental deletions and to notify you when there's a mismatch between the number of values you say you're specifying in the Quantity element and the number of values specified.

", - "CreateStreamingDistributionWithTags": "

Create a new streaming distribution with tags.

", + "CreateStreamingDistribution": "

This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.

", + "CreateStreamingDistributionWithTags": "

This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcement on the Amazon CloudFront discussion forum.

", "DeleteCachePolicy": "

Deletes a cache policy.

You cannot delete a cache policy if it’s attached to a cache behavior. First update your distributions to remove the cache policy from all cache behaviors, then delete the cache policy.

To delete a cache policy, you must provide the policy’s identifier and version. To get these values, you can use ListCachePolicies or GetCachePolicy.

", "DeleteCloudFrontOriginAccessIdentity": "

Delete an origin access identity.

", "DeleteDistribution": "

Delete a distribution.

", @@ -3071,8 +3071,8 @@ "UpdateStreamingDistributionRequest$Id": "

The streaming distribution's id.

", "UpdateStreamingDistributionRequest$IfMatch": "

The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL.

", "UpdateStreamingDistributionResult$ETag": "

The current version of the configuration. For example: E2QWRUHAPOMQZL.

", - "ViewerCertificate$IAMCertificateId": "

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in AWS Identity and Access Management (AWS IAM), provide the ID of the IAM certificate.

If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVerison and SSLSupportMethod.

", - "ViewerCertificate$ACMCertificateArn": "

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in AWS Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVerison and SSLSupportMethod.

", + "ViewerCertificate$IAMCertificateId": "

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in AWS Identity and Access Management (AWS IAM), provide the ID of the IAM certificate.

If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

", + "ViewerCertificate$ACMCertificateArn": "

If the distribution uses Aliases (alternate domain names or CNAMEs) and the SSL/TLS certificate is stored in AWS Certificate Manager (ACM), provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront only supports ACM certificates in the US East (N. Virginia) Region (us-east-1).

If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion and SSLSupportMethod.

", "ViewerCertificate$Certificate": "

This field is deprecated. Use one of the following fields instead:

" } }, diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index 43ab5109b1..6c8eb849f3 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -1642,34 +1642,10 @@ func (c *CloudFront) CreateStreamingDistributionRequest(input *CreateStreamingDi // CreateStreamingDistribution API operation for Amazon CloudFront. // -// Creates a new RTMP distribution. An RTMP distribution is similar to a web -// distribution, but an RTMP distribution streams media files using the Adobe -// Real-Time Messaging Protocol (RTMP) instead of serving files using HTTP. -// -// To create a new distribution, submit a POST request to the CloudFront API -// version/distribution resource. The request body must include a document with -// a StreamingDistributionConfig element. The response echoes the StreamingDistributionConfig -// element and returns other information about the RTMP distribution. -// -// To get the status of your request, use the GET StreamingDistribution API -// action. When the value of Enabled is true and the value of Status is Deployed, -// your distribution is ready. A distribution usually deploys in less than 15 -// minutes. -// -// For more information about web distributions, see Working with RTMP Distributions -// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-rtmp.html) -// in the Amazon CloudFront Developer Guide. -// -// Beginning with the 2012-05-05 version of the CloudFront API, we made substantial -// changes to the format of the XML document that you include in the request -// body when you create or update a web distribution or an RTMP distribution, -// and when you invalidate objects. With previous versions of the API, we discovered -// that it was too easy to accidentally delete one or more values for an element -// that accepts multiple values, for example, CNAMEs and trusted signers. Our -// changes for the 2012-05-05 release are intended to prevent these accidental -// deletions and to notify you when there's a mismatch between the number of -// values you say you're specifying in the Quantity element and the number of -// values specified. +// This API is deprecated. Amazon CloudFront is deprecating real-time messaging +// protocol (RTMP) distributions on December 31, 2020. For more information, +// read the announcement (http://forums.aws.amazon.com/ann.jspa?annID=7356) +// on the Amazon CloudFront discussion forum. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1785,7 +1761,10 @@ func (c *CloudFront) CreateStreamingDistributionWithTagsRequest(input *CreateStr // CreateStreamingDistributionWithTags API operation for Amazon CloudFront. // -// Create a new streaming distribution with tags. +// This API is deprecated. Amazon CloudFront is deprecating real-time messaging +// protocol (RTMP) distributions on December 31, 2020. For more information, +// read the announcement (http://forums.aws.amazon.com/ann.jspa?annID=7356) +// on the Amazon CloudFront discussion forum. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -22836,7 +22815,7 @@ type ViewerCertificate struct { // provide the Amazon Resource Name (ARN) of the ACM certificate. CloudFront // only supports ACM certificates in the US East (N. Virginia) Region (us-east-1). // - // If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVerison + // If you specify an ACM certificate ARN, you must also specify values for MinimumProtocolVersion // and SSLSupportMethod. ACMCertificateArn *string `type:"string"` @@ -22881,7 +22860,7 @@ type ViewerCertificate struct { // IAM) (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html), // provide the ID of the IAM certificate. // - // If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVerison + // If you specify an IAM certificate ID, you must also specify values for MinimumProtocolVersion // and SSLSupportMethod. IAMCertificateId *string `type:"string"`