Skip to content

Commit e75a418

Browse files
Add TrustStore, ConnectionFunction APIs to CloudFront SDK
1 parent 6287ae1 commit e75a418

File tree

105 files changed

+16428
-94
lines changed

Some content is hidden

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

105 files changed

+16428
-94
lines changed

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.api.json

Lines changed: 828 additions & 9 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.docs.json

Lines changed: 311 additions & 0 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.normal.json

Lines changed: 1087 additions & 10 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.paginators.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"limit_key": "MaxItems",
77
"result_key": "CloudFrontOriginAccessIdentityList.Items"
88
},
9+
"ListConnectionFunctions": {
10+
"input_token": "Marker",
11+
"output_token": "NextMarker",
12+
"limit_key": "MaxItems",
13+
"result_key": "ConnectionFunctions"
14+
},
915
"ListConnectionGroups": {
1016
"input_token": "Marker",
1117
"output_token": "NextMarker",
@@ -30,12 +36,24 @@
3036
"limit_key": "MaxItems",
3137
"result_key": "DistributionList.Items"
3238
},
39+
"ListDistributionsByConnectionFunction": {
40+
"input_token": "Marker",
41+
"output_token": "DistributionList.NextMarker",
42+
"limit_key": "MaxItems",
43+
"result_key": "DistributionList.Items"
44+
},
3345
"ListDistributionsByConnectionMode": {
3446
"input_token": "Marker",
3547
"output_token": "DistributionList.NextMarker",
3648
"limit_key": "MaxItems",
3749
"result_key": "DistributionList.Items"
3850
},
51+
"ListDistributionsByTrustStore": {
52+
"input_token": "Marker",
53+
"output_token": "DistributionList.NextMarker",
54+
"limit_key": "MaxItems",
55+
"result_key": "DistributionList.Items"
56+
},
3957
"ListDomainConflicts": {
4058
"input_token": "Marker",
4159
"output_token": "NextMarker",
@@ -77,6 +95,12 @@
7795
"output_token": "StreamingDistributionList.NextMarker",
7896
"limit_key": "MaxItems",
7997
"result_key": "StreamingDistributionList.Items"
98+
},
99+
"ListTrustStores": {
100+
"input_token": "Marker",
101+
"output_token": "NextMarker",
102+
"limit_key": "MaxItems",
103+
"result_key": "TrustStoreList"
80104
}
81105
}
82106
}

