Skip to content

Commit 02a9446

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 6911981 commit 02a9446

File tree

7 files changed

+2493
-152
lines changed

7 files changed

+2493
-152
lines changed

codegen/sdk-codegen/aws-models/cloudfront.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@
223223
"input": {
224224
"target": "com.amazonaws.cloudfront#AssociateAliasRequest"
225225
},
226+
"output": {
227+
"target": "smithy.api#Unit"
228+
},
226229
"errors": [
227230
{
228231
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3364,6 +3367,9 @@
33643367
"input": {
33653368
"target": "com.amazonaws.cloudfront#DeleteCachePolicyRequest"
33663369
},
3370+
"output": {
3371+
"target": "smithy.api#Unit"
3372+
},
33673373
"errors": [
33683374
{
33693375
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3418,6 +3424,9 @@
34183424
"input": {
34193425
"target": "com.amazonaws.cloudfront#DeleteCloudFrontOriginAccessIdentityRequest"
34203426
},
3427+
"output": {
3428+
"target": "smithy.api#Unit"
3429+
},
34213430
"errors": [
34223431
{
34233432
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3472,6 +3481,9 @@
34723481
"input": {
34733482
"target": "com.amazonaws.cloudfront#DeleteDistributionRequest"
34743483
},
3484+
"output": {
3485+
"target": "smithy.api#Unit"
3486+
},
34753487
"errors": [
34763488
{
34773489
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3526,6 +3538,9 @@
35263538
"input": {
35273539
"target": "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionConfigRequest"
35283540
},
3541+
"output": {
3542+
"target": "smithy.api#Unit"
3543+
},
35293544
"errors": [
35303545
{
35313546
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3577,6 +3592,9 @@
35773592
"input": {
35783593
"target": "com.amazonaws.cloudfront#DeleteFieldLevelEncryptionProfileRequest"
35793594
},
3595+
"output": {
3596+
"target": "smithy.api#Unit"
3597+
},
35803598
"errors": [
35813599
{
35823600
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3628,6 +3646,9 @@
36283646
"input": {
36293647
"target": "com.amazonaws.cloudfront#DeleteFunctionRequest"
36303648
},
3649+
"output": {
3650+
"target": "smithy.api#Unit"
3651+
},
36313652
"errors": [
36323653
{
36333654
"target": "com.amazonaws.cloudfront#FunctionInUse"
@@ -3680,6 +3701,9 @@
36803701
"input": {
36813702
"target": "com.amazonaws.cloudfront#DeleteKeyGroupRequest"
36823703
},
3704+
"output": {
3705+
"target": "smithy.api#Unit"
3706+
},
36833707
"errors": [
36843708
{
36853709
"target": "com.amazonaws.cloudfront#InvalidIfMatchVersion"
@@ -3773,6 +3797,9 @@
37733797
"input": {
37743798
"target": "com.amazonaws.cloudfront#DeleteOriginRequestPolicyRequest"
37753799
},
3800+
"output": {
3801+
"target": "smithy.api#Unit"
3802+
},
37763803
"errors": [
37773804
{
37783805
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3827,6 +3854,9 @@
38273854
"input": {
38283855
"target": "com.amazonaws.cloudfront#DeletePublicKeyRequest"
38293856
},
3857+
"output": {
3858+
"target": "smithy.api#Unit"
3859+
},
38303860
"errors": [
38313861
{
38323862
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3878,6 +3908,9 @@
38783908
"input": {
38793909
"target": "com.amazonaws.cloudfront#DeleteRealtimeLogConfigRequest"
38803910
},
3911+
"output": {
3912+
"target": "smithy.api#Unit"
3913+
},
38813914
"errors": [
38823915
{
38833916
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3923,6 +3956,9 @@
39233956
"input": {
39243957
"target": "com.amazonaws.cloudfront#DeleteResponseHeadersPolicyRequest"
39253958
},
3959+
"output": {
3960+
"target": "smithy.api#Unit"
3961+
},
39263962
"errors": [
39273963
{
39283964
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -3977,6 +4013,9 @@
39774013
"input": {
39784014
"target": "com.amazonaws.cloudfront#DeleteStreamingDistributionRequest"
39794015
},
4016+
"output": {
4017+
"target": "smithy.api#Unit"
4018+
},
39804019
"errors": [
39814020
{
39824021
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -11047,6 +11086,12 @@
1104711086
"traits": {
1104811087
"smithy.api#documentation": "<p>A configuration for a set of custom HTTP response headers.</p>"
1104911088
}
11089+
},
11090+
"ServerTimingHeadersConfig": {
11091+
"target": "com.amazonaws.cloudfront#ResponseHeadersPolicyServerTimingHeadersConfig",
11092+
"traits": {
11093+
"smithy.api#documentation": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses\n\t\t\tsent from CloudFront.</p>"
11094+
}
1105011095
}
1105111096
},
1105211097
"traits": {
@@ -11339,6 +11384,27 @@
1133911384
"smithy.api#documentation": "<p>A configuration for a set of security-related HTTP response headers. CloudFront adds these headers\n\t\t\tto HTTP responses that it sends for requests that match a cache behavior associated with\n\t\t\tthis response headers policy.</p>"
1134011385
}
1134111386
},
11387+
"com.amazonaws.cloudfront#ResponseHeadersPolicyServerTimingHeadersConfig": {
11388+
"type": "structure",
11389+
"members": {
11390+
"Enabled": {
11391+
"target": "com.amazonaws.cloudfront#boolean",
11392+
"traits": {
11393+
"smithy.api#documentation": "<p>A Boolean that determines whether CloudFront adds the <code>Server-Timing</code> header to HTTP\n\t\t\tresponses that it sends in response to requests that match a cache behavior that's\n\t\t\tassociated with this response headers policy.</p>",
11394+
"smithy.api#required": {}
11395+
}
11396+
},
11397+
"SamplingRate": {
11398+
"target": "com.amazonaws.cloudfront#SamplingRate",
11399+
"traits": {
11400+
"smithy.api#documentation": "<p>A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to\n\t\t\tadd the <code>Server-Timing</code> header to. When you set the sampling rate to 100,\n\t\t\tCloudFront adds the <code>Server-Timing</code> header to the HTTP response for every request\n\t\t\tthat matches the cache behavior that this response headers policy is attached to. When\n\t\t\tyou set it to 50, CloudFront adds the header to 50% of the responses for requests that match\n\t\t\tthe cache behavior. You can set the sampling rate to any number 0–100 with up to four\n\t\t\tdecimal places.</p>"
11401+
}
11402+
}
11403+
},
11404+
"traits": {
11405+
"smithy.api#documentation": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses sent\n\t\t\tfrom CloudFront. CloudFront adds this header to HTTP responses that it sends in response to requests\n\t\t\tthat match a cache behavior that's associated with this response headers policy.</p>\n\t\t <p>You can use the <code>Server-Timing</code> header to view metrics that can help you gain\n\t\t\tinsights about the behavior and performance of CloudFront. For example, you can see which\n\t\t\tcache layer served a cache hit, or the first byte latency from the origin when there was\n\t\t\ta cache miss. You can use the metrics in the <code>Server-Timing</code> header to\n\t\t\ttroubleshoot issues or test the efficiency of your CloudFront configuration. For more\n\t\t\tinformation, 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\n\t\t\t<i>Amazon CloudFront Developer Guide</i>.</p>"
11406+
}
11407+
},
1134211408
"com.amazonaws.cloudfront#ResponseHeadersPolicyStrictTransportSecurity": {
1134311409
"type": "structure",
1134411410
"members": {
@@ -11524,6 +11590,16 @@
1152411590
]
1152511591
}
1152611592
},
11593+
"com.amazonaws.cloudfront#SamplingRate": {
11594+
"type": "double",
11595+
"traits": {
11596+
"smithy.api#box": {},
11597+
"smithy.api#range": {
11598+
"min": 0.0,
11599+
"max": 100.0
11600+
}
11601+
}
11602+
},
1152711603
"com.amazonaws.cloudfront#Signer": {
1152811604
"type": "structure",
1152911605
"members": {
@@ -12027,6 +12103,9 @@
1202712103
"input": {
1202812104
"target": "com.amazonaws.cloudfront#TagResourceRequest"
1202912105
},
12106+
"output": {
12107+
"target": "smithy.api#Unit"
12108+
},
1203012109
"errors": [
1203112110
{
1203212111
"target": "com.amazonaws.cloudfront#AccessDenied"
@@ -12950,6 +13029,9 @@
1295013029
"input": {
1295113030
"target": "com.amazonaws.cloudfront#UntagResourceRequest"
1295213031
},
13032+
"output": {
13033+
"target": "smithy.api#Unit"
13034+
},
1295313035
"errors": [
1295413036
{
1295513037
"target": "com.amazonaws.cloudfront#AccessDenied"

0 commit comments

Comments
 (0)