aws-sdk 1.8.5 → 1.9.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 +7 -0
- data/.yardopts +1 -0
- data/README.rdoc +8 -0
- data/lib/aws-sdk.rb +39 -35
- data/lib/aws/api_config/CloudFront-2012-07-01.yml +2398 -0
- data/lib/aws/api_config/DirectConnect-2012-10-25.yml +475 -0
- data/lib/aws/api_config/DynamoDB-2011-12-05.yml +8 -0
- data/lib/aws/api_config/DynamoDB-2012-08-10.yml +1516 -0
- data/lib/aws/api_config/OpsWorks-2013-02-18.yml +2 -2
- data/lib/aws/auto_scaling.rb +44 -44
- data/lib/aws/auto_scaling/activity.rb +1 -1
- data/lib/aws/auto_scaling/activity_collection.rb +14 -15
- data/lib/aws/auto_scaling/client.rb +277 -277
- data/lib/aws/auto_scaling/config.rb +1 -1
- data/lib/aws/auto_scaling/group.rb +35 -36
- data/lib/aws/auto_scaling/group_collection.rb +10 -10
- data/lib/aws/auto_scaling/group_options.rb +19 -19
- data/lib/aws/auto_scaling/instance.rb +27 -27
- data/lib/aws/auto_scaling/instance_collection.rb +10 -10
- data/lib/aws/auto_scaling/launch_configuration.rb +3 -3
- data/lib/aws/auto_scaling/launch_configuration_collection.rb +1 -1
- data/lib/aws/auto_scaling/notification_configuration.rb +2 -2
- data/lib/aws/auto_scaling/notification_configuration_collection.rb +37 -38
- data/lib/aws/auto_scaling/scaling_policy.rb +3 -3
- data/lib/aws/auto_scaling/scaling_policy_collection.rb +6 -6
- data/lib/aws/auto_scaling/scaling_policy_options.rb +8 -7
- data/lib/aws/auto_scaling/scheduled_action.rb +3 -3
- data/lib/aws/auto_scaling/scheduled_action_collection.rb +28 -28
- data/lib/aws/auto_scaling/tag_collection.rb +30 -28
- data/lib/aws/cloud_formation.rb +95 -94
- data/lib/aws/cloud_formation/client.rb +136 -133
- data/lib/aws/cloud_formation/config.rb +1 -1
- data/lib/aws/cloud_formation/stack.rb +37 -37
- data/lib/aws/cloud_formation/stack_collection.rb +28 -27
- data/lib/aws/cloud_formation/stack_event.rb +9 -11
- data/lib/aws/cloud_formation/stack_output.rb +1 -1
- data/lib/aws/cloud_formation/stack_resource.rb +6 -6
- data/lib/aws/cloud_formation/stack_resource_collection.rb +11 -12
- data/lib/aws/cloud_formation/stack_resource_summary_collection.rb +11 -11
- data/lib/aws/cloud_formation/stack_summary_collection.rb +39 -39
- data/lib/aws/cloud_front.rb +21 -21
- data/lib/aws/cloud_front/client.rb +853 -652
- data/lib/aws/cloud_front/request.rb +3 -0
- data/lib/aws/cloud_search.rb +22 -22
- data/lib/aws/cloud_search/client.rb +322 -315
- data/lib/aws/cloud_search/config.rb +1 -1
- data/lib/aws/cloud_watch.rb +39 -39
- data/lib/aws/cloud_watch/alarm.rb +55 -37
- data/lib/aws/cloud_watch/alarm_collection.rb +18 -18
- data/lib/aws/cloud_watch/alarm_history_item_collection.rb +2 -2
- data/lib/aws/cloud_watch/client.rb +360 -146
- data/lib/aws/cloud_watch/config.rb +1 -1
- data/lib/aws/cloud_watch/metric.rb +15 -15
- data/lib/aws/cloud_watch/metric_alarm_collection.rb +17 -17
- data/lib/aws/cloud_watch/metric_collection.rb +16 -16
- data/lib/aws/cloud_watch/metric_statistics.rb +11 -11
- data/lib/aws/core.rb +243 -225
- data/lib/aws/core/async_handle.rb +13 -13
- data/lib/aws/core/cacheable.rb +14 -15
- data/lib/aws/core/client.rb +40 -15
- data/lib/aws/core/collection.rb +42 -46
- data/lib/aws/core/collection/with_limit_and_next_token.rb +1 -1
- data/lib/aws/core/collection/with_next_token.rb +1 -1
- data/lib/aws/core/configuration.rb +97 -133
- data/lib/aws/core/credential_providers.rb +16 -16
- data/lib/aws/core/data.rb +23 -23
- data/lib/aws/core/http/connection_pool.rb +348 -0
- data/lib/aws/core/http/net_http_handler.rb +17 -26
- data/lib/aws/core/http/patch.rb +102 -0
- data/lib/aws/core/http/request.rb +13 -19
- data/lib/aws/core/http/response.rb +2 -2
- data/lib/aws/core/lazy_error_classes.rb +17 -17
- data/lib/aws/core/log_formatter.rb +70 -104
- data/lib/aws/core/options/json_serializer.rb +1 -1
- data/lib/aws/core/options/validator.rb +4 -4
- data/lib/aws/core/page_result.rb +8 -8
- data/lib/aws/core/policy.rb +49 -49
- data/lib/aws/core/region.rb +72 -0
- data/lib/aws/core/region_collection.rb +106 -0
- data/lib/aws/core/resource.rb +5 -5
- data/lib/aws/core/response.rb +20 -17
- data/lib/aws/core/rest_request_builder.rb +4 -4
- data/lib/aws/core/service_interface.rb +24 -2
- data/lib/aws/core/signature/version_3.rb +2 -2
- data/lib/aws/core/uri_escape.rb +1 -1
- data/lib/aws/core/xml/frame_stack.rb +1 -1
- data/lib/aws/core/xml/grammar.rb +3 -4
- data/lib/aws/core/xml/sax_handlers/libxml.rb +2 -2
- data/lib/aws/core/xml/sax_handlers/nokogiri.rb +3 -3
- data/lib/aws/core/xml/sax_handlers/rexml.rb +5 -5
- data/lib/aws/core/xml/stub.rb +9 -9
- data/lib/aws/data_pipeline.rb +21 -21
- data/lib/aws/data_pipeline/client.rb +189 -133
- data/lib/aws/data_pipeline/config.rb +1 -1
- data/lib/aws/direct_connect.rb +74 -0
- data/lib/aws/direct_connect/client.rb +253 -0
- data/lib/aws/direct_connect/config.rb +18 -0
- data/lib/aws/direct_connect/errors.rb +22 -0
- data/lib/aws/direct_connect/request.rb +27 -0
- data/lib/aws/dynamo_db.rb +71 -69
- data/lib/aws/dynamo_db/attribute_collection.rb +53 -58
- data/lib/aws/dynamo_db/batch_get.rb +23 -23
- data/lib/aws/dynamo_db/batch_write.rb +43 -43
- data/lib/aws/dynamo_db/binary.rb +9 -9
- data/lib/aws/dynamo_db/client.rb +494 -509
- data/lib/aws/dynamo_db/client_base.rb +91 -0
- data/lib/aws/dynamo_db/client_v2.rb +825 -0
- data/lib/aws/dynamo_db/config.rb +1 -1
- data/lib/aws/dynamo_db/item.rb +10 -10
- data/lib/aws/dynamo_db/item_collection.rb +75 -75
- data/lib/aws/dynamo_db/table.rb +85 -85
- data/lib/aws/dynamo_db/table_collection.rb +13 -13
- data/lib/aws/ec2.rb +132 -142
- data/lib/aws/ec2/attachment.rb +31 -36
- data/lib/aws/ec2/attachment_collection.rb +1 -1
- data/lib/aws/ec2/availability_zone.rb +4 -4
- data/lib/aws/ec2/client.rb +2272 -2125
- data/lib/aws/ec2/config.rb +1 -1
- data/lib/aws/ec2/customer_gateway.rb +6 -6
- data/lib/aws/ec2/customer_gateway_collection.rb +6 -6
- data/lib/aws/ec2/dhcp_options.rb +3 -3
- data/lib/aws/ec2/dhcp_options_collection.rb +10 -10
- data/lib/aws/ec2/elastic_ip.rb +15 -15
- data/lib/aws/ec2/elastic_ip_collection.rb +11 -15
- data/lib/aws/ec2/export_task.rb +4 -4
- data/lib/aws/ec2/export_task_collection.rb +11 -11
- data/lib/aws/ec2/filtered_collection.rb +6 -8
- data/lib/aws/ec2/image.rb +46 -40
- data/lib/aws/ec2/image_collection.rb +44 -52
- data/lib/aws/ec2/instance.rb +64 -62
- data/lib/aws/ec2/instance_collection.rb +47 -50
- data/lib/aws/ec2/internet_gateway.rb +6 -6
- data/lib/aws/ec2/internet_gateway/attachment.rb +13 -13
- data/lib/aws/ec2/internet_gateway_collection.rb +3 -3
- data/lib/aws/ec2/key_pair.rb +3 -3
- data/lib/aws/ec2/key_pair_collection.rb +12 -12
- data/lib/aws/ec2/network_acl.rb +39 -39
- data/lib/aws/ec2/network_acl/association.rb +2 -2
- data/lib/aws/ec2/network_acl/entry.rb +22 -22
- data/lib/aws/ec2/network_acl_collection.rb +2 -2
- data/lib/aws/ec2/network_interface.rb +13 -4
- data/lib/aws/ec2/network_interface/attachment.rb +3 -3
- data/lib/aws/ec2/network_interface_collection.rb +5 -5
- data/lib/aws/ec2/permission_collection.rb +1 -1
- data/lib/aws/ec2/region.rb +6 -6
- data/lib/aws/ec2/region_collection.rb +1 -1
- data/lib/aws/ec2/reserved_instances_collection.rb +2 -2
- data/lib/aws/ec2/reserved_instances_offering_collection.rb +2 -2
- data/lib/aws/ec2/resource_tag_collection.rb +5 -5
- data/lib/aws/ec2/route_table.rb +14 -14
- data/lib/aws/ec2/route_table/association.rb +22 -22
- data/lib/aws/ec2/route_table/route.rb +8 -8
- data/lib/aws/ec2/route_table_collection.rb +3 -3
- data/lib/aws/ec2/security_group.rb +39 -41
- data/lib/aws/ec2/security_group_collection.rb +19 -21
- data/lib/aws/ec2/snapshot.rb +3 -3
- data/lib/aws/ec2/snapshot_collection.rb +11 -12
- data/lib/aws/ec2/subnet.rb +2 -2
- data/lib/aws/ec2/subnet_collection.rb +17 -17
- data/lib/aws/ec2/tag_collection.rb +1 -1
- data/lib/aws/ec2/tagged_collection.rb +7 -7
- data/lib/aws/ec2/tagged_item.rb +10 -10
- data/lib/aws/ec2/volume.rb +16 -16
- data/lib/aws/ec2/volume_collection.rb +9 -12
- data/lib/aws/ec2/vpc.rb +6 -6
- data/lib/aws/ec2/vpc_collection.rb +10 -10
- data/lib/aws/ec2/vpn_connection.rb +4 -4
- data/lib/aws/ec2/vpn_connection/telemetry.rb +1 -1
- data/lib/aws/ec2/vpn_connection_collection.rb +6 -6
- data/lib/aws/ec2/vpn_gateway.rb +2 -2
- data/lib/aws/ec2/vpn_gateway_collection.rb +5 -5
- data/lib/aws/elastic_beanstalk.rb +12 -12
- data/lib/aws/elastic_beanstalk/client.rb +376 -368
- data/lib/aws/elastic_beanstalk/config.rb +1 -1
- data/lib/aws/elastic_transcoder.rb +5 -5
- data/lib/aws/elastic_transcoder/client.rb +283 -283
- data/lib/aws/elastic_transcoder/config.rb +1 -1
- data/lib/aws/elasticache.rb +12 -12
- data/lib/aws/elasticache/client.rb +484 -479
- data/lib/aws/elasticache/config.rb +1 -1
- data/lib/aws/elb.rb +23 -23
- data/lib/aws/elb/availability_zone_collection.rb +34 -34
- data/lib/aws/elb/backend_server_policy_collection.rb +24 -24
- data/lib/aws/elb/client.rb +153 -153
- data/lib/aws/elb/config.rb +1 -1
- data/lib/aws/elb/errors.rb +1 -1
- data/lib/aws/elb/instance_collection.rb +20 -25
- data/lib/aws/elb/listener.rb +3 -3
- data/lib/aws/elb/listener_collection.rb +8 -8
- data/lib/aws/elb/load_balancer.rb +15 -16
- data/lib/aws/elb/load_balancer_collection.rb +36 -24
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +5 -5
- data/lib/aws/emr.rb +28 -26
- data/lib/aws/emr/client.rb +165 -149
- data/lib/aws/emr/config.rb +1 -1
- data/lib/aws/emr/instance_group.rb +1 -1
- data/lib/aws/emr/instance_group_collection.rb +1 -1
- data/lib/aws/emr/job_flow.rb +27 -26
- data/lib/aws/emr/job_flow_collection.rb +34 -34
- data/lib/aws/errors.rb +7 -7
- data/lib/aws/glacier.rb +21 -21
- data/lib/aws/glacier/archive_collection.rb +2 -2
- data/lib/aws/glacier/client.rb +139 -140
- data/lib/aws/glacier/config.rb +1 -1
- data/lib/aws/glacier/vault.rb +2 -2
- data/lib/aws/glacier/vault_collection.rb +1 -1
- data/lib/aws/iam.rb +133 -144
- data/lib/aws/iam/access_key.rb +17 -17
- data/lib/aws/iam/access_key_collection.rb +22 -22
- data/lib/aws/iam/account_alias_collection.rb +2 -2
- data/lib/aws/iam/client.rb +429 -420
- data/lib/aws/iam/collection.rb +1 -1
- data/lib/aws/iam/config.rb +2 -2
- data/lib/aws/iam/group.rb +8 -8
- data/lib/aws/iam/group_collection.rb +16 -16
- data/lib/aws/iam/group_policy_collection.rb +6 -6
- data/lib/aws/iam/group_user_collection.rb +3 -3
- data/lib/aws/iam/mfa_device.rb +1 -1
- data/lib/aws/iam/mfa_device_collection.rb +9 -9
- data/lib/aws/iam/policy_collection.rb +4 -4
- data/lib/aws/iam/resource.rb +2 -2
- data/lib/aws/iam/server_certificate.rb +1 -1
- data/lib/aws/iam/server_certificate_collection.rb +15 -15
- data/lib/aws/iam/signing_certificate.rb +29 -29
- data/lib/aws/iam/signing_certificate_collection.rb +23 -23
- data/lib/aws/iam/user.rb +33 -38
- data/lib/aws/iam/user_collection.rb +27 -27
- data/lib/aws/iam/user_group_collection.rb +3 -3
- data/lib/aws/iam/user_policy_collection.rb +6 -6
- data/lib/aws/iam/virtual_mfa_device.rb +12 -12
- data/lib/aws/iam/virtual_mfa_device_collection.rb +4 -4
- data/lib/aws/import_export.rb +22 -21
- data/lib/aws/import_export/client.rb +47 -43
- data/lib/aws/ops_works.rb +5 -5
- data/lib/aws/ops_works/client.rb +484 -438
- data/lib/aws/ops_works/config.rb +1 -1
- data/lib/aws/rails.rb +34 -34
- data/lib/aws/rds.rb +18 -18
- data/lib/aws/rds/client.rb +1286 -1277
- data/lib/aws/rds/config.rb +1 -1
- data/lib/aws/rds/db_instance.rb +15 -4
- data/lib/aws/rds/db_snapshot.rb +1 -1
- data/lib/aws/record.rb +50 -24
- data/lib/aws/record/abstract_base.rb +52 -60
- data/lib/aws/record/attributes.rb +79 -79
- data/lib/aws/record/conversion.rb +1 -1
- data/lib/aws/record/dirty_tracking.rb +69 -67
- data/lib/aws/record/errors.rb +21 -21
- data/lib/aws/record/exceptions.rb +2 -2
- data/lib/aws/record/hash_model.rb +20 -21
- data/lib/aws/record/hash_model/attributes.rb +13 -15
- data/lib/aws/record/hash_model/finder_methods.rb +46 -46
- data/lib/aws/record/hash_model/scope.rb +31 -31
- data/lib/aws/record/model.rb +136 -136
- data/lib/aws/record/model/attributes.rb +57 -59
- data/lib/aws/record/model/finder_methods.rb +67 -67
- data/lib/aws/record/model/scope.rb +48 -49
- data/lib/aws/record/naming.rb +1 -1
- data/lib/aws/record/scope.rb +23 -19
- data/lib/aws/record/validations.rb +253 -271
- data/lib/aws/record/validator.rb +3 -3
- data/lib/aws/record/validators/acceptance.rb +1 -3
- data/lib/aws/record/validators/block.rb +1 -3
- data/lib/aws/record/validators/confirmation.rb +1 -3
- data/lib/aws/record/validators/count.rb +2 -4
- data/lib/aws/record/validators/exclusion.rb +2 -4
- data/lib/aws/record/validators/format.rb +2 -4
- data/lib/aws/record/validators/inclusion.rb +1 -3
- data/lib/aws/record/validators/length.rb +5 -7
- data/lib/aws/record/validators/method.rb +1 -3
- data/lib/aws/record/validators/numericality.rb +6 -8
- data/lib/aws/record/validators/presence.rb +1 -3
- data/lib/aws/redshift.rb +14 -14
- data/lib/aws/redshift/client.rb +596 -592
- data/lib/aws/redshift/config.rb +1 -1
- data/lib/aws/route_53.rb +30 -30
- data/lib/aws/route_53/change_batch.rb +7 -7
- data/lib/aws/route_53/client.rb +188 -152
- data/lib/aws/route_53/hosted_zone.rb +4 -4
- data/lib/aws/route_53/hosted_zone_collection.rb +7 -7
- data/lib/aws/route_53/resource_record_set.rb +10 -10
- data/lib/aws/route_53/resource_record_set_collection.rb +6 -6
- data/lib/aws/s3.rb +79 -79
- data/lib/aws/s3/access_control_list.rb +44 -36
- data/lib/aws/s3/acl_options.rb +51 -51
- data/lib/aws/s3/bucket.rb +146 -146
- data/lib/aws/s3/bucket_collection.rb +21 -21
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +81 -82
- data/lib/aws/s3/bucket_tag_collection.rb +4 -2
- data/lib/aws/s3/cipher_io.rb +5 -4
- data/lib/aws/s3/client.rb +89 -84
- data/lib/aws/s3/client/xml.rb +1 -1
- data/lib/aws/s3/config.rb +7 -1
- data/lib/aws/s3/cors_rule.rb +2 -0
- data/lib/aws/s3/cors_rule_collection.rb +42 -40
- data/lib/aws/s3/data_options.rb +16 -11
- data/lib/aws/s3/encryption_utils.rb +2 -2
- data/lib/aws/s3/errors.rb +7 -7
- data/lib/aws/s3/multipart_upload.rb +30 -33
- data/lib/aws/s3/multipart_upload_collection.rb +8 -6
- data/lib/aws/s3/object_collection.rb +35 -35
- data/lib/aws/s3/object_metadata.rb +6 -6
- data/lib/aws/s3/object_version.rb +4 -4
- data/lib/aws/s3/object_version_collection.rb +15 -15
- data/lib/aws/s3/policy.rb +2 -2
- data/lib/aws/s3/prefixed_collection.rb +9 -5
- data/lib/aws/s3/presigned_post.rb +39 -37
- data/lib/aws/s3/request.rb +11 -11
- data/lib/aws/s3/s3_object.rb +210 -200
- data/lib/aws/s3/tree.rb +25 -27
- data/lib/aws/s3/tree/child_collection.rb +3 -3
- data/lib/aws/s3/tree/leaf_node.rb +2 -2
- data/lib/aws/s3/tree/parent.rb +1 -1
- data/lib/aws/s3/website_configuration.rb +13 -13
- data/lib/aws/simple_db.rb +83 -83
- data/lib/aws/simple_db/attribute.rb +9 -7
- data/lib/aws/simple_db/attribute_collection.rb +22 -13
- data/lib/aws/simple_db/client.rb +107 -107
- data/lib/aws/simple_db/config.rb +7 -1
- data/lib/aws/simple_db/consistent_read_option.rb +5 -5
- data/lib/aws/simple_db/domain.rb +4 -2
- data/lib/aws/simple_db/domain_collection.rb +4 -4
- data/lib/aws/simple_db/domain_metadata.rb +5 -5
- data/lib/aws/simple_db/errors.rb +9 -9
- data/lib/aws/simple_db/item.rb +5 -5
- data/lib/aws/simple_db/item_collection.rb +83 -81
- data/lib/aws/simple_db/item_data.rb +4 -4
- data/lib/aws/simple_db/put_attributes.rb +3 -3
- data/lib/aws/simple_email_service.rb +140 -140
- data/lib/aws/simple_email_service/client.rb +82 -76
- data/lib/aws/simple_email_service/config.rb +1 -2
- data/lib/aws/simple_email_service/email_address_collection.rb +3 -3
- data/lib/aws/simple_email_service/identity.rb +8 -8
- data/lib/aws/simple_email_service/quotas.rb +8 -6
- data/lib/aws/simple_workflow.rb +106 -106
- data/lib/aws/simple_workflow/activity_task.rb +15 -22
- data/lib/aws/simple_workflow/activity_task_collection.rb +15 -15
- data/lib/aws/simple_workflow/activity_type.rb +23 -23
- data/lib/aws/simple_workflow/activity_type_collection.rb +23 -23
- data/lib/aws/simple_workflow/client.rb +1004 -956
- data/lib/aws/simple_workflow/config.rb +1 -1
- data/lib/aws/simple_workflow/count.rb +5 -5
- data/lib/aws/simple_workflow/decision_task.rb +129 -129
- data/lib/aws/simple_workflow/decision_task_collection.rb +59 -59
- data/lib/aws/simple_workflow/domain.rb +11 -11
- data/lib/aws/simple_workflow/domain_collection.rb +26 -26
- data/lib/aws/simple_workflow/history_event.rb +32 -32
- data/lib/aws/simple_workflow/history_event_collection.rb +3 -3
- data/lib/aws/simple_workflow/option_formatters.rb +5 -5
- data/lib/aws/simple_workflow/request.rb +1 -1
- data/lib/aws/simple_workflow/resource.rb +1 -1
- data/lib/aws/simple_workflow/type.rb +8 -8
- data/lib/aws/simple_workflow/type_collection.rb +15 -15
- data/lib/aws/simple_workflow/workflow_execution.rb +70 -72
- data/lib/aws/simple_workflow/workflow_execution_collection.rb +130 -130
- data/lib/aws/simple_workflow/workflow_type.rb +27 -25
- data/lib/aws/simple_workflow/workflow_type_collection.rb +20 -20
- data/lib/aws/sns.rb +25 -25
- data/lib/aws/sns/client.rb +55 -55
- data/lib/aws/sns/config.rb +1 -1
- data/lib/aws/sns/policy.rb +1 -1
- data/lib/aws/sns/subscription.rb +7 -7
- data/lib/aws/sns/subscription_collection.rb +5 -5
- data/lib/aws/sns/topic.rb +49 -49
- data/lib/aws/sns/topic_collection.rb +2 -2
- data/lib/aws/sns/topic_subscription_collection.rb +5 -5
- data/lib/aws/sqs.rb +20 -20
- data/lib/aws/sqs/client.rb +78 -78
- data/lib/aws/sqs/config.rb +1 -1
- data/lib/aws/sqs/errors.rb +12 -12
- data/lib/aws/sqs/queue.rb +66 -67
- data/lib/aws/sqs/queue_collection.rb +16 -8
- data/lib/aws/sqs/received_message.rb +7 -6
- data/lib/aws/storage_gateway.rb +21 -21
- data/lib/aws/storage_gateway/client.rb +269 -202
- data/lib/aws/storage_gateway/config.rb +1 -1
- data/lib/aws/sts.rb +10 -8
- data/lib/aws/sts/client.rb +35 -35
- data/lib/aws/sts/session.rb +3 -3
- data/lib/aws/version.rb +1 -2
- metadata +23 -21
- data/lib/aws/core/autoloader.rb +0 -64
- data/lib/net/http/connection_pool.rb +0 -226
- data/lib/net/http/connection_pool/connection.rb +0 -189
- data/lib/net/http/connection_pool/session.rb +0 -126
|
@@ -14,39 +14,38 @@
|
|
|
14
14
|
module AWS
|
|
15
15
|
class CloudFormation
|
|
16
16
|
|
|
17
|
-
#
|
|
17
|
+
# # Stack Summaries
|
|
18
18
|
#
|
|
19
19
|
# Stack summaries contain information about CloudFormation
|
|
20
20
|
# stacks. You can filter the stacks you want summary information
|
|
21
21
|
# for by one or more statuses. You can even get information
|
|
22
22
|
# about deleted stacks for up to 90 days.
|
|
23
23
|
#
|
|
24
|
-
#
|
|
24
|
+
# ## Enumerating Stack Summaries
|
|
25
25
|
#
|
|
26
26
|
# You can enumerate all available summaries using enumerable
|
|
27
27
|
# methods. Yielded summaries are simple hashes.
|
|
28
28
|
#
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
29
|
+
# cfm = AWS::CloudFormation.new
|
|
30
|
+
# cfm.stack_summaries.each do |summary|
|
|
31
|
+
# puts summary.to_yaml
|
|
32
|
+
# end
|
|
33
33
|
#
|
|
34
|
-
#
|
|
34
|
+
# ## Filtering Stack Summaries
|
|
35
35
|
#
|
|
36
36
|
# You can optionally provide one or more stack stasus values
|
|
37
37
|
# to filter the results by. Only stacks with the given status(es)
|
|
38
38
|
# will be enumerated.
|
|
39
39
|
#
|
|
40
|
-
#
|
|
41
|
-
#
|
|
42
|
-
#
|
|
43
|
-
#
|
|
44
|
-
# # enumerate stacks with various delete statuses
|
|
45
|
-
# statuses = %w(delete_in_progress delete_failed delete_complete)
|
|
46
|
-
# cf.stack_summaries.with_status(statuses).each do |summary|
|
|
47
|
-
# # ...
|
|
48
|
-
# end
|
|
40
|
+
# cfm.stack_summaries.with_status(:create_failed).each do |summary|
|
|
41
|
+
# # ...
|
|
42
|
+
# end
|
|
49
43
|
#
|
|
44
|
+
# # enumerate stacks with various delete statuses
|
|
45
|
+
# statuses = %w(delete_in_progress delete_failed delete_complete)
|
|
46
|
+
# cf.stack_summaries.with_status(statuses).each do |summary|
|
|
47
|
+
# # ...
|
|
48
|
+
# end
|
|
50
49
|
class StackSummaryCollection
|
|
51
50
|
|
|
52
51
|
include Core::Collection::WithNextToken
|
|
@@ -59,38 +58,39 @@ module AWS
|
|
|
59
58
|
|
|
60
59
|
# Limits the stacks summaries that are enumerated.
|
|
61
60
|
#
|
|
62
|
-
#
|
|
63
|
-
#
|
|
64
|
-
#
|
|
61
|
+
# cfm.stack_summaries.with_status(:create_complete).each do |summary|
|
|
62
|
+
# puts summary[:stack_name]
|
|
63
|
+
# end
|
|
65
64
|
#
|
|
66
65
|
# You can provide multiple statuses:
|
|
67
66
|
#
|
|
68
|
-
#
|
|
69
|
-
#
|
|
70
|
-
#
|
|
71
|
-
#
|
|
67
|
+
# statuses = [:create_failed, :rollback_failed]
|
|
68
|
+
# cfm.stack_summaries.with_status(statuses).each do |summary|
|
|
69
|
+
# puts summary[:stack_name]
|
|
70
|
+
# end
|
|
72
71
|
#
|
|
73
72
|
# Status names may be symbolized (snake-cased) or upper-cased strings
|
|
74
73
|
# (e.g. :create_in_progress, 'CREATE_IN_PROGRESS').
|
|
75
74
|
#
|
|
76
75
|
# @param [Symbol,String] status_filters One or more statuses to filter
|
|
77
76
|
# stacks with. Valid values include:
|
|
78
|
-
#
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
77
|
+
#
|
|
78
|
+
# * `:create_in_progress`
|
|
79
|
+
# * `:create_failed`
|
|
80
|
+
# * `:create_complete`
|
|
81
|
+
# * `:rollback_in_progress`
|
|
82
|
+
# * `:rollback_failed`
|
|
83
|
+
# * `:rollback_complete`
|
|
84
|
+
# * `:delete_in_progress`
|
|
85
|
+
# * `:delete_failed`
|
|
86
|
+
# * `:delete_complete`
|
|
87
|
+
# * `:update_in_progress`
|
|
88
|
+
# * `:update_complete_cleanup_in_progress`
|
|
89
|
+
# * `:update_complete`
|
|
90
|
+
# * `:update_rollback_in_progress`
|
|
91
|
+
# * `:update_rollback_failed`
|
|
92
|
+
# * `:update_rollback_complete_cleanup_in_progress`
|
|
93
|
+
# * `:update_rollback_complete`
|
|
94
94
|
#
|
|
95
95
|
# @return [StackSummaryCollection] Returns a new stack summary
|
|
96
96
|
# collection that restricts what stack summariess will be
|
data/lib/aws/cloud_front.rb
CHANGED
|
@@ -19,41 +19,41 @@ module AWS
|
|
|
19
19
|
# This class is the starting point for working with Amazon CloudFront.
|
|
20
20
|
#
|
|
21
21
|
# To use Amazon CloudFront you must first
|
|
22
|
-
#
|
|
22
|
+
# [sign up here](http://aws.amazon.com/cloudfront/).
|
|
23
23
|
#
|
|
24
24
|
# For more information about Amazon CloudFront:
|
|
25
25
|
#
|
|
26
|
-
# *
|
|
27
|
-
# *
|
|
26
|
+
# * [Amazon CloudFront](http://aws.amazon.com/cloudfront/)
|
|
27
|
+
# * [Amazon CloudFront Documentation](http://aws.amazon.com/documentation/cloudfront/)
|
|
28
28
|
#
|
|
29
|
-
#
|
|
29
|
+
# # Credentials
|
|
30
30
|
#
|
|
31
31
|
# You can setup default credentials for all AWS services via
|
|
32
32
|
# AWS.config:
|
|
33
33
|
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
34
|
+
# AWS.config(
|
|
35
|
+
# :access_key_id => 'YOUR_ACCESS_KEY_ID',
|
|
36
|
+
# :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
|
|
37
37
|
#
|
|
38
38
|
# Or you can set them directly on the AWS::Route53 interface:
|
|
39
39
|
#
|
|
40
|
-
#
|
|
41
|
-
#
|
|
42
|
-
#
|
|
40
|
+
# cf = AWS::CloudFront.new(
|
|
41
|
+
# :access_key_id => 'YOUR_ACCESS_KEY_ID',
|
|
42
|
+
# :secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
|
|
43
43
|
#
|
|
44
|
-
#
|
|
44
|
+
# # Using the Client
|
|
45
45
|
#
|
|
46
46
|
# AWS::CloudFront does not provide higher level abstractions for CloudFront at
|
|
47
47
|
# this time. You can still access all of the API methods using
|
|
48
48
|
# {AWS::CloudFront::Client}. Here is how you access the client and make
|
|
49
49
|
# a simple request:
|
|
50
50
|
#
|
|
51
|
-
#
|
|
51
|
+
# cf = AWS::CloudFront.new
|
|
52
52
|
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
53
|
+
# resp = cf.client.list_distributions
|
|
54
|
+
# resp[:items].each do |distribution|
|
|
55
|
+
# # ...
|
|
56
|
+
# end
|
|
57
57
|
#
|
|
58
58
|
# See {Client} for documentation on all of the supported operations.
|
|
59
59
|
#
|
|
@@ -61,13 +61,13 @@ module AWS
|
|
|
61
61
|
# @return [Client] the low-level CloudFront client object
|
|
62
62
|
class CloudFront
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
autoload :Request, 'request'
|
|
68
|
-
end
|
|
64
|
+
autoload :Client, 'aws/cloud_front/client'
|
|
65
|
+
autoload :Errors, 'aws/cloud_front/errors'
|
|
66
|
+
autoload :Request, 'aws/cloud_front/request'
|
|
69
67
|
|
|
70
68
|
include Core::ServiceInterface
|
|
71
69
|
|
|
70
|
+
endpoint_prefix 'cloudfront', :global => true
|
|
71
|
+
|
|
72
72
|
end
|
|
73
73
|
end
|
|
@@ -23,9 +23,9 @@ module AWS
|
|
|
23
23
|
# @!method create_cloud_front_origin_access_identity(options = {})
|
|
24
24
|
# Calls the POST CreateCloudFrontOriginAccessIdentity API operation.
|
|
25
25
|
# @param [Hash] options
|
|
26
|
-
# *
|
|
26
|
+
# * `:cloud_front_origin_access_identity_config` - *required* - (Hash)
|
|
27
27
|
# The origin access identity's configuration information.
|
|
28
|
-
# *
|
|
28
|
+
# * `:caller_reference` - *required* - (String) A unique number that
|
|
29
29
|
# ensures the request can't be replayed. If the CallerReference is
|
|
30
30
|
# new (no matter the content of the
|
|
31
31
|
# CloudFrontOriginAccessIdentityConfig object), a new origin access
|
|
@@ -39,23 +39,23 @@ module AWS
|
|
|
39
39
|
# CloudFrontOriginAccessIdentityConfig is different from the original
|
|
40
40
|
# request, CloudFront returns a
|
|
41
41
|
# CloudFrontOriginAccessIdentityAlreadyExists error.
|
|
42
|
-
# *
|
|
42
|
+
# * `:comment` - *required* - (String) Any comments you want to include
|
|
43
43
|
# about the origin access identity.
|
|
44
44
|
# @return [Core::Response]
|
|
45
45
|
# The #data method of the response object returns
|
|
46
46
|
# a hash with the following structure:
|
|
47
|
-
# *
|
|
48
|
-
# *
|
|
49
|
-
# *
|
|
50
|
-
# *
|
|
51
|
-
# *
|
|
47
|
+
# * `:id` - (String)
|
|
48
|
+
# * `:s3_canonical_user_id` - (String)
|
|
49
|
+
# * `:cloud_front_origin_access_identity_config` - (Hash)
|
|
50
|
+
# * `:caller_reference` - (String)
|
|
51
|
+
# * `:comment` - (String)
|
|
52
52
|
|
|
53
53
|
# @!method create_distribution(options = {})
|
|
54
54
|
# Calls the POST CreateDistribution API operation.
|
|
55
55
|
# @param [Hash] options
|
|
56
|
-
# *
|
|
56
|
+
# * `:distribution_config` - *required* - (Hash) The distribution's
|
|
57
57
|
# configuration information.
|
|
58
|
-
# *
|
|
58
|
+
# * `:caller_reference` - *required* - (String) A unique number that
|
|
59
59
|
# ensures the request can't be replayed. If the CallerReference is
|
|
60
60
|
# new (no matter the content of the DistributionConfig object), a new
|
|
61
61
|
# distribution is created. If the CallerReference is a value you
|
|
@@ -67,15 +67,15 @@ module AWS
|
|
|
67
67
|
# to create a distribution but the content of the DistributionConfig
|
|
68
68
|
# is different from the original request, CloudFront returns a
|
|
69
69
|
# DistributionAlreadyExists error.
|
|
70
|
-
# *
|
|
70
|
+
# * `:aliases` - *required* - (Hash) A complex type that contains
|
|
71
71
|
# information about CNAMEs (alternate domain names), if any, for this
|
|
72
72
|
# distribution.
|
|
73
|
-
# *
|
|
73
|
+
# * `:quantity` - *required* - (Integer) The number of CNAMEs, if
|
|
74
74
|
# any, for this distribution.
|
|
75
|
-
# *
|
|
75
|
+
# * `:items` - (Array<String>) Optional: A complex type that contains
|
|
76
76
|
# CNAME elements, if any, for this distribution. If Quantity is 0,
|
|
77
77
|
# you can omit Items.
|
|
78
|
-
# *
|
|
78
|
+
# * `:default_root_object` - *required* - (String) The object that you
|
|
79
79
|
# want CloudFront to return (for example, index.html) when an end
|
|
80
80
|
# user requests the root URL for your distribution
|
|
81
81
|
# (http://www.example.com) instead of an object in your distribution
|
|
@@ -87,28 +87,28 @@ module AWS
|
|
|
87
87
|
# distribution configuration and include an empty DefaultRootObject
|
|
88
88
|
# element. To replace the default root object, update the
|
|
89
89
|
# distribution configuration and specify the new object.
|
|
90
|
-
# *
|
|
90
|
+
# * `:origins` - *required* - (Hash) A complex type that contains
|
|
91
91
|
# information about origins for this distribution.
|
|
92
|
-
# *
|
|
92
|
+
# * `:quantity` - *required* - (Integer) The number of origins for
|
|
93
93
|
# this distribution.
|
|
94
|
-
# *
|
|
94
|
+
# * `:items` - (Array<Hash>) A complex type that contains origins for
|
|
95
95
|
# this distribution.
|
|
96
|
-
# *
|
|
96
|
+
# * `:id` - *required* - (String) A unique identifier for the
|
|
97
97
|
# origin. The value of Id must be unique within the distribution.
|
|
98
98
|
# You use the value of Id when you create a cache behavior. The
|
|
99
99
|
# Id identifies the origin that CloudFront routes a request to
|
|
100
100
|
# when the request matches the path pattern for that cache
|
|
101
101
|
# behavior.
|
|
102
|
-
# *
|
|
102
|
+
# * `:domain_name` - *required* - (String) Amazon S3 origins: The
|
|
103
103
|
# DNS name of the Amazon S3 bucket from which you want CloudFront
|
|
104
104
|
# to get objects for this origin, for example,
|
|
105
105
|
# myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain
|
|
106
106
|
# name for the HTTP server from which you want CloudFront to get
|
|
107
107
|
# objects for this origin, for example, www.example.com.
|
|
108
|
-
# *
|
|
108
|
+
# * `:s3_origin_config` - (Hash) A complex type that contains
|
|
109
109
|
# information about the Amazon S3 origin. If the origin is a
|
|
110
110
|
# custom origin, use the CustomOriginConfig element instead.
|
|
111
|
-
# *
|
|
111
|
+
# * `:origin_access_identity` - *required* - (String) The
|
|
112
112
|
# CloudFront origin access identity to associate with the
|
|
113
113
|
# origin. Use an origin access identity to configure the origin
|
|
114
114
|
# so that end users can only access objects in an Amazon S3
|
|
@@ -120,31 +120,54 @@ module AWS
|
|
|
120
120
|
# include an empty OriginAccessIdentity element. To replace the
|
|
121
121
|
# origin access identity, update the distribution configuration
|
|
122
122
|
# and specify the new origin access identity.
|
|
123
|
-
# *
|
|
123
|
+
# * `:custom_origin_config` - (Hash) A complex type that contains
|
|
124
124
|
# information about a custom origin. If the origin is an Amazon
|
|
125
125
|
# S3 bucket, use the S3OriginConfig element instead.
|
|
126
|
-
# *
|
|
126
|
+
# * `:http_port` - *required* - (Integer) The HTTP port the
|
|
127
127
|
# custom origin listens on.
|
|
128
|
-
# *
|
|
128
|
+
# * `:https_port` - *required* - (Integer) The HTTPS port the
|
|
129
129
|
# custom origin listens on.
|
|
130
|
-
# *
|
|
131
|
-
# protocol policy to apply to your origin.
|
|
132
|
-
#
|
|
130
|
+
# * `:origin_protocol_policy` - *required* - (String) The origin
|
|
131
|
+
# protocol policy to apply to your origin. Valid values
|
|
132
|
+
# include:
|
|
133
|
+
# * `http-only`
|
|
134
|
+
# * `match-viewer`
|
|
135
|
+
# * `:default_cache_behavior` - *required* - (Hash) A complex type that
|
|
133
136
|
# describes the default cache behavior if you do not specify a
|
|
134
137
|
# CacheBehavior element or if files don't match any of the values of
|
|
135
138
|
# PathPattern in CacheBehavior elements.You must create exactly one
|
|
136
139
|
# default cache behavior.
|
|
137
|
-
# *
|
|
140
|
+
# * `:target_origin_id` - *required* - (String) The value of ID for
|
|
138
141
|
# the origin that you want CloudFront to route requests to when a
|
|
139
142
|
# request matches the path pattern either for a cache behavior or
|
|
140
143
|
# for the default cache behavior.
|
|
141
|
-
# *
|
|
142
|
-
# specifies how CloudFront handles query strings.
|
|
143
|
-
# *
|
|
144
|
+
# * `:forwarded_values` - *required* - (Hash) A complex type that
|
|
145
|
+
# specifies how CloudFront handles query strings and cookies.
|
|
146
|
+
# * `:query_string` - *required* - (Boolean) Indicates whether you
|
|
144
147
|
# want CloudFront to forward query strings to the origin that is
|
|
145
148
|
# associated with this cache behavior. If so, specify +true+ ; if
|
|
146
149
|
# not, specify +false+ .
|
|
147
|
-
#
|
|
150
|
+
# * `:cookies` - *required* - (Hash) A complex type that specifies
|
|
151
|
+
# how CloudFront handles cookies.
|
|
152
|
+
# * `:forward` - *required* - (String) Use this element to
|
|
153
|
+
# specify whether you want CloudFront to forward cookies to the
|
|
154
|
+
# origin that is associated with this cache behavior. You can
|
|
155
|
+
# specify all, none or whitelist. If you choose All, CloudFront
|
|
156
|
+
# forwards all cookies regardless of how many your application
|
|
157
|
+
# uses. Valid values include:
|
|
158
|
+
# * `none`
|
|
159
|
+
# * `whitelist`
|
|
160
|
+
# * `all`
|
|
161
|
+
# * `:whitelisted_names` - (Hash) A complex type that specifies
|
|
162
|
+
# the whitelisted cookies, if any, that you want CloudFront to
|
|
163
|
+
# forward to your origin that is associated with this cache
|
|
164
|
+
# behavior.
|
|
165
|
+
# * `:quantity` - *required* - (Integer) The number of
|
|
166
|
+
# whitelisted cookies for this cache behavior.
|
|
167
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
168
|
+
# contains whitelisted cookies for this cache behavior. If
|
|
169
|
+
# Quantity is 0, you can omit Items.
|
|
170
|
+
# * `:trusted_signers` - *required* - (Hash) A complex type that
|
|
148
171
|
# specifies the AWS accounts, if any, that you want to allow to
|
|
149
172
|
# create signed URLs for private content. If you want to require
|
|
150
173
|
# signed URLs in requests for objects in the target origin that
|
|
@@ -159,34 +182,36 @@ module AWS
|
|
|
159
182
|
# +false+ ), change Quantity as applicable, and specify all of the
|
|
160
183
|
# trusted signers that you want to include in the updated
|
|
161
184
|
# distribution.
|
|
162
|
-
# *
|
|
185
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want
|
|
163
186
|
# to require end users to use signed URLs to access the files
|
|
164
187
|
# specified by PathPattern and TargetOriginId.
|
|
165
|
-
# *
|
|
188
|
+
# * `:quantity` - *required* - (Integer) The number of trusted
|
|
166
189
|
# signers for this cache behavior.
|
|
167
|
-
# *
|
|
190
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
168
191
|
# contains trusted signers for this cache behavior. If Quantity
|
|
169
192
|
# is 0, you can omit Items.
|
|
170
|
-
# *
|
|
193
|
+
# * `:viewer_protocol_policy` - *required* - (String) Use this
|
|
171
194
|
# element to specify the protocol that users can use to access the
|
|
172
195
|
# files in the origin specified by TargetOriginId when a request
|
|
173
196
|
# matches the path pattern in PathPattern. If you want CloudFront
|
|
174
197
|
# to allow end users to use any available protocol, specify
|
|
175
198
|
# allow-all. If you want CloudFront to require HTTPS, specify
|
|
176
|
-
# https.
|
|
177
|
-
#
|
|
199
|
+
# https. Valid values include:
|
|
200
|
+
# * `allow-all`
|
|
201
|
+
# * `https-only`
|
|
202
|
+
# * `:min_ttl` - *required* - (Integer) The minimum amount of time
|
|
178
203
|
# that you want objects to stay in CloudFront caches before
|
|
179
204
|
# CloudFront queries your origin to see whether the object has been
|
|
180
205
|
# updated.You can specify a value from 0 to 3,153,600,000 seconds
|
|
181
206
|
# (100 years).
|
|
182
|
-
# *
|
|
207
|
+
# * `:cache_behaviors` - *required* - (Hash) A complex type that
|
|
183
208
|
# contains zero or more CacheBehavior elements.
|
|
184
|
-
# *
|
|
209
|
+
# * `:quantity` - *required* - (Integer) The number of cache
|
|
185
210
|
# behaviors for this distribution.
|
|
186
|
-
# *
|
|
211
|
+
# * `:items` - (Array<Hash>) Optional: A complex type that contains
|
|
187
212
|
# cache behaviors for this distribution. If Quantity is 0, you can
|
|
188
213
|
# omit Items.
|
|
189
|
-
# *
|
|
214
|
+
# * `:path_pattern` - *required* - (String) The pattern (for
|
|
190
215
|
# example, images/*.jpg) that specifies which requests you want
|
|
191
216
|
# this cache behavior to apply to. When CloudFront receives an
|
|
192
217
|
# end-user request, the requested path is compared with path
|
|
@@ -195,17 +220,37 @@ module AWS
|
|
|
195
220
|
# behavior is * and cannot be changed. If the request for an
|
|
196
221
|
# object does not match the path pattern for any cache behaviors,
|
|
197
222
|
# CloudFront applies the behavior in the default cache behavior.
|
|
198
|
-
# *
|
|
223
|
+
# * `:target_origin_id` - *required* - (String) The value of ID for
|
|
199
224
|
# the origin that you want CloudFront to route requests to when a
|
|
200
225
|
# request matches the path pattern either for a cache behavior or
|
|
201
226
|
# for the default cache behavior.
|
|
202
|
-
# *
|
|
203
|
-
# specifies how CloudFront handles query strings.
|
|
204
|
-
# *
|
|
227
|
+
# * `:forwarded_values` - *required* - (Hash) A complex type that
|
|
228
|
+
# specifies how CloudFront handles query strings and cookies.
|
|
229
|
+
# * `:query_string` - *required* - (Boolean) Indicates whether
|
|
205
230
|
# you want CloudFront to forward query strings to the origin
|
|
206
231
|
# that is associated with this cache behavior. If so, specify
|
|
207
232
|
# +true+ ; if not, specify +false+ .
|
|
208
|
-
#
|
|
233
|
+
# * `:cookies` - *required* - (Hash) A complex type that
|
|
234
|
+
# specifies how CloudFront handles cookies.
|
|
235
|
+
# * `:forward` - *required* - (String) Use this element to
|
|
236
|
+
# specify whether you want CloudFront to forward cookies to
|
|
237
|
+
# the origin that is associated with this cache behavior. You
|
|
238
|
+
# can specify all, none or whitelist. If you choose All,
|
|
239
|
+
# CloudFront forwards all cookies regardless of how many your
|
|
240
|
+
# application uses. Valid values include:
|
|
241
|
+
# * `none`
|
|
242
|
+
# * `whitelist`
|
|
243
|
+
# * `all`
|
|
244
|
+
# * `:whitelisted_names` - (Hash) A complex type that specifies
|
|
245
|
+
# the whitelisted cookies, if any, that you want CloudFront
|
|
246
|
+
# to forward to your origin that is associated with this
|
|
247
|
+
# cache behavior.
|
|
248
|
+
# * `:quantity` - *required* - (Integer) The number of
|
|
249
|
+
# whitelisted cookies for this cache behavior.
|
|
250
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
251
|
+
# contains whitelisted cookies for this cache behavior. If
|
|
252
|
+
# Quantity is 0, you can omit Items.
|
|
253
|
+
# * `:trusted_signers` - *required* - (Hash) A complex type that
|
|
209
254
|
# specifies the AWS accounts, if any, that you want to allow to
|
|
210
255
|
# create signed URLs for private content. If you want to require
|
|
211
256
|
# signed URLs in requests for objects in the target origin that
|
|
@@ -220,117 +265,145 @@ module AWS
|
|
|
220
265
|
# +false+ ), change Quantity as applicable, and specify all of
|
|
221
266
|
# the trusted signers that you want to include in the updated
|
|
222
267
|
# distribution.
|
|
223
|
-
# *
|
|
268
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you
|
|
224
269
|
# want to require end users to use signed URLs to access the
|
|
225
270
|
# files specified by PathPattern and TargetOriginId.
|
|
226
|
-
# *
|
|
271
|
+
# * `:quantity` - *required* - (Integer) The number of trusted
|
|
227
272
|
# signers for this cache behavior.
|
|
228
|
-
# *
|
|
273
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
229
274
|
# contains trusted signers for this cache behavior. If Quantity
|
|
230
275
|
# is 0, you can omit Items.
|
|
231
|
-
# *
|
|
276
|
+
# * `:viewer_protocol_policy` - *required* - (String) Use this
|
|
232
277
|
# element to specify the protocol that users can use to access
|
|
233
278
|
# the files in the origin specified by TargetOriginId when a
|
|
234
279
|
# request matches the path pattern in PathPattern. If you want
|
|
235
280
|
# CloudFront to allow end users to use any available protocol,
|
|
236
281
|
# specify allow-all. If you want CloudFront to require HTTPS,
|
|
237
|
-
# specify https.
|
|
238
|
-
#
|
|
282
|
+
# specify https. Valid values include:
|
|
283
|
+
# * `allow-all`
|
|
284
|
+
# * `https-only`
|
|
285
|
+
# * `:min_ttl` - *required* - (Integer) The minimum amount of time
|
|
239
286
|
# that you want objects to stay in CloudFront caches before
|
|
240
287
|
# CloudFront queries your origin to see whether the object has
|
|
241
288
|
# been updated.You can specify a value from 0 to 3,153,600,000
|
|
242
289
|
# seconds (100 years).
|
|
243
|
-
# *
|
|
290
|
+
# * `:comment` - *required* - (String) Any comments you want to include
|
|
244
291
|
# about the distribution.
|
|
245
|
-
# *
|
|
292
|
+
# * `:logging` - *required* - (Hash) A complex type that controls
|
|
246
293
|
# whether access logs are written for the distribution.
|
|
247
|
-
# *
|
|
294
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want
|
|
248
295
|
# CloudFront to save access logs to an Amazon S3 bucket. If you do
|
|
249
296
|
# not want to enable logging when you create a distribution or if
|
|
250
297
|
# you want to disable logging for an existing distribution, specify
|
|
251
298
|
# +false+ for Enabled, and specify empty Bucket and Prefix
|
|
252
299
|
# elements. If you specify +false+ for Enabled but you specify
|
|
253
|
-
# values for Bucket and
|
|
254
|
-
# deleted.
|
|
255
|
-
# *
|
|
300
|
+
# values for Bucket, prefix and IncludeCookies, the values are
|
|
301
|
+
# automatically deleted.
|
|
302
|
+
# * `:include_cookies` - *required* - (Boolean) Specifies whether you
|
|
303
|
+
# want CloudFront to include cookies in access logs, specify +true+
|
|
304
|
+
# for IncludeCookies. If you choose to include cookies in logs,
|
|
305
|
+
# CloudFront logs all cookies regardless of how you configure the
|
|
306
|
+
# cache behaviors for this distribution. If you do not want to
|
|
307
|
+
# include cookies when you create a distribution or if you want to
|
|
308
|
+
# disable include cookies for an existing distribution, specify
|
|
309
|
+
# +false+ for IncludeCookies.
|
|
310
|
+
# * `:bucket` - *required* - (String) The Amazon S3 bucket to store
|
|
256
311
|
# the access logs in, for example, myawslogbucket.s3.amazonaws.com.
|
|
257
|
-
# *
|
|
312
|
+
# * `:prefix` - *required* - (String) An optional string that you
|
|
258
313
|
# want CloudFront to prefix to the access log filenames for this
|
|
259
314
|
# distribution, for example, myprefix/. If you want to enable
|
|
260
315
|
# logging, but you do not want to specify a prefix, you still must
|
|
261
316
|
# include an empty Prefix element in the Logging element.
|
|
262
|
-
# *
|
|
317
|
+
# * `:price_class` - *required* - (String) A complex type that contains
|
|
318
|
+
# information about price class for this distribution. Valid values
|
|
319
|
+
# include:
|
|
320
|
+
# * `PriceClass_100`
|
|
321
|
+
# * `PriceClass_200`
|
|
322
|
+
# * `PriceClass_All`
|
|
323
|
+
# * `:enabled` - *required* - (Boolean) Whether the distribution is
|
|
263
324
|
# enabled to accept end user requests for content.
|
|
264
325
|
# @return [Core::Response]
|
|
265
326
|
# The #data method of the response object returns
|
|
266
327
|
# a hash with the following structure:
|
|
267
|
-
# *
|
|
268
|
-
# *
|
|
269
|
-
# *
|
|
270
|
-
# *
|
|
271
|
-
# *
|
|
272
|
-
# *
|
|
273
|
-
# *
|
|
274
|
-
# *
|
|
275
|
-
# *
|
|
276
|
-
# *
|
|
277
|
-
# *
|
|
278
|
-
# *
|
|
279
|
-
# *
|
|
280
|
-
# *
|
|
281
|
-
# *
|
|
282
|
-
# *
|
|
283
|
-
# *
|
|
284
|
-
# *
|
|
285
|
-
# *
|
|
286
|
-
# *
|
|
287
|
-
# *
|
|
288
|
-
# *
|
|
289
|
-
# *
|
|
290
|
-
# *
|
|
291
|
-
# *
|
|
292
|
-
# *
|
|
293
|
-
# *
|
|
294
|
-
# *
|
|
295
|
-
# *
|
|
296
|
-
# *
|
|
297
|
-
# *
|
|
298
|
-
# *
|
|
299
|
-
# *
|
|
300
|
-
# *
|
|
301
|
-
#
|
|
302
|
-
#
|
|
303
|
-
#
|
|
304
|
-
#
|
|
305
|
-
#
|
|
306
|
-
# *
|
|
307
|
-
#
|
|
308
|
-
#
|
|
309
|
-
#
|
|
310
|
-
#
|
|
311
|
-
#
|
|
312
|
-
#
|
|
313
|
-
#
|
|
314
|
-
#
|
|
315
|
-
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
318
|
-
#
|
|
319
|
-
#
|
|
320
|
-
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
325
|
-
#
|
|
328
|
+
# * `:id` - (String)
|
|
329
|
+
# * `:status` - (String)
|
|
330
|
+
# * `:last_modified_time` - (Time)
|
|
331
|
+
# * `:in_progress_invalidation_batches` - (Integer)
|
|
332
|
+
# * `:domain_name` - (String)
|
|
333
|
+
# * `:active_trusted_signers` - (Hash)
|
|
334
|
+
# * `:enabled` - (Boolean)
|
|
335
|
+
# * `:quantity` - (Integer)
|
|
336
|
+
# * `:items` - (Array<Hash>)
|
|
337
|
+
# * `:aws_account_number` - (String)
|
|
338
|
+
# * `:key_pair_ids` - (Hash)
|
|
339
|
+
# * `:quantity` - (Integer)
|
|
340
|
+
# * `:items` - (Array<String>)
|
|
341
|
+
# * `:distribution_config` - (Hash)
|
|
342
|
+
# * `:caller_reference` - (String)
|
|
343
|
+
# * `:aliases` - (Hash)
|
|
344
|
+
# * `:quantity` - (Integer)
|
|
345
|
+
# * `:items` - (Array<String>)
|
|
346
|
+
# * `:default_root_object` - (String)
|
|
347
|
+
# * `:origins` - (Hash)
|
|
348
|
+
# * `:quantity` - (Integer)
|
|
349
|
+
# * `:items` - (Array<Hash>)
|
|
350
|
+
# * `:id` - (String)
|
|
351
|
+
# * `:domain_name` - (String)
|
|
352
|
+
# * `:s3_origin_config` - (Hash)
|
|
353
|
+
# * `:origin_access_identity` - (String)
|
|
354
|
+
# * `:custom_origin_config` - (Hash)
|
|
355
|
+
# * `:http_port` - (Integer)
|
|
356
|
+
# * `:https_port` - (Integer)
|
|
357
|
+
# * `:origin_protocol_policy` - (String)
|
|
358
|
+
# * `:default_cache_behavior` - (Hash)
|
|
359
|
+
# * `:target_origin_id` - (String)
|
|
360
|
+
# * `:forwarded_values` - (Hash)
|
|
361
|
+
# * `:query_string` - (Boolean)
|
|
362
|
+
# * `:cookies` - (Hash)
|
|
363
|
+
# * `:forward` - (String)
|
|
364
|
+
# * `:whitelisted_names` - (Hash)
|
|
365
|
+
# * `:quantity` - (Integer)
|
|
366
|
+
# * `:items` - (Array<String>)
|
|
367
|
+
# * `:trusted_signers` - (Hash)
|
|
368
|
+
# * `:enabled` - (Boolean)
|
|
369
|
+
# * `:quantity` - (Integer)
|
|
370
|
+
# * `:items` - (Array<String>)
|
|
371
|
+
# * `:viewer_protocol_policy` - (String)
|
|
372
|
+
# * `:min_ttl` - (Integer)
|
|
373
|
+
# * `:cache_behaviors` - (Hash)
|
|
374
|
+
# * `:quantity` - (Integer)
|
|
375
|
+
# * `:items` - (Array<Hash>)
|
|
376
|
+
# * `:path_pattern` - (String)
|
|
377
|
+
# * `:target_origin_id` - (String)
|
|
378
|
+
# * `:forwarded_values` - (Hash)
|
|
379
|
+
# * `:query_string` - (Boolean)
|
|
380
|
+
# * `:cookies` - (Hash)
|
|
381
|
+
# * `:forward` - (String)
|
|
382
|
+
# * `:whitelisted_names` - (Hash)
|
|
383
|
+
# * `:quantity` - (Integer)
|
|
384
|
+
# * `:items` - (Array<String>)
|
|
385
|
+
# * `:trusted_signers` - (Hash)
|
|
386
|
+
# * `:enabled` - (Boolean)
|
|
387
|
+
# * `:quantity` - (Integer)
|
|
388
|
+
# * `:items` - (Array<String>)
|
|
389
|
+
# * `:viewer_protocol_policy` - (String)
|
|
390
|
+
# * `:min_ttl` - (Integer)
|
|
391
|
+
# * `:comment` - (String)
|
|
392
|
+
# * `:logging` - (Hash)
|
|
393
|
+
# * `:enabled` - (Boolean)
|
|
394
|
+
# * `:include_cookies` - (Boolean)
|
|
395
|
+
# * `:bucket` - (String)
|
|
396
|
+
# * `:prefix` - (String)
|
|
397
|
+
# * `:price_class` - (String)
|
|
398
|
+
# * `:enabled` - (Boolean)
|
|
326
399
|
|
|
327
400
|
# @!method create_invalidation(options = {})
|
|
328
401
|
# Calls the POST CreateInvalidation API operation.
|
|
329
402
|
# @param [Hash] options
|
|
330
|
-
# *
|
|
331
|
-
# *
|
|
403
|
+
# * `:distribution_id` - *required* - (String) The distribution's id.
|
|
404
|
+
# * `:invalidation_batch` - *required* - (Hash) The batch information for
|
|
332
405
|
# the invalidation.
|
|
333
|
-
# *
|
|
406
|
+
# * `:paths` - *required* - (Hash) The path of the object to
|
|
334
407
|
# invalidate. The path is relative to the distribution and must begin
|
|
335
408
|
# with a slash (/). You must enclose each invalidation object with
|
|
336
409
|
# the Path element tags. If the path includes non-ASCII characters or
|
|
@@ -338,11 +411,11 @@ module AWS
|
|
|
338
411
|
# (http://www.ietf.org/rfc/rfc1738.txt), URL encode those characters.
|
|
339
412
|
# Do not URL encode any other characters in the path, or CloudFront
|
|
340
413
|
# will not invalidate the old version of the updated object.
|
|
341
|
-
# *
|
|
414
|
+
# * `:quantity` - *required* - (Integer) The number of objects that
|
|
342
415
|
# you want to invalidate.
|
|
343
|
-
# *
|
|
416
|
+
# * `:items` - (Array<String>) A complex type that contains a list of
|
|
344
417
|
# the objects that you want to invalidate.
|
|
345
|
-
# *
|
|
418
|
+
# * `:caller_reference` - *required* - (String) A unique name that
|
|
346
419
|
# ensures the request can't be replayed. If the CallerReference is
|
|
347
420
|
# new (no matter the content of the Path object), a new distribution
|
|
348
421
|
# is created. If the CallerReference is a value you already sent in a
|
|
@@ -356,21 +429,21 @@ module AWS
|
|
|
356
429
|
# @return [Core::Response]
|
|
357
430
|
# The #data method of the response object returns
|
|
358
431
|
# a hash with the following structure:
|
|
359
|
-
# *
|
|
360
|
-
# *
|
|
361
|
-
# *
|
|
362
|
-
# *
|
|
363
|
-
# *
|
|
364
|
-
# *
|
|
365
|
-
# *
|
|
366
|
-
# *
|
|
432
|
+
# * `:id` - (String)
|
|
433
|
+
# * `:status` - (String)
|
|
434
|
+
# * `:create_time` - (Time)
|
|
435
|
+
# * `:invalidation_batch` - (Hash)
|
|
436
|
+
# * `:paths` - (Hash)
|
|
437
|
+
# * `:quantity` - (Integer)
|
|
438
|
+
# * `:items` - (Array<String>)
|
|
439
|
+
# * `:caller_reference` - (String)
|
|
367
440
|
|
|
368
441
|
# @!method create_streaming_distribution(options = {})
|
|
369
442
|
# Calls the POST CreateStreamingDistribution API operation.
|
|
370
443
|
# @param [Hash] options
|
|
371
|
-
# *
|
|
444
|
+
# * `:streaming_distribution_config` - *required* - (Hash) The streaming
|
|
372
445
|
# distribution's configuration information.
|
|
373
|
-
# *
|
|
446
|
+
# * `:caller_reference` - *required* - (String) A unique number that
|
|
374
447
|
# ensures the request can't be replayed. If the CallerReference is
|
|
375
448
|
# new (no matter the content of the StreamingDistributionConfig
|
|
376
449
|
# object), a new streaming distribution is created. If the
|
|
@@ -383,41 +456,42 @@ module AWS
|
|
|
383
456
|
# distribution but the content of the StreamingDistributionConfig is
|
|
384
457
|
# different from the original request, CloudFront returns a
|
|
385
458
|
# DistributionAlreadyExists error.
|
|
386
|
-
# *
|
|
459
|
+
# * `:s3_origin` - *required* - (Hash) A complex type that contains
|
|
387
460
|
# information about the Amazon S3 bucket from which you want
|
|
388
461
|
# CloudFront to get your media files for distribution.
|
|
389
|
-
# *
|
|
462
|
+
# * `:domain_name` - *required* - (String) The DNS name of the S3
|
|
390
463
|
# origin.
|
|
391
|
-
# *
|
|
464
|
+
# * `:origin_access_identity` - *required* - (String) Your S3
|
|
392
465
|
# origin's origin access identity.
|
|
393
|
-
# *
|
|
466
|
+
# * `:aliases` - *required* - (Hash) A complex type that contains
|
|
394
467
|
# information about CNAMEs (alternate domain names), if any, for this
|
|
395
468
|
# streaming distribution.
|
|
396
|
-
# *
|
|
469
|
+
# * `:quantity` - *required* - (Integer) The number of CNAMEs, if
|
|
397
470
|
# any, for this distribution.
|
|
398
|
-
# *
|
|
471
|
+
# * `:items` - (Array<String>) Optional: A complex type that contains
|
|
399
472
|
# CNAME elements, if any, for this distribution. If Quantity is 0,
|
|
400
473
|
# you can omit Items.
|
|
401
|
-
# *
|
|
474
|
+
# * `:comment` - *required* - (String) Any comments you want to include
|
|
402
475
|
# about the streaming distribution.
|
|
403
|
-
# *
|
|
476
|
+
# * `:logging` - *required* - (Hash) A complex type that controls
|
|
404
477
|
# whether access logs are written for the streaming distribution.
|
|
405
|
-
# *
|
|
478
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want
|
|
406
479
|
# CloudFront to save access logs to an Amazon S3 bucket. If you do
|
|
407
|
-
# not want to enable logging when you create a
|
|
408
|
-
# you want to disable logging for an existing
|
|
409
|
-
# +false+ for Enabled, and specify
|
|
410
|
-
# elements. If you specify +false+ for
|
|
411
|
-
# values for Bucket and Prefix, the values
|
|
412
|
-
# deleted.
|
|
413
|
-
# *
|
|
480
|
+
# not want to enable logging when you create a streaming
|
|
481
|
+
# distribution or if you want to disable logging for an existing
|
|
482
|
+
# streaming distribution, specify +false+ for Enabled, and specify
|
|
483
|
+
# empty Bucket and Prefix elements. If you specify +false+ for
|
|
484
|
+
# Enabled but you specify values for Bucket and Prefix, the values
|
|
485
|
+
# are automatically deleted.
|
|
486
|
+
# * `:bucket` - *required* - (String) The Amazon S3 bucket to store
|
|
414
487
|
# the access logs in, for example, myawslogbucket.s3.amazonaws.com.
|
|
415
|
-
# *
|
|
488
|
+
# * `:prefix` - *required* - (String) An optional string that you
|
|
416
489
|
# want CloudFront to prefix to the access log filenames for this
|
|
417
|
-
# distribution, for example, myprefix/. If you want to
|
|
418
|
-
# logging, but you do not want to specify a prefix, you
|
|
419
|
-
# include an empty Prefix element in the Logging
|
|
420
|
-
#
|
|
490
|
+
# streaming distribution, for example, myprefix/. If you want to
|
|
491
|
+
# enable logging, but you do not want to specify a prefix, you
|
|
492
|
+
# still must include an empty Prefix element in the Logging
|
|
493
|
+
# element.
|
|
494
|
+
# * `:trusted_signers` - *required* - (Hash) A complex type that
|
|
421
495
|
# specifies the AWS accounts, if any, that you want to allow to
|
|
422
496
|
# create signed URLs for private content. If you want to require
|
|
423
497
|
# signed URLs in requests for objects in the target origin that match
|
|
@@ -431,390 +505,434 @@ module AWS
|
|
|
431
505
|
# change Enabled to +true+ (if it's currently +false+ ), change
|
|
432
506
|
# Quantity as applicable, and specify all of the trusted signers that
|
|
433
507
|
# you want to include in the updated distribution.
|
|
434
|
-
# *
|
|
508
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want to
|
|
435
509
|
# require end users to use signed URLs to access the files
|
|
436
510
|
# specified by PathPattern and TargetOriginId.
|
|
437
|
-
# *
|
|
511
|
+
# * `:quantity` - *required* - (Integer) The number of trusted
|
|
438
512
|
# signers for this cache behavior.
|
|
439
|
-
# *
|
|
513
|
+
# * `:items` - (Array<String>) Optional: A complex type that contains
|
|
440
514
|
# trusted signers for this cache behavior. If Quantity is 0, you
|
|
441
515
|
# can omit Items.
|
|
442
|
-
# *
|
|
516
|
+
# * `:price_class` - *required* - (String) A complex type that contains
|
|
517
|
+
# information about price class for this streaming distribution.
|
|
518
|
+
# Valid values include:
|
|
519
|
+
# * `PriceClass_100`
|
|
520
|
+
# * `PriceClass_200`
|
|
521
|
+
# * `PriceClass_All`
|
|
522
|
+
# * `:enabled` - *required* - (Boolean) Whether the streaming
|
|
443
523
|
# distribution is enabled to accept end user requests for content.
|
|
444
524
|
# @return [Core::Response]
|
|
445
525
|
# The #data method of the response object returns
|
|
446
526
|
# a hash with the following structure:
|
|
447
|
-
# *
|
|
448
|
-
# *
|
|
449
|
-
# *
|
|
450
|
-
# *
|
|
451
|
-
# *
|
|
452
|
-
# *
|
|
453
|
-
# *
|
|
454
|
-
# *
|
|
455
|
-
# *
|
|
456
|
-
# *
|
|
457
|
-
# *
|
|
458
|
-
# *
|
|
459
|
-
# *
|
|
460
|
-
# *
|
|
461
|
-
# *
|
|
462
|
-
# *
|
|
463
|
-
# *
|
|
464
|
-
# *
|
|
465
|
-
# *
|
|
466
|
-
# *
|
|
467
|
-
# *
|
|
468
|
-
# *
|
|
469
|
-
# *
|
|
470
|
-
# *
|
|
471
|
-
# *
|
|
472
|
-
# *
|
|
473
|
-
# *
|
|
474
|
-
# *
|
|
475
|
-
# *
|
|
476
|
-
# *
|
|
527
|
+
# * `:id` - (String)
|
|
528
|
+
# * `:status` - (String)
|
|
529
|
+
# * `:last_modified_time` - (Time)
|
|
530
|
+
# * `:domain_name` - (String)
|
|
531
|
+
# * `:active_trusted_signers` - (Hash)
|
|
532
|
+
# * `:enabled` - (Boolean)
|
|
533
|
+
# * `:quantity` - (Integer)
|
|
534
|
+
# * `:items` - (Array<Hash>)
|
|
535
|
+
# * `:aws_account_number` - (String)
|
|
536
|
+
# * `:key_pair_ids` - (Hash)
|
|
537
|
+
# * `:quantity` - (Integer)
|
|
538
|
+
# * `:items` - (Array<String>)
|
|
539
|
+
# * `:streaming_distribution_config` - (Hash)
|
|
540
|
+
# * `:caller_reference` - (String)
|
|
541
|
+
# * `:s3_origin` - (Hash)
|
|
542
|
+
# * `:domain_name` - (String)
|
|
543
|
+
# * `:origin_access_identity` - (String)
|
|
544
|
+
# * `:aliases` - (Hash)
|
|
545
|
+
# * `:quantity` - (Integer)
|
|
546
|
+
# * `:items` - (Array<String>)
|
|
547
|
+
# * `:comment` - (String)
|
|
548
|
+
# * `:logging` - (Hash)
|
|
549
|
+
# * `:enabled` - (Boolean)
|
|
550
|
+
# * `:bucket` - (String)
|
|
551
|
+
# * `:prefix` - (String)
|
|
552
|
+
# * `:trusted_signers` - (Hash)
|
|
553
|
+
# * `:enabled` - (Boolean)
|
|
554
|
+
# * `:quantity` - (Integer)
|
|
555
|
+
# * `:items` - (Array<String>)
|
|
556
|
+
# * `:price_class` - (String)
|
|
557
|
+
# * `:enabled` - (Boolean)
|
|
477
558
|
|
|
478
559
|
# @!method delete_cloud_front_origin_access_identity(options = {})
|
|
479
560
|
# Calls the DELETE DeleteCloudFrontOriginAccessIdentity API operation.
|
|
480
561
|
# @param [Hash] options
|
|
481
|
-
# *
|
|
482
|
-
# *
|
|
562
|
+
# * `:id` - *required* - (String) The origin access identity's id.
|
|
563
|
+
# * `:if_match` - (String) The value of the ETag header you received from
|
|
483
564
|
# a previous GET or PUT request. For example: E2QWRUHAPOMQZL.
|
|
484
565
|
# @return [Core::Response]
|
|
485
566
|
|
|
486
567
|
# @!method delete_distribution(options = {})
|
|
487
568
|
# Calls the DELETE DeleteDistribution API operation.
|
|
488
569
|
# @param [Hash] options
|
|
489
|
-
# *
|
|
490
|
-
# *
|
|
570
|
+
# * `:id` - *required* - (String) The distribution id.
|
|
571
|
+
# * `:if_match` - (String) The value of the ETag header you received when
|
|
491
572
|
# you disabled the distribution. For example: E2QWRUHAPOMQZL.
|
|
492
573
|
# @return [Core::Response]
|
|
493
574
|
|
|
494
575
|
# @!method delete_streaming_distribution(options = {})
|
|
495
576
|
# Calls the DELETE DeleteStreamingDistribution API operation.
|
|
496
577
|
# @param [Hash] options
|
|
497
|
-
# *
|
|
498
|
-
# *
|
|
578
|
+
# * `:id` - *required* - (String) The distribution id.
|
|
579
|
+
# * `:if_match` - (String) The value of the ETag header you received when
|
|
499
580
|
# you disabled the streaming distribution. For example: E2QWRUHAPOMQZL.
|
|
500
581
|
# @return [Core::Response]
|
|
501
582
|
|
|
502
583
|
# @!method get_cloud_front_origin_access_identity(options = {})
|
|
503
584
|
# Calls the GET GetCloudFrontOriginAccessIdentity API operation.
|
|
504
585
|
# @param [Hash] options
|
|
505
|
-
# *
|
|
586
|
+
# * `:id` - *required* - (String) The identity's id.
|
|
506
587
|
# @return [Core::Response]
|
|
507
588
|
# The #data method of the response object returns
|
|
508
589
|
# a hash with the following structure:
|
|
509
|
-
# *
|
|
510
|
-
# *
|
|
511
|
-
# *
|
|
512
|
-
# *
|
|
513
|
-
# *
|
|
590
|
+
# * `:id` - (String)
|
|
591
|
+
# * `:s3_canonical_user_id` - (String)
|
|
592
|
+
# * `:cloud_front_origin_access_identity_config` - (Hash)
|
|
593
|
+
# * `:caller_reference` - (String)
|
|
594
|
+
# * `:comment` - (String)
|
|
514
595
|
|
|
515
596
|
# @!method get_cloud_front_origin_access_identity_config(options = {})
|
|
516
597
|
# Calls the GET GetCloudFrontOriginAccessIdentityConfig API operation.
|
|
517
598
|
# @param [Hash] options
|
|
518
|
-
# *
|
|
599
|
+
# * `:id` - *required* - (String) The identity's id.
|
|
519
600
|
# @return [Core::Response]
|
|
520
601
|
# The #data method of the response object returns
|
|
521
602
|
# a hash with the following structure:
|
|
522
|
-
# *
|
|
523
|
-
# *
|
|
603
|
+
# * `:caller_reference` - (String)
|
|
604
|
+
# * `:comment` - (String)
|
|
524
605
|
|
|
525
606
|
# @!method get_distribution(options = {})
|
|
526
607
|
# Calls the GET GetDistribution API operation.
|
|
527
608
|
# @param [Hash] options
|
|
528
|
-
# *
|
|
609
|
+
# * `:id` - *required* - (String) The distribution's id.
|
|
529
610
|
# @return [Core::Response]
|
|
530
611
|
# The #data method of the response object returns
|
|
531
612
|
# a hash with the following structure:
|
|
532
|
-
# *
|
|
533
|
-
# *
|
|
534
|
-
# *
|
|
535
|
-
# *
|
|
536
|
-
# *
|
|
537
|
-
# *
|
|
538
|
-
# *
|
|
539
|
-
# *
|
|
540
|
-
# *
|
|
541
|
-
# *
|
|
542
|
-
# *
|
|
543
|
-
# *
|
|
544
|
-
# *
|
|
545
|
-
# *
|
|
546
|
-
# *
|
|
547
|
-
# *
|
|
548
|
-
# *
|
|
549
|
-
# *
|
|
550
|
-
# *
|
|
551
|
-
# *
|
|
552
|
-
# *
|
|
553
|
-
# *
|
|
554
|
-
# *
|
|
555
|
-
# *
|
|
556
|
-
# *
|
|
557
|
-
# *
|
|
558
|
-
# *
|
|
559
|
-
# *
|
|
560
|
-
# *
|
|
561
|
-
# *
|
|
562
|
-
# *
|
|
563
|
-
# *
|
|
564
|
-
# *
|
|
565
|
-
# *
|
|
566
|
-
#
|
|
567
|
-
#
|
|
568
|
-
#
|
|
569
|
-
#
|
|
570
|
-
#
|
|
571
|
-
# *
|
|
572
|
-
#
|
|
573
|
-
#
|
|
574
|
-
#
|
|
575
|
-
#
|
|
576
|
-
#
|
|
577
|
-
#
|
|
578
|
-
#
|
|
579
|
-
#
|
|
580
|
-
#
|
|
581
|
-
#
|
|
582
|
-
#
|
|
583
|
-
#
|
|
584
|
-
#
|
|
585
|
-
#
|
|
586
|
-
#
|
|
587
|
-
#
|
|
588
|
-
#
|
|
589
|
-
#
|
|
590
|
-
#
|
|
613
|
+
# * `:id` - (String)
|
|
614
|
+
# * `:status` - (String)
|
|
615
|
+
# * `:last_modified_time` - (Time)
|
|
616
|
+
# * `:in_progress_invalidation_batches` - (Integer)
|
|
617
|
+
# * `:domain_name` - (String)
|
|
618
|
+
# * `:active_trusted_signers` - (Hash)
|
|
619
|
+
# * `:enabled` - (Boolean)
|
|
620
|
+
# * `:quantity` - (Integer)
|
|
621
|
+
# * `:items` - (Array<Hash>)
|
|
622
|
+
# * `:aws_account_number` - (String)
|
|
623
|
+
# * `:key_pair_ids` - (Hash)
|
|
624
|
+
# * `:quantity` - (Integer)
|
|
625
|
+
# * `:items` - (Array<String>)
|
|
626
|
+
# * `:distribution_config` - (Hash)
|
|
627
|
+
# * `:caller_reference` - (String)
|
|
628
|
+
# * `:aliases` - (Hash)
|
|
629
|
+
# * `:quantity` - (Integer)
|
|
630
|
+
# * `:items` - (Array<String>)
|
|
631
|
+
# * `:default_root_object` - (String)
|
|
632
|
+
# * `:origins` - (Hash)
|
|
633
|
+
# * `:quantity` - (Integer)
|
|
634
|
+
# * `:items` - (Array<Hash>)
|
|
635
|
+
# * `:id` - (String)
|
|
636
|
+
# * `:domain_name` - (String)
|
|
637
|
+
# * `:s3_origin_config` - (Hash)
|
|
638
|
+
# * `:origin_access_identity` - (String)
|
|
639
|
+
# * `:custom_origin_config` - (Hash)
|
|
640
|
+
# * `:http_port` - (Integer)
|
|
641
|
+
# * `:https_port` - (Integer)
|
|
642
|
+
# * `:origin_protocol_policy` - (String)
|
|
643
|
+
# * `:default_cache_behavior` - (Hash)
|
|
644
|
+
# * `:target_origin_id` - (String)
|
|
645
|
+
# * `:forwarded_values` - (Hash)
|
|
646
|
+
# * `:query_string` - (Boolean)
|
|
647
|
+
# * `:cookies` - (Hash)
|
|
648
|
+
# * `:forward` - (String)
|
|
649
|
+
# * `:whitelisted_names` - (Hash)
|
|
650
|
+
# * `:quantity` - (Integer)
|
|
651
|
+
# * `:items` - (Array<String>)
|
|
652
|
+
# * `:trusted_signers` - (Hash)
|
|
653
|
+
# * `:enabled` - (Boolean)
|
|
654
|
+
# * `:quantity` - (Integer)
|
|
655
|
+
# * `:items` - (Array<String>)
|
|
656
|
+
# * `:viewer_protocol_policy` - (String)
|
|
657
|
+
# * `:min_ttl` - (Integer)
|
|
658
|
+
# * `:cache_behaviors` - (Hash)
|
|
659
|
+
# * `:quantity` - (Integer)
|
|
660
|
+
# * `:items` - (Array<Hash>)
|
|
661
|
+
# * `:path_pattern` - (String)
|
|
662
|
+
# * `:target_origin_id` - (String)
|
|
663
|
+
# * `:forwarded_values` - (Hash)
|
|
664
|
+
# * `:query_string` - (Boolean)
|
|
665
|
+
# * `:cookies` - (Hash)
|
|
666
|
+
# * `:forward` - (String)
|
|
667
|
+
# * `:whitelisted_names` - (Hash)
|
|
668
|
+
# * `:quantity` - (Integer)
|
|
669
|
+
# * `:items` - (Array<String>)
|
|
670
|
+
# * `:trusted_signers` - (Hash)
|
|
671
|
+
# * `:enabled` - (Boolean)
|
|
672
|
+
# * `:quantity` - (Integer)
|
|
673
|
+
# * `:items` - (Array<String>)
|
|
674
|
+
# * `:viewer_protocol_policy` - (String)
|
|
675
|
+
# * `:min_ttl` - (Integer)
|
|
676
|
+
# * `:comment` - (String)
|
|
677
|
+
# * `:logging` - (Hash)
|
|
678
|
+
# * `:enabled` - (Boolean)
|
|
679
|
+
# * `:include_cookies` - (Boolean)
|
|
680
|
+
# * `:bucket` - (String)
|
|
681
|
+
# * `:prefix` - (String)
|
|
682
|
+
# * `:price_class` - (String)
|
|
683
|
+
# * `:enabled` - (Boolean)
|
|
591
684
|
|
|
592
685
|
# @!method get_distribution_config(options = {})
|
|
593
686
|
# Calls the GET GetDistributionConfig API operation.
|
|
594
687
|
# @param [Hash] options
|
|
595
|
-
# *
|
|
688
|
+
# * `:id` - *required* - (String) The distribution's id.
|
|
596
689
|
# @return [Core::Response]
|
|
597
690
|
# The #data method of the response object returns
|
|
598
691
|
# a hash with the following structure:
|
|
599
|
-
# *
|
|
600
|
-
# *
|
|
601
|
-
# *
|
|
602
|
-
# *
|
|
603
|
-
# *
|
|
604
|
-
# *
|
|
605
|
-
# *
|
|
606
|
-
# *
|
|
607
|
-
# *
|
|
608
|
-
# *
|
|
609
|
-
# *
|
|
610
|
-
# *
|
|
611
|
-
# *
|
|
612
|
-
# *
|
|
613
|
-
# *
|
|
614
|
-
# *
|
|
615
|
-
# *
|
|
616
|
-
# *
|
|
617
|
-
# *
|
|
618
|
-
# *
|
|
619
|
-
#
|
|
620
|
-
#
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
#
|
|
624
|
-
# *
|
|
625
|
-
#
|
|
626
|
-
#
|
|
627
|
-
#
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
#
|
|
631
|
-
#
|
|
632
|
-
#
|
|
633
|
-
#
|
|
634
|
-
#
|
|
635
|
-
#
|
|
636
|
-
#
|
|
637
|
-
#
|
|
638
|
-
#
|
|
639
|
-
#
|
|
640
|
-
#
|
|
641
|
-
#
|
|
642
|
-
#
|
|
643
|
-
#
|
|
692
|
+
# * `:caller_reference` - (String)
|
|
693
|
+
# * `:aliases` - (Hash)
|
|
694
|
+
# * `:quantity` - (Integer)
|
|
695
|
+
# * `:items` - (Array<String>)
|
|
696
|
+
# * `:default_root_object` - (String)
|
|
697
|
+
# * `:origins` - (Hash)
|
|
698
|
+
# * `:quantity` - (Integer)
|
|
699
|
+
# * `:items` - (Array<Hash>)
|
|
700
|
+
# * `:id` - (String)
|
|
701
|
+
# * `:domain_name` - (String)
|
|
702
|
+
# * `:s3_origin_config` - (Hash)
|
|
703
|
+
# * `:origin_access_identity` - (String)
|
|
704
|
+
# * `:custom_origin_config` - (Hash)
|
|
705
|
+
# * `:http_port` - (Integer)
|
|
706
|
+
# * `:https_port` - (Integer)
|
|
707
|
+
# * `:origin_protocol_policy` - (String)
|
|
708
|
+
# * `:default_cache_behavior` - (Hash)
|
|
709
|
+
# * `:target_origin_id` - (String)
|
|
710
|
+
# * `:forwarded_values` - (Hash)
|
|
711
|
+
# * `:query_string` - (Boolean)
|
|
712
|
+
# * `:cookies` - (Hash)
|
|
713
|
+
# * `:forward` - (String)
|
|
714
|
+
# * `:whitelisted_names` - (Hash)
|
|
715
|
+
# * `:quantity` - (Integer)
|
|
716
|
+
# * `:items` - (Array<String>)
|
|
717
|
+
# * `:trusted_signers` - (Hash)
|
|
718
|
+
# * `:enabled` - (Boolean)
|
|
719
|
+
# * `:quantity` - (Integer)
|
|
720
|
+
# * `:items` - (Array<String>)
|
|
721
|
+
# * `:viewer_protocol_policy` - (String)
|
|
722
|
+
# * `:min_ttl` - (Integer)
|
|
723
|
+
# * `:cache_behaviors` - (Hash)
|
|
724
|
+
# * `:quantity` - (Integer)
|
|
725
|
+
# * `:items` - (Array<Hash>)
|
|
726
|
+
# * `:path_pattern` - (String)
|
|
727
|
+
# * `:target_origin_id` - (String)
|
|
728
|
+
# * `:forwarded_values` - (Hash)
|
|
729
|
+
# * `:query_string` - (Boolean)
|
|
730
|
+
# * `:cookies` - (Hash)
|
|
731
|
+
# * `:forward` - (String)
|
|
732
|
+
# * `:whitelisted_names` - (Hash)
|
|
733
|
+
# * `:quantity` - (Integer)
|
|
734
|
+
# * `:items` - (Array<String>)
|
|
735
|
+
# * `:trusted_signers` - (Hash)
|
|
736
|
+
# * `:enabled` - (Boolean)
|
|
737
|
+
# * `:quantity` - (Integer)
|
|
738
|
+
# * `:items` - (Array<String>)
|
|
739
|
+
# * `:viewer_protocol_policy` - (String)
|
|
740
|
+
# * `:min_ttl` - (Integer)
|
|
741
|
+
# * `:comment` - (String)
|
|
742
|
+
# * `:logging` - (Hash)
|
|
743
|
+
# * `:enabled` - (Boolean)
|
|
744
|
+
# * `:include_cookies` - (Boolean)
|
|
745
|
+
# * `:bucket` - (String)
|
|
746
|
+
# * `:prefix` - (String)
|
|
747
|
+
# * `:price_class` - (String)
|
|
748
|
+
# * `:enabled` - (Boolean)
|
|
644
749
|
|
|
645
750
|
# @!method get_invalidation(options = {})
|
|
646
751
|
# Calls the GET GetInvalidation API operation.
|
|
647
752
|
# @param [Hash] options
|
|
648
|
-
# *
|
|
649
|
-
# *
|
|
753
|
+
# * `:distribution_id` - *required* - (String) The distribution's id.
|
|
754
|
+
# * `:id` - *required* - (String) The invalidation's id.
|
|
650
755
|
# @return [Core::Response]
|
|
651
756
|
# The #data method of the response object returns
|
|
652
757
|
# a hash with the following structure:
|
|
653
|
-
# *
|
|
654
|
-
# *
|
|
655
|
-
# *
|
|
656
|
-
# *
|
|
657
|
-
# *
|
|
658
|
-
# *
|
|
659
|
-
# *
|
|
660
|
-
# *
|
|
758
|
+
# * `:id` - (String)
|
|
759
|
+
# * `:status` - (String)
|
|
760
|
+
# * `:create_time` - (Time)
|
|
761
|
+
# * `:invalidation_batch` - (Hash)
|
|
762
|
+
# * `:paths` - (Hash)
|
|
763
|
+
# * `:quantity` - (Integer)
|
|
764
|
+
# * `:items` - (Array<String>)
|
|
765
|
+
# * `:caller_reference` - (String)
|
|
661
766
|
|
|
662
767
|
# @!method get_streaming_distribution(options = {})
|
|
663
768
|
# Calls the GET GetStreamingDistribution API operation.
|
|
664
769
|
# @param [Hash] options
|
|
665
|
-
# *
|
|
770
|
+
# * `:id` - *required* - (String) The streaming distribution's id.
|
|
666
771
|
# @return [Core::Response]
|
|
667
772
|
# The #data method of the response object returns
|
|
668
773
|
# a hash with the following structure:
|
|
669
|
-
# *
|
|
670
|
-
# *
|
|
671
|
-
# *
|
|
672
|
-
# *
|
|
673
|
-
# *
|
|
674
|
-
# *
|
|
675
|
-
# *
|
|
676
|
-
# *
|
|
677
|
-
# *
|
|
678
|
-
# *
|
|
679
|
-
# *
|
|
680
|
-
# *
|
|
681
|
-
# *
|
|
682
|
-
# *
|
|
683
|
-
# *
|
|
684
|
-
# *
|
|
685
|
-
# *
|
|
686
|
-
# *
|
|
687
|
-
# *
|
|
688
|
-
# *
|
|
689
|
-
# *
|
|
690
|
-
# *
|
|
691
|
-
# *
|
|
692
|
-
# *
|
|
693
|
-
# *
|
|
694
|
-
# *
|
|
695
|
-
# *
|
|
696
|
-
# *
|
|
697
|
-
# *
|
|
698
|
-
# *
|
|
774
|
+
# * `:id` - (String)
|
|
775
|
+
# * `:status` - (String)
|
|
776
|
+
# * `:last_modified_time` - (Time)
|
|
777
|
+
# * `:domain_name` - (String)
|
|
778
|
+
# * `:active_trusted_signers` - (Hash)
|
|
779
|
+
# * `:enabled` - (Boolean)
|
|
780
|
+
# * `:quantity` - (Integer)
|
|
781
|
+
# * `:items` - (Array<Hash>)
|
|
782
|
+
# * `:aws_account_number` - (String)
|
|
783
|
+
# * `:key_pair_ids` - (Hash)
|
|
784
|
+
# * `:quantity` - (Integer)
|
|
785
|
+
# * `:items` - (Array<String>)
|
|
786
|
+
# * `:streaming_distribution_config` - (Hash)
|
|
787
|
+
# * `:caller_reference` - (String)
|
|
788
|
+
# * `:s3_origin` - (Hash)
|
|
789
|
+
# * `:domain_name` - (String)
|
|
790
|
+
# * `:origin_access_identity` - (String)
|
|
791
|
+
# * `:aliases` - (Hash)
|
|
792
|
+
# * `:quantity` - (Integer)
|
|
793
|
+
# * `:items` - (Array<String>)
|
|
794
|
+
# * `:comment` - (String)
|
|
795
|
+
# * `:logging` - (Hash)
|
|
796
|
+
# * `:enabled` - (Boolean)
|
|
797
|
+
# * `:bucket` - (String)
|
|
798
|
+
# * `:prefix` - (String)
|
|
799
|
+
# * `:trusted_signers` - (Hash)
|
|
800
|
+
# * `:enabled` - (Boolean)
|
|
801
|
+
# * `:quantity` - (Integer)
|
|
802
|
+
# * `:items` - (Array<String>)
|
|
803
|
+
# * `:price_class` - (String)
|
|
804
|
+
# * `:enabled` - (Boolean)
|
|
699
805
|
|
|
700
806
|
# @!method get_streaming_distribution_config(options = {})
|
|
701
807
|
# Calls the GET GetStreamingDistributionConfig API operation.
|
|
702
808
|
# @param [Hash] options
|
|
703
|
-
# *
|
|
809
|
+
# * `:id` - *required* - (String) The streaming distribution's id.
|
|
704
810
|
# @return [Core::Response]
|
|
705
811
|
# The #data method of the response object returns
|
|
706
812
|
# a hash with the following structure:
|
|
707
|
-
# *
|
|
708
|
-
# *
|
|
709
|
-
# *
|
|
710
|
-
# *
|
|
711
|
-
# *
|
|
712
|
-
# *
|
|
713
|
-
# *
|
|
714
|
-
# *
|
|
715
|
-
# *
|
|
716
|
-
# *
|
|
717
|
-
# *
|
|
718
|
-
# *
|
|
719
|
-
# *
|
|
720
|
-
# *
|
|
721
|
-
# *
|
|
722
|
-
# *
|
|
723
|
-
# *
|
|
813
|
+
# * `:caller_reference` - (String)
|
|
814
|
+
# * `:s3_origin` - (Hash)
|
|
815
|
+
# * `:domain_name` - (String)
|
|
816
|
+
# * `:origin_access_identity` - (String)
|
|
817
|
+
# * `:aliases` - (Hash)
|
|
818
|
+
# * `:quantity` - (Integer)
|
|
819
|
+
# * `:items` - (Array<String>)
|
|
820
|
+
# * `:comment` - (String)
|
|
821
|
+
# * `:logging` - (Hash)
|
|
822
|
+
# * `:enabled` - (Boolean)
|
|
823
|
+
# * `:bucket` - (String)
|
|
824
|
+
# * `:prefix` - (String)
|
|
825
|
+
# * `:trusted_signers` - (Hash)
|
|
826
|
+
# * `:enabled` - (Boolean)
|
|
827
|
+
# * `:quantity` - (Integer)
|
|
828
|
+
# * `:items` - (Array<String>)
|
|
829
|
+
# * `:price_class` - (String)
|
|
830
|
+
# * `:enabled` - (Boolean)
|
|
724
831
|
|
|
725
832
|
# @!method list_cloud_front_origin_access_identities(options = {})
|
|
726
833
|
# Calls the GET ListCloudFrontOriginAccessIdentities API operation.
|
|
727
834
|
# @param [Hash] options
|
|
728
|
-
# *
|
|
835
|
+
# * `:marker` - (String) Use this when paginating results to indicate
|
|
729
836
|
# where to begin in your list of origin access identities. The results
|
|
730
837
|
# include identities in the list that occur after the marker. To get
|
|
731
838
|
# the next page of results, set the Marker to the value of the
|
|
732
839
|
# NextMarker from the current page's response (which is also the ID of
|
|
733
840
|
# the last identity on that page).
|
|
734
|
-
# *
|
|
841
|
+
# * `:max_items` - (Integer) The maximum number of origin access
|
|
735
842
|
# identities you want in the response body.
|
|
736
843
|
# @return [Core::Response]
|
|
737
844
|
# The #data method of the response object returns
|
|
738
845
|
# a hash with the following structure:
|
|
739
|
-
# *
|
|
740
|
-
# *
|
|
741
|
-
# *
|
|
742
|
-
# *
|
|
743
|
-
# *
|
|
744
|
-
# *
|
|
745
|
-
# *
|
|
746
|
-
# *
|
|
747
|
-
# *
|
|
846
|
+
# * `:marker` - (String)
|
|
847
|
+
# * `:next_marker` - (String)
|
|
848
|
+
# * `:max_items` - (Integer)
|
|
849
|
+
# * `:is_truncated` - (Boolean)
|
|
850
|
+
# * `:quantity` - (Integer)
|
|
851
|
+
# * `:items` - (Array<Hash>)
|
|
852
|
+
# * `:id` - (String)
|
|
853
|
+
# * `:s3_canonical_user_id` - (String)
|
|
854
|
+
# * `:comment` - (String)
|
|
748
855
|
|
|
749
856
|
# @!method list_distributions(options = {})
|
|
750
857
|
# Calls the GET ListDistributions API operation.
|
|
751
858
|
# @param [Hash] options
|
|
752
|
-
# *
|
|
859
|
+
# * `:marker` - (String) Use this when paginating results to indicate
|
|
753
860
|
# where to begin in your list of distributions. The results include
|
|
754
861
|
# distributions in the list that occur after the marker. To get the
|
|
755
862
|
# next page of results, set the Marker to the value of the NextMarker
|
|
756
863
|
# from the current page's response (which is also the ID of the last
|
|
757
864
|
# distribution on that page).
|
|
758
|
-
# *
|
|
865
|
+
# * `:max_items` - (Integer) The maximum number of distributions you want
|
|
759
866
|
# in the response body.
|
|
760
867
|
# @return [Core::Response]
|
|
761
868
|
# The #data method of the response object returns
|
|
762
869
|
# a hash with the following structure:
|
|
763
|
-
# *
|
|
764
|
-
# *
|
|
765
|
-
# *
|
|
766
|
-
# *
|
|
767
|
-
# *
|
|
768
|
-
# *
|
|
769
|
-
# *
|
|
770
|
-
# *
|
|
771
|
-
# *
|
|
772
|
-
# *
|
|
773
|
-
# *
|
|
774
|
-
# *
|
|
775
|
-
# *
|
|
776
|
-
# *
|
|
777
|
-
# *
|
|
778
|
-
# *
|
|
779
|
-
# *
|
|
780
|
-
# *
|
|
781
|
-
# *
|
|
782
|
-
# *
|
|
783
|
-
# *
|
|
784
|
-
# *
|
|
785
|
-
# *
|
|
786
|
-
# *
|
|
787
|
-
# *
|
|
788
|
-
# *
|
|
789
|
-
# *
|
|
790
|
-
# *
|
|
791
|
-
#
|
|
792
|
-
#
|
|
793
|
-
#
|
|
794
|
-
#
|
|
795
|
-
#
|
|
796
|
-
# *
|
|
797
|
-
#
|
|
798
|
-
#
|
|
799
|
-
#
|
|
800
|
-
#
|
|
801
|
-
#
|
|
802
|
-
#
|
|
803
|
-
#
|
|
804
|
-
#
|
|
805
|
-
#
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
#
|
|
810
|
-
#
|
|
811
|
-
#
|
|
870
|
+
# * `:marker` - (String)
|
|
871
|
+
# * `:next_marker` - (String)
|
|
872
|
+
# * `:max_items` - (Integer)
|
|
873
|
+
# * `:is_truncated` - (Boolean)
|
|
874
|
+
# * `:quantity` - (Integer)
|
|
875
|
+
# * `:items` - (Array<Hash>)
|
|
876
|
+
# * `:id` - (String)
|
|
877
|
+
# * `:status` - (String)
|
|
878
|
+
# * `:last_modified_time` - (Time)
|
|
879
|
+
# * `:domain_name` - (String)
|
|
880
|
+
# * `:aliases` - (Hash)
|
|
881
|
+
# * `:quantity` - (Integer)
|
|
882
|
+
# * `:items` - (Array<String>)
|
|
883
|
+
# * `:origins` - (Hash)
|
|
884
|
+
# * `:quantity` - (Integer)
|
|
885
|
+
# * `:items` - (Array<Hash>)
|
|
886
|
+
# * `:id` - (String)
|
|
887
|
+
# * `:domain_name` - (String)
|
|
888
|
+
# * `:s3_origin_config` - (Hash)
|
|
889
|
+
# * `:origin_access_identity` - (String)
|
|
890
|
+
# * `:custom_origin_config` - (Hash)
|
|
891
|
+
# * `:http_port` - (Integer)
|
|
892
|
+
# * `:https_port` - (Integer)
|
|
893
|
+
# * `:origin_protocol_policy` - (String)
|
|
894
|
+
# * `:default_cache_behavior` - (Hash)
|
|
895
|
+
# * `:target_origin_id` - (String)
|
|
896
|
+
# * `:forwarded_values` - (Hash)
|
|
897
|
+
# * `:query_string` - (Boolean)
|
|
898
|
+
# * `:cookies` - (Hash)
|
|
899
|
+
# * `:forward` - (String)
|
|
900
|
+
# * `:whitelisted_names` - (Hash)
|
|
901
|
+
# * `:quantity` - (Integer)
|
|
902
|
+
# * `:items` - (Array<String>)
|
|
903
|
+
# * `:trusted_signers` - (Hash)
|
|
904
|
+
# * `:enabled` - (Boolean)
|
|
905
|
+
# * `:quantity` - (Integer)
|
|
906
|
+
# * `:items` - (Array<String>)
|
|
907
|
+
# * `:viewer_protocol_policy` - (String)
|
|
908
|
+
# * `:min_ttl` - (Integer)
|
|
909
|
+
# * `:cache_behaviors` - (Hash)
|
|
910
|
+
# * `:quantity` - (Integer)
|
|
911
|
+
# * `:items` - (Array<Hash>)
|
|
912
|
+
# * `:path_pattern` - (String)
|
|
913
|
+
# * `:target_origin_id` - (String)
|
|
914
|
+
# * `:forwarded_values` - (Hash)
|
|
915
|
+
# * `:query_string` - (Boolean)
|
|
916
|
+
# * `:cookies` - (Hash)
|
|
917
|
+
# * `:forward` - (String)
|
|
918
|
+
# * `:whitelisted_names` - (Hash)
|
|
919
|
+
# * `:quantity` - (Integer)
|
|
920
|
+
# * `:items` - (Array<String>)
|
|
921
|
+
# * `:trusted_signers` - (Hash)
|
|
922
|
+
# * `:enabled` - (Boolean)
|
|
923
|
+
# * `:quantity` - (Integer)
|
|
924
|
+
# * `:items` - (Array<String>)
|
|
925
|
+
# * `:viewer_protocol_policy` - (String)
|
|
926
|
+
# * `:min_ttl` - (Integer)
|
|
927
|
+
# * `:comment` - (String)
|
|
928
|
+
# * `:price_class` - (String)
|
|
929
|
+
# * `:enabled` - (Boolean)
|
|
812
930
|
|
|
813
931
|
# @!method list_invalidations(options = {})
|
|
814
932
|
# Calls the GET ListInvalidations API operation.
|
|
815
933
|
# @param [Hash] options
|
|
816
|
-
# *
|
|
817
|
-
# *
|
|
934
|
+
# * `:distribution_id` - *required* - (String) The distribution's id.
|
|
935
|
+
# * `:marker` - (String) Use this parameter when paginating results to
|
|
818
936
|
# indicate where to begin in your list of invalidation batches. Because
|
|
819
937
|
# the results are returned in decreasing order from most recent to
|
|
820
938
|
# oldest, the most recent results are on the first page, the second
|
|
@@ -822,63 +940,65 @@ module AWS
|
|
|
822
940
|
# results, set the Marker to the value of the NextMarker from the
|
|
823
941
|
# current page's response. This value is the same as the ID of the last
|
|
824
942
|
# invalidation batch on that page.
|
|
825
|
-
# *
|
|
943
|
+
# * `:max_items` - (Integer) The maximum number of invalidation batches
|
|
826
944
|
# you want in the response body.
|
|
827
945
|
# @return [Core::Response]
|
|
828
946
|
# The #data method of the response object returns
|
|
829
947
|
# a hash with the following structure:
|
|
830
|
-
# *
|
|
831
|
-
# *
|
|
832
|
-
# *
|
|
833
|
-
# *
|
|
834
|
-
# *
|
|
835
|
-
# *
|
|
836
|
-
# *
|
|
837
|
-
# *
|
|
948
|
+
# * `:marker` - (String)
|
|
949
|
+
# * `:next_marker` - (String)
|
|
950
|
+
# * `:max_items` - (Integer)
|
|
951
|
+
# * `:is_truncated` - (Boolean)
|
|
952
|
+
# * `:quantity` - (Integer)
|
|
953
|
+
# * `:items` - (Array<Hash>)
|
|
954
|
+
# * `:id` - (String)
|
|
955
|
+
# * `:create_time` - (Time)
|
|
956
|
+
# * `:status` - (String)
|
|
838
957
|
|
|
839
958
|
# @!method list_streaming_distributions(options = {})
|
|
840
959
|
# Calls the GET ListStreamingDistributions API operation.
|
|
841
960
|
# @param [Hash] options
|
|
842
|
-
# *
|
|
961
|
+
# * `:marker` - (String) Use this when paginating results to indicate
|
|
843
962
|
# where to begin in your list of streaming distributions. The results
|
|
844
963
|
# include distributions in the list that occur after the marker. To get
|
|
845
964
|
# the next page of results, set the Marker to the value of the
|
|
846
965
|
# NextMarker from the current page's response (which is also the ID of
|
|
847
966
|
# the last distribution on that page).
|
|
848
|
-
# *
|
|
967
|
+
# * `:max_items` - (Integer) The maximum number of streaming
|
|
849
968
|
# distributions you want in the response body.
|
|
850
969
|
# @return [Core::Response]
|
|
851
970
|
# The #data method of the response object returns
|
|
852
971
|
# a hash with the following structure:
|
|
853
|
-
# *
|
|
854
|
-
# *
|
|
855
|
-
# *
|
|
856
|
-
# *
|
|
857
|
-
# *
|
|
858
|
-
# *
|
|
859
|
-
# *
|
|
860
|
-
# *
|
|
861
|
-
# *
|
|
862
|
-
# *
|
|
863
|
-
# *
|
|
864
|
-
# *
|
|
865
|
-
# *
|
|
866
|
-
# *
|
|
867
|
-
# *
|
|
868
|
-
# *
|
|
869
|
-
# *
|
|
870
|
-
# *
|
|
871
|
-
# *
|
|
872
|
-
# *
|
|
873
|
-
# *
|
|
874
|
-
# *
|
|
972
|
+
# * `:marker` - (String)
|
|
973
|
+
# * `:next_marker` - (String)
|
|
974
|
+
# * `:max_items` - (Integer)
|
|
975
|
+
# * `:is_truncated` - (Boolean)
|
|
976
|
+
# * `:quantity` - (Integer)
|
|
977
|
+
# * `:items` - (Array<Hash>)
|
|
978
|
+
# * `:id` - (String)
|
|
979
|
+
# * `:status` - (String)
|
|
980
|
+
# * `:last_modified_time` - (Time)
|
|
981
|
+
# * `:domain_name` - (String)
|
|
982
|
+
# * `:s3_origin` - (Hash)
|
|
983
|
+
# * `:domain_name` - (String)
|
|
984
|
+
# * `:origin_access_identity` - (String)
|
|
985
|
+
# * `:aliases` - (Hash)
|
|
986
|
+
# * `:quantity` - (Integer)
|
|
987
|
+
# * `:items` - (Array<String>)
|
|
988
|
+
# * `:trusted_signers` - (Hash)
|
|
989
|
+
# * `:enabled` - (Boolean)
|
|
990
|
+
# * `:quantity` - (Integer)
|
|
991
|
+
# * `:items` - (Array<String>)
|
|
992
|
+
# * `:comment` - (String)
|
|
993
|
+
# * `:price_class` - (String)
|
|
994
|
+
# * `:enabled` - (Boolean)
|
|
875
995
|
|
|
876
996
|
# @!method update_cloud_front_origin_access_identity(options = {})
|
|
877
997
|
# Calls the PUT UpdateCloudFrontOriginAccessIdentity API operation.
|
|
878
998
|
# @param [Hash] options
|
|
879
|
-
# *
|
|
999
|
+
# * `:cloud_front_origin_access_identity_config` - *required* - (Hash)
|
|
880
1000
|
# The identity's configuration information.
|
|
881
|
-
# *
|
|
1001
|
+
# * `:caller_reference` - *required* - (String) A unique number that
|
|
882
1002
|
# ensures the request can't be replayed. If the CallerReference is
|
|
883
1003
|
# new (no matter the content of the
|
|
884
1004
|
# CloudFrontOriginAccessIdentityConfig object), a new origin access
|
|
@@ -892,26 +1012,26 @@ module AWS
|
|
|
892
1012
|
# CloudFrontOriginAccessIdentityConfig is different from the original
|
|
893
1013
|
# request, CloudFront returns a
|
|
894
1014
|
# CloudFrontOriginAccessIdentityAlreadyExists error.
|
|
895
|
-
# *
|
|
1015
|
+
# * `:comment` - *required* - (String) Any comments you want to include
|
|
896
1016
|
# about the origin access identity.
|
|
897
|
-
# *
|
|
898
|
-
# *
|
|
1017
|
+
# * `:id` - *required* - (String) The identity's id.
|
|
1018
|
+
# * `:if_match` - (String) The value of the ETag header you received when
|
|
899
1019
|
# retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.
|
|
900
1020
|
# @return [Core::Response]
|
|
901
1021
|
# The #data method of the response object returns
|
|
902
1022
|
# a hash with the following structure:
|
|
903
|
-
# *
|
|
904
|
-
# *
|
|
905
|
-
# *
|
|
906
|
-
# *
|
|
907
|
-
# *
|
|
1023
|
+
# * `:id` - (String)
|
|
1024
|
+
# * `:s3_canonical_user_id` - (String)
|
|
1025
|
+
# * `:cloud_front_origin_access_identity_config` - (Hash)
|
|
1026
|
+
# * `:caller_reference` - (String)
|
|
1027
|
+
# * `:comment` - (String)
|
|
908
1028
|
|
|
909
1029
|
# @!method update_distribution(options = {})
|
|
910
1030
|
# Calls the PUT UpdateDistribution API operation.
|
|
911
1031
|
# @param [Hash] options
|
|
912
|
-
# *
|
|
1032
|
+
# * `:distribution_config` - *required* - (Hash) The distribution's
|
|
913
1033
|
# configuration information.
|
|
914
|
-
# *
|
|
1034
|
+
# * `:caller_reference` - *required* - (String) A unique number that
|
|
915
1035
|
# ensures the request can't be replayed. If the CallerReference is
|
|
916
1036
|
# new (no matter the content of the DistributionConfig object), a new
|
|
917
1037
|
# distribution is created. If the CallerReference is a value you
|
|
@@ -923,15 +1043,15 @@ module AWS
|
|
|
923
1043
|
# to create a distribution but the content of the DistributionConfig
|
|
924
1044
|
# is different from the original request, CloudFront returns a
|
|
925
1045
|
# DistributionAlreadyExists error.
|
|
926
|
-
# *
|
|
1046
|
+
# * `:aliases` - *required* - (Hash) A complex type that contains
|
|
927
1047
|
# information about CNAMEs (alternate domain names), if any, for this
|
|
928
1048
|
# distribution.
|
|
929
|
-
# *
|
|
1049
|
+
# * `:quantity` - *required* - (Integer) The number of CNAMEs, if
|
|
930
1050
|
# any, for this distribution.
|
|
931
|
-
# *
|
|
1051
|
+
# * `:items` - (Array<String>) Optional: A complex type that contains
|
|
932
1052
|
# CNAME elements, if any, for this distribution. If Quantity is 0,
|
|
933
1053
|
# you can omit Items.
|
|
934
|
-
# *
|
|
1054
|
+
# * `:default_root_object` - *required* - (String) The object that you
|
|
935
1055
|
# want CloudFront to return (for example, index.html) when an end
|
|
936
1056
|
# user requests the root URL for your distribution
|
|
937
1057
|
# (http://www.example.com) instead of an object in your distribution
|
|
@@ -943,28 +1063,28 @@ module AWS
|
|
|
943
1063
|
# distribution configuration and include an empty DefaultRootObject
|
|
944
1064
|
# element. To replace the default root object, update the
|
|
945
1065
|
# distribution configuration and specify the new object.
|
|
946
|
-
# *
|
|
1066
|
+
# * `:origins` - *required* - (Hash) A complex type that contains
|
|
947
1067
|
# information about origins for this distribution.
|
|
948
|
-
# *
|
|
1068
|
+
# * `:quantity` - *required* - (Integer) The number of origins for
|
|
949
1069
|
# this distribution.
|
|
950
|
-
# *
|
|
1070
|
+
# * `:items` - (Array<Hash>) A complex type that contains origins for
|
|
951
1071
|
# this distribution.
|
|
952
|
-
# *
|
|
1072
|
+
# * `:id` - *required* - (String) A unique identifier for the
|
|
953
1073
|
# origin. The value of Id must be unique within the distribution.
|
|
954
1074
|
# You use the value of Id when you create a cache behavior. The
|
|
955
1075
|
# Id identifies the origin that CloudFront routes a request to
|
|
956
1076
|
# when the request matches the path pattern for that cache
|
|
957
1077
|
# behavior.
|
|
958
|
-
# *
|
|
1078
|
+
# * `:domain_name` - *required* - (String) Amazon S3 origins: The
|
|
959
1079
|
# DNS name of the Amazon S3 bucket from which you want CloudFront
|
|
960
1080
|
# to get objects for this origin, for example,
|
|
961
1081
|
# myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain
|
|
962
1082
|
# name for the HTTP server from which you want CloudFront to get
|
|
963
1083
|
# objects for this origin, for example, www.example.com.
|
|
964
|
-
# *
|
|
1084
|
+
# * `:s3_origin_config` - (Hash) A complex type that contains
|
|
965
1085
|
# information about the Amazon S3 origin. If the origin is a
|
|
966
1086
|
# custom origin, use the CustomOriginConfig element instead.
|
|
967
|
-
# *
|
|
1087
|
+
# * `:origin_access_identity` - *required* - (String) The
|
|
968
1088
|
# CloudFront origin access identity to associate with the
|
|
969
1089
|
# origin. Use an origin access identity to configure the origin
|
|
970
1090
|
# so that end users can only access objects in an Amazon S3
|
|
@@ -976,31 +1096,54 @@ module AWS
|
|
|
976
1096
|
# include an empty OriginAccessIdentity element. To replace the
|
|
977
1097
|
# origin access identity, update the distribution configuration
|
|
978
1098
|
# and specify the new origin access identity.
|
|
979
|
-
# *
|
|
1099
|
+
# * `:custom_origin_config` - (Hash) A complex type that contains
|
|
980
1100
|
# information about a custom origin. If the origin is an Amazon
|
|
981
1101
|
# S3 bucket, use the S3OriginConfig element instead.
|
|
982
|
-
# *
|
|
1102
|
+
# * `:http_port` - *required* - (Integer) The HTTP port the
|
|
983
1103
|
# custom origin listens on.
|
|
984
|
-
# *
|
|
1104
|
+
# * `:https_port` - *required* - (Integer) The HTTPS port the
|
|
985
1105
|
# custom origin listens on.
|
|
986
|
-
# *
|
|
987
|
-
# protocol policy to apply to your origin.
|
|
988
|
-
#
|
|
1106
|
+
# * `:origin_protocol_policy` - *required* - (String) The origin
|
|
1107
|
+
# protocol policy to apply to your origin. Valid values
|
|
1108
|
+
# include:
|
|
1109
|
+
# * `http-only`
|
|
1110
|
+
# * `match-viewer`
|
|
1111
|
+
# * `:default_cache_behavior` - *required* - (Hash) A complex type that
|
|
989
1112
|
# describes the default cache behavior if you do not specify a
|
|
990
1113
|
# CacheBehavior element or if files don't match any of the values of
|
|
991
1114
|
# PathPattern in CacheBehavior elements.You must create exactly one
|
|
992
1115
|
# default cache behavior.
|
|
993
|
-
# *
|
|
1116
|
+
# * `:target_origin_id` - *required* - (String) The value of ID for
|
|
994
1117
|
# the origin that you want CloudFront to route requests to when a
|
|
995
1118
|
# request matches the path pattern either for a cache behavior or
|
|
996
1119
|
# for the default cache behavior.
|
|
997
|
-
# *
|
|
998
|
-
# specifies how CloudFront handles query strings.
|
|
999
|
-
# *
|
|
1120
|
+
# * `:forwarded_values` - *required* - (Hash) A complex type that
|
|
1121
|
+
# specifies how CloudFront handles query strings and cookies.
|
|
1122
|
+
# * `:query_string` - *required* - (Boolean) Indicates whether you
|
|
1000
1123
|
# want CloudFront to forward query strings to the origin that is
|
|
1001
1124
|
# associated with this cache behavior. If so, specify +true+ ; if
|
|
1002
1125
|
# not, specify +false+ .
|
|
1003
|
-
#
|
|
1126
|
+
# * `:cookies` - *required* - (Hash) A complex type that specifies
|
|
1127
|
+
# how CloudFront handles cookies.
|
|
1128
|
+
# * `:forward` - *required* - (String) Use this element to
|
|
1129
|
+
# specify whether you want CloudFront to forward cookies to the
|
|
1130
|
+
# origin that is associated with this cache behavior. You can
|
|
1131
|
+
# specify all, none or whitelist. If you choose All, CloudFront
|
|
1132
|
+
# forwards all cookies regardless of how many your application
|
|
1133
|
+
# uses. Valid values include:
|
|
1134
|
+
# * `none`
|
|
1135
|
+
# * `whitelist`
|
|
1136
|
+
# * `all`
|
|
1137
|
+
# * `:whitelisted_names` - (Hash) A complex type that specifies
|
|
1138
|
+
# the whitelisted cookies, if any, that you want CloudFront to
|
|
1139
|
+
# forward to your origin that is associated with this cache
|
|
1140
|
+
# behavior.
|
|
1141
|
+
# * `:quantity` - *required* - (Integer) The number of
|
|
1142
|
+
# whitelisted cookies for this cache behavior.
|
|
1143
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
1144
|
+
# contains whitelisted cookies for this cache behavior. If
|
|
1145
|
+
# Quantity is 0, you can omit Items.
|
|
1146
|
+
# * `:trusted_signers` - *required* - (Hash) A complex type that
|
|
1004
1147
|
# specifies the AWS accounts, if any, that you want to allow to
|
|
1005
1148
|
# create signed URLs for private content. If you want to require
|
|
1006
1149
|
# signed URLs in requests for objects in the target origin that
|
|
@@ -1015,34 +1158,36 @@ module AWS
|
|
|
1015
1158
|
# +false+ ), change Quantity as applicable, and specify all of the
|
|
1016
1159
|
# trusted signers that you want to include in the updated
|
|
1017
1160
|
# distribution.
|
|
1018
|
-
# *
|
|
1161
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want
|
|
1019
1162
|
# to require end users to use signed URLs to access the files
|
|
1020
1163
|
# specified by PathPattern and TargetOriginId.
|
|
1021
|
-
# *
|
|
1164
|
+
# * `:quantity` - *required* - (Integer) The number of trusted
|
|
1022
1165
|
# signers for this cache behavior.
|
|
1023
|
-
# *
|
|
1166
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
1024
1167
|
# contains trusted signers for this cache behavior. If Quantity
|
|
1025
1168
|
# is 0, you can omit Items.
|
|
1026
|
-
# *
|
|
1169
|
+
# * `:viewer_protocol_policy` - *required* - (String) Use this
|
|
1027
1170
|
# element to specify the protocol that users can use to access the
|
|
1028
1171
|
# files in the origin specified by TargetOriginId when a request
|
|
1029
1172
|
# matches the path pattern in PathPattern. If you want CloudFront
|
|
1030
1173
|
# to allow end users to use any available protocol, specify
|
|
1031
1174
|
# allow-all. If you want CloudFront to require HTTPS, specify
|
|
1032
|
-
# https.
|
|
1033
|
-
#
|
|
1175
|
+
# https. Valid values include:
|
|
1176
|
+
# * `allow-all`
|
|
1177
|
+
# * `https-only`
|
|
1178
|
+
# * `:min_ttl` - *required* - (Integer) The minimum amount of time
|
|
1034
1179
|
# that you want objects to stay in CloudFront caches before
|
|
1035
1180
|
# CloudFront queries your origin to see whether the object has been
|
|
1036
1181
|
# updated.You can specify a value from 0 to 3,153,600,000 seconds
|
|
1037
1182
|
# (100 years).
|
|
1038
|
-
# *
|
|
1183
|
+
# * `:cache_behaviors` - *required* - (Hash) A complex type that
|
|
1039
1184
|
# contains zero or more CacheBehavior elements.
|
|
1040
|
-
# *
|
|
1185
|
+
# * `:quantity` - *required* - (Integer) The number of cache
|
|
1041
1186
|
# behaviors for this distribution.
|
|
1042
|
-
# *
|
|
1187
|
+
# * `:items` - (Array<Hash>) Optional: A complex type that contains
|
|
1043
1188
|
# cache behaviors for this distribution. If Quantity is 0, you can
|
|
1044
1189
|
# omit Items.
|
|
1045
|
-
# *
|
|
1190
|
+
# * `:path_pattern` - *required* - (String) The pattern (for
|
|
1046
1191
|
# example, images/*.jpg) that specifies which requests you want
|
|
1047
1192
|
# this cache behavior to apply to. When CloudFront receives an
|
|
1048
1193
|
# end-user request, the requested path is compared with path
|
|
@@ -1051,17 +1196,37 @@ module AWS
|
|
|
1051
1196
|
# behavior is * and cannot be changed. If the request for an
|
|
1052
1197
|
# object does not match the path pattern for any cache behaviors,
|
|
1053
1198
|
# CloudFront applies the behavior in the default cache behavior.
|
|
1054
|
-
# *
|
|
1199
|
+
# * `:target_origin_id` - *required* - (String) The value of ID for
|
|
1055
1200
|
# the origin that you want CloudFront to route requests to when a
|
|
1056
1201
|
# request matches the path pattern either for a cache behavior or
|
|
1057
1202
|
# for the default cache behavior.
|
|
1058
|
-
# *
|
|
1059
|
-
# specifies how CloudFront handles query strings.
|
|
1060
|
-
# *
|
|
1203
|
+
# * `:forwarded_values` - *required* - (Hash) A complex type that
|
|
1204
|
+
# specifies how CloudFront handles query strings and cookies.
|
|
1205
|
+
# * `:query_string` - *required* - (Boolean) Indicates whether
|
|
1061
1206
|
# you want CloudFront to forward query strings to the origin
|
|
1062
1207
|
# that is associated with this cache behavior. If so, specify
|
|
1063
1208
|
# +true+ ; if not, specify +false+ .
|
|
1064
|
-
#
|
|
1209
|
+
# * `:cookies` - *required* - (Hash) A complex type that
|
|
1210
|
+
# specifies how CloudFront handles cookies.
|
|
1211
|
+
# * `:forward` - *required* - (String) Use this element to
|
|
1212
|
+
# specify whether you want CloudFront to forward cookies to
|
|
1213
|
+
# the origin that is associated with this cache behavior. You
|
|
1214
|
+
# can specify all, none or whitelist. If you choose All,
|
|
1215
|
+
# CloudFront forwards all cookies regardless of how many your
|
|
1216
|
+
# application uses. Valid values include:
|
|
1217
|
+
# * `none`
|
|
1218
|
+
# * `whitelist`
|
|
1219
|
+
# * `all`
|
|
1220
|
+
# * `:whitelisted_names` - (Hash) A complex type that specifies
|
|
1221
|
+
# the whitelisted cookies, if any, that you want CloudFront
|
|
1222
|
+
# to forward to your origin that is associated with this
|
|
1223
|
+
# cache behavior.
|
|
1224
|
+
# * `:quantity` - *required* - (Integer) The number of
|
|
1225
|
+
# whitelisted cookies for this cache behavior.
|
|
1226
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
1227
|
+
# contains whitelisted cookies for this cache behavior. If
|
|
1228
|
+
# Quantity is 0, you can omit Items.
|
|
1229
|
+
# * `:trusted_signers` - *required* - (Hash) A complex type that
|
|
1065
1230
|
# specifies the AWS accounts, if any, that you want to allow to
|
|
1066
1231
|
# create signed URLs for private content. If you want to require
|
|
1067
1232
|
# signed URLs in requests for objects in the target origin that
|
|
@@ -1076,120 +1241,148 @@ module AWS
|
|
|
1076
1241
|
# +false+ ), change Quantity as applicable, and specify all of
|
|
1077
1242
|
# the trusted signers that you want to include in the updated
|
|
1078
1243
|
# distribution.
|
|
1079
|
-
# *
|
|
1244
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you
|
|
1080
1245
|
# want to require end users to use signed URLs to access the
|
|
1081
1246
|
# files specified by PathPattern and TargetOriginId.
|
|
1082
|
-
# *
|
|
1247
|
+
# * `:quantity` - *required* - (Integer) The number of trusted
|
|
1083
1248
|
# signers for this cache behavior.
|
|
1084
|
-
# *
|
|
1249
|
+
# * `:items` - (Array<String>) Optional: A complex type that
|
|
1085
1250
|
# contains trusted signers for this cache behavior. If Quantity
|
|
1086
1251
|
# is 0, you can omit Items.
|
|
1087
|
-
# *
|
|
1252
|
+
# * `:viewer_protocol_policy` - *required* - (String) Use this
|
|
1088
1253
|
# element to specify the protocol that users can use to access
|
|
1089
1254
|
# the files in the origin specified by TargetOriginId when a
|
|
1090
1255
|
# request matches the path pattern in PathPattern. If you want
|
|
1091
1256
|
# CloudFront to allow end users to use any available protocol,
|
|
1092
1257
|
# specify allow-all. If you want CloudFront to require HTTPS,
|
|
1093
|
-
# specify https.
|
|
1094
|
-
#
|
|
1258
|
+
# specify https. Valid values include:
|
|
1259
|
+
# * `allow-all`
|
|
1260
|
+
# * `https-only`
|
|
1261
|
+
# * `:min_ttl` - *required* - (Integer) The minimum amount of time
|
|
1095
1262
|
# that you want objects to stay in CloudFront caches before
|
|
1096
1263
|
# CloudFront queries your origin to see whether the object has
|
|
1097
1264
|
# been updated.You can specify a value from 0 to 3,153,600,000
|
|
1098
1265
|
# seconds (100 years).
|
|
1099
|
-
# *
|
|
1266
|
+
# * `:comment` - *required* - (String) Any comments you want to include
|
|
1100
1267
|
# about the distribution.
|
|
1101
|
-
# *
|
|
1268
|
+
# * `:logging` - *required* - (Hash) A complex type that controls
|
|
1102
1269
|
# whether access logs are written for the distribution.
|
|
1103
|
-
# *
|
|
1270
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want
|
|
1104
1271
|
# CloudFront to save access logs to an Amazon S3 bucket. If you do
|
|
1105
1272
|
# not want to enable logging when you create a distribution or if
|
|
1106
1273
|
# you want to disable logging for an existing distribution, specify
|
|
1107
1274
|
# +false+ for Enabled, and specify empty Bucket and Prefix
|
|
1108
1275
|
# elements. If you specify +false+ for Enabled but you specify
|
|
1109
|
-
# values for Bucket and
|
|
1110
|
-
# deleted.
|
|
1111
|
-
# *
|
|
1276
|
+
# values for Bucket, prefix and IncludeCookies, the values are
|
|
1277
|
+
# automatically deleted.
|
|
1278
|
+
# * `:include_cookies` - *required* - (Boolean) Specifies whether you
|
|
1279
|
+
# want CloudFront to include cookies in access logs, specify +true+
|
|
1280
|
+
# for IncludeCookies. If you choose to include cookies in logs,
|
|
1281
|
+
# CloudFront logs all cookies regardless of how you configure the
|
|
1282
|
+
# cache behaviors for this distribution. If you do not want to
|
|
1283
|
+
# include cookies when you create a distribution or if you want to
|
|
1284
|
+
# disable include cookies for an existing distribution, specify
|
|
1285
|
+
# +false+ for IncludeCookies.
|
|
1286
|
+
# * `:bucket` - *required* - (String) The Amazon S3 bucket to store
|
|
1112
1287
|
# the access logs in, for example, myawslogbucket.s3.amazonaws.com.
|
|
1113
|
-
# *
|
|
1288
|
+
# * `:prefix` - *required* - (String) An optional string that you
|
|
1114
1289
|
# want CloudFront to prefix to the access log filenames for this
|
|
1115
1290
|
# distribution, for example, myprefix/. If you want to enable
|
|
1116
1291
|
# logging, but you do not want to specify a prefix, you still must
|
|
1117
1292
|
# include an empty Prefix element in the Logging element.
|
|
1118
|
-
# *
|
|
1293
|
+
# * `:price_class` - *required* - (String) A complex type that contains
|
|
1294
|
+
# information about price class for this distribution. Valid values
|
|
1295
|
+
# include:
|
|
1296
|
+
# * `PriceClass_100`
|
|
1297
|
+
# * `PriceClass_200`
|
|
1298
|
+
# * `PriceClass_All`
|
|
1299
|
+
# * `:enabled` - *required* - (Boolean) Whether the distribution is
|
|
1119
1300
|
# enabled to accept end user requests for content.
|
|
1120
|
-
# *
|
|
1121
|
-
# *
|
|
1301
|
+
# * `:id` - *required* - (String) The distribution's id.
|
|
1302
|
+
# * `:if_match` - (String) The value of the ETag header you received when
|
|
1122
1303
|
# retrieving the distribution's configuration. For example:
|
|
1123
1304
|
# E2QWRUHAPOMQZL.
|
|
1124
1305
|
# @return [Core::Response]
|
|
1125
1306
|
# The #data method of the response object returns
|
|
1126
1307
|
# a hash with the following structure:
|
|
1127
|
-
# *
|
|
1128
|
-
# *
|
|
1129
|
-
# *
|
|
1130
|
-
# *
|
|
1131
|
-
# *
|
|
1132
|
-
# *
|
|
1133
|
-
# *
|
|
1134
|
-
# *
|
|
1135
|
-
# *
|
|
1136
|
-
# *
|
|
1137
|
-
# *
|
|
1138
|
-
# *
|
|
1139
|
-
# *
|
|
1140
|
-
# *
|
|
1141
|
-
# *
|
|
1142
|
-
# *
|
|
1143
|
-
# *
|
|
1144
|
-
# *
|
|
1145
|
-
# *
|
|
1146
|
-
# *
|
|
1147
|
-
# *
|
|
1148
|
-
# *
|
|
1149
|
-
# *
|
|
1150
|
-
# *
|
|
1151
|
-
# *
|
|
1152
|
-
# *
|
|
1153
|
-
# *
|
|
1154
|
-
# *
|
|
1155
|
-
# *
|
|
1156
|
-
# *
|
|
1157
|
-
# *
|
|
1158
|
-
# *
|
|
1159
|
-
# *
|
|
1160
|
-
# *
|
|
1161
|
-
#
|
|
1162
|
-
#
|
|
1163
|
-
#
|
|
1164
|
-
#
|
|
1165
|
-
#
|
|
1166
|
-
# *
|
|
1167
|
-
#
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
#
|
|
1172
|
-
#
|
|
1173
|
-
#
|
|
1174
|
-
#
|
|
1175
|
-
#
|
|
1176
|
-
#
|
|
1177
|
-
#
|
|
1178
|
-
#
|
|
1179
|
-
#
|
|
1180
|
-
#
|
|
1181
|
-
#
|
|
1182
|
-
#
|
|
1183
|
-
#
|
|
1184
|
-
#
|
|
1185
|
-
#
|
|
1308
|
+
# * `:id` - (String)
|
|
1309
|
+
# * `:status` - (String)
|
|
1310
|
+
# * `:last_modified_time` - (Time)
|
|
1311
|
+
# * `:in_progress_invalidation_batches` - (Integer)
|
|
1312
|
+
# * `:domain_name` - (String)
|
|
1313
|
+
# * `:active_trusted_signers` - (Hash)
|
|
1314
|
+
# * `:enabled` - (Boolean)
|
|
1315
|
+
# * `:quantity` - (Integer)
|
|
1316
|
+
# * `:items` - (Array<Hash>)
|
|
1317
|
+
# * `:aws_account_number` - (String)
|
|
1318
|
+
# * `:key_pair_ids` - (Hash)
|
|
1319
|
+
# * `:quantity` - (Integer)
|
|
1320
|
+
# * `:items` - (Array<String>)
|
|
1321
|
+
# * `:distribution_config` - (Hash)
|
|
1322
|
+
# * `:caller_reference` - (String)
|
|
1323
|
+
# * `:aliases` - (Hash)
|
|
1324
|
+
# * `:quantity` - (Integer)
|
|
1325
|
+
# * `:items` - (Array<String>)
|
|
1326
|
+
# * `:default_root_object` - (String)
|
|
1327
|
+
# * `:origins` - (Hash)
|
|
1328
|
+
# * `:quantity` - (Integer)
|
|
1329
|
+
# * `:items` - (Array<Hash>)
|
|
1330
|
+
# * `:id` - (String)
|
|
1331
|
+
# * `:domain_name` - (String)
|
|
1332
|
+
# * `:s3_origin_config` - (Hash)
|
|
1333
|
+
# * `:origin_access_identity` - (String)
|
|
1334
|
+
# * `:custom_origin_config` - (Hash)
|
|
1335
|
+
# * `:http_port` - (Integer)
|
|
1336
|
+
# * `:https_port` - (Integer)
|
|
1337
|
+
# * `:origin_protocol_policy` - (String)
|
|
1338
|
+
# * `:default_cache_behavior` - (Hash)
|
|
1339
|
+
# * `:target_origin_id` - (String)
|
|
1340
|
+
# * `:forwarded_values` - (Hash)
|
|
1341
|
+
# * `:query_string` - (Boolean)
|
|
1342
|
+
# * `:cookies` - (Hash)
|
|
1343
|
+
# * `:forward` - (String)
|
|
1344
|
+
# * `:whitelisted_names` - (Hash)
|
|
1345
|
+
# * `:quantity` - (Integer)
|
|
1346
|
+
# * `:items` - (Array<String>)
|
|
1347
|
+
# * `:trusted_signers` - (Hash)
|
|
1348
|
+
# * `:enabled` - (Boolean)
|
|
1349
|
+
# * `:quantity` - (Integer)
|
|
1350
|
+
# * `:items` - (Array<String>)
|
|
1351
|
+
# * `:viewer_protocol_policy` - (String)
|
|
1352
|
+
# * `:min_ttl` - (Integer)
|
|
1353
|
+
# * `:cache_behaviors` - (Hash)
|
|
1354
|
+
# * `:quantity` - (Integer)
|
|
1355
|
+
# * `:items` - (Array<Hash>)
|
|
1356
|
+
# * `:path_pattern` - (String)
|
|
1357
|
+
# * `:target_origin_id` - (String)
|
|
1358
|
+
# * `:forwarded_values` - (Hash)
|
|
1359
|
+
# * `:query_string` - (Boolean)
|
|
1360
|
+
# * `:cookies` - (Hash)
|
|
1361
|
+
# * `:forward` - (String)
|
|
1362
|
+
# * `:whitelisted_names` - (Hash)
|
|
1363
|
+
# * `:quantity` - (Integer)
|
|
1364
|
+
# * `:items` - (Array<String>)
|
|
1365
|
+
# * `:trusted_signers` - (Hash)
|
|
1366
|
+
# * `:enabled` - (Boolean)
|
|
1367
|
+
# * `:quantity` - (Integer)
|
|
1368
|
+
# * `:items` - (Array<String>)
|
|
1369
|
+
# * `:viewer_protocol_policy` - (String)
|
|
1370
|
+
# * `:min_ttl` - (Integer)
|
|
1371
|
+
# * `:comment` - (String)
|
|
1372
|
+
# * `:logging` - (Hash)
|
|
1373
|
+
# * `:enabled` - (Boolean)
|
|
1374
|
+
# * `:include_cookies` - (Boolean)
|
|
1375
|
+
# * `:bucket` - (String)
|
|
1376
|
+
# * `:prefix` - (String)
|
|
1377
|
+
# * `:price_class` - (String)
|
|
1378
|
+
# * `:enabled` - (Boolean)
|
|
1186
1379
|
|
|
1187
1380
|
# @!method update_streaming_distribution(options = {})
|
|
1188
1381
|
# Calls the PUT UpdateStreamingDistribution API operation.
|
|
1189
1382
|
# @param [Hash] options
|
|
1190
|
-
# *
|
|
1383
|
+
# * `:streaming_distribution_config` - *required* - (Hash) The streaming
|
|
1191
1384
|
# distribution's configuration information.
|
|
1192
|
-
# *
|
|
1385
|
+
# * `:caller_reference` - *required* - (String) A unique number that
|
|
1193
1386
|
# ensures the request can't be replayed. If the CallerReference is
|
|
1194
1387
|
# new (no matter the content of the StreamingDistributionConfig
|
|
1195
1388
|
# object), a new streaming distribution is created. If the
|
|
@@ -1202,41 +1395,42 @@ module AWS
|
|
|
1202
1395
|
# distribution but the content of the StreamingDistributionConfig is
|
|
1203
1396
|
# different from the original request, CloudFront returns a
|
|
1204
1397
|
# DistributionAlreadyExists error.
|
|
1205
|
-
# *
|
|
1398
|
+
# * `:s3_origin` - *required* - (Hash) A complex type that contains
|
|
1206
1399
|
# information about the Amazon S3 bucket from which you want
|
|
1207
1400
|
# CloudFront to get your media files for distribution.
|
|
1208
|
-
# *
|
|
1401
|
+
# * `:domain_name` - *required* - (String) The DNS name of the S3
|
|
1209
1402
|
# origin.
|
|
1210
|
-
# *
|
|
1403
|
+
# * `:origin_access_identity` - *required* - (String) Your S3
|
|
1211
1404
|
# origin's origin access identity.
|
|
1212
|
-
# *
|
|
1405
|
+
# * `:aliases` - *required* - (Hash) A complex type that contains
|
|
1213
1406
|
# information about CNAMEs (alternate domain names), if any, for this
|
|
1214
1407
|
# streaming distribution.
|
|
1215
|
-
# *
|
|
1408
|
+
# * `:quantity` - *required* - (Integer) The number of CNAMEs, if
|
|
1216
1409
|
# any, for this distribution.
|
|
1217
|
-
# *
|
|
1410
|
+
# * `:items` - (Array<String>) Optional: A complex type that contains
|
|
1218
1411
|
# CNAME elements, if any, for this distribution. If Quantity is 0,
|
|
1219
1412
|
# you can omit Items.
|
|
1220
|
-
# *
|
|
1413
|
+
# * `:comment` - *required* - (String) Any comments you want to include
|
|
1221
1414
|
# about the streaming distribution.
|
|
1222
|
-
# *
|
|
1415
|
+
# * `:logging` - *required* - (Hash) A complex type that controls
|
|
1223
1416
|
# whether access logs are written for the streaming distribution.
|
|
1224
|
-
# *
|
|
1417
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want
|
|
1225
1418
|
# CloudFront to save access logs to an Amazon S3 bucket. If you do
|
|
1226
|
-
# not want to enable logging when you create a
|
|
1227
|
-
# you want to disable logging for an existing
|
|
1228
|
-
# +false+ for Enabled, and specify
|
|
1229
|
-
# elements. If you specify +false+ for
|
|
1230
|
-
# values for Bucket and Prefix, the values
|
|
1231
|
-
# deleted.
|
|
1232
|
-
# *
|
|
1419
|
+
# not want to enable logging when you create a streaming
|
|
1420
|
+
# distribution or if you want to disable logging for an existing
|
|
1421
|
+
# streaming distribution, specify +false+ for Enabled, and specify
|
|
1422
|
+
# empty Bucket and Prefix elements. If you specify +false+ for
|
|
1423
|
+
# Enabled but you specify values for Bucket and Prefix, the values
|
|
1424
|
+
# are automatically deleted.
|
|
1425
|
+
# * `:bucket` - *required* - (String) The Amazon S3 bucket to store
|
|
1233
1426
|
# the access logs in, for example, myawslogbucket.s3.amazonaws.com.
|
|
1234
|
-
# *
|
|
1427
|
+
# * `:prefix` - *required* - (String) An optional string that you
|
|
1235
1428
|
# want CloudFront to prefix to the access log filenames for this
|
|
1236
|
-
# distribution, for example, myprefix/. If you want to
|
|
1237
|
-
# logging, but you do not want to specify a prefix, you
|
|
1238
|
-
# include an empty Prefix element in the Logging
|
|
1239
|
-
#
|
|
1429
|
+
# streaming distribution, for example, myprefix/. If you want to
|
|
1430
|
+
# enable logging, but you do not want to specify a prefix, you
|
|
1431
|
+
# still must include an empty Prefix element in the Logging
|
|
1432
|
+
# element.
|
|
1433
|
+
# * `:trusted_signers` - *required* - (Hash) A complex type that
|
|
1240
1434
|
# specifies the AWS accounts, if any, that you want to allow to
|
|
1241
1435
|
# create signed URLs for private content. If you want to require
|
|
1242
1436
|
# signed URLs in requests for objects in the target origin that match
|
|
@@ -1250,57 +1444,64 @@ module AWS
|
|
|
1250
1444
|
# change Enabled to +true+ (if it's currently +false+ ), change
|
|
1251
1445
|
# Quantity as applicable, and specify all of the trusted signers that
|
|
1252
1446
|
# you want to include in the updated distribution.
|
|
1253
|
-
# *
|
|
1447
|
+
# * `:enabled` - *required* - (Boolean) Specifies whether you want to
|
|
1254
1448
|
# require end users to use signed URLs to access the files
|
|
1255
1449
|
# specified by PathPattern and TargetOriginId.
|
|
1256
|
-
# *
|
|
1450
|
+
# * `:quantity` - *required* - (Integer) The number of trusted
|
|
1257
1451
|
# signers for this cache behavior.
|
|
1258
|
-
# *
|
|
1452
|
+
# * `:items` - (Array<String>) Optional: A complex type that contains
|
|
1259
1453
|
# trusted signers for this cache behavior. If Quantity is 0, you
|
|
1260
1454
|
# can omit Items.
|
|
1261
|
-
# *
|
|
1455
|
+
# * `:price_class` - *required* - (String) A complex type that contains
|
|
1456
|
+
# information about price class for this streaming distribution.
|
|
1457
|
+
# Valid values include:
|
|
1458
|
+
# * `PriceClass_100`
|
|
1459
|
+
# * `PriceClass_200`
|
|
1460
|
+
# * `PriceClass_All`
|
|
1461
|
+
# * `:enabled` - *required* - (Boolean) Whether the streaming
|
|
1262
1462
|
# distribution is enabled to accept end user requests for content.
|
|
1263
|
-
# *
|
|
1264
|
-
# *
|
|
1463
|
+
# * `:id` - *required* - (String) The streaming distribution's id.
|
|
1464
|
+
# * `:if_match` - (String) The value of the ETag header you received when
|
|
1265
1465
|
# retrieving the streaming distribution's configuration. For example:
|
|
1266
1466
|
# E2QWRUHAPOMQZL.
|
|
1267
1467
|
# @return [Core::Response]
|
|
1268
1468
|
# The #data method of the response object returns
|
|
1269
1469
|
# a hash with the following structure:
|
|
1270
|
-
# *
|
|
1271
|
-
# *
|
|
1272
|
-
# *
|
|
1273
|
-
# *
|
|
1274
|
-
# *
|
|
1275
|
-
# *
|
|
1276
|
-
# *
|
|
1277
|
-
# *
|
|
1278
|
-
# *
|
|
1279
|
-
# *
|
|
1280
|
-
# *
|
|
1281
|
-
# *
|
|
1282
|
-
# *
|
|
1283
|
-
# *
|
|
1284
|
-
# *
|
|
1285
|
-
# *
|
|
1286
|
-
# *
|
|
1287
|
-
# *
|
|
1288
|
-
# *
|
|
1289
|
-
# *
|
|
1290
|
-
# *
|
|
1291
|
-
# *
|
|
1292
|
-
# *
|
|
1293
|
-
# *
|
|
1294
|
-
# *
|
|
1295
|
-
# *
|
|
1296
|
-
# *
|
|
1297
|
-
# *
|
|
1298
|
-
# *
|
|
1299
|
-
# *
|
|
1470
|
+
# * `:id` - (String)
|
|
1471
|
+
# * `:status` - (String)
|
|
1472
|
+
# * `:last_modified_time` - (Time)
|
|
1473
|
+
# * `:domain_name` - (String)
|
|
1474
|
+
# * `:active_trusted_signers` - (Hash)
|
|
1475
|
+
# * `:enabled` - (Boolean)
|
|
1476
|
+
# * `:quantity` - (Integer)
|
|
1477
|
+
# * `:items` - (Array<Hash>)
|
|
1478
|
+
# * `:aws_account_number` - (String)
|
|
1479
|
+
# * `:key_pair_ids` - (Hash)
|
|
1480
|
+
# * `:quantity` - (Integer)
|
|
1481
|
+
# * `:items` - (Array<String>)
|
|
1482
|
+
# * `:streaming_distribution_config` - (Hash)
|
|
1483
|
+
# * `:caller_reference` - (String)
|
|
1484
|
+
# * `:s3_origin` - (Hash)
|
|
1485
|
+
# * `:domain_name` - (String)
|
|
1486
|
+
# * `:origin_access_identity` - (String)
|
|
1487
|
+
# * `:aliases` - (Hash)
|
|
1488
|
+
# * `:quantity` - (Integer)
|
|
1489
|
+
# * `:items` - (Array<String>)
|
|
1490
|
+
# * `:comment` - (String)
|
|
1491
|
+
# * `:logging` - (Hash)
|
|
1492
|
+
# * `:enabled` - (Boolean)
|
|
1493
|
+
# * `:bucket` - (String)
|
|
1494
|
+
# * `:prefix` - (String)
|
|
1495
|
+
# * `:trusted_signers` - (Hash)
|
|
1496
|
+
# * `:enabled` - (Boolean)
|
|
1497
|
+
# * `:quantity` - (Integer)
|
|
1498
|
+
# * `:items` - (Array<String>)
|
|
1499
|
+
# * `:price_class` - (String)
|
|
1500
|
+
# * `:enabled` - (Boolean)
|
|
1300
1501
|
|
|
1301
1502
|
# end client methods #
|
|
1302
1503
|
|
|
1303
|
-
define_client_methods('2012-
|
|
1504
|
+
define_client_methods('2012-07-01')
|
|
1304
1505
|
|
|
1305
1506
|
end
|
|
1306
1507
|
end
|