sdk/code-analysis/ServiceAnalysis/CloudFront/Generated/PropertyValueRules.xml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
<max>64</max>
77
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
88
</property-value-rule>
9+
<property-value-rule>
10+
<property>Amazon.CloudFront.Model.CreateConnectionFunctionRequest.ConnectionFunctionCode</property>
11+
<min>1</min>
12+
<max>40960</max>
13+
</property-value-rule>
14+
<property-value-rule>
15+
<property>Amazon.CloudFront.Model.CreateConnectionFunctionRequest.Name</property>
16+
<min>1</min>
17+
<max>64</max>
18+
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
19+
</property-value-rule>
920
<property-value-rule>
1021
<property>Amazon.CloudFront.Model.CreateDistributionTenantRequest.Name</property>
1122
<pattern>[a-zA-Z0-9][a-zA-Z0-9-.]{1,126}[a-zA-Z0-9]</pattern>
@@ -32,6 +43,11 @@
3243
<max>64</max>
3344
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
3445
</property-value-rule>
46+
<property-value-rule>
47+
<property>Amazon.CloudFront.Model.DeleteConnectionFunctionRequest.Id</property>
48+
<min>1</min>
49+
<max>64</max>
50+
</property-value-rule>
3551
<property-value-rule>
3652
<property>Amazon.CloudFront.Model.DeleteFunctionRequest.Name</property>
3753
<min>1</min>
@@ -44,6 +60,11 @@
4460
<max>64</max>
4561
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
4662
</property-value-rule>
63+
<property-value-rule>
64+
<property>Amazon.CloudFront.Model.DeleteTrustStoreRequest.Id</property>
65+
<min>1</min>
66+
<max>64</max>
67+
</property-value-rule>
4768
<property-value-rule>
4869
<property>Amazon.CloudFront.Model.DescribeFunctionRequest.Name</property>
4970
<min>1</min>
@@ -56,6 +77,11 @@
5677
<max>64</max>
5778
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
5879
</property-value-rule>
80+
<property-value-rule>
81+
<property>Amazon.CloudFront.Model.GetConnectionFunctionResponse.ConnectionFunctionCode</property>
82+
<min>1</min>
83+
<max>40960</max>
84+
</property-value-rule>
5985
<property-value-rule>
6086
<property>Amazon.CloudFront.Model.GetFunctionRequest.Name</property>
6187
<min>1</min>
@@ -85,6 +111,11 @@
85111
<property>Amazon.CloudFront.Model.ListTagsForResourceRequest.Resource</property>
86112
<pattern>arn:aws(-cn)?:cloudfront::[0-9]+:.*</pattern>
87113
</property-value-rule>
114+
<property-value-rule>
115+
<property>Amazon.CloudFront.Model.PublishConnectionFunctionRequest.Id</property>
116+
<min>1</min>
117+
<max>64</max>
118+
</property-value-rule>
88119
<property-value-rule>
89120
<property>Amazon.CloudFront.Model.PublishFunctionRequest.Name</property>
90121
<min>1</min>
@@ -95,6 +126,16 @@
95126
<property>Amazon.CloudFront.Model.TagResourceRequest.Resource</property>
96127
<pattern>arn:aws(-cn)?:cloudfront::[0-9]+:.*</pattern>
97128
</property-value-rule>
129+
<property-value-rule>
130+
<property>Amazon.CloudFront.Model.TestConnectionFunctionRequest.ConnectionObject</property>
131+
<min>0</min>
132+
<max>40960</max>
133+
</property-value-rule>
134+
<property-value-rule>
135+
<property>Amazon.CloudFront.Model.TestConnectionFunctionRequest.Id</property>
136+
<min>1</min>
137+
<max>64</max>
138+
</property-value-rule>
98139
<property-value-rule>
99140
<property>Amazon.CloudFront.Model.TestFunctionRequest.EventObject</property>
100141
<min>0</min>
@@ -110,6 +151,16 @@
110151
<property>Amazon.CloudFront.Model.UntagResourceRequest.Resource</property>
111152
<pattern>arn:aws(-cn)?:cloudfront::[0-9]+:.*</pattern>
112153
</property-value-rule>
154+
<property-value-rule>
155+
<property>Amazon.CloudFront.Model.UpdateConnectionFunctionRequest.ConnectionFunctionCode</property>
156+
<min>1</min>
157+
<max>40960</max>
158+
</property-value-rule>
159+
<property-value-rule>
160+
<property>Amazon.CloudFront.Model.UpdateConnectionFunctionRequest.Id</property>
161+
<min>1</min>
162+
<max>64</max>
163+
</property-value-rule>
113164
<property-value-rule>
114165
<property>Amazon.CloudFront.Model.UpdateFunctionRequest.FunctionCode</property>
115166
<min>1</min>
@@ -132,6 +183,11 @@
132183
<max>64</max>
133184
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
134185
</property-value-rule>
186+
<property-value-rule>
187+
<property>Amazon.CloudFront.Model.UpdateTrustStoreRequest.Id</property>
188+
<min>1</min>
189+
<max>64</max>
190+
</property-value-rule>
135191
<property-value-rule>
136192
<property>Amazon.CloudFront.Model.AnycastIpList.Name</property>
137193
<min>1</min>
@@ -144,6 +200,28 @@
144200
<max>64</max>
145201
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
146202
</property-value-rule>
203+
<property-value-rule>
204+
<property>Amazon.CloudFront.Model.CaCertificatesBundleS3Location.Region</property>
205+
<min>1</min>
206+
<max>32</max>
207+
<pattern>[a-z]{2}-[a-z]+-\d</pattern>
208+
</property-value-rule>
209+
<property-value-rule>
210+
<property>Amazon.CloudFront.Model.ConnectionFunctionAssociation.Id</property>
211+
<min>1</min>
212+
<max>64</max>
213+
</property-value-rule>
214+
<property-value-rule>
215+
<property>Amazon.CloudFront.Model.ConnectionFunctionSummary.Id</property>
216+
<min>1</min>
217+
<max>64</max>
218+
</property-value-rule>
219+
<property-value-rule>
220+
<property>Amazon.CloudFront.Model.ConnectionFunctionSummary.Name</property>
221+
<min>1</min>
222+
<max>64</max>
223+
<pattern>[a-zA-Z0-9-_]{1,64}</pattern>
224+
</property-value-rule>
147225
<property-value-rule>
148226
<property>Amazon.CloudFront.Model.FunctionAssociation.FunctionARN</property>
149227
<min>0</min>
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.CloudFront.Model
31+
{
32+
/// <summary>
33+
/// The CA certificates bundle location in Amazon S3.
34+
/// </summary>
35+
public partial class CaCertificatesBundleS3Location
36+
{
37+
private string _bucket;
38+
private string _key;
39+
private string _region;
40+
private string _version;
41+
42+
/// <summary>
43+
/// Gets and sets the property Bucket.
44+
/// <para>
45+
/// The S3 bucket.
46+
/// </para>
47+
/// </summary>
48+
[AWSProperty(Required=true)]
49+
public string Bucket
50+
{
51+
get { return this._bucket; }
52+
set { this._bucket = value; }
53+
}
54+
55+
// Check to see if Bucket property is set
56+
internal bool IsSetBucket()
57+
{
58+
return this._bucket != null;
59+
}
60+
61+
/// <summary>
62+
/// Gets and sets the property Key.
63+
/// <para>
64+
/// The location's key.
65+
/// </para>
66+
/// </summary>
67+
[AWSProperty(Required=true)]
68+
public string Key
69+
{
70+
get { return this._key; }
71+
set { this._key = value; }
72+
}
73+
74+
// Check to see if Key property is set
75+
internal bool IsSetKey()
76+
{
77+
return this._key != null;
78+
}
79+
80+
/// <summary>
81+
/// Gets and sets the property Region.
82+
/// <para>
83+
/// The location's Region.
84+
/// </para>
85+
/// </summary>
86+
[AWSProperty(Required=true, Min=1, Max=32)]
87+
public string Region
88+
{
89+
get { return this._region; }
90+
set { this._region = value; }
91+
}
92+
93+
// Check to see if Region property is set
94+
internal bool IsSetRegion()
95+
{
96+
return this._region != null;
97+
}
98+
99+
/// <summary>
100+
/// Gets and sets the property Version.
101+
/// <para>
102+
/// The location's version.
103+
/// </para>
104+
/// </summary>
105+
public string Version
106+
{
107+
get { return this._version; }
108+
set { this._version = value; }
109+
}
110+
111+
// Check to see if Version property is set
112+
internal bool IsSetVersion()
113+
{
114+
return this._version != null;
115+
}
116+
117+
}
118+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the cloudfront-2020-05-31.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.CloudFront.Model
31+
{
32+
/// <summary>
33+
/// A CA certificates bundle source.
34+
/// </summary>
35+
public partial class CaCertificatesBundleSource
36+
{
37+
private CaCertificatesBundleS3Location _caCertificatesBundleS3Location;
38+
39+
/// <summary>
40+
/// Gets and sets the property CaCertificatesBundleS3Location.
41+
/// <para>
42+
/// The CA certificates bundle location in Amazon S3.
43+
/// </para>
44+
/// </summary>
45+
public CaCertificatesBundleS3Location CaCertificatesBundleS3Location
46+
{
47+
get { return this._caCertificatesBundleS3Location; }
48+
set { this._caCertificatesBundleS3Location = value; }
49+
}
50+
51+
// Check to see if CaCertificatesBundleS3Location property is set
52+
internal bool IsSetCaCertificatesBundleS3Location()
53+
{
54+
return this._caCertificatesBundleS3Location != null;
55+
}
56+
57+
}
58+
}

0 commit comments

Comments
 (0)