aws-sdk-cloudfront 1.134.0 → 1.136.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +1296 -127
- data/lib/aws-sdk-cloudfront/client_api.rb +501 -0
- data/lib/aws-sdk-cloudfront/types.rb +859 -8
- data/lib/aws-sdk-cloudfront.rb +1 -1
- data/sig/client.rbs +264 -3
- data/sig/types.rbs +261 -0
- metadata +3 -3
|
@@ -883,6 +883,11 @@ module Aws::CloudFront
|
|
|
883
883
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
884
884
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
885
885
|
# resp.distribution.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
886
|
+
# resp.distribution.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
887
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
888
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
889
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
890
|
+
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
886
891
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
887
892
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
888
893
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -1142,6 +1147,79 @@ module Aws::CloudFront
|
|
|
1142
1147
|
req.send_request(options)
|
|
1143
1148
|
end
|
|
1144
1149
|
|
|
1150
|
+
# Creates a connection function.
|
|
1151
|
+
#
|
|
1152
|
+
# @option params [required, String] :name
|
|
1153
|
+
# A name for the connection function.
|
|
1154
|
+
#
|
|
1155
|
+
# @option params [required, Types::FunctionConfig] :connection_function_config
|
|
1156
|
+
# Contains configuration information about a CloudFront function.
|
|
1157
|
+
#
|
|
1158
|
+
# @option params [required, String, StringIO, File] :connection_function_code
|
|
1159
|
+
# The code for the connection function.
|
|
1160
|
+
#
|
|
1161
|
+
# @option params [Types::Tags] :tags
|
|
1162
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
1163
|
+
#
|
|
1164
|
+
# @return [Types::CreateConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1165
|
+
#
|
|
1166
|
+
# * {Types::CreateConnectionFunctionResult#connection_function_summary #connection_function_summary} => Types::ConnectionFunctionSummary
|
|
1167
|
+
# * {Types::CreateConnectionFunctionResult#location #location} => String
|
|
1168
|
+
# * {Types::CreateConnectionFunctionResult#etag #etag} => String
|
|
1169
|
+
#
|
|
1170
|
+
# @example Request syntax with placeholder values
|
|
1171
|
+
#
|
|
1172
|
+
# resp = client.create_connection_function({
|
|
1173
|
+
# name: "FunctionName", # required
|
|
1174
|
+
# connection_function_config: { # required
|
|
1175
|
+
# comment: "string", # required
|
|
1176
|
+
# runtime: "cloudfront-js-1.0", # required, accepts cloudfront-js-1.0, cloudfront-js-2.0
|
|
1177
|
+
# key_value_store_associations: {
|
|
1178
|
+
# quantity: 1, # required
|
|
1179
|
+
# items: [
|
|
1180
|
+
# {
|
|
1181
|
+
# key_value_store_arn: "KeyValueStoreARN", # required
|
|
1182
|
+
# },
|
|
1183
|
+
# ],
|
|
1184
|
+
# },
|
|
1185
|
+
# },
|
|
1186
|
+
# connection_function_code: "data", # required
|
|
1187
|
+
# tags: {
|
|
1188
|
+
# items: [
|
|
1189
|
+
# {
|
|
1190
|
+
# key: "TagKey", # required
|
|
1191
|
+
# value: "TagValue",
|
|
1192
|
+
# },
|
|
1193
|
+
# ],
|
|
1194
|
+
# },
|
|
1195
|
+
# })
|
|
1196
|
+
#
|
|
1197
|
+
# @example Response structure
|
|
1198
|
+
#
|
|
1199
|
+
# resp.connection_function_summary.name #=> String
|
|
1200
|
+
# resp.connection_function_summary.id #=> String
|
|
1201
|
+
# resp.connection_function_summary.connection_function_config.comment #=> String
|
|
1202
|
+
# resp.connection_function_summary.connection_function_config.runtime #=> String, one of "cloudfront-js-1.0", "cloudfront-js-2.0"
|
|
1203
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.quantity #=> Integer
|
|
1204
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items #=> Array
|
|
1205
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items[0].key_value_store_arn #=> String
|
|
1206
|
+
# resp.connection_function_summary.connection_function_arn #=> String
|
|
1207
|
+
# resp.connection_function_summary.status #=> String
|
|
1208
|
+
# resp.connection_function_summary.stage #=> String, one of "DEVELOPMENT", "LIVE"
|
|
1209
|
+
# resp.connection_function_summary.created_time #=> Time
|
|
1210
|
+
# resp.connection_function_summary.last_modified_time #=> Time
|
|
1211
|
+
# resp.location #=> String
|
|
1212
|
+
# resp.etag #=> String
|
|
1213
|
+
#
|
|
1214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateConnectionFunction AWS API Documentation
|
|
1215
|
+
#
|
|
1216
|
+
# @overload create_connection_function(params = {})
|
|
1217
|
+
# @param [Hash] params ({})
|
|
1218
|
+
def create_connection_function(params = {}, options = {})
|
|
1219
|
+
req = build_request(:create_connection_function, params)
|
|
1220
|
+
req.send_request(options)
|
|
1221
|
+
end
|
|
1222
|
+
|
|
1145
1223
|
# Creates a connection group.
|
|
1146
1224
|
#
|
|
1147
1225
|
# @option params [required, String] :name
|
|
@@ -1590,6 +1668,17 @@ module Aws::CloudFront
|
|
|
1590
1668
|
# ],
|
|
1591
1669
|
# },
|
|
1592
1670
|
# connection_mode: "direct", # accepts direct, tenant-only
|
|
1671
|
+
# viewer_mtls_config: {
|
|
1672
|
+
# mode: "required", # accepts required, optional
|
|
1673
|
+
# trust_store_config: {
|
|
1674
|
+
# trust_store_id: "string", # required
|
|
1675
|
+
# advertise_trust_store_ca_names: false,
|
|
1676
|
+
# ignore_certificate_expiry: false,
|
|
1677
|
+
# },
|
|
1678
|
+
# },
|
|
1679
|
+
# connection_function_association: {
|
|
1680
|
+
# id: "ResourceId", # required
|
|
1681
|
+
# },
|
|
1593
1682
|
# },
|
|
1594
1683
|
# })
|
|
1595
1684
|
#
|
|
@@ -1793,6 +1882,11 @@ module Aws::CloudFront
|
|
|
1793
1882
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
1794
1883
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
1795
1884
|
# resp.distribution.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
1885
|
+
# resp.distribution.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
1886
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
1887
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
1888
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
1889
|
+
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
1796
1890
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
1797
1891
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
1798
1892
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -2251,6 +2345,17 @@ module Aws::CloudFront
|
|
|
2251
2345
|
# ],
|
|
2252
2346
|
# },
|
|
2253
2347
|
# connection_mode: "direct", # accepts direct, tenant-only
|
|
2348
|
+
# viewer_mtls_config: {
|
|
2349
|
+
# mode: "required", # accepts required, optional
|
|
2350
|
+
# trust_store_config: {
|
|
2351
|
+
# trust_store_id: "string", # required
|
|
2352
|
+
# advertise_trust_store_ca_names: false,
|
|
2353
|
+
# ignore_certificate_expiry: false,
|
|
2354
|
+
# },
|
|
2355
|
+
# },
|
|
2356
|
+
# connection_function_association: {
|
|
2357
|
+
# id: "ResourceId", # required
|
|
2358
|
+
# },
|
|
2254
2359
|
# },
|
|
2255
2360
|
# tags: { # required
|
|
2256
2361
|
# items: [
|
|
@@ -2463,6 +2568,11 @@ module Aws::CloudFront
|
|
|
2463
2568
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
2464
2569
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
2465
2570
|
# resp.distribution.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
2571
|
+
# resp.distribution.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
2572
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
2573
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
2574
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
2575
|
+
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
2466
2576
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
2467
2577
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
2468
2578
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -3674,6 +3784,64 @@ module Aws::CloudFront
|
|
|
3674
3784
|
req.send_request(options)
|
|
3675
3785
|
end
|
|
3676
3786
|
|
|
3787
|
+
# Creates a trust store.
|
|
3788
|
+
#
|
|
3789
|
+
# @option params [required, String] :name
|
|
3790
|
+
# A name for the trust store.
|
|
3791
|
+
#
|
|
3792
|
+
# @option params [required, Types::CaCertificatesBundleSource] :ca_certificates_bundle_source
|
|
3793
|
+
# The CA certificates bundle source for the trust store.
|
|
3794
|
+
#
|
|
3795
|
+
# @option params [Types::Tags] :tags
|
|
3796
|
+
# A complex type that contains zero or more `Tag` elements.
|
|
3797
|
+
#
|
|
3798
|
+
# @return [Types::CreateTrustStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3799
|
+
#
|
|
3800
|
+
# * {Types::CreateTrustStoreResult#trust_store #trust_store} => Types::TrustStore
|
|
3801
|
+
# * {Types::CreateTrustStoreResult#etag #etag} => String
|
|
3802
|
+
#
|
|
3803
|
+
# @example Request syntax with placeholder values
|
|
3804
|
+
#
|
|
3805
|
+
# resp = client.create_trust_store({
|
|
3806
|
+
# name: "string", # required
|
|
3807
|
+
# ca_certificates_bundle_source: { # required
|
|
3808
|
+
# ca_certificates_bundle_s3_location: {
|
|
3809
|
+
# bucket: "string", # required
|
|
3810
|
+
# key: "string", # required
|
|
3811
|
+
# region: "CaCertificatesBundleS3LocationRegionString", # required
|
|
3812
|
+
# version: "string",
|
|
3813
|
+
# },
|
|
3814
|
+
# },
|
|
3815
|
+
# tags: {
|
|
3816
|
+
# items: [
|
|
3817
|
+
# {
|
|
3818
|
+
# key: "TagKey", # required
|
|
3819
|
+
# value: "TagValue",
|
|
3820
|
+
# },
|
|
3821
|
+
# ],
|
|
3822
|
+
# },
|
|
3823
|
+
# })
|
|
3824
|
+
#
|
|
3825
|
+
# @example Response structure
|
|
3826
|
+
#
|
|
3827
|
+
# resp.trust_store.id #=> String
|
|
3828
|
+
# resp.trust_store.arn #=> String
|
|
3829
|
+
# resp.trust_store.name #=> String
|
|
3830
|
+
# resp.trust_store.status #=> String, one of "pending", "active", "failed"
|
|
3831
|
+
# resp.trust_store.number_of_ca_certificates #=> Integer
|
|
3832
|
+
# resp.trust_store.last_modified_time #=> Time
|
|
3833
|
+
# resp.trust_store.reason #=> String
|
|
3834
|
+
# resp.etag #=> String
|
|
3835
|
+
#
|
|
3836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateTrustStore AWS API Documentation
|
|
3837
|
+
#
|
|
3838
|
+
# @overload create_trust_store(params = {})
|
|
3839
|
+
# @param [Hash] params ({})
|
|
3840
|
+
def create_trust_store(params = {}, options = {})
|
|
3841
|
+
req = build_request(:create_trust_store, params)
|
|
3842
|
+
req.send_request(options)
|
|
3843
|
+
end
|
|
3844
|
+
|
|
3677
3845
|
# Create an Amazon CloudFront VPC origin.
|
|
3678
3846
|
#
|
|
3679
3847
|
# @option params [required, Types::VpcOriginEndpointConfig] :vpc_origin_endpoint_config
|
|
@@ -3880,6 +4048,33 @@ module Aws::CloudFront
|
|
|
3880
4048
|
req.send_request(options)
|
|
3881
4049
|
end
|
|
3882
4050
|
|
|
4051
|
+
# Deletes a connection function.
|
|
4052
|
+
#
|
|
4053
|
+
# @option params [required, String] :id
|
|
4054
|
+
# The connection function's ID.
|
|
4055
|
+
#
|
|
4056
|
+
# @option params [required, String] :if_match
|
|
4057
|
+
# The current version (`ETag` value) of the connection function you are
|
|
4058
|
+
# deleting.
|
|
4059
|
+
#
|
|
4060
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4061
|
+
#
|
|
4062
|
+
# @example Request syntax with placeholder values
|
|
4063
|
+
#
|
|
4064
|
+
# resp = client.delete_connection_function({
|
|
4065
|
+
# id: "ResourceId", # required
|
|
4066
|
+
# if_match: "string", # required
|
|
4067
|
+
# })
|
|
4068
|
+
#
|
|
4069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteConnectionFunction AWS API Documentation
|
|
4070
|
+
#
|
|
4071
|
+
# @overload delete_connection_function(params = {})
|
|
4072
|
+
# @param [Hash] params ({})
|
|
4073
|
+
def delete_connection_function(params = {}, options = {})
|
|
4074
|
+
req = build_request(:delete_connection_function, params)
|
|
4075
|
+
req.send_request(options)
|
|
4076
|
+
end
|
|
4077
|
+
|
|
3883
4078
|
# Deletes a connection group.
|
|
3884
4079
|
#
|
|
3885
4080
|
# @option params [required, String] :id
|
|
@@ -4459,6 +4654,33 @@ module Aws::CloudFront
|
|
|
4459
4654
|
req.send_request(options)
|
|
4460
4655
|
end
|
|
4461
4656
|
|
|
4657
|
+
# Deletes a trust store.
|
|
4658
|
+
#
|
|
4659
|
+
# @option params [required, String] :id
|
|
4660
|
+
# The trust store's ID.
|
|
4661
|
+
#
|
|
4662
|
+
# @option params [required, String] :if_match
|
|
4663
|
+
# The current version (`ETag` value) of the trust store you are
|
|
4664
|
+
# deleting.
|
|
4665
|
+
#
|
|
4666
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4667
|
+
#
|
|
4668
|
+
# @example Request syntax with placeholder values
|
|
4669
|
+
#
|
|
4670
|
+
# resp = client.delete_trust_store({
|
|
4671
|
+
# id: "ResourceId", # required
|
|
4672
|
+
# if_match: "string", # required
|
|
4673
|
+
# })
|
|
4674
|
+
#
|
|
4675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteTrustStore AWS API Documentation
|
|
4676
|
+
#
|
|
4677
|
+
# @overload delete_trust_store(params = {})
|
|
4678
|
+
# @param [Hash] params ({})
|
|
4679
|
+
def delete_trust_store(params = {}, options = {})
|
|
4680
|
+
req = build_request(:delete_trust_store, params)
|
|
4681
|
+
req.send_request(options)
|
|
4682
|
+
end
|
|
4683
|
+
|
|
4462
4684
|
# Delete an Amazon CloudFront VPC origin.
|
|
4463
4685
|
#
|
|
4464
4686
|
# @option params [required, String] :id
|
|
@@ -4543,6 +4765,51 @@ module Aws::CloudFront
|
|
|
4543
4765
|
req.send_request(options)
|
|
4544
4766
|
end
|
|
4545
4767
|
|
|
4768
|
+
# Describes a connection function.
|
|
4769
|
+
#
|
|
4770
|
+
# @option params [required, String] :identifier
|
|
4771
|
+
# The connection function's identifier.
|
|
4772
|
+
#
|
|
4773
|
+
# @option params [String] :stage
|
|
4774
|
+
# The connection function's stage.
|
|
4775
|
+
#
|
|
4776
|
+
# @return [Types::DescribeConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4777
|
+
#
|
|
4778
|
+
# * {Types::DescribeConnectionFunctionResult#connection_function_summary #connection_function_summary} => Types::ConnectionFunctionSummary
|
|
4779
|
+
# * {Types::DescribeConnectionFunctionResult#etag #etag} => String
|
|
4780
|
+
#
|
|
4781
|
+
# @example Request syntax with placeholder values
|
|
4782
|
+
#
|
|
4783
|
+
# resp = client.describe_connection_function({
|
|
4784
|
+
# identifier: "string", # required
|
|
4785
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
4786
|
+
# })
|
|
4787
|
+
#
|
|
4788
|
+
# @example Response structure
|
|
4789
|
+
#
|
|
4790
|
+
# resp.connection_function_summary.name #=> String
|
|
4791
|
+
# resp.connection_function_summary.id #=> String
|
|
4792
|
+
# resp.connection_function_summary.connection_function_config.comment #=> String
|
|
4793
|
+
# resp.connection_function_summary.connection_function_config.runtime #=> String, one of "cloudfront-js-1.0", "cloudfront-js-2.0"
|
|
4794
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.quantity #=> Integer
|
|
4795
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items #=> Array
|
|
4796
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items[0].key_value_store_arn #=> String
|
|
4797
|
+
# resp.connection_function_summary.connection_function_arn #=> String
|
|
4798
|
+
# resp.connection_function_summary.status #=> String
|
|
4799
|
+
# resp.connection_function_summary.stage #=> String, one of "DEVELOPMENT", "LIVE"
|
|
4800
|
+
# resp.connection_function_summary.created_time #=> Time
|
|
4801
|
+
# resp.connection_function_summary.last_modified_time #=> Time
|
|
4802
|
+
# resp.etag #=> String
|
|
4803
|
+
#
|
|
4804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeConnectionFunction AWS API Documentation
|
|
4805
|
+
#
|
|
4806
|
+
# @overload describe_connection_function(params = {})
|
|
4807
|
+
# @param [Hash] params ({})
|
|
4808
|
+
def describe_connection_function(params = {}, options = {})
|
|
4809
|
+
req = build_request(:describe_connection_function, params)
|
|
4810
|
+
req.send_request(options)
|
|
4811
|
+
end
|
|
4812
|
+
|
|
4546
4813
|
# Gets configuration information and metadata about a CloudFront
|
|
4547
4814
|
# function, but not the function's code. To get a function's code, use
|
|
4548
4815
|
# `GetFunction`.
|
|
@@ -4952,6 +5219,42 @@ module Aws::CloudFront
|
|
|
4952
5219
|
req.send_request(options)
|
|
4953
5220
|
end
|
|
4954
5221
|
|
|
5222
|
+
# Gets a connection function.
|
|
5223
|
+
#
|
|
5224
|
+
# @option params [required, String] :identifier
|
|
5225
|
+
# The connection function's identifier.
|
|
5226
|
+
#
|
|
5227
|
+
# @option params [String] :stage
|
|
5228
|
+
# The connection function's stage.
|
|
5229
|
+
#
|
|
5230
|
+
# @return [Types::GetConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5231
|
+
#
|
|
5232
|
+
# * {Types::GetConnectionFunctionResult#connection_function_code #connection_function_code} => String
|
|
5233
|
+
# * {Types::GetConnectionFunctionResult#etag #etag} => String
|
|
5234
|
+
# * {Types::GetConnectionFunctionResult#content_type #content_type} => String
|
|
5235
|
+
#
|
|
5236
|
+
# @example Request syntax with placeholder values
|
|
5237
|
+
#
|
|
5238
|
+
# resp = client.get_connection_function({
|
|
5239
|
+
# identifier: "string", # required
|
|
5240
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
5241
|
+
# })
|
|
5242
|
+
#
|
|
5243
|
+
# @example Response structure
|
|
5244
|
+
#
|
|
5245
|
+
# resp.connection_function_code #=> String
|
|
5246
|
+
# resp.etag #=> String
|
|
5247
|
+
# resp.content_type #=> String
|
|
5248
|
+
#
|
|
5249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetConnectionFunction AWS API Documentation
|
|
5250
|
+
#
|
|
5251
|
+
# @overload get_connection_function(params = {})
|
|
5252
|
+
# @param [Hash] params ({})
|
|
5253
|
+
def get_connection_function(params = {}, options = {})
|
|
5254
|
+
req = build_request(:get_connection_function, params)
|
|
5255
|
+
req.send_request(options)
|
|
5256
|
+
end
|
|
5257
|
+
|
|
4955
5258
|
# Gets information about a connection group.
|
|
4956
5259
|
#
|
|
4957
5260
|
# @option params [required, String] :identifier
|
|
@@ -5340,6 +5643,11 @@ module Aws::CloudFront
|
|
|
5340
5643
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
5341
5644
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
5342
5645
|
# resp.distribution.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
5646
|
+
# resp.distribution.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
5647
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
5648
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
5649
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
5650
|
+
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
5343
5651
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
5344
5652
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
5345
5653
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -5556,6 +5864,11 @@ module Aws::CloudFront
|
|
|
5556
5864
|
# resp.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
5557
5865
|
# resp.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
5558
5866
|
# resp.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
5867
|
+
# resp.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
5868
|
+
# resp.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
5869
|
+
# resp.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
5870
|
+
# resp.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
5871
|
+
# resp.distribution_config.connection_function_association.id #=> String
|
|
5559
5872
|
# resp.etag #=> String
|
|
5560
5873
|
#
|
|
5561
5874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig AWS API Documentation
|
|
@@ -6731,6 +7044,42 @@ module Aws::CloudFront
|
|
|
6731
7044
|
req.send_request(options)
|
|
6732
7045
|
end
|
|
6733
7046
|
|
|
7047
|
+
# Gets a trust store.
|
|
7048
|
+
#
|
|
7049
|
+
# @option params [required, String] :identifier
|
|
7050
|
+
# The trust store's identifier.
|
|
7051
|
+
#
|
|
7052
|
+
# @return [Types::GetTrustStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7053
|
+
#
|
|
7054
|
+
# * {Types::GetTrustStoreResult#trust_store #trust_store} => Types::TrustStore
|
|
7055
|
+
# * {Types::GetTrustStoreResult#etag #etag} => String
|
|
7056
|
+
#
|
|
7057
|
+
# @example Request syntax with placeholder values
|
|
7058
|
+
#
|
|
7059
|
+
# resp = client.get_trust_store({
|
|
7060
|
+
# identifier: "string", # required
|
|
7061
|
+
# })
|
|
7062
|
+
#
|
|
7063
|
+
# @example Response structure
|
|
7064
|
+
#
|
|
7065
|
+
# resp.trust_store.id #=> String
|
|
7066
|
+
# resp.trust_store.arn #=> String
|
|
7067
|
+
# resp.trust_store.name #=> String
|
|
7068
|
+
# resp.trust_store.status #=> String, one of "pending", "active", "failed"
|
|
7069
|
+
# resp.trust_store.number_of_ca_certificates #=> Integer
|
|
7070
|
+
# resp.trust_store.last_modified_time #=> Time
|
|
7071
|
+
# resp.trust_store.reason #=> String
|
|
7072
|
+
# resp.etag #=> String
|
|
7073
|
+
#
|
|
7074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetTrustStore AWS API Documentation
|
|
7075
|
+
#
|
|
7076
|
+
# @overload get_trust_store(params = {})
|
|
7077
|
+
# @param [Hash] params ({})
|
|
7078
|
+
def get_trust_store(params = {}, options = {})
|
|
7079
|
+
req = build_request(:get_trust_store, params)
|
|
7080
|
+
req.send_request(options)
|
|
7081
|
+
end
|
|
7082
|
+
|
|
6734
7083
|
# Get the details of an Amazon CloudFront VPC origin.
|
|
6735
7084
|
#
|
|
6736
7085
|
# @option params [required, String] :id
|
|
@@ -7090,6 +7439,62 @@ module Aws::CloudFront
|
|
|
7090
7439
|
req.send_request(options)
|
|
7091
7440
|
end
|
|
7092
7441
|
|
|
7442
|
+
# Lists connection functions.
|
|
7443
|
+
#
|
|
7444
|
+
# @option params [String] :marker
|
|
7445
|
+
# Use this field when paginating results to indicate where to begin in
|
|
7446
|
+
# your list. The response includes items in the list that occur after
|
|
7447
|
+
# the marker. To get the next page of the list, set this field's value
|
|
7448
|
+
# to the value of `NextMarker` from the current page's response.
|
|
7449
|
+
#
|
|
7450
|
+
# @option params [Integer] :max_items
|
|
7451
|
+
# The maximum number of connection functions that you want returned in
|
|
7452
|
+
# the response.
|
|
7453
|
+
#
|
|
7454
|
+
# @option params [String] :stage
|
|
7455
|
+
# The connection function's stage.
|
|
7456
|
+
#
|
|
7457
|
+
# @return [Types::ListConnectionFunctionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7458
|
+
#
|
|
7459
|
+
# * {Types::ListConnectionFunctionsResult#next_marker #next_marker} => String
|
|
7460
|
+
# * {Types::ListConnectionFunctionsResult#connection_functions #connection_functions} => Array<Types::ConnectionFunctionSummary>
|
|
7461
|
+
#
|
|
7462
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
7463
|
+
#
|
|
7464
|
+
# @example Request syntax with placeholder values
|
|
7465
|
+
#
|
|
7466
|
+
# resp = client.list_connection_functions({
|
|
7467
|
+
# marker: "string",
|
|
7468
|
+
# max_items: 1,
|
|
7469
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
7470
|
+
# })
|
|
7471
|
+
#
|
|
7472
|
+
# @example Response structure
|
|
7473
|
+
#
|
|
7474
|
+
# resp.next_marker #=> String
|
|
7475
|
+
# resp.connection_functions #=> Array
|
|
7476
|
+
# resp.connection_functions[0].name #=> String
|
|
7477
|
+
# resp.connection_functions[0].id #=> String
|
|
7478
|
+
# resp.connection_functions[0].connection_function_config.comment #=> String
|
|
7479
|
+
# resp.connection_functions[0].connection_function_config.runtime #=> String, one of "cloudfront-js-1.0", "cloudfront-js-2.0"
|
|
7480
|
+
# resp.connection_functions[0].connection_function_config.key_value_store_associations.quantity #=> Integer
|
|
7481
|
+
# resp.connection_functions[0].connection_function_config.key_value_store_associations.items #=> Array
|
|
7482
|
+
# resp.connection_functions[0].connection_function_config.key_value_store_associations.items[0].key_value_store_arn #=> String
|
|
7483
|
+
# resp.connection_functions[0].connection_function_arn #=> String
|
|
7484
|
+
# resp.connection_functions[0].status #=> String
|
|
7485
|
+
# resp.connection_functions[0].stage #=> String, one of "DEVELOPMENT", "LIVE"
|
|
7486
|
+
# resp.connection_functions[0].created_time #=> Time
|
|
7487
|
+
# resp.connection_functions[0].last_modified_time #=> Time
|
|
7488
|
+
#
|
|
7489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConnectionFunctions AWS API Documentation
|
|
7490
|
+
#
|
|
7491
|
+
# @overload list_connection_functions(params = {})
|
|
7492
|
+
# @param [Hash] params ({})
|
|
7493
|
+
def list_connection_functions(params = {}, options = {})
|
|
7494
|
+
req = build_request(:list_connection_functions, params)
|
|
7495
|
+
req.send_request(options)
|
|
7496
|
+
end
|
|
7497
|
+
|
|
7093
7498
|
# Lists the connection groups in your Amazon Web Services account.
|
|
7094
7499
|
#
|
|
7095
7500
|
# @option params [Types::ConnectionGroupAssociationFilter] :association_filter
|
|
@@ -7540,6 +7945,11 @@ module Aws::CloudFront
|
|
|
7540
7945
|
# resp.distribution_list.items[0].staging #=> Boolean
|
|
7541
7946
|
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
7542
7947
|
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
7948
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
7949
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
7950
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
7951
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
7952
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
7543
7953
|
#
|
|
7544
7954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions AWS API Documentation
|
|
7545
7955
|
#
|
|
@@ -7761,6 +8171,11 @@ module Aws::CloudFront
|
|
|
7761
8171
|
# resp.distribution_list.items[0].staging #=> Boolean
|
|
7762
8172
|
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
7763
8173
|
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
8174
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
8175
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
8176
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
8177
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
8178
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
7764
8179
|
#
|
|
7765
8180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByAnycastIpListId AWS API Documentation
|
|
7766
8181
|
#
|
|
@@ -7826,31 +8241,33 @@ module Aws::CloudFront
|
|
|
7826
8241
|
req.send_request(options)
|
|
7827
8242
|
end
|
|
7828
8243
|
|
|
7829
|
-
# Lists
|
|
8244
|
+
# Lists distributions by connection function.
|
|
7830
8245
|
#
|
|
7831
8246
|
# @option params [String] :marker
|
|
7832
|
-
#
|
|
8247
|
+
# Use this field when paginating results to indicate where to begin in
|
|
8248
|
+
# your list. The response includes items in the list that occur after
|
|
8249
|
+
# the marker. To get the next page of the list, set this field's value
|
|
8250
|
+
# to the value of `NextMarker` from the current page's response.
|
|
7833
8251
|
#
|
|
7834
8252
|
# @option params [Integer] :max_items
|
|
7835
|
-
# The maximum number of distributions
|
|
8253
|
+
# The maximum number of distributions that you want returned in the
|
|
8254
|
+
# response.
|
|
7836
8255
|
#
|
|
7837
|
-
# @option params [required, String] :
|
|
7838
|
-
#
|
|
7839
|
-
# distribution (direct) or a multi-tenant distribution with distribution
|
|
7840
|
-
# tenants (tenant-only).
|
|
8256
|
+
# @option params [required, String] :connection_function_identifier
|
|
8257
|
+
# The distributions by connection function identifier.
|
|
7841
8258
|
#
|
|
7842
|
-
# @return [Types::
|
|
8259
|
+
# @return [Types::ListDistributionsByConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7843
8260
|
#
|
|
7844
|
-
# * {Types::
|
|
8261
|
+
# * {Types::ListDistributionsByConnectionFunctionResult#distribution_list #distribution_list} => Types::DistributionList
|
|
7845
8262
|
#
|
|
7846
8263
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
7847
8264
|
#
|
|
7848
8265
|
# @example Request syntax with placeholder values
|
|
7849
8266
|
#
|
|
7850
|
-
# resp = client.
|
|
8267
|
+
# resp = client.list_distributions_by_connection_function({
|
|
7851
8268
|
# marker: "string",
|
|
7852
8269
|
# max_items: 1,
|
|
7853
|
-
#
|
|
8270
|
+
# connection_function_identifier: "string", # required
|
|
7854
8271
|
# })
|
|
7855
8272
|
#
|
|
7856
8273
|
# @example Response structure
|
|
@@ -8036,37 +8453,267 @@ module Aws::CloudFront
|
|
|
8036
8453
|
# resp.distribution_list.items[0].staging #=> Boolean
|
|
8037
8454
|
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
8038
8455
|
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
8456
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
8457
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
8458
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
8459
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
8460
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
8039
8461
|
#
|
|
8040
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
|
8462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByConnectionFunction AWS API Documentation
|
|
8041
8463
|
#
|
|
8042
|
-
# @overload
|
|
8464
|
+
# @overload list_distributions_by_connection_function(params = {})
|
|
8043
8465
|
# @param [Hash] params ({})
|
|
8044
|
-
def
|
|
8045
|
-
req = build_request(:
|
|
8466
|
+
def list_distributions_by_connection_function(params = {}, options = {})
|
|
8467
|
+
req = build_request(:list_distributions_by_connection_function, params)
|
|
8046
8468
|
req.send_request(options)
|
|
8047
8469
|
end
|
|
8048
8470
|
|
|
8049
|
-
#
|
|
8050
|
-
# behavior that references the specified key group.
|
|
8051
|
-
#
|
|
8052
|
-
# You can optionally specify the maximum number of items to receive in
|
|
8053
|
-
# the response. If the total number of items in the list exceeds the
|
|
8054
|
-
# maximum that you specify, or the default maximum, the response is
|
|
8055
|
-
# paginated. To get the next page of items, send a subsequent request
|
|
8056
|
-
# that specifies the `NextMarker` value from the current response as the
|
|
8057
|
-
# `Marker` value in the subsequent request.
|
|
8471
|
+
# Lists the distributions by the connection mode that you specify.
|
|
8058
8472
|
#
|
|
8059
8473
|
# @option params [String] :marker
|
|
8060
|
-
#
|
|
8061
|
-
# your list of distribution IDs. The response includes distribution IDs
|
|
8062
|
-
# in the list that occur after the marker. To get the next page of the
|
|
8063
|
-
# list, set this field's value to the value of `NextMarker` from the
|
|
8064
|
-
# current page's response.
|
|
8474
|
+
# The marker for the next set of distributions to retrieve.
|
|
8065
8475
|
#
|
|
8066
8476
|
# @option params [Integer] :max_items
|
|
8067
|
-
# The maximum number of
|
|
8477
|
+
# The maximum number of distributions to return.
|
|
8068
8478
|
#
|
|
8069
|
-
# @option params [required, String] :
|
|
8479
|
+
# @option params [required, String] :connection_mode
|
|
8480
|
+
# This field specifies whether the connection mode is through a standard
|
|
8481
|
+
# distribution (direct) or a multi-tenant distribution with distribution
|
|
8482
|
+
# tenants (tenant-only).
|
|
8483
|
+
#
|
|
8484
|
+
# @return [Types::ListDistributionsByConnectionModeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8485
|
+
#
|
|
8486
|
+
# * {Types::ListDistributionsByConnectionModeResult#distribution_list #distribution_list} => Types::DistributionList
|
|
8487
|
+
#
|
|
8488
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
8489
|
+
#
|
|
8490
|
+
# @example Request syntax with placeholder values
|
|
8491
|
+
#
|
|
8492
|
+
# resp = client.list_distributions_by_connection_mode({
|
|
8493
|
+
# marker: "string",
|
|
8494
|
+
# max_items: 1,
|
|
8495
|
+
# connection_mode: "direct", # required, accepts direct, tenant-only
|
|
8496
|
+
# })
|
|
8497
|
+
#
|
|
8498
|
+
# @example Response structure
|
|
8499
|
+
#
|
|
8500
|
+
# resp.distribution_list.marker #=> String
|
|
8501
|
+
# resp.distribution_list.next_marker #=> String
|
|
8502
|
+
# resp.distribution_list.max_items #=> Integer
|
|
8503
|
+
# resp.distribution_list.is_truncated #=> Boolean
|
|
8504
|
+
# resp.distribution_list.quantity #=> Integer
|
|
8505
|
+
# resp.distribution_list.items #=> Array
|
|
8506
|
+
# resp.distribution_list.items[0].id #=> String
|
|
8507
|
+
# resp.distribution_list.items[0].arn #=> String
|
|
8508
|
+
# resp.distribution_list.items[0].etag #=> String
|
|
8509
|
+
# resp.distribution_list.items[0].status #=> String
|
|
8510
|
+
# resp.distribution_list.items[0].last_modified_time #=> Time
|
|
8511
|
+
# resp.distribution_list.items[0].domain_name #=> String
|
|
8512
|
+
# resp.distribution_list.items[0].aliases.quantity #=> Integer
|
|
8513
|
+
# resp.distribution_list.items[0].aliases.items #=> Array
|
|
8514
|
+
# resp.distribution_list.items[0].aliases.items[0] #=> String
|
|
8515
|
+
# resp.distribution_list.items[0].origins.quantity #=> Integer
|
|
8516
|
+
# resp.distribution_list.items[0].origins.items #=> Array
|
|
8517
|
+
# resp.distribution_list.items[0].origins.items[0].id #=> String
|
|
8518
|
+
# resp.distribution_list.items[0].origins.items[0].domain_name #=> String
|
|
8519
|
+
# resp.distribution_list.items[0].origins.items[0].origin_path #=> String
|
|
8520
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.quantity #=> Integer
|
|
8521
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items #=> Array
|
|
8522
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
|
8523
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
|
8524
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
|
8525
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
|
8526
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
|
8527
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
|
8528
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
|
8529
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
|
|
8530
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
|
|
8531
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
|
8532
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
|
8533
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
8534
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
8535
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
8536
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
8537
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
8538
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
8539
|
+
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
8540
|
+
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
|
8541
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
|
8542
|
+
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
|
8543
|
+
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
|
8544
|
+
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
|
8545
|
+
# resp.distribution_list.items[0].origin_groups.quantity #=> Integer
|
|
8546
|
+
# resp.distribution_list.items[0].origin_groups.items #=> Array
|
|
8547
|
+
# resp.distribution_list.items[0].origin_groups.items[0].id #=> String
|
|
8548
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
|
|
8549
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
|
|
8550
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
|
|
8551
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
|
|
8552
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
|
8553
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
|
8554
|
+
# resp.distribution_list.items[0].origin_groups.items[0].selection_criteria #=> String, one of "default", "media-quality-based"
|
|
8555
|
+
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
|
8556
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
|
8557
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
|
8558
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
|
8559
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
|
8560
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.enabled #=> Boolean
|
|
8561
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.quantity #=> Integer
|
|
8562
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.items #=> Array
|
|
8563
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.items[0] #=> String
|
|
8564
|
+
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
|
8565
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
|
8566
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
|
8567
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
8568
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
|
|
8569
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
|
8570
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
8571
|
+
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
|
8572
|
+
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
|
8573
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
|
8574
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
|
8575
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
|
8576
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
8577
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
|
8578
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.quantity #=> Integer
|
|
8579
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items #=> Array
|
|
8580
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items[0].function_arn #=> String
|
|
8581
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
8582
|
+
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
|
8583
|
+
# resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
|
|
8584
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
|
8585
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
|
8586
|
+
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
|
8587
|
+
# resp.distribution_list.items[0].default_cache_behavior.grpc_config.enabled #=> Boolean
|
|
8588
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
|
8589
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
|
8590
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
|
8591
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
|
8592
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
|
8593
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
|
8594
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
|
8595
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
|
8596
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
|
8597
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
|
8598
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
|
8599
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
|
8600
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
|
8601
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
|
8602
|
+
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
|
8603
|
+
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
|
8604
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
|
8605
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
|
8606
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
|
8607
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
|
8608
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
|
8609
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
|
8610
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.enabled #=> Boolean
|
|
8611
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.quantity #=> Integer
|
|
8612
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.items #=> Array
|
|
8613
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.items[0] #=> String
|
|
8614
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
|
8615
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
|
8616
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
|
8617
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
8618
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
|
|
8619
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
|
8620
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
8621
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
|
8622
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
|
8623
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
|
8624
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
|
8625
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
|
8626
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
8627
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
|
8628
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.quantity #=> Integer
|
|
8629
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items #=> Array
|
|
8630
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items[0].function_arn #=> String
|
|
8631
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
8632
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
|
8633
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
|
|
8634
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
|
8635
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
|
8636
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
|
8637
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
|
8638
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
|
8639
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
|
8640
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
|
8641
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
|
8642
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
|
8643
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
|
8644
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
|
8645
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
|
8646
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
|
8647
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
|
8648
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
|
8649
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
|
8650
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
|
8651
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
|
8652
|
+
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
|
8653
|
+
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
|
8654
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
|
8655
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].response_page_path #=> String
|
|
8656
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].response_code #=> String
|
|
8657
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].error_caching_min_ttl #=> Integer
|
|
8658
|
+
# resp.distribution_list.items[0].comment #=> String
|
|
8659
|
+
# resp.distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All", "None"
|
|
8660
|
+
# resp.distribution_list.items[0].enabled #=> Boolean
|
|
8661
|
+
# resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
|
|
8662
|
+
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
|
8663
|
+
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
|
8664
|
+
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
|
8665
|
+
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021", "TLSv1.3_2025", "TLSv1.2_2025"
|
|
8666
|
+
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
|
8667
|
+
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
|
8668
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
|
8669
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.quantity #=> Integer
|
|
8670
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
|
|
8671
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
|
|
8672
|
+
# resp.distribution_list.items[0].web_acl_id #=> String
|
|
8673
|
+
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
|
8674
|
+
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
|
|
8675
|
+
# resp.distribution_list.items[0].alias_icp_recordals #=> Array
|
|
8676
|
+
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
|
8677
|
+
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
8678
|
+
# resp.distribution_list.items[0].staging #=> Boolean
|
|
8679
|
+
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
8680
|
+
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
8681
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
8682
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
8683
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
8684
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
8685
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
8686
|
+
#
|
|
8687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByConnectionMode AWS API Documentation
|
|
8688
|
+
#
|
|
8689
|
+
# @overload list_distributions_by_connection_mode(params = {})
|
|
8690
|
+
# @param [Hash] params ({})
|
|
8691
|
+
def list_distributions_by_connection_mode(params = {}, options = {})
|
|
8692
|
+
req = build_request(:list_distributions_by_connection_mode, params)
|
|
8693
|
+
req.send_request(options)
|
|
8694
|
+
end
|
|
8695
|
+
|
|
8696
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
|
8697
|
+
# behavior that references the specified key group.
|
|
8698
|
+
#
|
|
8699
|
+
# You can optionally specify the maximum number of items to receive in
|
|
8700
|
+
# the response. If the total number of items in the list exceeds the
|
|
8701
|
+
# maximum that you specify, or the default maximum, the response is
|
|
8702
|
+
# paginated. To get the next page of items, send a subsequent request
|
|
8703
|
+
# that specifies the `NextMarker` value from the current response as the
|
|
8704
|
+
# `Marker` value in the subsequent request.
|
|
8705
|
+
#
|
|
8706
|
+
# @option params [String] :marker
|
|
8707
|
+
# Use this field when paginating results to indicate where to begin in
|
|
8708
|
+
# your list of distribution IDs. The response includes distribution IDs
|
|
8709
|
+
# in the list that occur after the marker. To get the next page of the
|
|
8710
|
+
# list, set this field's value to the value of `NextMarker` from the
|
|
8711
|
+
# current page's response.
|
|
8712
|
+
#
|
|
8713
|
+
# @option params [Integer] :max_items
|
|
8714
|
+
# The maximum number of distribution IDs that you want in the response.
|
|
8715
|
+
#
|
|
8716
|
+
# @option params [required, String] :key_group_id
|
|
8070
8717
|
# The ID of the key group whose associated distribution IDs you are
|
|
8071
8718
|
# listing.
|
|
8072
8719
|
#
|
|
@@ -8196,59 +8843,343 @@ module Aws::CloudFront
|
|
|
8196
8843
|
# resp.distribution_list.items[0].distribution_id #=> String
|
|
8197
8844
|
# resp.distribution_list.items[0].owner_account_id #=> String
|
|
8198
8845
|
#
|
|
8199
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResource AWS API Documentation
|
|
8846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResource AWS API Documentation
|
|
8847
|
+
#
|
|
8848
|
+
# @overload list_distributions_by_owned_resource(params = {})
|
|
8849
|
+
# @param [Hash] params ({})
|
|
8850
|
+
def list_distributions_by_owned_resource(params = {}, options = {})
|
|
8851
|
+
req = build_request(:list_distributions_by_owned_resource, params)
|
|
8852
|
+
req.send_request(options)
|
|
8853
|
+
end
|
|
8854
|
+
|
|
8855
|
+
# Gets a list of distributions that have a cache behavior that's
|
|
8856
|
+
# associated with the specified real-time log configuration.
|
|
8857
|
+
#
|
|
8858
|
+
# You can specify the real-time log configuration by its name or its
|
|
8859
|
+
# Amazon Resource Name (ARN). You must provide at least one. If you
|
|
8860
|
+
# provide both, CloudFront uses the name to identify the real-time log
|
|
8861
|
+
# configuration to list distributions for.
|
|
8862
|
+
#
|
|
8863
|
+
# You can optionally specify the maximum number of items to receive in
|
|
8864
|
+
# the response. If the total number of items in the list exceeds the
|
|
8865
|
+
# maximum that you specify, or the default maximum, the response is
|
|
8866
|
+
# paginated. To get the next page of items, send a subsequent request
|
|
8867
|
+
# that specifies the `NextMarker` value from the current response as the
|
|
8868
|
+
# `Marker` value in the subsequent request.
|
|
8869
|
+
#
|
|
8870
|
+
# @option params [String] :marker
|
|
8871
|
+
# Use this field when paginating results to indicate where to begin in
|
|
8872
|
+
# your list of distributions. The response includes distributions in the
|
|
8873
|
+
# list that occur after the marker. To get the next page of the list,
|
|
8874
|
+
# set this field's value to the value of `NextMarker` from the current
|
|
8875
|
+
# page's response.
|
|
8876
|
+
#
|
|
8877
|
+
# @option params [Integer] :max_items
|
|
8878
|
+
# The maximum number of distributions that you want in the response.
|
|
8879
|
+
#
|
|
8880
|
+
# @option params [String] :realtime_log_config_name
|
|
8881
|
+
# The name of the real-time log configuration whose associated
|
|
8882
|
+
# distributions you want to list.
|
|
8883
|
+
#
|
|
8884
|
+
# @option params [String] :realtime_log_config_arn
|
|
8885
|
+
# The Amazon Resource Name (ARN) of the real-time log configuration
|
|
8886
|
+
# whose associated distributions you want to list.
|
|
8887
|
+
#
|
|
8888
|
+
# @return [Types::ListDistributionsByRealtimeLogConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8889
|
+
#
|
|
8890
|
+
# * {Types::ListDistributionsByRealtimeLogConfigResult#distribution_list #distribution_list} => Types::DistributionList
|
|
8891
|
+
#
|
|
8892
|
+
# @example Request syntax with placeholder values
|
|
8893
|
+
#
|
|
8894
|
+
# resp = client.list_distributions_by_realtime_log_config({
|
|
8895
|
+
# marker: "string",
|
|
8896
|
+
# max_items: 1,
|
|
8897
|
+
# realtime_log_config_name: "string",
|
|
8898
|
+
# realtime_log_config_arn: "string",
|
|
8899
|
+
# })
|
|
8900
|
+
#
|
|
8901
|
+
# @example Response structure
|
|
8902
|
+
#
|
|
8903
|
+
# resp.distribution_list.marker #=> String
|
|
8904
|
+
# resp.distribution_list.next_marker #=> String
|
|
8905
|
+
# resp.distribution_list.max_items #=> Integer
|
|
8906
|
+
# resp.distribution_list.is_truncated #=> Boolean
|
|
8907
|
+
# resp.distribution_list.quantity #=> Integer
|
|
8908
|
+
# resp.distribution_list.items #=> Array
|
|
8909
|
+
# resp.distribution_list.items[0].id #=> String
|
|
8910
|
+
# resp.distribution_list.items[0].arn #=> String
|
|
8911
|
+
# resp.distribution_list.items[0].etag #=> String
|
|
8912
|
+
# resp.distribution_list.items[0].status #=> String
|
|
8913
|
+
# resp.distribution_list.items[0].last_modified_time #=> Time
|
|
8914
|
+
# resp.distribution_list.items[0].domain_name #=> String
|
|
8915
|
+
# resp.distribution_list.items[0].aliases.quantity #=> Integer
|
|
8916
|
+
# resp.distribution_list.items[0].aliases.items #=> Array
|
|
8917
|
+
# resp.distribution_list.items[0].aliases.items[0] #=> String
|
|
8918
|
+
# resp.distribution_list.items[0].origins.quantity #=> Integer
|
|
8919
|
+
# resp.distribution_list.items[0].origins.items #=> Array
|
|
8920
|
+
# resp.distribution_list.items[0].origins.items[0].id #=> String
|
|
8921
|
+
# resp.distribution_list.items[0].origins.items[0].domain_name #=> String
|
|
8922
|
+
# resp.distribution_list.items[0].origins.items[0].origin_path #=> String
|
|
8923
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.quantity #=> Integer
|
|
8924
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items #=> Array
|
|
8925
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_name #=> String
|
|
8926
|
+
# resp.distribution_list.items[0].origins.items[0].custom_headers.items[0].header_value #=> String
|
|
8927
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_access_identity #=> String
|
|
8928
|
+
# resp.distribution_list.items[0].origins.items[0].s3_origin_config.origin_read_timeout #=> Integer
|
|
8929
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.http_port #=> Integer
|
|
8930
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.https_port #=> Integer
|
|
8931
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_protocol_policy #=> String, one of "http-only", "match-viewer", "https-only"
|
|
8932
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.quantity #=> Integer
|
|
8933
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items #=> Array
|
|
8934
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_ssl_protocols.items[0] #=> String, one of "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2"
|
|
8935
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_read_timeout #=> Integer
|
|
8936
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.origin_keepalive_timeout #=> Integer
|
|
8937
|
+
# resp.distribution_list.items[0].origins.items[0].custom_origin_config.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
|
|
8938
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.vpc_origin_id #=> String
|
|
8939
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.owner_account_id #=> String
|
|
8940
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_read_timeout #=> Integer
|
|
8941
|
+
# resp.distribution_list.items[0].origins.items[0].vpc_origin_config.origin_keepalive_timeout #=> Integer
|
|
8942
|
+
# resp.distribution_list.items[0].origins.items[0].connection_attempts #=> Integer
|
|
8943
|
+
# resp.distribution_list.items[0].origins.items[0].connection_timeout #=> Integer
|
|
8944
|
+
# resp.distribution_list.items[0].origins.items[0].response_completion_timeout #=> Integer
|
|
8945
|
+
# resp.distribution_list.items[0].origins.items[0].origin_shield.enabled #=> Boolean
|
|
8946
|
+
# resp.distribution_list.items[0].origins.items[0].origin_shield.origin_shield_region #=> String
|
|
8947
|
+
# resp.distribution_list.items[0].origins.items[0].origin_access_control_id #=> String
|
|
8948
|
+
# resp.distribution_list.items[0].origin_groups.quantity #=> Integer
|
|
8949
|
+
# resp.distribution_list.items[0].origin_groups.items #=> Array
|
|
8950
|
+
# resp.distribution_list.items[0].origin_groups.items[0].id #=> String
|
|
8951
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.quantity #=> Integer
|
|
8952
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items #=> Array
|
|
8953
|
+
# resp.distribution_list.items[0].origin_groups.items[0].failover_criteria.status_codes.items[0] #=> Integer
|
|
8954
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.quantity #=> Integer
|
|
8955
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.items #=> Array
|
|
8956
|
+
# resp.distribution_list.items[0].origin_groups.items[0].members.items[0].origin_id #=> String
|
|
8957
|
+
# resp.distribution_list.items[0].origin_groups.items[0].selection_criteria #=> String, one of "default", "media-quality-based"
|
|
8958
|
+
# resp.distribution_list.items[0].default_cache_behavior.target_origin_id #=> String
|
|
8959
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.enabled #=> Boolean
|
|
8960
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.quantity #=> Integer
|
|
8961
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items #=> Array
|
|
8962
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_signers.items[0] #=> String
|
|
8963
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.enabled #=> Boolean
|
|
8964
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.quantity #=> Integer
|
|
8965
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.items #=> Array
|
|
8966
|
+
# resp.distribution_list.items[0].default_cache_behavior.trusted_key_groups.items[0] #=> String
|
|
8967
|
+
# resp.distribution_list.items[0].default_cache_behavior.viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
|
8968
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.quantity #=> Integer
|
|
8969
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items #=> Array
|
|
8970
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
8971
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.quantity #=> Integer
|
|
8972
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items #=> Array
|
|
8973
|
+
# resp.distribution_list.items[0].default_cache_behavior.allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
8974
|
+
# resp.distribution_list.items[0].default_cache_behavior.smooth_streaming #=> Boolean
|
|
8975
|
+
# resp.distribution_list.items[0].default_cache_behavior.compress #=> Boolean
|
|
8976
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.quantity #=> Integer
|
|
8977
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
|
8978
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
|
8979
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
8980
|
+
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].include_body #=> Boolean
|
|
8981
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.quantity #=> Integer
|
|
8982
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items #=> Array
|
|
8983
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items[0].function_arn #=> String
|
|
8984
|
+
# resp.distribution_list.items[0].default_cache_behavior.function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
8985
|
+
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
|
8986
|
+
# resp.distribution_list.items[0].default_cache_behavior.realtime_log_config_arn #=> String
|
|
8987
|
+
# resp.distribution_list.items[0].default_cache_behavior.cache_policy_id #=> String
|
|
8988
|
+
# resp.distribution_list.items[0].default_cache_behavior.origin_request_policy_id #=> String
|
|
8989
|
+
# resp.distribution_list.items[0].default_cache_behavior.response_headers_policy_id #=> String
|
|
8990
|
+
# resp.distribution_list.items[0].default_cache_behavior.grpc_config.enabled #=> Boolean
|
|
8991
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string #=> Boolean
|
|
8992
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
|
8993
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
|
8994
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items #=> Array
|
|
8995
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
|
8996
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.quantity #=> Integer
|
|
8997
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items #=> Array
|
|
8998
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.headers.items[0] #=> String
|
|
8999
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.quantity #=> Integer
|
|
9000
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items #=> Array
|
|
9001
|
+
# resp.distribution_list.items[0].default_cache_behavior.forwarded_values.query_string_cache_keys.items[0] #=> String
|
|
9002
|
+
# resp.distribution_list.items[0].default_cache_behavior.min_ttl #=> Integer
|
|
9003
|
+
# resp.distribution_list.items[0].default_cache_behavior.default_ttl #=> Integer
|
|
9004
|
+
# resp.distribution_list.items[0].default_cache_behavior.max_ttl #=> Integer
|
|
9005
|
+
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
|
9006
|
+
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
|
9007
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
|
9008
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].target_origin_id #=> String
|
|
9009
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.enabled #=> Boolean
|
|
9010
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.quantity #=> Integer
|
|
9011
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items #=> Array
|
|
9012
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_signers.items[0] #=> String
|
|
9013
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.enabled #=> Boolean
|
|
9014
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.quantity #=> Integer
|
|
9015
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.items #=> Array
|
|
9016
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].trusted_key_groups.items[0] #=> String
|
|
9017
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].viewer_protocol_policy #=> String, one of "allow-all", "https-only", "redirect-to-https"
|
|
9018
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.quantity #=> Integer
|
|
9019
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items #=> Array
|
|
9020
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
9021
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.quantity #=> Integer
|
|
9022
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items #=> Array
|
|
9023
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].allowed_methods.cached_methods.items[0] #=> String, one of "GET", "HEAD", "POST", "PUT", "PATCH", "OPTIONS", "DELETE"
|
|
9024
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].smooth_streaming #=> Boolean
|
|
9025
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].compress #=> Boolean
|
|
9026
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.quantity #=> Integer
|
|
9027
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
|
9028
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
|
9029
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
9030
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].include_body #=> Boolean
|
|
9031
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.quantity #=> Integer
|
|
9032
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items #=> Array
|
|
9033
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items[0].function_arn #=> String
|
|
9034
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
|
9035
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
|
9036
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].realtime_log_config_arn #=> String
|
|
9037
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].cache_policy_id #=> String
|
|
9038
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].origin_request_policy_id #=> String
|
|
9039
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].response_headers_policy_id #=> String
|
|
9040
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].grpc_config.enabled #=> Boolean
|
|
9041
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string #=> Boolean
|
|
9042
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.forward #=> String, one of "none", "whitelist", "all"
|
|
9043
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.quantity #=> Integer
|
|
9044
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items #=> Array
|
|
9045
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.cookies.whitelisted_names.items[0] #=> String
|
|
9046
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.quantity #=> Integer
|
|
9047
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items #=> Array
|
|
9048
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.headers.items[0] #=> String
|
|
9049
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.quantity #=> Integer
|
|
9050
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items #=> Array
|
|
9051
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].forwarded_values.query_string_cache_keys.items[0] #=> String
|
|
9052
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].min_ttl #=> Integer
|
|
9053
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].default_ttl #=> Integer
|
|
9054
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].max_ttl #=> Integer
|
|
9055
|
+
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
|
9056
|
+
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
|
9057
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
|
9058
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].response_page_path #=> String
|
|
9059
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].response_code #=> String
|
|
9060
|
+
# resp.distribution_list.items[0].custom_error_responses.items[0].error_caching_min_ttl #=> Integer
|
|
9061
|
+
# resp.distribution_list.items[0].comment #=> String
|
|
9062
|
+
# resp.distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All", "None"
|
|
9063
|
+
# resp.distribution_list.items[0].enabled #=> Boolean
|
|
9064
|
+
# resp.distribution_list.items[0].viewer_certificate.cloud_front_default_certificate #=> Boolean
|
|
9065
|
+
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
|
9066
|
+
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
|
9067
|
+
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
|
9068
|
+
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021", "TLSv1.3_2025", "TLSv1.2_2025"
|
|
9069
|
+
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
|
9070
|
+
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
|
9071
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
|
9072
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.quantity #=> Integer
|
|
9073
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.items #=> Array
|
|
9074
|
+
# resp.distribution_list.items[0].restrictions.geo_restriction.items[0] #=> String
|
|
9075
|
+
# resp.distribution_list.items[0].web_acl_id #=> String
|
|
9076
|
+
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2", "http3", "http2and3"
|
|
9077
|
+
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
|
|
9078
|
+
# resp.distribution_list.items[0].alias_icp_recordals #=> Array
|
|
9079
|
+
# resp.distribution_list.items[0].alias_icp_recordals[0].cname #=> String
|
|
9080
|
+
# resp.distribution_list.items[0].alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
9081
|
+
# resp.distribution_list.items[0].staging #=> Boolean
|
|
9082
|
+
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
9083
|
+
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
9084
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
9085
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
9086
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
9087
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
9088
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
9089
|
+
#
|
|
9090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig AWS API Documentation
|
|
9091
|
+
#
|
|
9092
|
+
# @overload list_distributions_by_realtime_log_config(params = {})
|
|
9093
|
+
# @param [Hash] params ({})
|
|
9094
|
+
def list_distributions_by_realtime_log_config(params = {}, options = {})
|
|
9095
|
+
req = build_request(:list_distributions_by_realtime_log_config, params)
|
|
9096
|
+
req.send_request(options)
|
|
9097
|
+
end
|
|
9098
|
+
|
|
9099
|
+
# Gets a list of distribution IDs for distributions that have a cache
|
|
9100
|
+
# behavior that's associated with the specified response headers
|
|
9101
|
+
# policy.
|
|
9102
|
+
#
|
|
9103
|
+
# You can optionally specify the maximum number of items to receive in
|
|
9104
|
+
# the response. If the total number of items in the list exceeds the
|
|
9105
|
+
# maximum that you specify, or the default maximum, the response is
|
|
9106
|
+
# paginated. To get the next page of items, send a subsequent request
|
|
9107
|
+
# that specifies the `NextMarker` value from the current response as the
|
|
9108
|
+
# `Marker` value in the subsequent request.
|
|
9109
|
+
#
|
|
9110
|
+
# @option params [String] :marker
|
|
9111
|
+
# Use this field when paginating results to indicate where to begin in
|
|
9112
|
+
# your list of distribution IDs. The response includes distribution IDs
|
|
9113
|
+
# in the list that occur after the marker. To get the next page of the
|
|
9114
|
+
# list, set this field's value to the value of `NextMarker` from the
|
|
9115
|
+
# current page's response.
|
|
9116
|
+
#
|
|
9117
|
+
# @option params [Integer] :max_items
|
|
9118
|
+
# The maximum number of distribution IDs that you want to get in the
|
|
9119
|
+
# response.
|
|
9120
|
+
#
|
|
9121
|
+
# @option params [required, String] :response_headers_policy_id
|
|
9122
|
+
# The ID of the response headers policy whose associated distribution
|
|
9123
|
+
# IDs you want to list.
|
|
9124
|
+
#
|
|
9125
|
+
# @return [Types::ListDistributionsByResponseHeadersPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
9126
|
+
#
|
|
9127
|
+
# * {Types::ListDistributionsByResponseHeadersPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
|
9128
|
+
#
|
|
9129
|
+
# @example Request syntax with placeholder values
|
|
9130
|
+
#
|
|
9131
|
+
# resp = client.list_distributions_by_response_headers_policy_id({
|
|
9132
|
+
# marker: "string",
|
|
9133
|
+
# max_items: 1,
|
|
9134
|
+
# response_headers_policy_id: "string", # required
|
|
9135
|
+
# })
|
|
9136
|
+
#
|
|
9137
|
+
# @example Response structure
|
|
8200
9138
|
#
|
|
8201
|
-
#
|
|
9139
|
+
# resp.distribution_id_list.marker #=> String
|
|
9140
|
+
# resp.distribution_id_list.next_marker #=> String
|
|
9141
|
+
# resp.distribution_id_list.max_items #=> Integer
|
|
9142
|
+
# resp.distribution_id_list.is_truncated #=> Boolean
|
|
9143
|
+
# resp.distribution_id_list.quantity #=> Integer
|
|
9144
|
+
# resp.distribution_id_list.items #=> Array
|
|
9145
|
+
# resp.distribution_id_list.items[0] #=> String
|
|
9146
|
+
#
|
|
9147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId AWS API Documentation
|
|
9148
|
+
#
|
|
9149
|
+
# @overload list_distributions_by_response_headers_policy_id(params = {})
|
|
8202
9150
|
# @param [Hash] params ({})
|
|
8203
|
-
def
|
|
8204
|
-
req = build_request(:
|
|
9151
|
+
def list_distributions_by_response_headers_policy_id(params = {}, options = {})
|
|
9152
|
+
req = build_request(:list_distributions_by_response_headers_policy_id, params)
|
|
8205
9153
|
req.send_request(options)
|
|
8206
9154
|
end
|
|
8207
9155
|
|
|
8208
|
-
#
|
|
8209
|
-
# associated with the specified real-time log configuration.
|
|
9156
|
+
# Lists distributions by trust store.
|
|
8210
9157
|
#
|
|
8211
|
-
#
|
|
8212
|
-
#
|
|
8213
|
-
# provide both, CloudFront uses the name to identify the real-time log
|
|
8214
|
-
# configuration to list distributions for.
|
|
8215
|
-
#
|
|
8216
|
-
# You can optionally specify the maximum number of items to receive in
|
|
8217
|
-
# the response. If the total number of items in the list exceeds the
|
|
8218
|
-
# maximum that you specify, or the default maximum, the response is
|
|
8219
|
-
# paginated. To get the next page of items, send a subsequent request
|
|
8220
|
-
# that specifies the `NextMarker` value from the current response as the
|
|
8221
|
-
# `Marker` value in the subsequent request.
|
|
9158
|
+
# @option params [required, String] :trust_store_identifier
|
|
9159
|
+
# The distributions by trust store identifier.
|
|
8222
9160
|
#
|
|
8223
9161
|
# @option params [String] :marker
|
|
8224
9162
|
# Use this field when paginating results to indicate where to begin in
|
|
8225
|
-
# your list
|
|
8226
|
-
#
|
|
8227
|
-
#
|
|
8228
|
-
# page's response.
|
|
9163
|
+
# your list. The response includes items in the list that occur after
|
|
9164
|
+
# the marker. To get the next page of the list, set this field's value
|
|
9165
|
+
# to the value of `NextMarker` from the current page's response.
|
|
8229
9166
|
#
|
|
8230
9167
|
# @option params [Integer] :max_items
|
|
8231
|
-
# The maximum number of distributions that you want in the
|
|
8232
|
-
#
|
|
8233
|
-
# @option params [String] :realtime_log_config_name
|
|
8234
|
-
# The name of the real-time log configuration whose associated
|
|
8235
|
-
# distributions you want to list.
|
|
9168
|
+
# The maximum number of distributions that you want returned in the
|
|
9169
|
+
# response.
|
|
8236
9170
|
#
|
|
8237
|
-
# @
|
|
8238
|
-
# The Amazon Resource Name (ARN) of the real-time log configuration
|
|
8239
|
-
# whose associated distributions you want to list.
|
|
9171
|
+
# @return [Types::ListDistributionsByTrustStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8240
9172
|
#
|
|
8241
|
-
#
|
|
9173
|
+
# * {Types::ListDistributionsByTrustStoreResult#distribution_list #distribution_list} => Types::DistributionList
|
|
8242
9174
|
#
|
|
8243
|
-
#
|
|
9175
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
8244
9176
|
#
|
|
8245
9177
|
# @example Request syntax with placeholder values
|
|
8246
9178
|
#
|
|
8247
|
-
# resp = client.
|
|
9179
|
+
# resp = client.list_distributions_by_trust_store({
|
|
9180
|
+
# trust_store_identifier: "string", # required
|
|
8248
9181
|
# marker: "string",
|
|
8249
9182
|
# max_items: 1,
|
|
8250
|
-
# realtime_log_config_name: "string",
|
|
8251
|
-
# realtime_log_config_arn: "string",
|
|
8252
9183
|
# })
|
|
8253
9184
|
#
|
|
8254
9185
|
# @example Response structure
|
|
@@ -8434,70 +9365,18 @@ module Aws::CloudFront
|
|
|
8434
9365
|
# resp.distribution_list.items[0].staging #=> Boolean
|
|
8435
9366
|
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
8436
9367
|
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
9368
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
9369
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
9370
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
9371
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
9372
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
8437
9373
|
#
|
|
8438
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/
|
|
8439
|
-
#
|
|
8440
|
-
# @overload list_distributions_by_realtime_log_config(params = {})
|
|
8441
|
-
# @param [Hash] params ({})
|
|
8442
|
-
def list_distributions_by_realtime_log_config(params = {}, options = {})
|
|
8443
|
-
req = build_request(:list_distributions_by_realtime_log_config, params)
|
|
8444
|
-
req.send_request(options)
|
|
8445
|
-
end
|
|
8446
|
-
|
|
8447
|
-
# Gets a list of distribution IDs for distributions that have a cache
|
|
8448
|
-
# behavior that's associated with the specified response headers
|
|
8449
|
-
# policy.
|
|
8450
|
-
#
|
|
8451
|
-
# You can optionally specify the maximum number of items to receive in
|
|
8452
|
-
# the response. If the total number of items in the list exceeds the
|
|
8453
|
-
# maximum that you specify, or the default maximum, the response is
|
|
8454
|
-
# paginated. To get the next page of items, send a subsequent request
|
|
8455
|
-
# that specifies the `NextMarker` value from the current response as the
|
|
8456
|
-
# `Marker` value in the subsequent request.
|
|
8457
|
-
#
|
|
8458
|
-
# @option params [String] :marker
|
|
8459
|
-
# Use this field when paginating results to indicate where to begin in
|
|
8460
|
-
# your list of distribution IDs. The response includes distribution IDs
|
|
8461
|
-
# in the list that occur after the marker. To get the next page of the
|
|
8462
|
-
# list, set this field's value to the value of `NextMarker` from the
|
|
8463
|
-
# current page's response.
|
|
8464
|
-
#
|
|
8465
|
-
# @option params [Integer] :max_items
|
|
8466
|
-
# The maximum number of distribution IDs that you want to get in the
|
|
8467
|
-
# response.
|
|
8468
|
-
#
|
|
8469
|
-
# @option params [required, String] :response_headers_policy_id
|
|
8470
|
-
# The ID of the response headers policy whose associated distribution
|
|
8471
|
-
# IDs you want to list.
|
|
8472
|
-
#
|
|
8473
|
-
# @return [Types::ListDistributionsByResponseHeadersPolicyIdResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8474
|
-
#
|
|
8475
|
-
# * {Types::ListDistributionsByResponseHeadersPolicyIdResult#distribution_id_list #distribution_id_list} => Types::DistributionIdList
|
|
8476
|
-
#
|
|
8477
|
-
# @example Request syntax with placeholder values
|
|
8478
|
-
#
|
|
8479
|
-
# resp = client.list_distributions_by_response_headers_policy_id({
|
|
8480
|
-
# marker: "string",
|
|
8481
|
-
# max_items: 1,
|
|
8482
|
-
# response_headers_policy_id: "string", # required
|
|
8483
|
-
# })
|
|
8484
|
-
#
|
|
8485
|
-
# @example Response structure
|
|
8486
|
-
#
|
|
8487
|
-
# resp.distribution_id_list.marker #=> String
|
|
8488
|
-
# resp.distribution_id_list.next_marker #=> String
|
|
8489
|
-
# resp.distribution_id_list.max_items #=> Integer
|
|
8490
|
-
# resp.distribution_id_list.is_truncated #=> Boolean
|
|
8491
|
-
# resp.distribution_id_list.quantity #=> Integer
|
|
8492
|
-
# resp.distribution_id_list.items #=> Array
|
|
8493
|
-
# resp.distribution_id_list.items[0] #=> String
|
|
8494
|
-
#
|
|
8495
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId AWS API Documentation
|
|
9374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByTrustStore AWS API Documentation
|
|
8496
9375
|
#
|
|
8497
|
-
# @overload
|
|
9376
|
+
# @overload list_distributions_by_trust_store(params = {})
|
|
8498
9377
|
# @param [Hash] params ({})
|
|
8499
|
-
def
|
|
8500
|
-
req = build_request(:
|
|
9378
|
+
def list_distributions_by_trust_store(params = {}, options = {})
|
|
9379
|
+
req = build_request(:list_distributions_by_trust_store, params)
|
|
8501
9380
|
req.send_request(options)
|
|
8502
9381
|
end
|
|
8503
9382
|
|
|
@@ -8785,6 +9664,11 @@ module Aws::CloudFront
|
|
|
8785
9664
|
# resp.distribution_list.items[0].staging #=> Boolean
|
|
8786
9665
|
# resp.distribution_list.items[0].connection_mode #=> String, one of "direct", "tenant-only"
|
|
8787
9666
|
# resp.distribution_list.items[0].anycast_ip_list_id #=> String
|
|
9667
|
+
# resp.distribution_list.items[0].viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
9668
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
9669
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
9670
|
+
# resp.distribution_list.items[0].viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
9671
|
+
# resp.distribution_list.items[0].connection_function_association.id #=> String
|
|
8788
9672
|
#
|
|
8789
9673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId AWS API Documentation
|
|
8790
9674
|
#
|
|
@@ -9743,6 +10627,54 @@ module Aws::CloudFront
|
|
|
9743
10627
|
req.send_request(options)
|
|
9744
10628
|
end
|
|
9745
10629
|
|
|
10630
|
+
# Lists trust stores.
|
|
10631
|
+
#
|
|
10632
|
+
# @option params [String] :marker
|
|
10633
|
+
# Use this field when paginating results to indicate where to begin in
|
|
10634
|
+
# your list. The response includes items in the list that occur after
|
|
10635
|
+
# the marker. To get the next page of the list, set this field's value
|
|
10636
|
+
# to the value of `NextMarker` from the current page's response.
|
|
10637
|
+
#
|
|
10638
|
+
# @option params [Integer] :max_items
|
|
10639
|
+
# The maximum number of trust stores that you want returned in the
|
|
10640
|
+
# response.
|
|
10641
|
+
#
|
|
10642
|
+
# @return [Types::ListTrustStoresResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10643
|
+
#
|
|
10644
|
+
# * {Types::ListTrustStoresResult#next_marker #next_marker} => String
|
|
10645
|
+
# * {Types::ListTrustStoresResult#trust_store_list #trust_store_list} => Array<Types::TrustStoreSummary>
|
|
10646
|
+
#
|
|
10647
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
10648
|
+
#
|
|
10649
|
+
# @example Request syntax with placeholder values
|
|
10650
|
+
#
|
|
10651
|
+
# resp = client.list_trust_stores({
|
|
10652
|
+
# marker: "string",
|
|
10653
|
+
# max_items: 1,
|
|
10654
|
+
# })
|
|
10655
|
+
#
|
|
10656
|
+
# @example Response structure
|
|
10657
|
+
#
|
|
10658
|
+
# resp.next_marker #=> String
|
|
10659
|
+
# resp.trust_store_list #=> Array
|
|
10660
|
+
# resp.trust_store_list[0].id #=> String
|
|
10661
|
+
# resp.trust_store_list[0].arn #=> String
|
|
10662
|
+
# resp.trust_store_list[0].name #=> String
|
|
10663
|
+
# resp.trust_store_list[0].status #=> String, one of "pending", "active", "failed"
|
|
10664
|
+
# resp.trust_store_list[0].number_of_ca_certificates #=> Integer
|
|
10665
|
+
# resp.trust_store_list[0].last_modified_time #=> Time
|
|
10666
|
+
# resp.trust_store_list[0].reason #=> String
|
|
10667
|
+
# resp.trust_store_list[0].etag #=> String
|
|
10668
|
+
#
|
|
10669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTrustStores AWS API Documentation
|
|
10670
|
+
#
|
|
10671
|
+
# @overload list_trust_stores(params = {})
|
|
10672
|
+
# @param [Hash] params ({})
|
|
10673
|
+
def list_trust_stores(params = {}, options = {})
|
|
10674
|
+
req = build_request(:list_trust_stores, params)
|
|
10675
|
+
req.send_request(options)
|
|
10676
|
+
end
|
|
10677
|
+
|
|
9746
10678
|
# List the CloudFront VPC origins in your account.
|
|
9747
10679
|
#
|
|
9748
10680
|
# @option params [String] :marker
|
|
@@ -9817,6 +10749,49 @@ module Aws::CloudFront
|
|
|
9817
10749
|
req.send_request(options)
|
|
9818
10750
|
end
|
|
9819
10751
|
|
|
10752
|
+
# Publishes a connection function.
|
|
10753
|
+
#
|
|
10754
|
+
# @option params [required, String] :id
|
|
10755
|
+
# The connection function ID.
|
|
10756
|
+
#
|
|
10757
|
+
# @option params [required, String] :if_match
|
|
10758
|
+
# The current version (`ETag` value) of the connection function.
|
|
10759
|
+
#
|
|
10760
|
+
# @return [Types::PublishConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10761
|
+
#
|
|
10762
|
+
# * {Types::PublishConnectionFunctionResult#connection_function_summary #connection_function_summary} => Types::ConnectionFunctionSummary
|
|
10763
|
+
#
|
|
10764
|
+
# @example Request syntax with placeholder values
|
|
10765
|
+
#
|
|
10766
|
+
# resp = client.publish_connection_function({
|
|
10767
|
+
# id: "ResourceId", # required
|
|
10768
|
+
# if_match: "string", # required
|
|
10769
|
+
# })
|
|
10770
|
+
#
|
|
10771
|
+
# @example Response structure
|
|
10772
|
+
#
|
|
10773
|
+
# resp.connection_function_summary.name #=> String
|
|
10774
|
+
# resp.connection_function_summary.id #=> String
|
|
10775
|
+
# resp.connection_function_summary.connection_function_config.comment #=> String
|
|
10776
|
+
# resp.connection_function_summary.connection_function_config.runtime #=> String, one of "cloudfront-js-1.0", "cloudfront-js-2.0"
|
|
10777
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.quantity #=> Integer
|
|
10778
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items #=> Array
|
|
10779
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items[0].key_value_store_arn #=> String
|
|
10780
|
+
# resp.connection_function_summary.connection_function_arn #=> String
|
|
10781
|
+
# resp.connection_function_summary.status #=> String
|
|
10782
|
+
# resp.connection_function_summary.stage #=> String, one of "DEVELOPMENT", "LIVE"
|
|
10783
|
+
# resp.connection_function_summary.created_time #=> Time
|
|
10784
|
+
# resp.connection_function_summary.last_modified_time #=> Time
|
|
10785
|
+
#
|
|
10786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PublishConnectionFunction AWS API Documentation
|
|
10787
|
+
#
|
|
10788
|
+
# @overload publish_connection_function(params = {})
|
|
10789
|
+
# @param [Hash] params ({})
|
|
10790
|
+
def publish_connection_function(params = {}, options = {})
|
|
10791
|
+
req = build_request(:publish_connection_function, params)
|
|
10792
|
+
req.send_request(options)
|
|
10793
|
+
end
|
|
10794
|
+
|
|
9820
10795
|
# Publishes a CloudFront function by copying the function code from the
|
|
9821
10796
|
# `DEVELOPMENT` stage to `LIVE`. This automatically updates all cache
|
|
9822
10797
|
# behaviors that are using this function to use the newly published copy
|
|
@@ -9942,6 +10917,62 @@ module Aws::CloudFront
|
|
|
9942
10917
|
req.send_request(options)
|
|
9943
10918
|
end
|
|
9944
10919
|
|
|
10920
|
+
# Tests a connection function.
|
|
10921
|
+
#
|
|
10922
|
+
# @option params [required, String] :id
|
|
10923
|
+
# The connection function ID.
|
|
10924
|
+
#
|
|
10925
|
+
# @option params [required, String] :if_match
|
|
10926
|
+
# The current version (`ETag` value) of the connection function.
|
|
10927
|
+
#
|
|
10928
|
+
# @option params [String] :stage
|
|
10929
|
+
# The connection function stage.
|
|
10930
|
+
#
|
|
10931
|
+
# @option params [required, String, StringIO, File] :connection_object
|
|
10932
|
+
# The connection object.
|
|
10933
|
+
#
|
|
10934
|
+
# @return [Types::TestConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10935
|
+
#
|
|
10936
|
+
# * {Types::TestConnectionFunctionResult#connection_function_test_result #connection_function_test_result} => Types::ConnectionFunctionTestResult
|
|
10937
|
+
#
|
|
10938
|
+
# @example Request syntax with placeholder values
|
|
10939
|
+
#
|
|
10940
|
+
# resp = client.test_connection_function({
|
|
10941
|
+
# id: "ResourceId", # required
|
|
10942
|
+
# if_match: "string", # required
|
|
10943
|
+
# stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
|
|
10944
|
+
# connection_object: "data", # required
|
|
10945
|
+
# })
|
|
10946
|
+
#
|
|
10947
|
+
# @example Response structure
|
|
10948
|
+
#
|
|
10949
|
+
# resp.connection_function_test_result.connection_function_summary.name #=> String
|
|
10950
|
+
# resp.connection_function_test_result.connection_function_summary.id #=> String
|
|
10951
|
+
# resp.connection_function_test_result.connection_function_summary.connection_function_config.comment #=> String
|
|
10952
|
+
# resp.connection_function_test_result.connection_function_summary.connection_function_config.runtime #=> String, one of "cloudfront-js-1.0", "cloudfront-js-2.0"
|
|
10953
|
+
# resp.connection_function_test_result.connection_function_summary.connection_function_config.key_value_store_associations.quantity #=> Integer
|
|
10954
|
+
# resp.connection_function_test_result.connection_function_summary.connection_function_config.key_value_store_associations.items #=> Array
|
|
10955
|
+
# resp.connection_function_test_result.connection_function_summary.connection_function_config.key_value_store_associations.items[0].key_value_store_arn #=> String
|
|
10956
|
+
# resp.connection_function_test_result.connection_function_summary.connection_function_arn #=> String
|
|
10957
|
+
# resp.connection_function_test_result.connection_function_summary.status #=> String
|
|
10958
|
+
# resp.connection_function_test_result.connection_function_summary.stage #=> String, one of "DEVELOPMENT", "LIVE"
|
|
10959
|
+
# resp.connection_function_test_result.connection_function_summary.created_time #=> Time
|
|
10960
|
+
# resp.connection_function_test_result.connection_function_summary.last_modified_time #=> Time
|
|
10961
|
+
# resp.connection_function_test_result.compute_utilization #=> String
|
|
10962
|
+
# resp.connection_function_test_result.connection_function_execution_logs #=> Array
|
|
10963
|
+
# resp.connection_function_test_result.connection_function_execution_logs[0] #=> String
|
|
10964
|
+
# resp.connection_function_test_result.connection_function_error_message #=> String
|
|
10965
|
+
# resp.connection_function_test_result.connection_function_output #=> String
|
|
10966
|
+
#
|
|
10967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestConnectionFunction AWS API Documentation
|
|
10968
|
+
#
|
|
10969
|
+
# @overload test_connection_function(params = {})
|
|
10970
|
+
# @param [Hash] params ({})
|
|
10971
|
+
def test_connection_function(params = {}, options = {})
|
|
10972
|
+
req = build_request(:test_connection_function, params)
|
|
10973
|
+
req.send_request(options)
|
|
10974
|
+
end
|
|
10975
|
+
|
|
9945
10976
|
# Tests a CloudFront function.
|
|
9946
10977
|
#
|
|
9947
10978
|
# To test a function, you provide an *event object* that represents an
|
|
@@ -10273,6 +11304,71 @@ module Aws::CloudFront
|
|
|
10273
11304
|
req.send_request(options)
|
|
10274
11305
|
end
|
|
10275
11306
|
|
|
11307
|
+
# Updates a connection function.
|
|
11308
|
+
#
|
|
11309
|
+
# @option params [required, String] :id
|
|
11310
|
+
# The connection function ID.
|
|
11311
|
+
#
|
|
11312
|
+
# @option params [required, String] :if_match
|
|
11313
|
+
# The current version (`ETag` value) of the connection function you are
|
|
11314
|
+
# updating.
|
|
11315
|
+
#
|
|
11316
|
+
# @option params [required, Types::FunctionConfig] :connection_function_config
|
|
11317
|
+
# Contains configuration information about a CloudFront function.
|
|
11318
|
+
#
|
|
11319
|
+
# @option params [required, String, StringIO, File] :connection_function_code
|
|
11320
|
+
# The connection function code.
|
|
11321
|
+
#
|
|
11322
|
+
# @return [Types::UpdateConnectionFunctionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11323
|
+
#
|
|
11324
|
+
# * {Types::UpdateConnectionFunctionResult#connection_function_summary #connection_function_summary} => Types::ConnectionFunctionSummary
|
|
11325
|
+
# * {Types::UpdateConnectionFunctionResult#etag #etag} => String
|
|
11326
|
+
#
|
|
11327
|
+
# @example Request syntax with placeholder values
|
|
11328
|
+
#
|
|
11329
|
+
# resp = client.update_connection_function({
|
|
11330
|
+
# id: "ResourceId", # required
|
|
11331
|
+
# if_match: "string", # required
|
|
11332
|
+
# connection_function_config: { # required
|
|
11333
|
+
# comment: "string", # required
|
|
11334
|
+
# runtime: "cloudfront-js-1.0", # required, accepts cloudfront-js-1.0, cloudfront-js-2.0
|
|
11335
|
+
# key_value_store_associations: {
|
|
11336
|
+
# quantity: 1, # required
|
|
11337
|
+
# items: [
|
|
11338
|
+
# {
|
|
11339
|
+
# key_value_store_arn: "KeyValueStoreARN", # required
|
|
11340
|
+
# },
|
|
11341
|
+
# ],
|
|
11342
|
+
# },
|
|
11343
|
+
# },
|
|
11344
|
+
# connection_function_code: "data", # required
|
|
11345
|
+
# })
|
|
11346
|
+
#
|
|
11347
|
+
# @example Response structure
|
|
11348
|
+
#
|
|
11349
|
+
# resp.connection_function_summary.name #=> String
|
|
11350
|
+
# resp.connection_function_summary.id #=> String
|
|
11351
|
+
# resp.connection_function_summary.connection_function_config.comment #=> String
|
|
11352
|
+
# resp.connection_function_summary.connection_function_config.runtime #=> String, one of "cloudfront-js-1.0", "cloudfront-js-2.0"
|
|
11353
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.quantity #=> Integer
|
|
11354
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items #=> Array
|
|
11355
|
+
# resp.connection_function_summary.connection_function_config.key_value_store_associations.items[0].key_value_store_arn #=> String
|
|
11356
|
+
# resp.connection_function_summary.connection_function_arn #=> String
|
|
11357
|
+
# resp.connection_function_summary.status #=> String
|
|
11358
|
+
# resp.connection_function_summary.stage #=> String, one of "DEVELOPMENT", "LIVE"
|
|
11359
|
+
# resp.connection_function_summary.created_time #=> Time
|
|
11360
|
+
# resp.connection_function_summary.last_modified_time #=> Time
|
|
11361
|
+
# resp.etag #=> String
|
|
11362
|
+
#
|
|
11363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateConnectionFunction AWS API Documentation
|
|
11364
|
+
#
|
|
11365
|
+
# @overload update_connection_function(params = {})
|
|
11366
|
+
# @param [Hash] params ({})
|
|
11367
|
+
def update_connection_function(params = {}, options = {})
|
|
11368
|
+
req = build_request(:update_connection_function, params)
|
|
11369
|
+
req.send_request(options)
|
|
11370
|
+
end
|
|
11371
|
+
|
|
10276
11372
|
# Updates a connection group.
|
|
10277
11373
|
#
|
|
10278
11374
|
# @option params [required, String] :id
|
|
@@ -10758,6 +11854,17 @@ module Aws::CloudFront
|
|
|
10758
11854
|
# ],
|
|
10759
11855
|
# },
|
|
10760
11856
|
# connection_mode: "direct", # accepts direct, tenant-only
|
|
11857
|
+
# viewer_mtls_config: {
|
|
11858
|
+
# mode: "required", # accepts required, optional
|
|
11859
|
+
# trust_store_config: {
|
|
11860
|
+
# trust_store_id: "string", # required
|
|
11861
|
+
# advertise_trust_store_ca_names: false,
|
|
11862
|
+
# ignore_certificate_expiry: false,
|
|
11863
|
+
# },
|
|
11864
|
+
# },
|
|
11865
|
+
# connection_function_association: {
|
|
11866
|
+
# id: "ResourceId", # required
|
|
11867
|
+
# },
|
|
10761
11868
|
# },
|
|
10762
11869
|
# id: "string", # required
|
|
10763
11870
|
# if_match: "string",
|
|
@@ -10963,6 +12070,11 @@ module Aws::CloudFront
|
|
|
10963
12070
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
10964
12071
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
10965
12072
|
# resp.distribution.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
12073
|
+
# resp.distribution.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
12074
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
12075
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
12076
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
12077
|
+
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
10966
12078
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
10967
12079
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
10968
12080
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -11355,6 +12467,11 @@ module Aws::CloudFront
|
|
|
11355
12467
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.default_value #=> String
|
|
11356
12468
|
# resp.distribution.distribution_config.tenant_config.parameter_definitions[0].definition.string_schema.required #=> Boolean
|
|
11357
12469
|
# resp.distribution.distribution_config.connection_mode #=> String, one of "direct", "tenant-only"
|
|
12470
|
+
# resp.distribution.distribution_config.viewer_mtls_config.mode #=> String, one of "required", "optional"
|
|
12471
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.trust_store_id #=> String
|
|
12472
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.advertise_trust_store_ca_names #=> Boolean
|
|
12473
|
+
# resp.distribution.distribution_config.viewer_mtls_config.trust_store_config.ignore_certificate_expiry #=> Boolean
|
|
12474
|
+
# resp.distribution.distribution_config.connection_function_association.id #=> String
|
|
11358
12475
|
# resp.distribution.alias_icp_recordals #=> Array
|
|
11359
12476
|
# resp.distribution.alias_icp_recordals[0].cname #=> String
|
|
11360
12477
|
# resp.distribution.alias_icp_recordals[0].icp_recordal_status #=> String, one of "APPROVED", "SUSPENDED", "PENDING"
|
|
@@ -12393,6 +13510,58 @@ module Aws::CloudFront
|
|
|
12393
13510
|
req.send_request(options)
|
|
12394
13511
|
end
|
|
12395
13512
|
|
|
13513
|
+
# Updates a trust store.
|
|
13514
|
+
#
|
|
13515
|
+
# @option params [required, String] :id
|
|
13516
|
+
# The trust store ID.
|
|
13517
|
+
#
|
|
13518
|
+
# @option params [required, Types::CaCertificatesBundleSource] :ca_certificates_bundle_source
|
|
13519
|
+
# The CA certificates bundle source.
|
|
13520
|
+
#
|
|
13521
|
+
# @option params [required, String] :if_match
|
|
13522
|
+
# The current version (`ETag` value) of the trust store you are
|
|
13523
|
+
# updating.
|
|
13524
|
+
#
|
|
13525
|
+
# @return [Types::UpdateTrustStoreResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
13526
|
+
#
|
|
13527
|
+
# * {Types::UpdateTrustStoreResult#trust_store #trust_store} => Types::TrustStore
|
|
13528
|
+
# * {Types::UpdateTrustStoreResult#etag #etag} => String
|
|
13529
|
+
#
|
|
13530
|
+
# @example Request syntax with placeholder values
|
|
13531
|
+
#
|
|
13532
|
+
# resp = client.update_trust_store({
|
|
13533
|
+
# id: "ResourceId", # required
|
|
13534
|
+
# ca_certificates_bundle_source: { # required
|
|
13535
|
+
# ca_certificates_bundle_s3_location: {
|
|
13536
|
+
# bucket: "string", # required
|
|
13537
|
+
# key: "string", # required
|
|
13538
|
+
# region: "CaCertificatesBundleS3LocationRegionString", # required
|
|
13539
|
+
# version: "string",
|
|
13540
|
+
# },
|
|
13541
|
+
# },
|
|
13542
|
+
# if_match: "string", # required
|
|
13543
|
+
# })
|
|
13544
|
+
#
|
|
13545
|
+
# @example Response structure
|
|
13546
|
+
#
|
|
13547
|
+
# resp.trust_store.id #=> String
|
|
13548
|
+
# resp.trust_store.arn #=> String
|
|
13549
|
+
# resp.trust_store.name #=> String
|
|
13550
|
+
# resp.trust_store.status #=> String, one of "pending", "active", "failed"
|
|
13551
|
+
# resp.trust_store.number_of_ca_certificates #=> Integer
|
|
13552
|
+
# resp.trust_store.last_modified_time #=> Time
|
|
13553
|
+
# resp.trust_store.reason #=> String
|
|
13554
|
+
# resp.etag #=> String
|
|
13555
|
+
#
|
|
13556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateTrustStore AWS API Documentation
|
|
13557
|
+
#
|
|
13558
|
+
# @overload update_trust_store(params = {})
|
|
13559
|
+
# @param [Hash] params ({})
|
|
13560
|
+
def update_trust_store(params = {}, options = {})
|
|
13561
|
+
req = build_request(:update_trust_store, params)
|
|
13562
|
+
req.send_request(options)
|
|
13563
|
+
end
|
|
13564
|
+
|
|
12396
13565
|
# Update an Amazon CloudFront VPC origin in your account.
|
|
12397
13566
|
#
|
|
12398
13567
|
# @option params [required, Types::VpcOriginEndpointConfig] :vpc_origin_endpoint_config
|
|
@@ -12562,7 +13731,7 @@ module Aws::CloudFront
|
|
|
12562
13731
|
tracer: tracer
|
|
12563
13732
|
)
|
|
12564
13733
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
|
12565
|
-
context[:gem_version] = '1.
|
|
13734
|
+
context[:gem_version] = '1.136.0'
|
|
12566
13735
|
Seahorse::Client::Request.new(handlers, context)
|
|
12567
13736
|
end
|
|
12568
13737
|
|