aws-sdk-cloudfront 1.1.0 → 1.2.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/lib/aws-sdk-cloudfront.rb +1 -1
- data/lib/aws-sdk-cloudfront/client.rb +908 -41
- data/lib/aws-sdk-cloudfront/client_api.rb +652 -42
- data/lib/aws-sdk-cloudfront/types.rb +1717 -164
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0bbd21d11dd8d1becd4cbb81f2704bd7539a0d0
|
4
|
+
data.tar.gz: fe3a727fbf52bf00dc7d7d1fcec23e4b29fc604e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ded256a6ad0eba652a7880abbb08523c70cfd97a70846782110d5b5a3becf50d2038871ed151c1a801bc717a4d5a63017a65a8036d14f686023f5af1b1d2f06d
|
7
|
+
data.tar.gz: 1a4e510fe7799b5959d1be35a02c4adfe20344640110afc3bcfa42e9180d9caf155b011b7550302b77a6a25ae22a9b273ddf0341ea44e6be5965299e504b36b0
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -183,7 +183,7 @@ module Aws::CloudFront
|
|
183
183
|
# resp.location #=> String
|
184
184
|
# resp.etag #=> String
|
185
185
|
#
|
186
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateCloudFrontOriginAccessIdentity2017_10_30 AWS API Documentation
|
187
187
|
#
|
188
188
|
# @overload create_cloud_front_origin_access_identity(params = {})
|
189
189
|
# @param [Hash] params ({})
|
@@ -290,11 +290,12 @@ module Aws::CloudFront
|
|
290
290
|
# quantity: 1, # required
|
291
291
|
# items: [
|
292
292
|
# {
|
293
|
-
# lambda_function_arn: "
|
294
|
-
# event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
|
293
|
+
# lambda_function_arn: "LambdaFunctionARN", # required
|
294
|
+
# event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
|
295
295
|
# },
|
296
296
|
# ],
|
297
297
|
# },
|
298
|
+
# field_level_encryption_id: "string",
|
298
299
|
# },
|
299
300
|
# cache_behaviors: {
|
300
301
|
# quantity: 1, # required
|
@@ -343,11 +344,12 @@ module Aws::CloudFront
|
|
343
344
|
# quantity: 1, # required
|
344
345
|
# items: [
|
345
346
|
# {
|
346
|
-
# lambda_function_arn: "
|
347
|
-
# event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
|
347
|
+
# lambda_function_arn: "LambdaFunctionARN", # required
|
348
|
+
# event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
|
348
349
|
# },
|
349
350
|
# ],
|
350
351
|
# },
|
352
|
+
# field_level_encryption_id: "string",
|
351
353
|
# },
|
352
354
|
# ],
|
353
355
|
# },
|
@@ -463,6 +465,7 @@ module Aws::CloudFront
|
|
463
465
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
464
466
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
465
467
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
468
|
+
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
466
469
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
467
470
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
468
471
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
@@ -498,6 +501,7 @@ module Aws::CloudFront
|
|
498
501
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
499
502
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
500
503
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
504
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
501
505
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
502
506
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
503
507
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -528,7 +532,7 @@ module Aws::CloudFront
|
|
528
532
|
# resp.location #=> String
|
529
533
|
# resp.etag #=> String
|
530
534
|
#
|
531
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateDistribution2017_10_30 AWS API Documentation
|
532
536
|
#
|
533
537
|
# @overload create_distribution(params = {})
|
534
538
|
# @param [Hash] params ({})
|
@@ -635,11 +639,12 @@ module Aws::CloudFront
|
|
635
639
|
# quantity: 1, # required
|
636
640
|
# items: [
|
637
641
|
# {
|
638
|
-
# lambda_function_arn: "
|
639
|
-
# event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
|
642
|
+
# lambda_function_arn: "LambdaFunctionARN", # required
|
643
|
+
# event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
|
640
644
|
# },
|
641
645
|
# ],
|
642
646
|
# },
|
647
|
+
# field_level_encryption_id: "string",
|
643
648
|
# },
|
644
649
|
# cache_behaviors: {
|
645
650
|
# quantity: 1, # required
|
@@ -688,11 +693,12 @@ module Aws::CloudFront
|
|
688
693
|
# quantity: 1, # required
|
689
694
|
# items: [
|
690
695
|
# {
|
691
|
-
# lambda_function_arn: "
|
692
|
-
# event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
|
696
|
+
# lambda_function_arn: "LambdaFunctionARN", # required
|
697
|
+
# event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
|
693
698
|
# },
|
694
699
|
# ],
|
695
700
|
# },
|
701
|
+
# field_level_encryption_id: "string",
|
696
702
|
# },
|
697
703
|
# ],
|
698
704
|
# },
|
@@ -817,6 +823,7 @@ module Aws::CloudFront
|
|
817
823
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
818
824
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
819
825
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
826
|
+
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
820
827
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
821
828
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
822
829
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
@@ -852,6 +859,7 @@ module Aws::CloudFront
|
|
852
859
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
853
860
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
854
861
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
862
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
855
863
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
856
864
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
857
865
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -882,7 +890,7 @@ module Aws::CloudFront
|
|
882
890
|
# resp.location #=> String
|
883
891
|
# resp.etag #=> String
|
884
892
|
#
|
885
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateDistributionWithTags2017_10_30 AWS API Documentation
|
886
894
|
#
|
887
895
|
# @overload create_distribution_with_tags(params = {})
|
888
896
|
# @param [Hash] params ({})
|
@@ -891,6 +899,140 @@ module Aws::CloudFront
|
|
891
899
|
req.send_request(options)
|
892
900
|
end
|
893
901
|
|
902
|
+
# Create a new field-level encryption configuration.
|
903
|
+
#
|
904
|
+
# @option params [required, Types::FieldLevelEncryptionConfig] :field_level_encryption_config
|
905
|
+
# The request to create a new field-level encryption configuration.
|
906
|
+
#
|
907
|
+
# @return [Types::CreateFieldLevelEncryptionConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
908
|
+
#
|
909
|
+
# * {Types::CreateFieldLevelEncryptionConfigResult#field_level_encryption #field_level_encryption} => Types::FieldLevelEncryption
|
910
|
+
# * {Types::CreateFieldLevelEncryptionConfigResult#location #location} => String
|
911
|
+
# * {Types::CreateFieldLevelEncryptionConfigResult#etag #etag} => String
|
912
|
+
#
|
913
|
+
# @example Request syntax with placeholder values
|
914
|
+
#
|
915
|
+
# resp = client.create_field_level_encryption_config({
|
916
|
+
# field_level_encryption_config: { # required
|
917
|
+
# caller_reference: "string", # required
|
918
|
+
# comment: "string",
|
919
|
+
# query_arg_profile_config: {
|
920
|
+
# forward_when_query_arg_profile_is_unknown: false, # required
|
921
|
+
# query_arg_profiles: {
|
922
|
+
# quantity: 1, # required
|
923
|
+
# items: [
|
924
|
+
# {
|
925
|
+
# query_arg: "string", # required
|
926
|
+
# profile_id: "string", # required
|
927
|
+
# },
|
928
|
+
# ],
|
929
|
+
# },
|
930
|
+
# },
|
931
|
+
# content_type_profile_config: {
|
932
|
+
# forward_when_content_type_is_unknown: false, # required
|
933
|
+
# content_type_profiles: {
|
934
|
+
# quantity: 1, # required
|
935
|
+
# items: [
|
936
|
+
# {
|
937
|
+
# format: "URLEncoded", # required, accepts URLEncoded
|
938
|
+
# profile_id: "string",
|
939
|
+
# content_type: "string", # required
|
940
|
+
# },
|
941
|
+
# ],
|
942
|
+
# },
|
943
|
+
# },
|
944
|
+
# },
|
945
|
+
# })
|
946
|
+
#
|
947
|
+
# @example Response structure
|
948
|
+
#
|
949
|
+
# resp.field_level_encryption.id #=> String
|
950
|
+
# resp.field_level_encryption.last_modified_time #=> Time
|
951
|
+
# resp.field_level_encryption.field_level_encryption_config.caller_reference #=> String
|
952
|
+
# resp.field_level_encryption.field_level_encryption_config.comment #=> String
|
953
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.forward_when_query_arg_profile_is_unknown #=> Boolean
|
954
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.quantity #=> Integer
|
955
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items #=> Array
|
956
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].query_arg #=> String
|
957
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].profile_id #=> String
|
958
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.forward_when_content_type_is_unknown #=> Boolean
|
959
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.quantity #=> Integer
|
960
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items #=> Array
|
961
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
|
962
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
963
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
964
|
+
# resp.location #=> String
|
965
|
+
# resp.etag #=> String
|
966
|
+
#
|
967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateFieldLevelEncryptionConfig2017_10_30 AWS API Documentation
|
968
|
+
#
|
969
|
+
# @overload create_field_level_encryption_config(params = {})
|
970
|
+
# @param [Hash] params ({})
|
971
|
+
def create_field_level_encryption_config(params = {}, options = {})
|
972
|
+
req = build_request(:create_field_level_encryption_config, params)
|
973
|
+
req.send_request(options)
|
974
|
+
end
|
975
|
+
|
976
|
+
# Create a field-level encryption profile.
|
977
|
+
#
|
978
|
+
# @option params [required, Types::FieldLevelEncryptionProfileConfig] :field_level_encryption_profile_config
|
979
|
+
# The request to create a field-level encryption profile.
|
980
|
+
#
|
981
|
+
# @return [Types::CreateFieldLevelEncryptionProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
982
|
+
#
|
983
|
+
# * {Types::CreateFieldLevelEncryptionProfileResult#field_level_encryption_profile #field_level_encryption_profile} => Types::FieldLevelEncryptionProfile
|
984
|
+
# * {Types::CreateFieldLevelEncryptionProfileResult#location #location} => String
|
985
|
+
# * {Types::CreateFieldLevelEncryptionProfileResult#etag #etag} => String
|
986
|
+
#
|
987
|
+
# @example Request syntax with placeholder values
|
988
|
+
#
|
989
|
+
# resp = client.create_field_level_encryption_profile({
|
990
|
+
# field_level_encryption_profile_config: { # required
|
991
|
+
# name: "string", # required
|
992
|
+
# caller_reference: "string", # required
|
993
|
+
# comment: "string",
|
994
|
+
# encryption_entities: { # required
|
995
|
+
# quantity: 1, # required
|
996
|
+
# items: [
|
997
|
+
# {
|
998
|
+
# public_key_id: "string", # required
|
999
|
+
# provider_id: "string", # required
|
1000
|
+
# field_patterns: { # required
|
1001
|
+
# quantity: 1, # required
|
1002
|
+
# items: ["string"],
|
1003
|
+
# },
|
1004
|
+
# },
|
1005
|
+
# ],
|
1006
|
+
# },
|
1007
|
+
# },
|
1008
|
+
# })
|
1009
|
+
#
|
1010
|
+
# @example Response structure
|
1011
|
+
#
|
1012
|
+
# resp.field_level_encryption_profile.id #=> String
|
1013
|
+
# resp.field_level_encryption_profile.last_modified_time #=> Time
|
1014
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.name #=> String
|
1015
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.caller_reference #=> String
|
1016
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.comment #=> String
|
1017
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.quantity #=> Integer
|
1018
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items #=> Array
|
1019
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].public_key_id #=> String
|
1020
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].provider_id #=> String
|
1021
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
|
1022
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
|
1023
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
1024
|
+
# resp.location #=> String
|
1025
|
+
# resp.etag #=> String
|
1026
|
+
#
|
1027
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateFieldLevelEncryptionProfile2017_10_30 AWS API Documentation
|
1028
|
+
#
|
1029
|
+
# @overload create_field_level_encryption_profile(params = {})
|
1030
|
+
# @param [Hash] params ({})
|
1031
|
+
def create_field_level_encryption_profile(params = {}, options = {})
|
1032
|
+
req = build_request(:create_field_level_encryption_profile, params)
|
1033
|
+
req.send_request(options)
|
1034
|
+
end
|
1035
|
+
|
894
1036
|
# Create a new invalidation.
|
895
1037
|
#
|
896
1038
|
# @option params [required, String] :distribution_id
|
@@ -928,7 +1070,7 @@ module Aws::CloudFront
|
|
928
1070
|
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
|
929
1071
|
# resp.invalidation.invalidation_batch.caller_reference #=> String
|
930
1072
|
#
|
931
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateInvalidation2017_10_30 AWS API Documentation
|
932
1074
|
#
|
933
1075
|
# @overload create_invalidation(params = {})
|
934
1076
|
# @param [Hash] params ({})
|
@@ -937,6 +1079,50 @@ module Aws::CloudFront
|
|
937
1079
|
req.send_request(options)
|
938
1080
|
end
|
939
1081
|
|
1082
|
+
# Add a new public key to CloudFront to use, for example, for
|
1083
|
+
# field-level encryption. You can add a maximum of 10 public keys with
|
1084
|
+
# one AWS account.
|
1085
|
+
#
|
1086
|
+
# @option params [required, Types::PublicKeyConfig] :public_key_config
|
1087
|
+
# The request to add a public key to CloudFront.
|
1088
|
+
#
|
1089
|
+
# @return [Types::CreatePublicKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1090
|
+
#
|
1091
|
+
# * {Types::CreatePublicKeyResult#public_key #public_key} => Types::PublicKey
|
1092
|
+
# * {Types::CreatePublicKeyResult#location #location} => String
|
1093
|
+
# * {Types::CreatePublicKeyResult#etag #etag} => String
|
1094
|
+
#
|
1095
|
+
# @example Request syntax with placeholder values
|
1096
|
+
#
|
1097
|
+
# resp = client.create_public_key({
|
1098
|
+
# public_key_config: { # required
|
1099
|
+
# caller_reference: "string", # required
|
1100
|
+
# name: "string", # required
|
1101
|
+
# encoded_key: "string", # required
|
1102
|
+
# comment: "string",
|
1103
|
+
# },
|
1104
|
+
# })
|
1105
|
+
#
|
1106
|
+
# @example Response structure
|
1107
|
+
#
|
1108
|
+
# resp.public_key.id #=> String
|
1109
|
+
# resp.public_key.created_time #=> Time
|
1110
|
+
# resp.public_key.public_key_config.caller_reference #=> String
|
1111
|
+
# resp.public_key.public_key_config.name #=> String
|
1112
|
+
# resp.public_key.public_key_config.encoded_key #=> String
|
1113
|
+
# resp.public_key.public_key_config.comment #=> String
|
1114
|
+
# resp.location #=> String
|
1115
|
+
# resp.etag #=> String
|
1116
|
+
#
|
1117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreatePublicKey2017_10_30 AWS API Documentation
|
1118
|
+
#
|
1119
|
+
# @overload create_public_key(params = {})
|
1120
|
+
# @param [Hash] params ({})
|
1121
|
+
def create_public_key(params = {}, options = {})
|
1122
|
+
req = build_request(:create_public_key, params)
|
1123
|
+
req.send_request(options)
|
1124
|
+
end
|
1125
|
+
|
940
1126
|
# Creates a new RMTP distribution. An RTMP distribution is similar to a
|
941
1127
|
# web distribution, but an RTMP distribution streams media files using
|
942
1128
|
# the Adobe Real-Time Messaging Protocol (RTMP) instead of serving files
|
@@ -1043,7 +1229,7 @@ module Aws::CloudFront
|
|
1043
1229
|
# resp.location #=> String
|
1044
1230
|
# resp.etag #=> String
|
1045
1231
|
#
|
1046
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateStreamingDistribution2017_10_30 AWS API Documentation
|
1047
1233
|
#
|
1048
1234
|
# @overload create_streaming_distribution(params = {})
|
1049
1235
|
# @param [Hash] params ({})
|
@@ -1135,7 +1321,7 @@ module Aws::CloudFront
|
|
1135
1321
|
# resp.location #=> String
|
1136
1322
|
# resp.etag #=> String
|
1137
1323
|
#
|
1138
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/CreateStreamingDistributionWithTags2017_10_30 AWS API Documentation
|
1139
1325
|
#
|
1140
1326
|
# @overload create_streaming_distribution_with_tags(params = {})
|
1141
1327
|
# @param [Hash] params ({})
|
@@ -1162,7 +1348,7 @@ module Aws::CloudFront
|
|
1162
1348
|
# if_match: "string",
|
1163
1349
|
# })
|
1164
1350
|
#
|
1165
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteCloudFrontOriginAccessIdentity2017_10_30 AWS API Documentation
|
1166
1352
|
#
|
1167
1353
|
# @overload delete_cloud_front_origin_access_identity(params = {})
|
1168
1354
|
# @param [Hash] params ({})
|
@@ -1189,7 +1375,7 @@ module Aws::CloudFront
|
|
1189
1375
|
# if_match: "string",
|
1190
1376
|
# })
|
1191
1377
|
#
|
1192
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteDistribution2017_10_30 AWS API Documentation
|
1193
1379
|
#
|
1194
1380
|
# @overload delete_distribution(params = {})
|
1195
1381
|
# @param [Hash] params ({})
|
@@ -1198,6 +1384,87 @@ module Aws::CloudFront
|
|
1198
1384
|
req.send_request(options)
|
1199
1385
|
end
|
1200
1386
|
|
1387
|
+
# Remove a field-level encryption configuration.
|
1388
|
+
#
|
1389
|
+
# @option params [required, String] :id
|
1390
|
+
# The ID of the configuration you want to delete from CloudFront.
|
1391
|
+
#
|
1392
|
+
# @option params [String] :if_match
|
1393
|
+
# The value of the `ETag` header that you received when retrieving the
|
1394
|
+
# configuration identity to delete. For example: `E2QWRUHAPOMQZL`.
|
1395
|
+
#
|
1396
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1397
|
+
#
|
1398
|
+
# @example Request syntax with placeholder values
|
1399
|
+
#
|
1400
|
+
# resp = client.delete_field_level_encryption_config({
|
1401
|
+
# id: "string", # required
|
1402
|
+
# if_match: "string",
|
1403
|
+
# })
|
1404
|
+
#
|
1405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteFieldLevelEncryptionConfig2017_10_30 AWS API Documentation
|
1406
|
+
#
|
1407
|
+
# @overload delete_field_level_encryption_config(params = {})
|
1408
|
+
# @param [Hash] params ({})
|
1409
|
+
def delete_field_level_encryption_config(params = {}, options = {})
|
1410
|
+
req = build_request(:delete_field_level_encryption_config, params)
|
1411
|
+
req.send_request(options)
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
# Remove a field-level encryption profile.
|
1415
|
+
#
|
1416
|
+
# @option params [required, String] :id
|
1417
|
+
# Request the ID of the profile you want to delete from CloudFront.
|
1418
|
+
#
|
1419
|
+
# @option params [String] :if_match
|
1420
|
+
# The value of the `ETag` header that you received when retrieving the
|
1421
|
+
# profile to delete. For example: `E2QWRUHAPOMQZL`.
|
1422
|
+
#
|
1423
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1424
|
+
#
|
1425
|
+
# @example Request syntax with placeholder values
|
1426
|
+
#
|
1427
|
+
# resp = client.delete_field_level_encryption_profile({
|
1428
|
+
# id: "string", # required
|
1429
|
+
# if_match: "string",
|
1430
|
+
# })
|
1431
|
+
#
|
1432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteFieldLevelEncryptionProfile2017_10_30 AWS API Documentation
|
1433
|
+
#
|
1434
|
+
# @overload delete_field_level_encryption_profile(params = {})
|
1435
|
+
# @param [Hash] params ({})
|
1436
|
+
def delete_field_level_encryption_profile(params = {}, options = {})
|
1437
|
+
req = build_request(:delete_field_level_encryption_profile, params)
|
1438
|
+
req.send_request(options)
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
# Remove a public key you previously added to CloudFront.
|
1442
|
+
#
|
1443
|
+
# @option params [required, String] :id
|
1444
|
+
# The ID of the public key you want to remove from CloudFront.
|
1445
|
+
#
|
1446
|
+
# @option params [String] :if_match
|
1447
|
+
# The value of the `ETag` header that you received when retrieving the
|
1448
|
+
# public key identity to delete. For example: `E2QWRUHAPOMQZL`.
|
1449
|
+
#
|
1450
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1451
|
+
#
|
1452
|
+
# @example Request syntax with placeholder values
|
1453
|
+
#
|
1454
|
+
# resp = client.delete_public_key({
|
1455
|
+
# id: "string", # required
|
1456
|
+
# if_match: "string",
|
1457
|
+
# })
|
1458
|
+
#
|
1459
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeletePublicKey2017_10_30 AWS API Documentation
|
1460
|
+
#
|
1461
|
+
# @overload delete_public_key(params = {})
|
1462
|
+
# @param [Hash] params ({})
|
1463
|
+
def delete_public_key(params = {}, options = {})
|
1464
|
+
req = build_request(:delete_public_key, params)
|
1465
|
+
req.send_request(options)
|
1466
|
+
end
|
1467
|
+
|
1201
1468
|
# @option params [required, String] :role_name
|
1202
1469
|
#
|
1203
1470
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -1208,7 +1475,7 @@ module Aws::CloudFront
|
|
1208
1475
|
# role_name: "string", # required
|
1209
1476
|
# })
|
1210
1477
|
#
|
1211
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1478
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteServiceLinkedRole2017_10_30 AWS API Documentation
|
1212
1479
|
#
|
1213
1480
|
# @overload delete_service_linked_role(params = {})
|
1214
1481
|
# @param [Hash] params ({})
|
@@ -1278,7 +1545,7 @@ module Aws::CloudFront
|
|
1278
1545
|
# if_match: "string",
|
1279
1546
|
# })
|
1280
1547
|
#
|
1281
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1548
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/DeleteStreamingDistribution2017_10_30 AWS API Documentation
|
1282
1549
|
#
|
1283
1550
|
# @overload delete_streaming_distribution(params = {})
|
1284
1551
|
# @param [Hash] params ({})
|
@@ -1311,7 +1578,7 @@ module Aws::CloudFront
|
|
1311
1578
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
1312
1579
|
# resp.etag #=> String
|
1313
1580
|
#
|
1314
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetCloudFrontOriginAccessIdentity2017_10_30 AWS API Documentation
|
1315
1582
|
#
|
1316
1583
|
# @overload get_cloud_front_origin_access_identity(params = {})
|
1317
1584
|
# @param [Hash] params ({})
|
@@ -1342,7 +1609,7 @@ module Aws::CloudFront
|
|
1342
1609
|
# resp.cloud_front_origin_access_identity_config.comment #=> String
|
1343
1610
|
# resp.etag #=> String
|
1344
1611
|
#
|
1345
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetCloudFrontOriginAccessIdentityConfig2017_10_30 AWS API Documentation
|
1346
1613
|
#
|
1347
1614
|
# @overload get_cloud_front_origin_access_identity_config(params = {})
|
1348
1615
|
# @param [Hash] params ({})
|
@@ -1437,6 +1704,7 @@ module Aws::CloudFront
|
|
1437
1704
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
1438
1705
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
1439
1706
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
1707
|
+
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
1440
1708
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
1441
1709
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
1442
1710
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
@@ -1472,6 +1740,7 @@ module Aws::CloudFront
|
|
1472
1740
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
1473
1741
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
1474
1742
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
1743
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
1475
1744
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
1476
1745
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
1477
1746
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -1501,7 +1770,7 @@ module Aws::CloudFront
|
|
1501
1770
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
1502
1771
|
# resp.etag #=> String
|
1503
1772
|
#
|
1504
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetDistribution2017_10_30 AWS API Documentation
|
1505
1774
|
#
|
1506
1775
|
# @overload get_distribution(params = {})
|
1507
1776
|
# @param [Hash] params ({})
|
@@ -1583,6 +1852,7 @@ module Aws::CloudFront
|
|
1583
1852
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
1584
1853
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
1585
1854
|
# resp.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
1855
|
+
# resp.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
1586
1856
|
# resp.distribution_config.cache_behaviors.quantity #=> Integer
|
1587
1857
|
# resp.distribution_config.cache_behaviors.items #=> Array
|
1588
1858
|
# resp.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
@@ -1618,6 +1888,7 @@ module Aws::CloudFront
|
|
1618
1888
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
1619
1889
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
1620
1890
|
# resp.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
1891
|
+
# resp.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
1621
1892
|
# resp.distribution_config.custom_error_responses.quantity #=> Integer
|
1622
1893
|
# resp.distribution_config.custom_error_responses.items #=> Array
|
1623
1894
|
# resp.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -1647,7 +1918,7 @@ module Aws::CloudFront
|
|
1647
1918
|
# resp.distribution_config.is_ipv6_enabled #=> Boolean
|
1648
1919
|
# resp.etag #=> String
|
1649
1920
|
#
|
1650
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
1921
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetDistributionConfig2017_10_30 AWS API Documentation
|
1651
1922
|
#
|
1652
1923
|
# @overload get_distribution_config(params = {})
|
1653
1924
|
# @param [Hash] params ({})
|
@@ -1656,6 +1927,175 @@ module Aws::CloudFront
|
|
1656
1927
|
req.send_request(options)
|
1657
1928
|
end
|
1658
1929
|
|
1930
|
+
# Get the field-level encryption configuration information.
|
1931
|
+
#
|
1932
|
+
# @option params [required, String] :id
|
1933
|
+
# Request the ID for the field-level encryption configuration
|
1934
|
+
# information.
|
1935
|
+
#
|
1936
|
+
# @return [Types::GetFieldLevelEncryptionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1937
|
+
#
|
1938
|
+
# * {Types::GetFieldLevelEncryptionResult#field_level_encryption #field_level_encryption} => Types::FieldLevelEncryption
|
1939
|
+
# * {Types::GetFieldLevelEncryptionResult#etag #etag} => String
|
1940
|
+
#
|
1941
|
+
# @example Request syntax with placeholder values
|
1942
|
+
#
|
1943
|
+
# resp = client.get_field_level_encryption({
|
1944
|
+
# id: "string", # required
|
1945
|
+
# })
|
1946
|
+
#
|
1947
|
+
# @example Response structure
|
1948
|
+
#
|
1949
|
+
# resp.field_level_encryption.id #=> String
|
1950
|
+
# resp.field_level_encryption.last_modified_time #=> Time
|
1951
|
+
# resp.field_level_encryption.field_level_encryption_config.caller_reference #=> String
|
1952
|
+
# resp.field_level_encryption.field_level_encryption_config.comment #=> String
|
1953
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.forward_when_query_arg_profile_is_unknown #=> Boolean
|
1954
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.quantity #=> Integer
|
1955
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items #=> Array
|
1956
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].query_arg #=> String
|
1957
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].profile_id #=> String
|
1958
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.forward_when_content_type_is_unknown #=> Boolean
|
1959
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.quantity #=> Integer
|
1960
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items #=> Array
|
1961
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
|
1962
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
1963
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
1964
|
+
# resp.etag #=> String
|
1965
|
+
#
|
1966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetFieldLevelEncryption2017_10_30 AWS API Documentation
|
1967
|
+
#
|
1968
|
+
# @overload get_field_level_encryption(params = {})
|
1969
|
+
# @param [Hash] params ({})
|
1970
|
+
def get_field_level_encryption(params = {}, options = {})
|
1971
|
+
req = build_request(:get_field_level_encryption, params)
|
1972
|
+
req.send_request(options)
|
1973
|
+
end
|
1974
|
+
|
1975
|
+
# Get the field-level encryption configuration information.
|
1976
|
+
#
|
1977
|
+
# @option params [required, String] :id
|
1978
|
+
# Request the ID for the field-level encryption configuration
|
1979
|
+
# information.
|
1980
|
+
#
|
1981
|
+
# @return [Types::GetFieldLevelEncryptionConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1982
|
+
#
|
1983
|
+
# * {Types::GetFieldLevelEncryptionConfigResult#field_level_encryption_config #field_level_encryption_config} => Types::FieldLevelEncryptionConfig
|
1984
|
+
# * {Types::GetFieldLevelEncryptionConfigResult#etag #etag} => String
|
1985
|
+
#
|
1986
|
+
# @example Request syntax with placeholder values
|
1987
|
+
#
|
1988
|
+
# resp = client.get_field_level_encryption_config({
|
1989
|
+
# id: "string", # required
|
1990
|
+
# })
|
1991
|
+
#
|
1992
|
+
# @example Response structure
|
1993
|
+
#
|
1994
|
+
# resp.field_level_encryption_config.caller_reference #=> String
|
1995
|
+
# resp.field_level_encryption_config.comment #=> String
|
1996
|
+
# resp.field_level_encryption_config.query_arg_profile_config.forward_when_query_arg_profile_is_unknown #=> Boolean
|
1997
|
+
# resp.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.quantity #=> Integer
|
1998
|
+
# resp.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items #=> Array
|
1999
|
+
# resp.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].query_arg #=> String
|
2000
|
+
# resp.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].profile_id #=> String
|
2001
|
+
# resp.field_level_encryption_config.content_type_profile_config.forward_when_content_type_is_unknown #=> Boolean
|
2002
|
+
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.quantity #=> Integer
|
2003
|
+
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items #=> Array
|
2004
|
+
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
|
2005
|
+
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
2006
|
+
# resp.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
2007
|
+
# resp.etag #=> String
|
2008
|
+
#
|
2009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetFieldLevelEncryptionConfig2017_10_30 AWS API Documentation
|
2010
|
+
#
|
2011
|
+
# @overload get_field_level_encryption_config(params = {})
|
2012
|
+
# @param [Hash] params ({})
|
2013
|
+
def get_field_level_encryption_config(params = {}, options = {})
|
2014
|
+
req = build_request(:get_field_level_encryption_config, params)
|
2015
|
+
req.send_request(options)
|
2016
|
+
end
|
2017
|
+
|
2018
|
+
# Get the field-level encryption profile information.
|
2019
|
+
#
|
2020
|
+
# @option params [required, String] :id
|
2021
|
+
# Get the ID for the field-level encryption profile information.
|
2022
|
+
#
|
2023
|
+
# @return [Types::GetFieldLevelEncryptionProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2024
|
+
#
|
2025
|
+
# * {Types::GetFieldLevelEncryptionProfileResult#field_level_encryption_profile #field_level_encryption_profile} => Types::FieldLevelEncryptionProfile
|
2026
|
+
# * {Types::GetFieldLevelEncryptionProfileResult#etag #etag} => String
|
2027
|
+
#
|
2028
|
+
# @example Request syntax with placeholder values
|
2029
|
+
#
|
2030
|
+
# resp = client.get_field_level_encryption_profile({
|
2031
|
+
# id: "string", # required
|
2032
|
+
# })
|
2033
|
+
#
|
2034
|
+
# @example Response structure
|
2035
|
+
#
|
2036
|
+
# resp.field_level_encryption_profile.id #=> String
|
2037
|
+
# resp.field_level_encryption_profile.last_modified_time #=> Time
|
2038
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.name #=> String
|
2039
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.caller_reference #=> String
|
2040
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.comment #=> String
|
2041
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.quantity #=> Integer
|
2042
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items #=> Array
|
2043
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].public_key_id #=> String
|
2044
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].provider_id #=> String
|
2045
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
|
2046
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
|
2047
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
2048
|
+
# resp.etag #=> String
|
2049
|
+
#
|
2050
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetFieldLevelEncryptionProfile2017_10_30 AWS API Documentation
|
2051
|
+
#
|
2052
|
+
# @overload get_field_level_encryption_profile(params = {})
|
2053
|
+
# @param [Hash] params ({})
|
2054
|
+
def get_field_level_encryption_profile(params = {}, options = {})
|
2055
|
+
req = build_request(:get_field_level_encryption_profile, params)
|
2056
|
+
req.send_request(options)
|
2057
|
+
end
|
2058
|
+
|
2059
|
+
# Get the field-level encryption profile configuration information.
|
2060
|
+
#
|
2061
|
+
# @option params [required, String] :id
|
2062
|
+
# Get the ID for the field-level encryption profile configuration
|
2063
|
+
# information.
|
2064
|
+
#
|
2065
|
+
# @return [Types::GetFieldLevelEncryptionProfileConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2066
|
+
#
|
2067
|
+
# * {Types::GetFieldLevelEncryptionProfileConfigResult#field_level_encryption_profile_config #field_level_encryption_profile_config} => Types::FieldLevelEncryptionProfileConfig
|
2068
|
+
# * {Types::GetFieldLevelEncryptionProfileConfigResult#etag #etag} => String
|
2069
|
+
#
|
2070
|
+
# @example Request syntax with placeholder values
|
2071
|
+
#
|
2072
|
+
# resp = client.get_field_level_encryption_profile_config({
|
2073
|
+
# id: "string", # required
|
2074
|
+
# })
|
2075
|
+
#
|
2076
|
+
# @example Response structure
|
2077
|
+
#
|
2078
|
+
# resp.field_level_encryption_profile_config.name #=> String
|
2079
|
+
# resp.field_level_encryption_profile_config.caller_reference #=> String
|
2080
|
+
# resp.field_level_encryption_profile_config.comment #=> String
|
2081
|
+
# resp.field_level_encryption_profile_config.encryption_entities.quantity #=> Integer
|
2082
|
+
# resp.field_level_encryption_profile_config.encryption_entities.items #=> Array
|
2083
|
+
# resp.field_level_encryption_profile_config.encryption_entities.items[0].public_key_id #=> String
|
2084
|
+
# resp.field_level_encryption_profile_config.encryption_entities.items[0].provider_id #=> String
|
2085
|
+
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
|
2086
|
+
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
|
2087
|
+
# resp.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
2088
|
+
# resp.etag #=> String
|
2089
|
+
#
|
2090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetFieldLevelEncryptionProfileConfig2017_10_30 AWS API Documentation
|
2091
|
+
#
|
2092
|
+
# @overload get_field_level_encryption_profile_config(params = {})
|
2093
|
+
# @param [Hash] params ({})
|
2094
|
+
def get_field_level_encryption_profile_config(params = {}, options = {})
|
2095
|
+
req = build_request(:get_field_level_encryption_profile_config, params)
|
2096
|
+
req.send_request(options)
|
2097
|
+
end
|
2098
|
+
|
1659
2099
|
# Get the information about an invalidation.
|
1660
2100
|
#
|
1661
2101
|
# @option params [required, String] :distribution_id
|
@@ -1686,7 +2126,7 @@ module Aws::CloudFront
|
|
1686
2126
|
# resp.invalidation.invalidation_batch.paths.items[0] #=> String
|
1687
2127
|
# resp.invalidation.invalidation_batch.caller_reference #=> String
|
1688
2128
|
#
|
1689
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetInvalidation2017_10_30 AWS API Documentation
|
1690
2130
|
#
|
1691
2131
|
# @overload get_invalidation(params = {})
|
1692
2132
|
# @param [Hash] params ({})
|
@@ -1695,6 +2135,74 @@ module Aws::CloudFront
|
|
1695
2135
|
req.send_request(options)
|
1696
2136
|
end
|
1697
2137
|
|
2138
|
+
# Get the public key information.
|
2139
|
+
#
|
2140
|
+
# @option params [required, String] :id
|
2141
|
+
# Request the ID for the public key.
|
2142
|
+
#
|
2143
|
+
# @return [Types::GetPublicKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2144
|
+
#
|
2145
|
+
# * {Types::GetPublicKeyResult#public_key #public_key} => Types::PublicKey
|
2146
|
+
# * {Types::GetPublicKeyResult#etag #etag} => String
|
2147
|
+
#
|
2148
|
+
# @example Request syntax with placeholder values
|
2149
|
+
#
|
2150
|
+
# resp = client.get_public_key({
|
2151
|
+
# id: "string", # required
|
2152
|
+
# })
|
2153
|
+
#
|
2154
|
+
# @example Response structure
|
2155
|
+
#
|
2156
|
+
# resp.public_key.id #=> String
|
2157
|
+
# resp.public_key.created_time #=> Time
|
2158
|
+
# resp.public_key.public_key_config.caller_reference #=> String
|
2159
|
+
# resp.public_key.public_key_config.name #=> String
|
2160
|
+
# resp.public_key.public_key_config.encoded_key #=> String
|
2161
|
+
# resp.public_key.public_key_config.comment #=> String
|
2162
|
+
# resp.etag #=> String
|
2163
|
+
#
|
2164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetPublicKey2017_10_30 AWS API Documentation
|
2165
|
+
#
|
2166
|
+
# @overload get_public_key(params = {})
|
2167
|
+
# @param [Hash] params ({})
|
2168
|
+
def get_public_key(params = {}, options = {})
|
2169
|
+
req = build_request(:get_public_key, params)
|
2170
|
+
req.send_request(options)
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
# Return public key configuration informaation
|
2174
|
+
#
|
2175
|
+
# @option params [required, String] :id
|
2176
|
+
# Request the ID for the public key configuration.
|
2177
|
+
#
|
2178
|
+
# @return [Types::GetPublicKeyConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2179
|
+
#
|
2180
|
+
# * {Types::GetPublicKeyConfigResult#public_key_config #public_key_config} => Types::PublicKeyConfig
|
2181
|
+
# * {Types::GetPublicKeyConfigResult#etag #etag} => String
|
2182
|
+
#
|
2183
|
+
# @example Request syntax with placeholder values
|
2184
|
+
#
|
2185
|
+
# resp = client.get_public_key_config({
|
2186
|
+
# id: "string", # required
|
2187
|
+
# })
|
2188
|
+
#
|
2189
|
+
# @example Response structure
|
2190
|
+
#
|
2191
|
+
# resp.public_key_config.caller_reference #=> String
|
2192
|
+
# resp.public_key_config.name #=> String
|
2193
|
+
# resp.public_key_config.encoded_key #=> String
|
2194
|
+
# resp.public_key_config.comment #=> String
|
2195
|
+
# resp.etag #=> String
|
2196
|
+
#
|
2197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetPublicKeyConfig2017_10_30 AWS API Documentation
|
2198
|
+
#
|
2199
|
+
# @overload get_public_key_config(params = {})
|
2200
|
+
# @param [Hash] params ({})
|
2201
|
+
def get_public_key_config(params = {}, options = {})
|
2202
|
+
req = build_request(:get_public_key_config, params)
|
2203
|
+
req.send_request(options)
|
2204
|
+
end
|
2205
|
+
|
1698
2206
|
# Gets information about a specified RTMP distribution, including the
|
1699
2207
|
# distribution configuration.
|
1700
2208
|
#
|
@@ -1744,7 +2252,7 @@ module Aws::CloudFront
|
|
1744
2252
|
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
|
1745
2253
|
# resp.etag #=> String
|
1746
2254
|
#
|
1747
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetStreamingDistribution2017_10_30 AWS API Documentation
|
1748
2256
|
#
|
1749
2257
|
# @overload get_streaming_distribution(params = {})
|
1750
2258
|
# @param [Hash] params ({})
|
@@ -1789,7 +2297,7 @@ module Aws::CloudFront
|
|
1789
2297
|
# resp.streaming_distribution_config.enabled #=> Boolean
|
1790
2298
|
# resp.etag #=> String
|
1791
2299
|
#
|
1792
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/GetStreamingDistributionConfig2017_10_30 AWS API Documentation
|
1793
2301
|
#
|
1794
2302
|
# @overload get_streaming_distribution_config(params = {})
|
1795
2303
|
# @param [Hash] params ({})
|
@@ -1835,7 +2343,7 @@ module Aws::CloudFront
|
|
1835
2343
|
# resp.cloud_front_origin_access_identity_list.items[0].s3_canonical_user_id #=> String
|
1836
2344
|
# resp.cloud_front_origin_access_identity_list.items[0].comment #=> String
|
1837
2345
|
#
|
1838
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListCloudFrontOriginAccessIdentities2017_10_30 AWS API Documentation
|
1839
2347
|
#
|
1840
2348
|
# @overload list_cloud_front_origin_access_identities(params = {})
|
1841
2349
|
# @param [Hash] params ({})
|
@@ -1933,6 +2441,7 @@ module Aws::CloudFront
|
|
1933
2441
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
1934
2442
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
1935
2443
|
# 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"
|
2444
|
+
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
1936
2445
|
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
1937
2446
|
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
1938
2447
|
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
@@ -1968,6 +2477,7 @@ module Aws::CloudFront
|
|
1968
2477
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
1969
2478
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
1970
2479
|
# 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"
|
2480
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
1971
2481
|
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
1972
2482
|
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
1973
2483
|
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
@@ -1992,7 +2502,7 @@ module Aws::CloudFront
|
|
1992
2502
|
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
|
1993
2503
|
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
|
1994
2504
|
#
|
1995
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListDistributions2017_10_30 AWS API Documentation
|
1996
2506
|
#
|
1997
2507
|
# @overload list_distributions(params = {})
|
1998
2508
|
# @param [Hash] params ({})
|
@@ -2099,6 +2609,7 @@ module Aws::CloudFront
|
|
2099
2609
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items #=> Array
|
2100
2610
|
# resp.distribution_list.items[0].default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
2101
2611
|
# 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"
|
2612
|
+
# resp.distribution_list.items[0].default_cache_behavior.field_level_encryption_id #=> String
|
2102
2613
|
# resp.distribution_list.items[0].cache_behaviors.quantity #=> Integer
|
2103
2614
|
# resp.distribution_list.items[0].cache_behaviors.items #=> Array
|
2104
2615
|
# resp.distribution_list.items[0].cache_behaviors.items[0].path_pattern #=> String
|
@@ -2134,6 +2645,7 @@ module Aws::CloudFront
|
|
2134
2645
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
2135
2646
|
# resp.distribution_list.items[0].cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
2136
2647
|
# 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"
|
2648
|
+
# resp.distribution_list.items[0].cache_behaviors.items[0].field_level_encryption_id #=> String
|
2137
2649
|
# resp.distribution_list.items[0].custom_error_responses.quantity #=> Integer
|
2138
2650
|
# resp.distribution_list.items[0].custom_error_responses.items #=> Array
|
2139
2651
|
# resp.distribution_list.items[0].custom_error_responses.items[0].error_code #=> Integer
|
@@ -2158,7 +2670,7 @@ module Aws::CloudFront
|
|
2158
2670
|
# resp.distribution_list.items[0].http_version #=> String, one of "http1.1", "http2"
|
2159
2671
|
# resp.distribution_list.items[0].is_ipv6_enabled #=> Boolean
|
2160
2672
|
#
|
2161
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListDistributionsByWebACLId2017_10_30 AWS API Documentation
|
2162
2674
|
#
|
2163
2675
|
# @overload list_distributions_by_web_acl_id(params = {})
|
2164
2676
|
# @param [Hash] params ({})
|
@@ -2167,6 +2679,114 @@ module Aws::CloudFront
|
|
2167
2679
|
req.send_request(options)
|
2168
2680
|
end
|
2169
2681
|
|
2682
|
+
# List all field-level encryption configurations that have been created
|
2683
|
+
# in CloudFront for this account.
|
2684
|
+
#
|
2685
|
+
# @option params [String] :marker
|
2686
|
+
# Use this when paginating results to indicate where to begin in your
|
2687
|
+
# list of configurations. The results include configurations in the list
|
2688
|
+
# that occur after the marker. To get the next page of results, set the
|
2689
|
+
# `Marker` to the value of the `NextMarker` from the current page's
|
2690
|
+
# response (which is also the ID of the last configuration on that
|
2691
|
+
# page).
|
2692
|
+
#
|
2693
|
+
# @option params [Integer] :max_items
|
2694
|
+
# The maximum number of field-level encryption configurations you want
|
2695
|
+
# in the response body.
|
2696
|
+
#
|
2697
|
+
# @return [Types::ListFieldLevelEncryptionConfigsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2698
|
+
#
|
2699
|
+
# * {Types::ListFieldLevelEncryptionConfigsResult#field_level_encryption_list #field_level_encryption_list} => Types::FieldLevelEncryptionList
|
2700
|
+
#
|
2701
|
+
# @example Request syntax with placeholder values
|
2702
|
+
#
|
2703
|
+
# resp = client.list_field_level_encryption_configs({
|
2704
|
+
# marker: "string",
|
2705
|
+
# max_items: 1,
|
2706
|
+
# })
|
2707
|
+
#
|
2708
|
+
# @example Response structure
|
2709
|
+
#
|
2710
|
+
# resp.field_level_encryption_list.next_marker #=> String
|
2711
|
+
# resp.field_level_encryption_list.max_items #=> Integer
|
2712
|
+
# resp.field_level_encryption_list.quantity #=> Integer
|
2713
|
+
# resp.field_level_encryption_list.items #=> Array
|
2714
|
+
# resp.field_level_encryption_list.items[0].id #=> String
|
2715
|
+
# resp.field_level_encryption_list.items[0].last_modified_time #=> Time
|
2716
|
+
# resp.field_level_encryption_list.items[0].comment #=> String
|
2717
|
+
# resp.field_level_encryption_list.items[0].query_arg_profile_config.forward_when_query_arg_profile_is_unknown #=> Boolean
|
2718
|
+
# resp.field_level_encryption_list.items[0].query_arg_profile_config.query_arg_profiles.quantity #=> Integer
|
2719
|
+
# resp.field_level_encryption_list.items[0].query_arg_profile_config.query_arg_profiles.items #=> Array
|
2720
|
+
# resp.field_level_encryption_list.items[0].query_arg_profile_config.query_arg_profiles.items[0].query_arg #=> String
|
2721
|
+
# resp.field_level_encryption_list.items[0].query_arg_profile_config.query_arg_profiles.items[0].profile_id #=> String
|
2722
|
+
# resp.field_level_encryption_list.items[0].content_type_profile_config.forward_when_content_type_is_unknown #=> Boolean
|
2723
|
+
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.quantity #=> Integer
|
2724
|
+
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items #=> Array
|
2725
|
+
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
|
2726
|
+
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
2727
|
+
# resp.field_level_encryption_list.items[0].content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
2728
|
+
#
|
2729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListFieldLevelEncryptionConfigs2017_10_30 AWS API Documentation
|
2730
|
+
#
|
2731
|
+
# @overload list_field_level_encryption_configs(params = {})
|
2732
|
+
# @param [Hash] params ({})
|
2733
|
+
def list_field_level_encryption_configs(params = {}, options = {})
|
2734
|
+
req = build_request(:list_field_level_encryption_configs, params)
|
2735
|
+
req.send_request(options)
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
# Request a list of field-level encryption profiles that have been
|
2739
|
+
# created in CloudFront for this account.
|
2740
|
+
#
|
2741
|
+
# @option params [String] :marker
|
2742
|
+
# Use this when paginating results to indicate where to begin in your
|
2743
|
+
# list of profiles. The results include profiles in the list that occur
|
2744
|
+
# after the marker. To get the next page of results, set the `Marker` to
|
2745
|
+
# the value of the `NextMarker` from the current page's response (which
|
2746
|
+
# is also the ID of the last profile on that page).
|
2747
|
+
#
|
2748
|
+
# @option params [Integer] :max_items
|
2749
|
+
# The maximum number of field-level encryption profiles you want in the
|
2750
|
+
# response body.
|
2751
|
+
#
|
2752
|
+
# @return [Types::ListFieldLevelEncryptionProfilesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2753
|
+
#
|
2754
|
+
# * {Types::ListFieldLevelEncryptionProfilesResult#field_level_encryption_profile_list #field_level_encryption_profile_list} => Types::FieldLevelEncryptionProfileList
|
2755
|
+
#
|
2756
|
+
# @example Request syntax with placeholder values
|
2757
|
+
#
|
2758
|
+
# resp = client.list_field_level_encryption_profiles({
|
2759
|
+
# marker: "string",
|
2760
|
+
# max_items: 1,
|
2761
|
+
# })
|
2762
|
+
#
|
2763
|
+
# @example Response structure
|
2764
|
+
#
|
2765
|
+
# resp.field_level_encryption_profile_list.next_marker #=> String
|
2766
|
+
# resp.field_level_encryption_profile_list.max_items #=> Integer
|
2767
|
+
# resp.field_level_encryption_profile_list.quantity #=> Integer
|
2768
|
+
# resp.field_level_encryption_profile_list.items #=> Array
|
2769
|
+
# resp.field_level_encryption_profile_list.items[0].id #=> String
|
2770
|
+
# resp.field_level_encryption_profile_list.items[0].last_modified_time #=> Time
|
2771
|
+
# resp.field_level_encryption_profile_list.items[0].name #=> String
|
2772
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.quantity #=> Integer
|
2773
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items #=> Array
|
2774
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].public_key_id #=> String
|
2775
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].provider_id #=> String
|
2776
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.quantity #=> Integer
|
2777
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items #=> Array
|
2778
|
+
# resp.field_level_encryption_profile_list.items[0].encryption_entities.items[0].field_patterns.items[0] #=> String
|
2779
|
+
# resp.field_level_encryption_profile_list.items[0].comment #=> String
|
2780
|
+
#
|
2781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListFieldLevelEncryptionProfiles2017_10_30 AWS API Documentation
|
2782
|
+
#
|
2783
|
+
# @overload list_field_level_encryption_profiles(params = {})
|
2784
|
+
# @param [Hash] params ({})
|
2785
|
+
def list_field_level_encryption_profiles(params = {}, options = {})
|
2786
|
+
req = build_request(:list_field_level_encryption_profiles, params)
|
2787
|
+
req.send_request(options)
|
2788
|
+
end
|
2789
|
+
|
2170
2790
|
# Lists invalidation batches.
|
2171
2791
|
#
|
2172
2792
|
# @option params [required, String] :distribution_id
|
@@ -2210,7 +2830,7 @@ module Aws::CloudFront
|
|
2210
2830
|
# resp.invalidation_list.items[0].create_time #=> Time
|
2211
2831
|
# resp.invalidation_list.items[0].status #=> String
|
2212
2832
|
#
|
2213
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListInvalidations2017_10_30 AWS API Documentation
|
2214
2834
|
#
|
2215
2835
|
# @overload list_invalidations(params = {})
|
2216
2836
|
# @param [Hash] params ({})
|
@@ -2219,6 +2839,51 @@ module Aws::CloudFront
|
|
2219
2839
|
req.send_request(options)
|
2220
2840
|
end
|
2221
2841
|
|
2842
|
+
# List all public keys that have been added to CloudFront for this
|
2843
|
+
# account.
|
2844
|
+
#
|
2845
|
+
# @option params [String] :marker
|
2846
|
+
# Use this when paginating results to indicate where to begin in your
|
2847
|
+
# list of public keys. The results include public keys in the list that
|
2848
|
+
# occur after the marker. To get the next page of results, set the
|
2849
|
+
# `Marker` to the value of the `NextMarker` from the current page's
|
2850
|
+
# response (which is also the ID of the last public key on that page).
|
2851
|
+
#
|
2852
|
+
# @option params [Integer] :max_items
|
2853
|
+
# The maximum number of public keys you want in the response body.
|
2854
|
+
#
|
2855
|
+
# @return [Types::ListPublicKeysResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2856
|
+
#
|
2857
|
+
# * {Types::ListPublicKeysResult#public_key_list #public_key_list} => Types::PublicKeyList
|
2858
|
+
#
|
2859
|
+
# @example Request syntax with placeholder values
|
2860
|
+
#
|
2861
|
+
# resp = client.list_public_keys({
|
2862
|
+
# marker: "string",
|
2863
|
+
# max_items: 1,
|
2864
|
+
# })
|
2865
|
+
#
|
2866
|
+
# @example Response structure
|
2867
|
+
#
|
2868
|
+
# resp.public_key_list.next_marker #=> String
|
2869
|
+
# resp.public_key_list.max_items #=> Integer
|
2870
|
+
# resp.public_key_list.quantity #=> Integer
|
2871
|
+
# resp.public_key_list.items #=> Array
|
2872
|
+
# resp.public_key_list.items[0].id #=> String
|
2873
|
+
# resp.public_key_list.items[0].name #=> String
|
2874
|
+
# resp.public_key_list.items[0].created_time #=> Time
|
2875
|
+
# resp.public_key_list.items[0].encoded_key #=> String
|
2876
|
+
# resp.public_key_list.items[0].comment #=> String
|
2877
|
+
#
|
2878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListPublicKeys2017_10_30 AWS API Documentation
|
2879
|
+
#
|
2880
|
+
# @overload list_public_keys(params = {})
|
2881
|
+
# @param [Hash] params ({})
|
2882
|
+
def list_public_keys(params = {}, options = {})
|
2883
|
+
req = build_request(:list_public_keys, params)
|
2884
|
+
req.send_request(options)
|
2885
|
+
end
|
2886
|
+
|
2222
2887
|
# List streaming distributions.
|
2223
2888
|
#
|
2224
2889
|
# @option params [String] :marker
|
@@ -2264,7 +2929,7 @@ module Aws::CloudFront
|
|
2264
2929
|
# resp.streaming_distribution_list.items[0].price_class #=> String, one of "PriceClass_100", "PriceClass_200", "PriceClass_All"
|
2265
2930
|
# resp.streaming_distribution_list.items[0].enabled #=> Boolean
|
2266
2931
|
#
|
2267
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListStreamingDistributions2017_10_30 AWS API Documentation
|
2268
2933
|
#
|
2269
2934
|
# @overload list_streaming_distributions(params = {})
|
2270
2935
|
# @param [Hash] params ({})
|
@@ -2294,7 +2959,7 @@ module Aws::CloudFront
|
|
2294
2959
|
# resp.tags.items[0].key #=> String
|
2295
2960
|
# resp.tags.items[0].value #=> String
|
2296
2961
|
#
|
2297
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/ListTagsForResource2017_10_30 AWS API Documentation
|
2298
2963
|
#
|
2299
2964
|
# @overload list_tags_for_resource(params = {})
|
2300
2965
|
# @param [Hash] params ({})
|
@@ -2327,7 +2992,7 @@ module Aws::CloudFront
|
|
2327
2992
|
# },
|
2328
2993
|
# })
|
2329
2994
|
#
|
2330
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
2995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/TagResource2017_10_30 AWS API Documentation
|
2331
2996
|
#
|
2332
2997
|
# @overload tag_resource(params = {})
|
2333
2998
|
# @param [Hash] params ({})
|
@@ -2355,7 +3020,7 @@ module Aws::CloudFront
|
|
2355
3020
|
# },
|
2356
3021
|
# })
|
2357
3022
|
#
|
2358
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
3023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UntagResource2017_10_30 AWS API Documentation
|
2359
3024
|
#
|
2360
3025
|
# @overload untag_resource(params = {})
|
2361
3026
|
# @param [Hash] params ({})
|
@@ -2400,7 +3065,7 @@ module Aws::CloudFront
|
|
2400
3065
|
# resp.cloud_front_origin_access_identity.cloud_front_origin_access_identity_config.comment #=> String
|
2401
3066
|
# resp.etag #=> String
|
2402
3067
|
#
|
2403
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
3068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UpdateCloudFrontOriginAccessIdentity2017_10_30 AWS API Documentation
|
2404
3069
|
#
|
2405
3070
|
# @overload update_cloud_front_origin_access_identity(params = {})
|
2406
3071
|
# @param [Hash] params ({})
|
@@ -2574,11 +3239,12 @@ module Aws::CloudFront
|
|
2574
3239
|
# quantity: 1, # required
|
2575
3240
|
# items: [
|
2576
3241
|
# {
|
2577
|
-
# lambda_function_arn: "
|
2578
|
-
# event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
|
3242
|
+
# lambda_function_arn: "LambdaFunctionARN", # required
|
3243
|
+
# event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
|
2579
3244
|
# },
|
2580
3245
|
# ],
|
2581
3246
|
# },
|
3247
|
+
# field_level_encryption_id: "string",
|
2582
3248
|
# },
|
2583
3249
|
# cache_behaviors: {
|
2584
3250
|
# quantity: 1, # required
|
@@ -2627,11 +3293,12 @@ module Aws::CloudFront
|
|
2627
3293
|
# quantity: 1, # required
|
2628
3294
|
# items: [
|
2629
3295
|
# {
|
2630
|
-
# lambda_function_arn: "
|
2631
|
-
# event_type: "viewer-request", # accepts viewer-request, viewer-response, origin-request, origin-response
|
3296
|
+
# lambda_function_arn: "LambdaFunctionARN", # required
|
3297
|
+
# event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
|
2632
3298
|
# },
|
2633
3299
|
# ],
|
2634
3300
|
# },
|
3301
|
+
# field_level_encryption_id: "string",
|
2635
3302
|
# },
|
2636
3303
|
# ],
|
2637
3304
|
# },
|
@@ -2749,6 +3416,7 @@ module Aws::CloudFront
|
|
2749
3416
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items #=> Array
|
2750
3417
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].lambda_function_arn #=> String
|
2751
3418
|
# resp.distribution.distribution_config.default_cache_behavior.lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
3419
|
+
# resp.distribution.distribution_config.default_cache_behavior.field_level_encryption_id #=> String
|
2752
3420
|
# resp.distribution.distribution_config.cache_behaviors.quantity #=> Integer
|
2753
3421
|
# resp.distribution.distribution_config.cache_behaviors.items #=> Array
|
2754
3422
|
# resp.distribution.distribution_config.cache_behaviors.items[0].path_pattern #=> String
|
@@ -2784,6 +3452,7 @@ module Aws::CloudFront
|
|
2784
3452
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items #=> Array
|
2785
3453
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].lambda_function_arn #=> String
|
2786
3454
|
# resp.distribution.distribution_config.cache_behaviors.items[0].lambda_function_associations.items[0].event_type #=> String, one of "viewer-request", "viewer-response", "origin-request", "origin-response"
|
3455
|
+
# resp.distribution.distribution_config.cache_behaviors.items[0].field_level_encryption_id #=> String
|
2787
3456
|
# resp.distribution.distribution_config.custom_error_responses.quantity #=> Integer
|
2788
3457
|
# resp.distribution.distribution_config.custom_error_responses.items #=> Array
|
2789
3458
|
# resp.distribution.distribution_config.custom_error_responses.items[0].error_code #=> Integer
|
@@ -2813,7 +3482,7 @@ module Aws::CloudFront
|
|
2813
3482
|
# resp.distribution.distribution_config.is_ipv6_enabled #=> Boolean
|
2814
3483
|
# resp.etag #=> String
|
2815
3484
|
#
|
2816
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
3485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UpdateDistribution2017_10_30 AWS API Documentation
|
2817
3486
|
#
|
2818
3487
|
# @overload update_distribution(params = {})
|
2819
3488
|
# @param [Hash] params ({})
|
@@ -2822,6 +3491,204 @@ module Aws::CloudFront
|
|
2822
3491
|
req.send_request(options)
|
2823
3492
|
end
|
2824
3493
|
|
3494
|
+
# Update a field-level encryption configuration.
|
3495
|
+
#
|
3496
|
+
# @option params [required, Types::FieldLevelEncryptionConfig] :field_level_encryption_config
|
3497
|
+
# Request to update a field-level encryption configuration.
|
3498
|
+
#
|
3499
|
+
# @option params [required, String] :id
|
3500
|
+
# The ID of the configuration you want to update.
|
3501
|
+
#
|
3502
|
+
# @option params [String] :if_match
|
3503
|
+
# The value of the `ETag` header that you received when retrieving the
|
3504
|
+
# configuration identity to update. For example: `E2QWRUHAPOMQZL`.
|
3505
|
+
#
|
3506
|
+
# @return [Types::UpdateFieldLevelEncryptionConfigResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3507
|
+
#
|
3508
|
+
# * {Types::UpdateFieldLevelEncryptionConfigResult#field_level_encryption #field_level_encryption} => Types::FieldLevelEncryption
|
3509
|
+
# * {Types::UpdateFieldLevelEncryptionConfigResult#etag #etag} => String
|
3510
|
+
#
|
3511
|
+
# @example Request syntax with placeholder values
|
3512
|
+
#
|
3513
|
+
# resp = client.update_field_level_encryption_config({
|
3514
|
+
# field_level_encryption_config: { # required
|
3515
|
+
# caller_reference: "string", # required
|
3516
|
+
# comment: "string",
|
3517
|
+
# query_arg_profile_config: {
|
3518
|
+
# forward_when_query_arg_profile_is_unknown: false, # required
|
3519
|
+
# query_arg_profiles: {
|
3520
|
+
# quantity: 1, # required
|
3521
|
+
# items: [
|
3522
|
+
# {
|
3523
|
+
# query_arg: "string", # required
|
3524
|
+
# profile_id: "string", # required
|
3525
|
+
# },
|
3526
|
+
# ],
|
3527
|
+
# },
|
3528
|
+
# },
|
3529
|
+
# content_type_profile_config: {
|
3530
|
+
# forward_when_content_type_is_unknown: false, # required
|
3531
|
+
# content_type_profiles: {
|
3532
|
+
# quantity: 1, # required
|
3533
|
+
# items: [
|
3534
|
+
# {
|
3535
|
+
# format: "URLEncoded", # required, accepts URLEncoded
|
3536
|
+
# profile_id: "string",
|
3537
|
+
# content_type: "string", # required
|
3538
|
+
# },
|
3539
|
+
# ],
|
3540
|
+
# },
|
3541
|
+
# },
|
3542
|
+
# },
|
3543
|
+
# id: "string", # required
|
3544
|
+
# if_match: "string",
|
3545
|
+
# })
|
3546
|
+
#
|
3547
|
+
# @example Response structure
|
3548
|
+
#
|
3549
|
+
# resp.field_level_encryption.id #=> String
|
3550
|
+
# resp.field_level_encryption.last_modified_time #=> Time
|
3551
|
+
# resp.field_level_encryption.field_level_encryption_config.caller_reference #=> String
|
3552
|
+
# resp.field_level_encryption.field_level_encryption_config.comment #=> String
|
3553
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.forward_when_query_arg_profile_is_unknown #=> Boolean
|
3554
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.quantity #=> Integer
|
3555
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items #=> Array
|
3556
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].query_arg #=> String
|
3557
|
+
# resp.field_level_encryption.field_level_encryption_config.query_arg_profile_config.query_arg_profiles.items[0].profile_id #=> String
|
3558
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.forward_when_content_type_is_unknown #=> Boolean
|
3559
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.quantity #=> Integer
|
3560
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items #=> Array
|
3561
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].format #=> String, one of "URLEncoded"
|
3562
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].profile_id #=> String
|
3563
|
+
# resp.field_level_encryption.field_level_encryption_config.content_type_profile_config.content_type_profiles.items[0].content_type #=> String
|
3564
|
+
# resp.etag #=> String
|
3565
|
+
#
|
3566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UpdateFieldLevelEncryptionConfig2017_10_30 AWS API Documentation
|
3567
|
+
#
|
3568
|
+
# @overload update_field_level_encryption_config(params = {})
|
3569
|
+
# @param [Hash] params ({})
|
3570
|
+
def update_field_level_encryption_config(params = {}, options = {})
|
3571
|
+
req = build_request(:update_field_level_encryption_config, params)
|
3572
|
+
req.send_request(options)
|
3573
|
+
end
|
3574
|
+
|
3575
|
+
# Update a field-level encryption profile.
|
3576
|
+
#
|
3577
|
+
# @option params [required, Types::FieldLevelEncryptionProfileConfig] :field_level_encryption_profile_config
|
3578
|
+
# Request to update a field-level encryption profile.
|
3579
|
+
#
|
3580
|
+
# @option params [required, String] :id
|
3581
|
+
# The ID of the field-level encryption profile request.
|
3582
|
+
#
|
3583
|
+
# @option params [String] :if_match
|
3584
|
+
# The value of the `ETag` header that you received when retrieving the
|
3585
|
+
# profile identity to update. For example: `E2QWRUHAPOMQZL`.
|
3586
|
+
#
|
3587
|
+
# @return [Types::UpdateFieldLevelEncryptionProfileResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3588
|
+
#
|
3589
|
+
# * {Types::UpdateFieldLevelEncryptionProfileResult#field_level_encryption_profile #field_level_encryption_profile} => Types::FieldLevelEncryptionProfile
|
3590
|
+
# * {Types::UpdateFieldLevelEncryptionProfileResult#etag #etag} => String
|
3591
|
+
#
|
3592
|
+
# @example Request syntax with placeholder values
|
3593
|
+
#
|
3594
|
+
# resp = client.update_field_level_encryption_profile({
|
3595
|
+
# field_level_encryption_profile_config: { # required
|
3596
|
+
# name: "string", # required
|
3597
|
+
# caller_reference: "string", # required
|
3598
|
+
# comment: "string",
|
3599
|
+
# encryption_entities: { # required
|
3600
|
+
# quantity: 1, # required
|
3601
|
+
# items: [
|
3602
|
+
# {
|
3603
|
+
# public_key_id: "string", # required
|
3604
|
+
# provider_id: "string", # required
|
3605
|
+
# field_patterns: { # required
|
3606
|
+
# quantity: 1, # required
|
3607
|
+
# items: ["string"],
|
3608
|
+
# },
|
3609
|
+
# },
|
3610
|
+
# ],
|
3611
|
+
# },
|
3612
|
+
# },
|
3613
|
+
# id: "string", # required
|
3614
|
+
# if_match: "string",
|
3615
|
+
# })
|
3616
|
+
#
|
3617
|
+
# @example Response structure
|
3618
|
+
#
|
3619
|
+
# resp.field_level_encryption_profile.id #=> String
|
3620
|
+
# resp.field_level_encryption_profile.last_modified_time #=> Time
|
3621
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.name #=> String
|
3622
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.caller_reference #=> String
|
3623
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.comment #=> String
|
3624
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.quantity #=> Integer
|
3625
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items #=> Array
|
3626
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].public_key_id #=> String
|
3627
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].provider_id #=> String
|
3628
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.quantity #=> Integer
|
3629
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items #=> Array
|
3630
|
+
# resp.field_level_encryption_profile.field_level_encryption_profile_config.encryption_entities.items[0].field_patterns.items[0] #=> String
|
3631
|
+
# resp.etag #=> String
|
3632
|
+
#
|
3633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UpdateFieldLevelEncryptionProfile2017_10_30 AWS API Documentation
|
3634
|
+
#
|
3635
|
+
# @overload update_field_level_encryption_profile(params = {})
|
3636
|
+
# @param [Hash] params ({})
|
3637
|
+
def update_field_level_encryption_profile(params = {}, options = {})
|
3638
|
+
req = build_request(:update_field_level_encryption_profile, params)
|
3639
|
+
req.send_request(options)
|
3640
|
+
end
|
3641
|
+
|
3642
|
+
# Update public key information. Note that the only value you can change
|
3643
|
+
# is the comment.
|
3644
|
+
#
|
3645
|
+
# @option params [required, Types::PublicKeyConfig] :public_key_config
|
3646
|
+
# Request to update public key information.
|
3647
|
+
#
|
3648
|
+
# @option params [required, String] :id
|
3649
|
+
# ID of the public key to be updated.
|
3650
|
+
#
|
3651
|
+
# @option params [String] :if_match
|
3652
|
+
# The value of the `ETag` header that you received when retrieving the
|
3653
|
+
# public key to update. For example: `E2QWRUHAPOMQZL`.
|
3654
|
+
#
|
3655
|
+
# @return [Types::UpdatePublicKeyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3656
|
+
#
|
3657
|
+
# * {Types::UpdatePublicKeyResult#public_key #public_key} => Types::PublicKey
|
3658
|
+
# * {Types::UpdatePublicKeyResult#etag #etag} => String
|
3659
|
+
#
|
3660
|
+
# @example Request syntax with placeholder values
|
3661
|
+
#
|
3662
|
+
# resp = client.update_public_key({
|
3663
|
+
# public_key_config: { # required
|
3664
|
+
# caller_reference: "string", # required
|
3665
|
+
# name: "string", # required
|
3666
|
+
# encoded_key: "string", # required
|
3667
|
+
# comment: "string",
|
3668
|
+
# },
|
3669
|
+
# id: "string", # required
|
3670
|
+
# if_match: "string",
|
3671
|
+
# })
|
3672
|
+
#
|
3673
|
+
# @example Response structure
|
3674
|
+
#
|
3675
|
+
# resp.public_key.id #=> String
|
3676
|
+
# resp.public_key.created_time #=> Time
|
3677
|
+
# resp.public_key.public_key_config.caller_reference #=> String
|
3678
|
+
# resp.public_key.public_key_config.name #=> String
|
3679
|
+
# resp.public_key.public_key_config.encoded_key #=> String
|
3680
|
+
# resp.public_key.public_key_config.comment #=> String
|
3681
|
+
# resp.etag #=> String
|
3682
|
+
#
|
3683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UpdatePublicKey2017_10_30 AWS API Documentation
|
3684
|
+
#
|
3685
|
+
# @overload update_public_key(params = {})
|
3686
|
+
# @param [Hash] params ({})
|
3687
|
+
def update_public_key(params = {}, options = {})
|
3688
|
+
req = build_request(:update_public_key, params)
|
3689
|
+
req.send_request(options)
|
3690
|
+
end
|
3691
|
+
|
2825
3692
|
# Update a streaming distribution.
|
2826
3693
|
#
|
2827
3694
|
# @option params [required, Types::StreamingDistributionConfig] :streaming_distribution_config
|
@@ -2903,7 +3770,7 @@ module Aws::CloudFront
|
|
2903
3770
|
# resp.streaming_distribution.streaming_distribution_config.enabled #=> Boolean
|
2904
3771
|
# resp.etag #=> String
|
2905
3772
|
#
|
2906
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-
|
3773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-10-30/UpdateStreamingDistribution2017_10_30 AWS API Documentation
|
2907
3774
|
#
|
2908
3775
|
# @overload update_streaming_distribution(params = {})
|
2909
3776
|
# @param [Hash] params ({})
|
@@ -2925,7 +3792,7 @@ module Aws::CloudFront
|
|
2925
3792
|
params: params,
|
2926
3793
|
config: config)
|
2927
3794
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
2928
|
-
context[:gem_version] = '1.
|
3795
|
+
context[:gem_version] = '1.2.0'
|
2929
3796
|
Seahorse::Client::Request.new(handlers, context)
|
2930
3797
|
end
|
2931
3798
|
|