Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Apr 26, 2022
1 parent dedfbdc commit 257415e
Show file tree
Hide file tree
Showing 75 changed files with 5,872 additions and 331 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ RubyGems.org page under "LINKS" section.
| Amazon Import/Export Snowball | Aws::Snowball | aws-sdk-snowball | 2016-06-30 |
| Amazon Inspector | Aws::Inspector | aws-sdk-inspector | 2016-02-16 |
| Amazon Interactive Video Service | Aws::IVS | aws-sdk-ivs | 2020-07-14 |
| Amazon Interactive Video Service Chat | Aws::Ivschat | aws-sdk-ivschat | 2020-07-14 |
| Amazon Keyspaces | Aws::Keyspaces | aws-sdk-keyspaces | 2022-02-10 |
| Amazon Kinesis | Aws::Kinesis | aws-sdk-kinesis | 2013-12-02 |
| Amazon Kinesis Analytics | Aws::KinesisAnalytics | aws-sdk-kinesisanalytics | 2015-08-14 |
Expand Down
16 changes: 15 additions & 1 deletion apis/cloudfront/2020-05-31/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5914,7 +5914,8 @@
"Name":{"shape":"string"},
"CorsConfig":{"shape":"ResponseHeadersPolicyCorsConfig"},
"SecurityHeadersConfig":{"shape":"ResponseHeadersPolicySecurityHeadersConfig"},
"CustomHeadersConfig":{"shape":"ResponseHeadersPolicyCustomHeadersConfig"}
"CustomHeadersConfig":{"shape":"ResponseHeadersPolicyCustomHeadersConfig"},
"ServerTimingHeadersConfig":{"shape":"ResponseHeadersPolicyServerTimingHeadersConfig"}
}
},
"ResponseHeadersPolicyContentSecurityPolicy":{
Expand Down Expand Up @@ -6036,6 +6037,14 @@
"StrictTransportSecurity":{"shape":"ResponseHeadersPolicyStrictTransportSecurity"}
}
},
"ResponseHeadersPolicyServerTimingHeadersConfig":{
"type":"structure",
"required":["Enabled"],
"members":{
"Enabled":{"shape":"boolean"},
"SamplingRate":{"shape":"SamplingRate"}
}
},
"ResponseHeadersPolicyStrictTransportSecurity":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -6120,6 +6129,11 @@
"static-ip"
]
},
"SamplingRate":{
"type":"double",
"max":100.0,
"min":0.0
},
"Signer":{
"type":"structure",
"members":{
Expand Down
13 changes: 13 additions & 0 deletions apis/cloudfront/2020-05-31/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2473,6 +2473,12 @@
"ResponseHeadersPolicyConfig$SecurityHeadersConfig": "<p>A configuration for a set of security-related HTTP response headers.</p>"
}
},
"ResponseHeadersPolicyServerTimingHeadersConfig": {
"base": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses sent from CloudFront. CloudFront adds this header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.</p> <p>You can use the <code>Server-Timing</code> header to view metrics that can help you gain insights about the behavior and performance of CloudFront. For example, you can see which cache layer served a cache hit, or the first byte latency from the origin when there was a cache miss. You can use the metrics in the <code>Server-Timing</code> header to troubleshoot issues or test the efficiency of your CloudFront configuration. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header\">Server-Timing header</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>",
"refs": {
"ResponseHeadersPolicyConfig$ServerTimingHeadersConfig": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses sent from CloudFront.</p>"
}
},
"ResponseHeadersPolicyStrictTransportSecurity": {
"base": "<p>Determines whether CloudFront includes the <code>Strict-Transport-Security</code> HTTP response header and the header’s value.</p> <p>For more information about the <code>Strict-Transport-Security</code> HTTP response header, see <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security\">Strict-Transport-Security</a> in the MDN Web Docs.</p>",
"refs": {
Expand Down Expand Up @@ -2530,6 +2536,12 @@
"ViewerCertificate$SSLSupportMethod": "<p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.</p> <ul> <li> <p> <code>sni-only</code> – The distribution accepts HTTPS connections from only viewers that support <a href=\"https://en.wikipedia.org/wiki/Server_Name_Indication\">server name indication (SNI)</a>. This is recommended. Most browsers and clients support SNI.</p> </li> <li> <p> <code>vip</code> – The distribution accepts HTTPS connections from all viewers including those that don’t support SNI. This is not recommended, and results in additional monthly charges from CloudFront.</p> </li> <li> <p> <code>static-ip</code> - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the <a href=\"https://console.aws.amazon.com/support/home\">Amazon Web Services Support Center</a>.</p> </li> </ul> <p>If the distribution uses the CloudFront domain name such as <code>d111111abcdef8.cloudfront.net</code>, don’t set a value for this field.</p>"
}
},
"SamplingRate": {
"base": null,
"refs": {
"ResponseHeadersPolicyServerTimingHeadersConfig$SamplingRate": "<p>A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the <code>Server-Timing</code> header to. When you set the sampling rate to 100, CloudFront adds the <code>Server-Timing</code> header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.</p>"
}
},
"Signer": {
"base": "<p>A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.</p>",
"refs": {
Expand Down Expand Up @@ -3148,6 +3160,7 @@
"ResponseHeadersPolicyCustomHeader$Override": "<p>A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.</p>",
"ResponseHeadersPolicyFrameOptions$Override": "<p>A Boolean that determines whether CloudFront overrides the <code>X-Frame-Options</code> HTTP response header received from the origin with the one specified in this response headers policy.</p>",
"ResponseHeadersPolicyReferrerPolicy$Override": "<p>A Boolean that determines whether CloudFront overrides the <code>Referrer-Policy</code> HTTP response header received from the origin with the one specified in this response headers policy.</p>",
"ResponseHeadersPolicyServerTimingHeadersConfig$Enabled": "<p>A Boolean that determines whether CloudFront adds the <code>Server-Timing</code> header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.</p>",
"ResponseHeadersPolicyStrictTransportSecurity$Override": "<p>A Boolean that determines whether CloudFront overrides the <code>Strict-Transport-Security</code> HTTP response header received from the origin with the one specified in this response headers policy.</p>",
"ResponseHeadersPolicyStrictTransportSecurity$IncludeSubdomains": "<p>A Boolean that determines whether CloudFront includes the <code>includeSubDomains</code> directive in the <code>Strict-Transport-Security</code> HTTP response header.</p>",
"ResponseHeadersPolicyStrictTransportSecurity$Preload": "<p>A Boolean that determines whether CloudFront includes the <code>preload</code> directive in the <code>Strict-Transport-Security</code> HTTP response header.</p>",
Expand Down
Loading

0 comments on commit 257415e

Please sign in to comment.