capo-cloudfront 0.2.0__py3-none-any.whl
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.
- capo_cloudfront/__init__.py +52 -0
- capo_cloudfront/_async.py +25 -0
- capo_cloudfront/_auth/_identity.py +16 -0
- capo_cloudfront/_auth/_providers.py +318 -0
- capo_cloudfront/_auth/_signers.py +84 -0
- capo_cloudfront/_auth/_sigv4.py +382 -0
- capo_cloudfront/_auth/_zapros_handler.py +62 -0
- capo_cloudfront/_iter.py +113 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/associate_alias.py +128 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/associate_distribution_tenant_web_acl.py +164 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/associate_distribution_web_acl.py +161 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/copy_distribution.py +464 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_anycast_ip_list.py +177 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_cache_policy.py +183 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_cloud_front_origin_access_identity.py +170 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_connection_function.py +184 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_connection_group.py +169 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_continuous_deployment_policy.py +175 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_distribution.py +468 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_distribution_tenant.py +199 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_distribution_with_tags.py +468 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_field_level_encryption_config.py +187 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_field_level_encryption_profile.py +187 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_function.py +176 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_invalidation.py +177 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_invalidation_for_distribution_tenant.py +170 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_key_group.py +163 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_key_value_store.py +178 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_monitoring_subscription.py +163 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_origin_access_control.py +162 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_origin_request_policy.py +185 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_public_key.py +160 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_realtime_log_config.py +156 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_response_headers_policy.py +185 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_streaming_distribution.py +206 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_streaming_distribution_with_tags.py +209 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_trust_store.py +172 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/create_vpc_origin.py +177 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_anycast_ip_list.py +136 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_cache_policy.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_cloud_front_origin_access_identity.py +129 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_connection_function.py +133 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_connection_group.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_continuous_deployment_policy.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_distribution.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_distribution_tenant.py +125 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_field_level_encryption_config.py +127 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_field_level_encryption_profile.py +127 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_function.py +127 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_key_group.py +120 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_key_value_store.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_monitoring_subscription.py +146 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_origin_access_control.py +127 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_origin_request_policy.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_public_key.py +125 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_realtime_log_config.py +122 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_resource_policy.py +126 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_response_headers_policy.py +130 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_streaming_distribution.py +127 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_trust_store.py +128 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/delete_vpc_origin.py +170 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/describe_connection_function.py +156 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/describe_function.py +149 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/describe_key_value_store.py +150 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/disassociate_distribution_tenant_web_acl.py +155 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/disassociate_distribution_web_acl.py +154 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_anycast_ip_list.py +150 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_cache_policy.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_cache_policy_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_cloud_front_origin_access_identity.py +146 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_cloud_front_origin_access_identity_config.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_connection_function.py +154 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_connection_group.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_connection_group_by_routing_endpoint.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_continuous_deployment_policy.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_continuous_deployment_policy_config.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_distribution.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_distribution_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_distribution_tenant.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_distribution_tenant_by_domain.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_field_level_encryption.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_field_level_encryption_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_field_level_encryption_profile.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_field_level_encryption_profile_config.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_function.py +151 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_invalidation.py +149 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_invalidation_for_distribution_tenant.py +149 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_key_group.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_key_group_config.py +139 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_managed_certificate_details.py +138 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_monitoring_subscription.py +155 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_origin_access_control.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_origin_access_control_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_origin_request_policy.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_origin_request_policy_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_public_key.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_public_key_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_realtime_log_config.py +143 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_resource_policy.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_response_headers_policy.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_response_headers_policy_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_streaming_distribution.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_streaming_distribution_config.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_trust_store.py +143 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/get_vpc_origin.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_anycast_ip_lists.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_cache_policies.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_cloud_front_origin_access_identities.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_conflicting_aliases.py +146 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_connection_functions.py +152 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_connection_groups.py +146 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_continuous_deployment_policies.py +145 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distribution_tenants.py +150 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distribution_tenants_by_customization.py +145 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_anycast_ip_list_id.py +155 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_cache_policy_id.py +150 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_connection_function.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_connection_mode.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_key_group.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_origin_request_policy_id.py +153 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_owned_resource.py +153 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_realtime_log_config.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_response_headers_policy_id.py +153 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_trust_store.py +145 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_vpc_origin_id.py +153 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_distributions_by_web_acl_id.py +144 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_domain_conflicts.py +150 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_field_level_encryption_configs.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_field_level_encryption_profiles.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_functions.py +143 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_invalidations.py +152 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_invalidations_for_distribution_tenant.py +145 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_key_groups.py +135 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_key_value_stores.py +147 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_origin_access_controls.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_origin_request_policies.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_public_keys.py +135 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_realtime_log_configs.py +149 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_response_headers_policies.py +148 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_streaming_distributions.py +137 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_tags_for_resource.py +142 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_trust_stores.py +145 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/list_vpc_origins.py +146 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/publish_connection_function.py +158 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/publish_function.py +155 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/put_resource_policy.py +157 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/tag_resource.py +121 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/test_connection_function.py +172 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/test_function.py +167 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/untag_resource.py +123 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_anycast_ip_list.py +174 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_cache_policy.py +196 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_cloud_front_origin_access_identity.py +184 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_connection_function.py +179 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_connection_group.py +178 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_continuous_deployment_policy.py +180 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_distribution.py +468 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_distribution_tenant.py +205 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_distribution_with_staging_config.py +444 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_domain_association.py +166 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_field_level_encryption_config.py +198 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_field_level_encryption_profile.py +206 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_function.py +176 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_key_group.py +171 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_key_value_store.py +166 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_origin_access_control.py +178 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_origin_request_policy.py +198 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_public_key.py +176 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_realtime_log_config.py +153 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_response_headers_policy.py +198 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_streaming_distribution.py +211 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_trust_store.py +172 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/update_vpc_origin.py +196 -0
- capo_cloudfront/_operations/cloudfront2020_05_31/verify_dns_configuration.py +141 -0
- capo_cloudfront/_pagination.py +21 -0
- capo_cloudfront/_protocol/__init__.py +1 -0
- capo_cloudfront/_protocol/errors.py +59 -0
- capo_cloudfront/_protocol/eventstream.py +238 -0
- capo_cloudfront/_protocol/xml.py +27 -0
- capo_cloudfront/_rule_engine/__init__.py +0 -0
- capo_cloudfront/_rule_engine/_aws_partition.py +160 -0
- capo_cloudfront/_rule_engine/_endpoint_rule_set.py +272 -0
- capo_cloudfront/_rule_engine/_endpoint_runtime.py +389 -0
- capo_cloudfront/_services/_aws_config.py +152 -0
- capo_cloudfront/_services/_pipeline.py +198 -0
- capo_cloudfront/_services/async_cloud_front.py +9719 -0
- capo_cloudfront/_services/cloud_front.py +9540 -0
- capo_cloudfront/errors/__init__.py +377 -0
- capo_cloudfront/errors/_base.py +94 -0
- capo_cloudfront/errors/access_denied.py +46 -0
- capo_cloudfront/errors/batch_too_large.py +49 -0
- capo_cloudfront/errors/cache_policy_already_exists.py +49 -0
- capo_cloudfront/errors/cache_policy_in_use.py +49 -0
- capo_cloudfront/errors/cannot_change_immutable_public_key_fields.py +51 -0
- capo_cloudfront/errors/cannot_delete_entity_while_in_use.py +51 -0
- capo_cloudfront/errors/cannot_update_entity_while_in_use.py +51 -0
- capo_cloudfront/errors/cloud_front_origin_access_identity_already_exists.py +51 -0
- capo_cloudfront/errors/cloud_front_origin_access_identity_in_use.py +51 -0
- capo_cloudfront/errors/cname_already_exists.py +49 -0
- capo_cloudfront/errors/continuous_deployment_policy_already_exists.py +51 -0
- capo_cloudfront/errors/continuous_deployment_policy_in_use.py +51 -0
- capo_cloudfront/errors/distribution_already_exists.py +49 -0
- capo_cloudfront/errors/distribution_not_disabled.py +49 -0
- capo_cloudfront/errors/entity_already_exists.py +49 -0
- capo_cloudfront/errors/entity_limit_exceeded.py +49 -0
- capo_cloudfront/errors/entity_not_found.py +49 -0
- capo_cloudfront/errors/entity_size_limit_exceeded.py +49 -0
- capo_cloudfront/errors/field_level_encryption_config_already_exists.py +51 -0
- capo_cloudfront/errors/field_level_encryption_config_in_use.py +51 -0
- capo_cloudfront/errors/field_level_encryption_profile_already_exists.py +51 -0
- capo_cloudfront/errors/field_level_encryption_profile_in_use.py +51 -0
- capo_cloudfront/errors/field_level_encryption_profile_size_exceeded.py +51 -0
- capo_cloudfront/errors/function_already_exists.py +49 -0
- capo_cloudfront/errors/function_in_use.py +49 -0
- capo_cloudfront/errors/function_size_limit_exceeded.py +49 -0
- capo_cloudfront/errors/illegal_delete.py +49 -0
- capo_cloudfront/errors/illegal_field_level_encryption_config_association_with_cache_behavior.py +61 -0
- capo_cloudfront/errors/illegal_origin_access_configuration.py +51 -0
- capo_cloudfront/errors/illegal_update.py +49 -0
- capo_cloudfront/errors/inconsistent_quantities.py +49 -0
- capo_cloudfront/errors/invalid_argument.py +49 -0
- capo_cloudfront/errors/invalid_association.py +49 -0
- capo_cloudfront/errors/invalid_default_root_object.py +49 -0
- capo_cloudfront/errors/invalid_domain_name_for_origin_access_control.py +51 -0
- capo_cloudfront/errors/invalid_error_code.py +49 -0
- capo_cloudfront/errors/invalid_forward_cookies.py +49 -0
- capo_cloudfront/errors/invalid_function_association.py +51 -0
- capo_cloudfront/errors/invalid_geo_restriction_parameter.py +51 -0
- capo_cloudfront/errors/invalid_headers_for_s3_origin.py +49 -0
- capo_cloudfront/errors/invalid_if_match_version.py +49 -0
- capo_cloudfront/errors/invalid_lambda_function_association.py +51 -0
- capo_cloudfront/errors/invalid_location_code.py +49 -0
- capo_cloudfront/errors/invalid_minimum_protocol_version.py +51 -0
- capo_cloudfront/errors/invalid_origin.py +49 -0
- capo_cloudfront/errors/invalid_origin_access_control.py +51 -0
- capo_cloudfront/errors/invalid_origin_access_identity.py +51 -0
- capo_cloudfront/errors/invalid_origin_keepalive_timeout.py +51 -0
- capo_cloudfront/errors/invalid_origin_read_timeout.py +49 -0
- capo_cloudfront/errors/invalid_protocol_settings.py +49 -0
- capo_cloudfront/errors/invalid_query_string_parameters.py +51 -0
- capo_cloudfront/errors/invalid_relative_path.py +49 -0
- capo_cloudfront/errors/invalid_required_protocol.py +49 -0
- capo_cloudfront/errors/invalid_response_code.py +49 -0
- capo_cloudfront/errors/invalid_tagging.py +49 -0
- capo_cloudfront/errors/invalid_ttl_order.py +49 -0
- capo_cloudfront/errors/invalid_viewer_certificate.py +49 -0
- capo_cloudfront/errors/invalid_web_acl_id.py +49 -0
- capo_cloudfront/errors/key_group_already_exists.py +49 -0
- capo_cloudfront/errors/missing_body.py +46 -0
- capo_cloudfront/errors/monitoring_subscription_already_exists.py +51 -0
- capo_cloudfront/errors/no_such_cache_policy.py +49 -0
- capo_cloudfront/errors/no_such_cloud_front_origin_access_identity.py +51 -0
- capo_cloudfront/errors/no_such_continuous_deployment_policy.py +51 -0
- capo_cloudfront/errors/no_such_distribution.py +49 -0
- capo_cloudfront/errors/no_such_field_level_encryption_config.py +51 -0
- capo_cloudfront/errors/no_such_field_level_encryption_profile.py +51 -0
- capo_cloudfront/errors/no_such_function_exists.py +49 -0
- capo_cloudfront/errors/no_such_invalidation.py +49 -0
- capo_cloudfront/errors/no_such_monitoring_subscription.py +51 -0
- capo_cloudfront/errors/no_such_origin.py +46 -0
- capo_cloudfront/errors/no_such_origin_access_control.py +49 -0
- capo_cloudfront/errors/no_such_origin_request_policy.py +49 -0
- capo_cloudfront/errors/no_such_public_key.py +49 -0
- capo_cloudfront/errors/no_such_realtime_log_config.py +49 -0
- capo_cloudfront/errors/no_such_resource.py +49 -0
- capo_cloudfront/errors/no_such_response_headers_policy.py +51 -0
- capo_cloudfront/errors/no_such_streaming_distribution.py +51 -0
- capo_cloudfront/errors/origin_access_control_already_exists.py +51 -0
- capo_cloudfront/errors/origin_access_control_in_use.py +49 -0
- capo_cloudfront/errors/origin_request_policy_already_exists.py +51 -0
- capo_cloudfront/errors/origin_request_policy_in_use.py +49 -0
- capo_cloudfront/errors/precondition_failed.py +49 -0
- capo_cloudfront/errors/public_key_already_exists.py +49 -0
- capo_cloudfront/errors/public_key_in_use.py +49 -0
- capo_cloudfront/errors/query_arg_profile_empty.py +49 -0
- capo_cloudfront/errors/realtime_log_config_already_exists.py +51 -0
- capo_cloudfront/errors/realtime_log_config_in_use.py +49 -0
- capo_cloudfront/errors/realtime_log_config_owner_mismatch.py +51 -0
- capo_cloudfront/errors/resource_in_use.py +49 -0
- capo_cloudfront/errors/resource_not_disabled.py +49 -0
- capo_cloudfront/errors/response_headers_policy_already_exists.py +51 -0
- capo_cloudfront/errors/response_headers_policy_in_use.py +51 -0
- capo_cloudfront/errors/staging_distribution_in_use.py +49 -0
- capo_cloudfront/errors/streaming_distribution_already_exists.py +51 -0
- capo_cloudfront/errors/streaming_distribution_not_disabled.py +51 -0
- capo_cloudfront/errors/test_function_failed.py +49 -0
- capo_cloudfront/errors/too_long_csp_in_response_headers_policy.py +51 -0
- capo_cloudfront/errors/too_many_cache_behaviors.py +49 -0
- capo_cloudfront/errors/too_many_cache_policies.py +49 -0
- capo_cloudfront/errors/too_many_certificates.py +49 -0
- capo_cloudfront/errors/too_many_cloud_front_origin_access_identities.py +51 -0
- capo_cloudfront/errors/too_many_continuous_deployment_policies.py +51 -0
- capo_cloudfront/errors/too_many_cookie_names_in_white_list.py +51 -0
- capo_cloudfront/errors/too_many_cookies_in_cache_policy.py +51 -0
- capo_cloudfront/errors/too_many_cookies_in_origin_request_policy.py +51 -0
- capo_cloudfront/errors/too_many_custom_headers_in_response_headers_policy.py +51 -0
- capo_cloudfront/errors/too_many_distribution_cnam_es.py +49 -0
- capo_cloudfront/errors/too_many_distributions.py +49 -0
- capo_cloudfront/errors/too_many_distributions_associated_to_cache_policy.py +51 -0
- capo_cloudfront/errors/too_many_distributions_associated_to_field_level_encryption_config.py +61 -0
- capo_cloudfront/errors/too_many_distributions_associated_to_key_group.py +51 -0
- capo_cloudfront/errors/too_many_distributions_associated_to_origin_access_control.py +57 -0
- capo_cloudfront/errors/too_many_distributions_associated_to_origin_request_policy.py +57 -0
- capo_cloudfront/errors/too_many_distributions_associated_to_response_headers_policy.py +57 -0
- capo_cloudfront/errors/too_many_distributions_with_function_associations.py +51 -0
- capo_cloudfront/errors/too_many_distributions_with_lambda_associations.py +51 -0
- capo_cloudfront/errors/too_many_distributions_with_single_function_arn.py +51 -0
- capo_cloudfront/errors/too_many_field_level_encryption_configs.py +51 -0
- capo_cloudfront/errors/too_many_field_level_encryption_content_type_profiles.py +51 -0
- capo_cloudfront/errors/too_many_field_level_encryption_encryption_entities.py +51 -0
- capo_cloudfront/errors/too_many_field_level_encryption_field_patterns.py +51 -0
- capo_cloudfront/errors/too_many_field_level_encryption_profiles.py +51 -0
- capo_cloudfront/errors/too_many_field_level_encryption_query_arg_profiles.py +51 -0
- capo_cloudfront/errors/too_many_function_associations.py +51 -0
- capo_cloudfront/errors/too_many_functions.py +49 -0
- capo_cloudfront/errors/too_many_headers_in_cache_policy.py +51 -0
- capo_cloudfront/errors/too_many_headers_in_forwarded_values.py +51 -0
- capo_cloudfront/errors/too_many_headers_in_origin_request_policy.py +51 -0
- capo_cloudfront/errors/too_many_invalidations_in_progress.py +51 -0
- capo_cloudfront/errors/too_many_key_groups.py +49 -0
- capo_cloudfront/errors/too_many_key_groups_associated_to_distribution.py +51 -0
- capo_cloudfront/errors/too_many_lambda_function_associations.py +51 -0
- capo_cloudfront/errors/too_many_origin_access_controls.py +51 -0
- capo_cloudfront/errors/too_many_origin_custom_headers.py +51 -0
- capo_cloudfront/errors/too_many_origin_groups_per_distribution.py +51 -0
- capo_cloudfront/errors/too_many_origin_request_policies.py +51 -0
- capo_cloudfront/errors/too_many_origins.py +49 -0
- capo_cloudfront/errors/too_many_public_keys.py +49 -0
- capo_cloudfront/errors/too_many_public_keys_in_key_group.py +51 -0
- capo_cloudfront/errors/too_many_query_string_parameters.py +51 -0
- capo_cloudfront/errors/too_many_query_strings_in_cache_policy.py +51 -0
- capo_cloudfront/errors/too_many_query_strings_in_origin_request_policy.py +51 -0
- capo_cloudfront/errors/too_many_realtime_log_configs.py +49 -0
- capo_cloudfront/errors/too_many_remove_headers_in_response_headers_policy.py +51 -0
- capo_cloudfront/errors/too_many_response_headers_policies.py +51 -0
- capo_cloudfront/errors/too_many_streaming_distribution_cnam_es.py +51 -0
- capo_cloudfront/errors/too_many_streaming_distributions.py +51 -0
- capo_cloudfront/errors/too_many_trusted_signers.py +49 -0
- capo_cloudfront/errors/trusted_key_group_does_not_exist.py +51 -0
- capo_cloudfront/errors/trusted_signer_does_not_exist.py +49 -0
- capo_cloudfront/errors/unsupported_operation.py +49 -0
- capo_cloudfront/py.typed +0 -0
- capo_cloudfront/types/_prelude/blob.py +22 -0
- capo_cloudfront/types/_prelude/timestamp.py +22 -0
- capo_cloudfront/types/access_control_allow_headers_list.py +41 -0
- capo_cloudfront/types/access_control_allow_methods_list.py +63 -0
- capo_cloudfront/types/access_control_allow_origins_list.py +41 -0
- capo_cloudfront/types/access_control_expose_headers_list.py +41 -0
- capo_cloudfront/types/active_trusted_key_groups.py +57 -0
- capo_cloudfront/types/active_trusted_signers.py +53 -0
- capo_cloudfront/types/alias_icp_recordal.py +50 -0
- capo_cloudfront/types/alias_icp_recordals.py +49 -0
- capo_cloudfront/types/alias_list.py +37 -0
- capo_cloudfront/types/alias_string.py +5 -0
- capo_cloudfront/types/aliases.py +44 -0
- capo_cloudfront/types/allowed_methods.py +60 -0
- capo_cloudfront/types/anycast_ip_list.py +132 -0
- capo_cloudfront/types/anycast_ip_list_collection.py +83 -0
- capo_cloudfront/types/anycast_ip_list_name.py +5 -0
- capo_cloudfront/types/anycast_ip_list_summaries.py +51 -0
- capo_cloudfront/types/anycast_ip_list_summary.py +122 -0
- capo_cloudfront/types/anycast_ips.py +37 -0
- capo_cloudfront/types/associate_alias_request.py +27 -0
- capo_cloudfront/types/associate_distribution_tenant_web_acl_request.py +40 -0
- capo_cloudfront/types/associate_distribution_tenant_web_acl_result.py +41 -0
- capo_cloudfront/types/associate_distribution_web_acl_request.py +40 -0
- capo_cloudfront/types/associate_distribution_web_acl_result.py +41 -0
- capo_cloudfront/types/aws_account_number_list.py +37 -0
- capo_cloudfront/types/boolean.py +5 -0
- capo_cloudfront/types/ca_certificates_bundle_s3_location.py +57 -0
- capo_cloudfront/types/ca_certificates_bundle_source.py +52 -0
- capo_cloudfront/types/cache_behavior.py +274 -0
- capo_cloudfront/types/cache_behavior_list.py +47 -0
- capo_cloudfront/types/cache_behaviors.py +48 -0
- capo_cloudfront/types/cache_policy.py +68 -0
- capo_cloudfront/types/cache_policy_config.py +86 -0
- capo_cloudfront/types/cache_policy_cookie_behavior.py +29 -0
- capo_cloudfront/types/cache_policy_cookies_config.py +59 -0
- capo_cloudfront/types/cache_policy_header_behavior.py +27 -0
- capo_cloudfront/types/cache_policy_headers_config.py +55 -0
- capo_cloudfront/types/cache_policy_list.py +66 -0
- capo_cloudfront/types/cache_policy_query_string_behavior.py +31 -0
- capo_cloudfront/types/cache_policy_query_strings_config.py +64 -0
- capo_cloudfront/types/cache_policy_summary.py +55 -0
- capo_cloudfront/types/cache_policy_summary_list.py +51 -0
- capo_cloudfront/types/cache_policy_type.py +27 -0
- capo_cloudfront/types/cache_tag_config.py +32 -0
- capo_cloudfront/types/cached_methods.py +45 -0
- capo_cloudfront/types/certificate.py +32 -0
- capo_cloudfront/types/certificate_source.py +28 -0
- capo_cloudfront/types/certificate_transparency_logging_preference.py +29 -0
- capo_cloudfront/types/cloud_front_origin_access_identity.py +68 -0
- capo_cloudfront/types/cloud_front_origin_access_identity_config.py +46 -0
- capo_cloudfront/types/cloud_front_origin_access_identity_list.py +93 -0
- capo_cloudfront/types/cloud_front_origin_access_identity_summary.py +54 -0
- capo_cloudfront/types/cloud_front_origin_access_identity_summary_list.py +65 -0
- capo_cloudfront/types/comment_type.py +5 -0
- capo_cloudfront/types/conflicting_alias.py +44 -0
- capo_cloudfront/types/conflicting_aliases.py +49 -0
- capo_cloudfront/types/conflicting_aliases_list.py +61 -0
- capo_cloudfront/types/connection_function_association.py +34 -0
- capo_cloudfront/types/connection_function_summary.py +128 -0
- capo_cloudfront/types/connection_function_summary_list.py +59 -0
- capo_cloudfront/types/connection_function_test_result.py +103 -0
- capo_cloudfront/types/connection_group.py +131 -0
- capo_cloudfront/types/connection_group_association_filter.py +32 -0
- capo_cloudfront/types/connection_group_summary.py +126 -0
- capo_cloudfront/types/connection_group_summary_list.py +55 -0
- capo_cloudfront/types/connection_mode.py +27 -0
- capo_cloudfront/types/content_type_profile.py +52 -0
- capo_cloudfront/types/content_type_profile_config.py +60 -0
- capo_cloudfront/types/content_type_profile_list.py +51 -0
- capo_cloudfront/types/content_type_profiles.py +50 -0
- capo_cloudfront/types/continuous_deployment_policy.py +75 -0
- capo_cloudfront/types/continuous_deployment_policy_config.py +71 -0
- capo_cloudfront/types/continuous_deployment_policy_list.py +70 -0
- capo_cloudfront/types/continuous_deployment_policy_summary.py +48 -0
- capo_cloudfront/types/continuous_deployment_policy_summary_list.py +65 -0
- capo_cloudfront/types/continuous_deployment_policy_type.py +29 -0
- capo_cloudfront/types/continuous_deployment_single_header_config.py +46 -0
- capo_cloudfront/types/continuous_deployment_single_weight_config.py +55 -0
- capo_cloudfront/types/cookie_name_list.py +37 -0
- capo_cloudfront/types/cookie_names.py +48 -0
- capo_cloudfront/types/cookie_preference.py +54 -0
- capo_cloudfront/types/copy_distribution_request.py +46 -0
- capo_cloudfront/types/copy_distribution_result.py +42 -0
- capo_cloudfront/types/create_anycast_ip_list_request.py +88 -0
- capo_cloudfront/types/create_anycast_ip_list_result.py +41 -0
- capo_cloudfront/types/create_cache_policy_request.py +44 -0
- capo_cloudfront/types/create_cache_policy_result.py +43 -0
- capo_cloudfront/types/create_cloud_front_origin_access_identity_request.py +50 -0
- capo_cloudfront/types/create_cloud_front_origin_access_identity_result.py +51 -0
- capo_cloudfront/types/create_connection_function_request.py +86 -0
- capo_cloudfront/types/create_connection_function_result.py +49 -0
- capo_cloudfront/types/create_connection_group_request.py +69 -0
- capo_cloudfront/types/create_connection_group_result.py +47 -0
- capo_cloudfront/types/create_continuous_deployment_policy_request.py +50 -0
- capo_cloudfront/types/create_continuous_deployment_policy_result.py +49 -0
- capo_cloudfront/types/create_distribution_request.py +44 -0
- capo_cloudfront/types/create_distribution_result.py +43 -0
- capo_cloudfront/types/create_distribution_tenant_request.py +137 -0
- capo_cloudfront/types/create_distribution_tenant_result.py +47 -0
- capo_cloudfront/types/create_distribution_with_tags_request.py +48 -0
- capo_cloudfront/types/create_distribution_with_tags_result.py +45 -0
- capo_cloudfront/types/create_field_level_encryption_config_request.py +48 -0
- capo_cloudfront/types/create_field_level_encryption_config_result.py +49 -0
- capo_cloudfront/types/create_field_level_encryption_profile_request.py +50 -0
- capo_cloudfront/types/create_field_level_encryption_profile_result.py +49 -0
- capo_cloudfront/types/create_function_request.py +77 -0
- capo_cloudfront/types/create_function_result.py +47 -0
- capo_cloudfront/types/create_invalidation_for_distribution_tenant_request.py +48 -0
- capo_cloudfront/types/create_invalidation_for_distribution_tenant_result.py +42 -0
- capo_cloudfront/types/create_invalidation_request.py +47 -0
- capo_cloudfront/types/create_invalidation_result.py +41 -0
- capo_cloudfront/types/create_key_group_request.py +42 -0
- capo_cloudfront/types/create_key_group_result.py +43 -0
- capo_cloudfront/types/create_key_value_store_request.py +69 -0
- capo_cloudfront/types/create_key_value_store_result.py +43 -0
- capo_cloudfront/types/create_monitoring_subscription_request.py +51 -0
- capo_cloudfront/types/create_monitoring_subscription_result.py +44 -0
- capo_cloudfront/types/create_origin_access_control_request.py +48 -0
- capo_cloudfront/types/create_origin_access_control_result.py +49 -0
- capo_cloudfront/types/create_origin_request_policy_request.py +48 -0
- capo_cloudfront/types/create_origin_request_policy_result.py +49 -0
- capo_cloudfront/types/create_public_key_request.py +42 -0
- capo_cloudfront/types/create_public_key_result.py +43 -0
- capo_cloudfront/types/create_realtime_log_config_request.py +75 -0
- capo_cloudfront/types/create_realtime_log_config_result.py +44 -0
- capo_cloudfront/types/create_response_headers_policy_request.py +46 -0
- capo_cloudfront/types/create_response_headers_policy_result.py +49 -0
- capo_cloudfront/types/create_streaming_distribution_request.py +46 -0
- capo_cloudfront/types/create_streaming_distribution_result.py +49 -0
- capo_cloudfront/types/create_streaming_distribution_with_tags_request.py +50 -0
- capo_cloudfront/types/create_streaming_distribution_with_tags_result.py +49 -0
- capo_cloudfront/types/create_trust_store_request.py +82 -0
- capo_cloudfront/types/create_trust_store_result.py +41 -0
- capo_cloudfront/types/create_vpc_origin_request.py +57 -0
- capo_cloudfront/types/create_vpc_origin_result.py +43 -0
- capo_cloudfront/types/custom_error_response.py +55 -0
- capo_cloudfront/types/custom_error_response_list.py +51 -0
- capo_cloudfront/types/custom_error_responses.py +50 -0
- capo_cloudfront/types/custom_headers.py +50 -0
- capo_cloudfront/types/custom_origin_config.py +133 -0
- capo_cloudfront/types/customization_action_type.py +27 -0
- capo_cloudfront/types/customizations.py +76 -0
- capo_cloudfront/types/default_cache_behavior.py +268 -0
- capo_cloudfront/types/delete_anycast_ip_list_request.py +27 -0
- capo_cloudfront/types/delete_cache_policy_request.py +27 -0
- capo_cloudfront/types/delete_cloud_front_origin_access_identity_request.py +29 -0
- capo_cloudfront/types/delete_connection_function_request.py +30 -0
- capo_cloudfront/types/delete_connection_group_request.py +29 -0
- capo_cloudfront/types/delete_continuous_deployment_policy_request.py +29 -0
- capo_cloudfront/types/delete_distribution_request.py +27 -0
- capo_cloudfront/types/delete_distribution_tenant_request.py +29 -0
- capo_cloudfront/types/delete_field_level_encryption_config_request.py +29 -0
- capo_cloudfront/types/delete_field_level_encryption_profile_request.py +29 -0
- capo_cloudfront/types/delete_function_request.py +28 -0
- capo_cloudfront/types/delete_key_group_request.py +27 -0
- capo_cloudfront/types/delete_key_value_store_request.py +28 -0
- capo_cloudfront/types/delete_monitoring_subscription_request.py +27 -0
- capo_cloudfront/types/delete_monitoring_subscription_result.py +21 -0
- capo_cloudfront/types/delete_origin_access_control_request.py +29 -0
- capo_cloudfront/types/delete_origin_request_policy_request.py +29 -0
- capo_cloudfront/types/delete_public_key_request.py +27 -0
- capo_cloudfront/types/delete_realtime_log_config_request.py +39 -0
- capo_cloudfront/types/delete_resource_policy_request.py +34 -0
- capo_cloudfront/types/delete_response_headers_policy_request.py +29 -0
- capo_cloudfront/types/delete_streaming_distribution_request.py +29 -0
- capo_cloudfront/types/delete_trust_store_request.py +28 -0
- capo_cloudfront/types/delete_vpc_origin_request.py +27 -0
- capo_cloudfront/types/delete_vpc_origin_result.py +41 -0
- capo_cloudfront/types/describe_connection_function_request.py +30 -0
- capo_cloudfront/types/describe_connection_function_result.py +47 -0
- capo_cloudfront/types/describe_function_request.py +28 -0
- capo_cloudfront/types/describe_function_result.py +45 -0
- capo_cloudfront/types/describe_key_value_store_request.py +27 -0
- capo_cloudfront/types/describe_key_value_store_result.py +43 -0
- capo_cloudfront/types/disassociate_distribution_tenant_web_acl_request.py +29 -0
- capo_cloudfront/types/disassociate_distribution_tenant_web_acl_result.py +34 -0
- capo_cloudfront/types/disassociate_distribution_web_acl_request.py +29 -0
- capo_cloudfront/types/disassociate_distribution_web_acl_result.py +34 -0
- capo_cloudfront/types/distribution.py +167 -0
- capo_cloudfront/types/distribution_config.py +374 -0
- capo_cloudfront/types/distribution_config_with_tags.py +57 -0
- capo_cloudfront/types/distribution_id_list.py +85 -0
- capo_cloudfront/types/distribution_id_list_summary.py +39 -0
- capo_cloudfront/types/distribution_id_owner.py +40 -0
- capo_cloudfront/types/distribution_id_owner_item_list.py +53 -0
- capo_cloudfront/types/distribution_id_owner_list.py +85 -0
- capo_cloudfront/types/distribution_id_string.py +5 -0
- capo_cloudfront/types/distribution_list.py +83 -0
- capo_cloudfront/types/distribution_resource_id.py +39 -0
- capo_cloudfront/types/distribution_resource_type.py +27 -0
- capo_cloudfront/types/distribution_summary.py +384 -0
- capo_cloudfront/types/distribution_summary_list.py +51 -0
- capo_cloudfront/types/distribution_tenant.py +163 -0
- capo_cloudfront/types/distribution_tenant_association_filter.py +39 -0
- capo_cloudfront/types/distribution_tenant_list.py +57 -0
- capo_cloudfront/types/distribution_tenant_summary.py +154 -0
- capo_cloudfront/types/dns_configuration.py +56 -0
- capo_cloudfront/types/dns_configuration_list.py +49 -0
- capo_cloudfront/types/dns_configuration_status.py +28 -0
- capo_cloudfront/types/domain_conflict.py +69 -0
- capo_cloudfront/types/domain_conflicts_list.py +47 -0
- capo_cloudfront/types/domain_item.py +32 -0
- capo_cloudfront/types/domain_list.py +45 -0
- capo_cloudfront/types/domain_result.py +46 -0
- capo_cloudfront/types/domain_result_list.py +45 -0
- capo_cloudfront/types/domain_status.py +27 -0
- capo_cloudfront/types/encryption_entities.py +50 -0
- capo_cloudfront/types/encryption_entity.py +57 -0
- capo_cloudfront/types/encryption_entity_list.py +49 -0
- capo_cloudfront/types/end_point.py +52 -0
- capo_cloudfront/types/end_point_list.py +45 -0
- capo_cloudfront/types/event_type.py +29 -0
- capo_cloudfront/types/field_level_encryption.py +72 -0
- capo_cloudfront/types/field_level_encryption_config.py +81 -0
- capo_cloudfront/types/field_level_encryption_list.py +68 -0
- capo_cloudfront/types/field_level_encryption_profile.py +78 -0
- capo_cloudfront/types/field_level_encryption_profile_config.py +72 -0
- capo_cloudfront/types/field_level_encryption_profile_list.py +70 -0
- capo_cloudfront/types/field_level_encryption_profile_summary.py +89 -0
- capo_cloudfront/types/field_level_encryption_profile_summary_list.py +65 -0
- capo_cloudfront/types/field_level_encryption_summary.py +100 -0
- capo_cloudfront/types/field_level_encryption_summary_list.py +59 -0
- capo_cloudfront/types/field_list.py +37 -0
- capo_cloudfront/types/field_pattern_list.py +37 -0
- capo_cloudfront/types/field_patterns.py +48 -0
- capo_cloudfront/types/float.py +5 -0
- capo_cloudfront/types/format.py +24 -0
- capo_cloudfront/types/forwarded_values.py +81 -0
- capo_cloudfront/types/frame_options_list.py +27 -0
- capo_cloudfront/types/function_arn.py +5 -0
- capo_cloudfront/types/function_association.py +47 -0
- capo_cloudfront/types/function_association_list.py +51 -0
- capo_cloudfront/types/function_associations.py +50 -0
- capo_cloudfront/types/function_blob.py +25 -0
- capo_cloudfront/types/function_config.py +69 -0
- capo_cloudfront/types/function_event_object.py +25 -0
- capo_cloudfront/types/function_execution_log_list.py +39 -0
- capo_cloudfront/types/function_list.py +66 -0
- capo_cloudfront/types/function_metadata.py +76 -0
- capo_cloudfront/types/function_name.py +5 -0
- capo_cloudfront/types/function_runtime.py +27 -0
- capo_cloudfront/types/function_stage.py +27 -0
- capo_cloudfront/types/function_summary.py +76 -0
- capo_cloudfront/types/function_summary_list.py +49 -0
- capo_cloudfront/types/geo_restriction.py +63 -0
- capo_cloudfront/types/geo_restriction_customization.py +62 -0
- capo_cloudfront/types/geo_restriction_type.py +28 -0
- capo_cloudfront/types/get_anycast_ip_list_request.py +25 -0
- capo_cloudfront/types/get_anycast_ip_list_result.py +41 -0
- capo_cloudfront/types/get_cache_policy_config_request.py +27 -0
- capo_cloudfront/types/get_cache_policy_config_result.py +45 -0
- capo_cloudfront/types/get_cache_policy_request.py +25 -0
- capo_cloudfront/types/get_cache_policy_result.py +41 -0
- capo_cloudfront/types/get_cloud_front_origin_access_identity_config_request.py +27 -0
- capo_cloudfront/types/get_cloud_front_origin_access_identity_config_result.py +51 -0
- capo_cloudfront/types/get_cloud_front_origin_access_identity_request.py +27 -0
- capo_cloudfront/types/get_cloud_front_origin_access_identity_result.py +49 -0
- capo_cloudfront/types/get_connection_function_request.py +30 -0
- capo_cloudfront/types/get_connection_function_result.py +49 -0
- capo_cloudfront/types/get_connection_group_by_routing_endpoint_request.py +27 -0
- capo_cloudfront/types/get_connection_group_by_routing_endpoint_result.py +46 -0
- capo_cloudfront/types/get_connection_group_request.py +25 -0
- capo_cloudfront/types/get_connection_group_result.py +45 -0
- capo_cloudfront/types/get_continuous_deployment_policy_config_request.py +27 -0
- capo_cloudfront/types/get_continuous_deployment_policy_config_result.py +50 -0
- capo_cloudfront/types/get_continuous_deployment_policy_request.py +27 -0
- capo_cloudfront/types/get_continuous_deployment_policy_result.py +47 -0
- capo_cloudfront/types/get_distribution_config_request.py +27 -0
- capo_cloudfront/types/get_distribution_config_result.py +47 -0
- capo_cloudfront/types/get_distribution_request.py +25 -0
- capo_cloudfront/types/get_distribution_result.py +41 -0
- capo_cloudfront/types/get_distribution_tenant_by_domain_request.py +27 -0
- capo_cloudfront/types/get_distribution_tenant_by_domain_result.py +46 -0
- capo_cloudfront/types/get_distribution_tenant_request.py +27 -0
- capo_cloudfront/types/get_distribution_tenant_result.py +47 -0
- capo_cloudfront/types/get_field_level_encryption_config_request.py +27 -0
- capo_cloudfront/types/get_field_level_encryption_config_result.py +47 -0
- capo_cloudfront/types/get_field_level_encryption_profile_config_request.py +27 -0
- capo_cloudfront/types/get_field_level_encryption_profile_config_result.py +51 -0
- capo_cloudfront/types/get_field_level_encryption_profile_request.py +27 -0
- capo_cloudfront/types/get_field_level_encryption_profile_result.py +47 -0
- capo_cloudfront/types/get_field_level_encryption_request.py +27 -0
- capo_cloudfront/types/get_field_level_encryption_result.py +47 -0
- capo_cloudfront/types/get_function_request.py +28 -0
- capo_cloudfront/types/get_function_result.py +43 -0
- capo_cloudfront/types/get_invalidation_for_distribution_tenant_request.py +29 -0
- capo_cloudfront/types/get_invalidation_for_distribution_tenant_result.py +39 -0
- capo_cloudfront/types/get_invalidation_request.py +27 -0
- capo_cloudfront/types/get_invalidation_result.py +38 -0
- capo_cloudfront/types/get_key_group_config_request.py +25 -0
- capo_cloudfront/types/get_key_group_config_result.py +45 -0
- capo_cloudfront/types/get_key_group_request.py +25 -0
- capo_cloudfront/types/get_key_group_result.py +41 -0
- capo_cloudfront/types/get_managed_certificate_details_request.py +27 -0
- capo_cloudfront/types/get_managed_certificate_details_result.py +44 -0
- capo_cloudfront/types/get_monitoring_subscription_request.py +27 -0
- capo_cloudfront/types/get_monitoring_subscription_result.py +44 -0
- capo_cloudfront/types/get_origin_access_control_config_request.py +27 -0
- capo_cloudfront/types/get_origin_access_control_config_result.py +47 -0
- capo_cloudfront/types/get_origin_access_control_request.py +27 -0
- capo_cloudfront/types/get_origin_access_control_result.py +47 -0
- capo_cloudfront/types/get_origin_request_policy_config_request.py +27 -0
- capo_cloudfront/types/get_origin_request_policy_config_result.py +47 -0
- capo_cloudfront/types/get_origin_request_policy_request.py +27 -0
- capo_cloudfront/types/get_origin_request_policy_result.py +47 -0
- capo_cloudfront/types/get_public_key_config_request.py +25 -0
- capo_cloudfront/types/get_public_key_config_result.py +45 -0
- capo_cloudfront/types/get_public_key_request.py +25 -0
- capo_cloudfront/types/get_public_key_result.py +41 -0
- capo_cloudfront/types/get_realtime_log_config_request.py +39 -0
- capo_cloudfront/types/get_realtime_log_config_result.py +42 -0
- capo_cloudfront/types/get_resource_policy_request.py +32 -0
- capo_cloudfront/types/get_resource_policy_result.py +37 -0
- capo_cloudfront/types/get_response_headers_policy_config_request.py +27 -0
- capo_cloudfront/types/get_response_headers_policy_config_result.py +47 -0
- capo_cloudfront/types/get_response_headers_policy_request.py +27 -0
- capo_cloudfront/types/get_response_headers_policy_result.py +47 -0
- capo_cloudfront/types/get_streaming_distribution_config_request.py +27 -0
- capo_cloudfront/types/get_streaming_distribution_config_result.py +47 -0
- capo_cloudfront/types/get_streaming_distribution_request.py +27 -0
- capo_cloudfront/types/get_streaming_distribution_result.py +47 -0
- capo_cloudfront/types/get_trust_store_request.py +25 -0
- capo_cloudfront/types/get_trust_store_result.py +41 -0
- capo_cloudfront/types/get_vpc_origin_request.py +25 -0
- capo_cloudfront/types/get_vpc_origin_result.py +41 -0
- capo_cloudfront/types/grpc_config.py +32 -0
- capo_cloudfront/types/header_list.py +37 -0
- capo_cloudfront/types/headers.py +44 -0
- capo_cloudfront/types/http_version.py +29 -0
- capo_cloudfront/types/icp_recordal_status.py +28 -0
- capo_cloudfront/types/import_source.py +49 -0
- capo_cloudfront/types/import_source_type.py +24 -0
- capo_cloudfront/types/integer.py +5 -0
- capo_cloudfront/types/invalidation.py +76 -0
- capo_cloudfront/types/invalidation_batch.py +45 -0
- capo_cloudfront/types/invalidation_list.py +83 -0
- capo_cloudfront/types/invalidation_summary.py +57 -0
- capo_cloudfront/types/invalidation_summary_list.py +51 -0
- capo_cloudfront/types/ip_address_type.py +28 -0
- capo_cloudfront/types/ipam_cidr_config.py +63 -0
- capo_cloudfront/types/ipam_cidr_config_list.py +47 -0
- capo_cloudfront/types/ipam_cidr_status.py +37 -0
- capo_cloudfront/types/ipam_config.py +51 -0
- capo_cloudfront/types/item_selection.py +28 -0
- capo_cloudfront/types/key_group.py +68 -0
- capo_cloudfront/types/key_group_config.py +54 -0
- capo_cloudfront/types/key_group_list.py +66 -0
- capo_cloudfront/types/key_group_summary.py +38 -0
- capo_cloudfront/types/key_group_summary_list.py +49 -0
- capo_cloudfront/types/key_pair_id_list.py +37 -0
- capo_cloudfront/types/key_pair_ids.py +48 -0
- capo_cloudfront/types/key_value_store.py +80 -0
- capo_cloudfront/types/key_value_store_arn.py +5 -0
- capo_cloudfront/types/key_value_store_association.py +34 -0
- capo_cloudfront/types/key_value_store_association_list.py +59 -0
- capo_cloudfront/types/key_value_store_associations.py +52 -0
- capo_cloudfront/types/key_value_store_comment.py +5 -0
- capo_cloudfront/types/key_value_store_list.py +68 -0
- capo_cloudfront/types/key_value_store_name.py +5 -0
- capo_cloudfront/types/key_value_store_summary_list.py +49 -0
- capo_cloudfront/types/kg_key_pair_ids.py +45 -0
- capo_cloudfront/types/kg_key_pair_ids_list.py +45 -0
- capo_cloudfront/types/kinesis_stream_config.py +40 -0
- capo_cloudfront/types/lambda_function_arn.py +5 -0
- capo_cloudfront/types/lambda_function_association.py +59 -0
- capo_cloudfront/types/lambda_function_association_list.py +59 -0
- capo_cloudfront/types/lambda_function_associations.py +52 -0
- capo_cloudfront/types/list_anycast_ip_lists_request.py +28 -0
- capo_cloudfront/types/list_anycast_ip_lists_result.py +42 -0
- capo_cloudfront/types/list_cache_policies_request.py +31 -0
- capo_cloudfront/types/list_cache_policies_result.py +42 -0
- capo_cloudfront/types/list_cloud_front_origin_access_identities_request.py +30 -0
- capo_cloudfront/types/list_cloud_front_origin_access_identities_result.py +48 -0
- capo_cloudfront/types/list_conflicting_aliases_max_items_integer.py +5 -0
- capo_cloudfront/types/list_conflicting_aliases_request.py +38 -0
- capo_cloudfront/types/list_conflicting_aliases_result.py +44 -0
- capo_cloudfront/types/list_connection_functions_request.py +52 -0
- capo_cloudfront/types/list_connection_functions_result.py +52 -0
- capo_cloudfront/types/list_connection_groups_request.py +60 -0
- capo_cloudfront/types/list_connection_groups_result.py +50 -0
- capo_cloudfront/types/list_continuous_deployment_policies_request.py +30 -0
- capo_cloudfront/types/list_continuous_deployment_policies_result.py +46 -0
- capo_cloudfront/types/list_distribution_tenants_by_customization_request.py +54 -0
- capo_cloudfront/types/list_distribution_tenants_by_customization_result.py +52 -0
- capo_cloudfront/types/list_distribution_tenants_request.py +59 -0
- capo_cloudfront/types/list_distribution_tenants_result.py +52 -0
- capo_cloudfront/types/list_distributions_by_anycast_ip_list_id_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_anycast_ip_list_id_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_cache_policy_id_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_cache_policy_id_result.py +44 -0
- capo_cloudfront/types/list_distributions_by_connection_function_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_connection_function_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_connection_mode_request.py +33 -0
- capo_cloudfront/types/list_distributions_by_connection_mode_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_key_group_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_key_group_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_origin_request_policy_id_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_origin_request_policy_id_result.py +44 -0
- capo_cloudfront/types/list_distributions_by_owned_resource_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_owned_resource_result.py +44 -0
- capo_cloudfront/types/list_distributions_by_realtime_log_config_request.py +58 -0
- capo_cloudfront/types/list_distributions_by_realtime_log_config_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_response_headers_policy_id_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_response_headers_policy_id_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_trust_store_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_trust_store_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_vpc_origin_id_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_vpc_origin_id_result.py +43 -0
- capo_cloudfront/types/list_distributions_by_web_acl_id_request.py +32 -0
- capo_cloudfront/types/list_distributions_by_web_acl_id_result.py +44 -0
- capo_cloudfront/types/list_distributions_request.py +28 -0
- capo_cloudfront/types/list_distributions_result.py +42 -0
- capo_cloudfront/types/list_domain_conflicts_request.py +74 -0
- capo_cloudfront/types/list_domain_conflicts_result.py +50 -0
- capo_cloudfront/types/list_field_level_encryption_configs_request.py +30 -0
- capo_cloudfront/types/list_field_level_encryption_configs_result.py +44 -0
- capo_cloudfront/types/list_field_level_encryption_profiles_request.py +30 -0
- capo_cloudfront/types/list_field_level_encryption_profiles_result.py +48 -0
- capo_cloudfront/types/list_functions_request.py +31 -0
- capo_cloudfront/types/list_functions_result.py +38 -0
- capo_cloudfront/types/list_invalidations_for_distribution_tenant_request.py +32 -0
- capo_cloudfront/types/list_invalidations_for_distribution_tenant_result.py +43 -0
- capo_cloudfront/types/list_invalidations_request.py +30 -0
- capo_cloudfront/types/list_invalidations_result.py +42 -0
- capo_cloudfront/types/list_key_groups_request.py +28 -0
- capo_cloudfront/types/list_key_groups_result.py +38 -0
- capo_cloudfront/types/list_key_value_stores_request.py +30 -0
- capo_cloudfront/types/list_key_value_stores_result.py +42 -0
- capo_cloudfront/types/list_origin_access_controls_request.py +30 -0
- capo_cloudfront/types/list_origin_access_controls_result.py +44 -0
- capo_cloudfront/types/list_origin_request_policies_request.py +35 -0
- capo_cloudfront/types/list_origin_request_policies_result.py +44 -0
- capo_cloudfront/types/list_public_keys_request.py +28 -0
- capo_cloudfront/types/list_public_keys_result.py +38 -0
- capo_cloudfront/types/list_realtime_log_configs_request.py +30 -0
- capo_cloudfront/types/list_realtime_log_configs_result.py +44 -0
- capo_cloudfront/types/list_response_headers_policies_request.py +35 -0
- capo_cloudfront/types/list_response_headers_policies_result.py +44 -0
- capo_cloudfront/types/list_streaming_distributions_request.py +30 -0
- capo_cloudfront/types/list_streaming_distributions_result.py +44 -0
- capo_cloudfront/types/list_tags_for_resource_request.py +25 -0
- capo_cloudfront/types/list_tags_for_resource_result.py +36 -0
- capo_cloudfront/types/list_trust_stores_request.py +38 -0
- capo_cloudfront/types/list_trust_stores_result.py +50 -0
- capo_cloudfront/types/list_vpc_origins_request.py +28 -0
- capo_cloudfront/types/list_vpc_origins_result.py +38 -0
- capo_cloudfront/types/location_list.py +37 -0
- capo_cloudfront/types/logging_config.py +58 -0
- capo_cloudfront/types/long.py +5 -0
- capo_cloudfront/types/managed_certificate_details.py +90 -0
- capo_cloudfront/types/managed_certificate_request.py +78 -0
- capo_cloudfront/types/managed_certificate_status.py +32 -0
- capo_cloudfront/types/method.py +32 -0
- capo_cloudfront/types/methods_list.py +45 -0
- capo_cloudfront/types/minimum_protocol_version.py +34 -0
- capo_cloudfront/types/monitoring_subscription.py +46 -0
- capo_cloudfront/types/origin.py +174 -0
- capo_cloudfront/types/origin_access_control.py +52 -0
- capo_cloudfront/types/origin_access_control_config.py +102 -0
- capo_cloudfront/types/origin_access_control_list.py +85 -0
- capo_cloudfront/types/origin_access_control_origin_types.py +31 -0
- capo_cloudfront/types/origin_access_control_signing_behaviors.py +30 -0
- capo_cloudfront/types/origin_access_control_signing_protocols.py +26 -0
- capo_cloudfront/types/origin_access_control_summary.py +111 -0
- capo_cloudfront/types/origin_access_control_summary_list.py +59 -0
- capo_cloudfront/types/origin_custom_header.py +41 -0
- capo_cloudfront/types/origin_custom_headers_list.py +51 -0
- capo_cloudfront/types/origin_group.py +88 -0
- capo_cloudfront/types/origin_group_failover_criteria.py +42 -0
- capo_cloudfront/types/origin_group_list.py +45 -0
- capo_cloudfront/types/origin_group_member.py +32 -0
- capo_cloudfront/types/origin_group_member_list.py +49 -0
- capo_cloudfront/types/origin_group_members.py +49 -0
- capo_cloudfront/types/origin_group_selection_criteria.py +29 -0
- capo_cloudfront/types/origin_groups.py +48 -0
- capo_cloudfront/types/origin_list.py +45 -0
- capo_cloudfront/types/origin_mtls_config.py +32 -0
- capo_cloudfront/types/origin_protocol_policy.py +28 -0
- capo_cloudfront/types/origin_request_policy.py +72 -0
- capo_cloudfront/types/origin_request_policy_config.py +98 -0
- capo_cloudfront/types/origin_request_policy_cookie_behavior.py +31 -0
- capo_cloudfront/types/origin_request_policy_cookies_config.py +61 -0
- capo_cloudfront/types/origin_request_policy_header_behavior.py +32 -0
- capo_cloudfront/types/origin_request_policy_headers_config.py +57 -0
- capo_cloudfront/types/origin_request_policy_list.py +68 -0
- capo_cloudfront/types/origin_request_policy_query_string_behavior.py +31 -0
- capo_cloudfront/types/origin_request_policy_query_strings_config.py +64 -0
- capo_cloudfront/types/origin_request_policy_summary.py +63 -0
- capo_cloudfront/types/origin_request_policy_summary_list.py +59 -0
- capo_cloudfront/types/origin_request_policy_type.py +27 -0
- capo_cloudfront/types/origin_shield.py +42 -0
- capo_cloudfront/types/origin_shield_region.py +5 -0
- capo_cloudfront/types/origin_ssl_protocols.py +47 -0
- capo_cloudfront/types/origins.py +45 -0
- capo_cloudfront/types/parameter.py +41 -0
- capo_cloudfront/types/parameter_definition.py +53 -0
- capo_cloudfront/types/parameter_definition_schema.py +42 -0
- capo_cloudfront/types/parameter_definitions.py +47 -0
- capo_cloudfront/types/parameter_name.py +5 -0
- capo_cloudfront/types/parameter_value.py +5 -0
- capo_cloudfront/types/parameters.py +45 -0
- capo_cloudfront/types/parameters_in_cache_key_and_forwarded_to_origin.py +118 -0
- capo_cloudfront/types/path_list.py +37 -0
- capo_cloudfront/types/paths.py +44 -0
- capo_cloudfront/types/price_class.py +29 -0
- capo_cloudfront/types/public_key.py +68 -0
- capo_cloudfront/types/public_key_config.py +55 -0
- capo_cloudfront/types/public_key_id_list.py +37 -0
- capo_cloudfront/types/public_key_list.py +66 -0
- capo_cloudfront/types/public_key_summary.py +72 -0
- capo_cloudfront/types/public_key_summary_list.py +49 -0
- capo_cloudfront/types/publish_connection_function_request.py +30 -0
- capo_cloudfront/types/publish_connection_function_result.py +44 -0
- capo_cloudfront/types/publish_function_request.py +28 -0
- capo_cloudfront/types/publish_function_result.py +42 -0
- capo_cloudfront/types/put_resource_policy_request.py +40 -0
- capo_cloudfront/types/put_resource_policy_result.py +30 -0
- capo_cloudfront/types/query_arg_profile.py +40 -0
- capo_cloudfront/types/query_arg_profile_config.py +60 -0
- capo_cloudfront/types/query_arg_profile_list.py +49 -0
- capo_cloudfront/types/query_arg_profiles.py +50 -0
- capo_cloudfront/types/query_string_cache_keys.py +52 -0
- capo_cloudfront/types/query_string_cache_keys_list.py +39 -0
- capo_cloudfront/types/query_string_names.py +50 -0
- capo_cloudfront/types/query_string_names_list.py +37 -0
- capo_cloudfront/types/realtime_log_config.py +79 -0
- capo_cloudfront/types/realtime_log_config_list.py +47 -0
- capo_cloudfront/types/realtime_log_configs.py +75 -0
- capo_cloudfront/types/realtime_metrics_subscription_config.py +50 -0
- capo_cloudfront/types/realtime_metrics_subscription_status.py +29 -0
- capo_cloudfront/types/referrer_policy_list.py +33 -0
- capo_cloudfront/types/resource_arn.py +5 -0
- capo_cloudfront/types/resource_id.py +5 -0
- capo_cloudfront/types/response_headers_policy.py +70 -0
- capo_cloudfront/types/response_headers_policy_access_control_allow_headers.py +57 -0
- capo_cloudfront/types/response_headers_policy_access_control_allow_methods.py +57 -0
- capo_cloudfront/types/response_headers_policy_access_control_allow_methods_values.py +39 -0
- capo_cloudfront/types/response_headers_policy_access_control_allow_origins.py +57 -0
- capo_cloudfront/types/response_headers_policy_access_control_expose_headers.py +56 -0
- capo_cloudfront/types/response_headers_policy_config.py +141 -0
- capo_cloudfront/types/response_headers_policy_content_security_policy.py +47 -0
- capo_cloudfront/types/response_headers_policy_content_type_options.py +36 -0
- capo_cloudfront/types/response_headers_policy_cors_config.py +147 -0
- capo_cloudfront/types/response_headers_policy_custom_header.py +53 -0
- capo_cloudfront/types/response_headers_policy_custom_header_list.py +65 -0
- capo_cloudfront/types/response_headers_policy_custom_headers_config.py +56 -0
- capo_cloudfront/types/response_headers_policy_frame_options.py +55 -0
- capo_cloudfront/types/response_headers_policy_list.py +68 -0
- capo_cloudfront/types/response_headers_policy_referrer_policy.py +57 -0
- capo_cloudfront/types/response_headers_policy_remove_header.py +34 -0
- capo_cloudfront/types/response_headers_policy_remove_header_list.py +65 -0
- capo_cloudfront/types/response_headers_policy_remove_headers_config.py +56 -0
- capo_cloudfront/types/response_headers_policy_security_headers_config.py +144 -0
- capo_cloudfront/types/response_headers_policy_server_timing_headers_config.py +44 -0
- capo_cloudfront/types/response_headers_policy_strict_transport_security.py +69 -0
- capo_cloudfront/types/response_headers_policy_summary.py +67 -0
- capo_cloudfront/types/response_headers_policy_summary_list.py +59 -0
- capo_cloudfront/types/response_headers_policy_type.py +27 -0
- capo_cloudfront/types/response_headers_policy_xss_protection.py +61 -0
- capo_cloudfront/types/restrictions.py +40 -0
- capo_cloudfront/types/s3_origin.py +40 -0
- capo_cloudfront/types/s3_origin_config.py +41 -0
- capo_cloudfront/types/sampling_rate.py +5 -0
- capo_cloudfront/types/sensitive_string_type.py +5 -0
- capo_cloudfront/types/server_certificate_id.py +5 -0
- capo_cloudfront/types/session_stickiness_config.py +40 -0
- capo_cloudfront/types/signer.py +46 -0
- capo_cloudfront/types/signer_list.py +45 -0
- capo_cloudfront/types/ssl_protocol.py +29 -0
- capo_cloudfront/types/ssl_protocols_list.py +45 -0
- capo_cloudfront/types/ssl_support_method.py +28 -0
- capo_cloudfront/types/staging_distribution_dns_name_list.py +41 -0
- capo_cloudfront/types/staging_distribution_dns_names.py +54 -0
- capo_cloudfront/types/status_code_list.py +37 -0
- capo_cloudfront/types/status_codes.py +47 -0
- capo_cloudfront/types/streaming_distribution.py +116 -0
- capo_cloudfront/types/streaming_distribution_config.py +133 -0
- capo_cloudfront/types/streaming_distribution_config_with_tags.py +59 -0
- capo_cloudfront/types/streaming_distribution_list.py +85 -0
- capo_cloudfront/types/streaming_distribution_summary.py +158 -0
- capo_cloudfront/types/streaming_distribution_summary_list.py +59 -0
- capo_cloudfront/types/streaming_logging_config.py +49 -0
- capo_cloudfront/types/string.py +5 -0
- capo_cloudfront/types/string_schema_config.py +50 -0
- capo_cloudfront/types/tag.py +40 -0
- capo_cloudfront/types/tag_key.py +6 -0
- capo_cloudfront/types/tag_key_list.py +37 -0
- capo_cloudfront/types/tag_keys.py +34 -0
- capo_cloudfront/types/tag_list.py +45 -0
- capo_cloudfront/types/tag_resource_request.py +39 -0
- capo_cloudfront/types/tag_value.py +5 -0
- capo_cloudfront/types/tags.py +34 -0
- capo_cloudfront/types/tenant_config.py +42 -0
- capo_cloudfront/types/test_connection_function_request.py +64 -0
- capo_cloudfront/types/test_connection_function_result.py +44 -0
- capo_cloudfront/types/test_function_request.py +60 -0
- capo_cloudfront/types/test_function_result.py +38 -0
- capo_cloudfront/types/test_result.py +91 -0
- capo_cloudfront/types/timestamp.py +25 -0
- capo_cloudfront/types/traffic_config.py +82 -0
- capo_cloudfront/types/trust_store.py +111 -0
- capo_cloudfront/types/trust_store_config.py +55 -0
- capo_cloudfront/types/trust_store_list.py +49 -0
- capo_cloudfront/types/trust_store_status.py +28 -0
- capo_cloudfront/types/trust_store_summary.py +112 -0
- capo_cloudfront/types/trusted_key_group_id_list.py +37 -0
- capo_cloudfront/types/trusted_key_groups.py +59 -0
- capo_cloudfront/types/trusted_signers.py +59 -0
- capo_cloudfront/types/untag_resource_request.py +39 -0
- capo_cloudfront/types/update_anycast_ip_list_request.py +63 -0
- capo_cloudfront/types/update_anycast_ip_list_result.py +40 -0
- capo_cloudfront/types/update_cache_policy_request.py +49 -0
- capo_cloudfront/types/update_cache_policy_result.py +41 -0
- capo_cloudfront/types/update_cloud_front_origin_access_identity_request.py +55 -0
- capo_cloudfront/types/update_cloud_front_origin_access_identity_result.py +49 -0
- capo_cloudfront/types/update_connection_function_request.py +72 -0
- capo_cloudfront/types/update_connection_function_result.py +47 -0
- capo_cloudfront/types/update_connection_group_request.py +53 -0
- capo_cloudfront/types/update_connection_group_result.py +47 -0
- capo_cloudfront/types/update_continuous_deployment_policy_request.py +55 -0
- capo_cloudfront/types/update_continuous_deployment_policy_result.py +47 -0
- capo_cloudfront/types/update_distribution_request.py +49 -0
- capo_cloudfront/types/update_distribution_result.py +41 -0
- capo_cloudfront/types/update_distribution_tenant_request.py +117 -0
- capo_cloudfront/types/update_distribution_tenant_result.py +47 -0
- capo_cloudfront/types/update_distribution_with_staging_config_request.py +31 -0
- capo_cloudfront/types/update_distribution_with_staging_config_result.py +42 -0
- capo_cloudfront/types/update_domain_association_request.py +59 -0
- capo_cloudfront/types/update_domain_association_result.py +41 -0
- capo_cloudfront/types/update_field_level_encryption_config_request.py +53 -0
- capo_cloudfront/types/update_field_level_encryption_config_result.py +47 -0
- capo_cloudfront/types/update_field_level_encryption_profile_request.py +55 -0
- capo_cloudfront/types/update_field_level_encryption_profile_result.py +47 -0
- capo_cloudfront/types/update_function_request.py +63 -0
- capo_cloudfront/types/update_function_result.py +45 -0
- capo_cloudfront/types/update_key_group_request.py +47 -0
- capo_cloudfront/types/update_key_group_result.py +41 -0
- capo_cloudfront/types/update_key_value_store_request.py +38 -0
- capo_cloudfront/types/update_key_value_store_result.py +41 -0
- capo_cloudfront/types/update_origin_access_control_request.py +53 -0
- capo_cloudfront/types/update_origin_access_control_result.py +47 -0
- capo_cloudfront/types/update_origin_request_policy_request.py +53 -0
- capo_cloudfront/types/update_origin_request_policy_result.py +47 -0
- capo_cloudfront/types/update_public_key_request.py +47 -0
- capo_cloudfront/types/update_public_key_result.py +41 -0
- capo_cloudfront/types/update_realtime_log_config_request.py +75 -0
- capo_cloudfront/types/update_realtime_log_config_result.py +44 -0
- capo_cloudfront/types/update_response_headers_policy_request.py +51 -0
- capo_cloudfront/types/update_response_headers_policy_result.py +47 -0
- capo_cloudfront/types/update_streaming_distribution_request.py +51 -0
- capo_cloudfront/types/update_streaming_distribution_result.py +47 -0
- capo_cloudfront/types/update_trust_store_request.py +53 -0
- capo_cloudfront/types/update_trust_store_result.py +41 -0
- capo_cloudfront/types/update_vpc_origin_request.py +51 -0
- capo_cloudfront/types/update_vpc_origin_result.py +41 -0
- capo_cloudfront/types/validation_token_detail.py +46 -0
- capo_cloudfront/types/validation_token_detail_list.py +49 -0
- capo_cloudfront/types/validation_token_host.py +27 -0
- capo_cloudfront/types/verify_dns_configuration_request.py +41 -0
- capo_cloudfront/types/verify_dns_configuration_result.py +44 -0
- capo_cloudfront/types/viewer_certificate.py +121 -0
- capo_cloudfront/types/viewer_mtls_config.py +57 -0
- capo_cloudfront/types/viewer_mtls_mode.py +28 -0
- capo_cloudfront/types/viewer_protocol_policy.py +28 -0
- capo_cloudfront/types/vpc_origin.py +109 -0
- capo_cloudfront/types/vpc_origin_config.py +56 -0
- capo_cloudfront/types/vpc_origin_endpoint_config.py +99 -0
- capo_cloudfront/types/vpc_origin_list.py +83 -0
- capo_cloudfront/types/vpc_origin_summary.py +104 -0
- capo_cloudfront/types/vpc_origin_summary_list.py +49 -0
- capo_cloudfront/types/web_acl_customization.py +48 -0
- capo_cloudfront-0.2.0.dist-info/METADATA +98 -0
- capo_cloudfront-0.2.0.dist-info/RECORD +1020 -0
- capo_cloudfront-0.2.0.dist-info/WHEEL +5 -0
- capo_cloudfront-0.2.0.dist-info/licenses/LICENSE +21 -0
- capo_cloudfront-0.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CacheBehavior``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.allowed_methods
|
|
12
|
+
import capo_cloudfront.types.boolean
|
|
13
|
+
import capo_cloudfront.types.forwarded_values
|
|
14
|
+
import capo_cloudfront.types.function_associations
|
|
15
|
+
import capo_cloudfront.types.grpc_config
|
|
16
|
+
import capo_cloudfront.types.lambda_function_associations
|
|
17
|
+
import capo_cloudfront.types.long
|
|
18
|
+
import capo_cloudfront.types.string
|
|
19
|
+
import capo_cloudfront.types.trusted_key_groups
|
|
20
|
+
import capo_cloudfront.types.trusted_signers
|
|
21
|
+
import capo_cloudfront.types.viewer_protocol_policy
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class CacheBehavior(TypedDict, closed=True):
|
|
25
|
+
path_pattern: "capo_cloudfront.types.string.string"
|
|
26
|
+
r"""<p>The pattern (for example, <code>images/*.jpg</code>) that specifies which requests to apply the behavior to. When CloudFront receives a viewer request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution.</p> <note> <p>You can optionally include a slash (<code>/</code>) at the beginning of the path pattern. For example, <code>/images/*.jpg</code>. CloudFront behavior is the same with or without the leading <code>/</code>.</p> </note> <p>The path pattern for the default cache behavior is <code>*</code> and cannot be changed. If the request for an object does not match the path pattern for any cache behaviors, CloudFront applies the behavior in the default cache behavior.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesPathPattern\">Path Pattern</a> in the <i> Amazon CloudFront Developer Guide</i>.</p>"""
|
|
27
|
+
target_origin_id: "capo_cloudfront.types.string.string"
|
|
28
|
+
"""<p>The value of <code>ID</code> for the origin that you want CloudFront to route requests to when they match this cache behavior.</p>"""
|
|
29
|
+
trusted_signers: NotRequired["capo_cloudfront.types.trusted_signers.TrustedSigners"]
|
|
30
|
+
r"""<important> <p>We recommend using <code>TrustedKeyGroups</code> instead of <code>TrustedSigners</code>.</p> </important> <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>A list of Amazon Web Services account IDs whose public keys CloudFront can use to validate signed URLs or signed cookies.</p> <p>When a cache behavior contains trusted signers, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with the private key of a CloudFront key pair in the trusted signer's Amazon Web Services account. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
31
|
+
trusted_key_groups: NotRequired[
|
|
32
|
+
"capo_cloudfront.types.trusted_key_groups.TrustedKeyGroups"
|
|
33
|
+
]
|
|
34
|
+
r"""<p>A list of key groups that CloudFront can use to validate signed URLs or signed cookies.</p> <p>When a cache behavior contains trusted key groups, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
35
|
+
viewer_protocol_policy: (
|
|
36
|
+
"capo_cloudfront.types.viewer_protocol_policy.ViewerProtocolPolicy"
|
|
37
|
+
)
|
|
38
|
+
r"""<p>The protocol that viewers can use to access the files in the origin specified by <code>TargetOriginId</code> when a request matches the path pattern in <code>PathPattern</code>. You can specify the following options:</p> <ul> <li> <p> <code>allow-all</code>: Viewers can use HTTP or HTTPS.</p> </li> <li> <p> <code>redirect-to-https</code>: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.</p> </li> <li> <p> <code>https-only</code>: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).</p> </li> </ul> <p>For more information about requiring the HTTPS protocol, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html\">Requiring HTTPS Between Viewers and CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <note> <p>The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing Cache Expiration</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note>"""
|
|
39
|
+
allowed_methods: NotRequired["capo_cloudfront.types.allowed_methods.AllowedMethods"]
|
|
40
|
+
smooth_streaming: NotRequired["capo_cloudfront.types.boolean.boolean"]
|
|
41
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>Indicates whether you want to distribute media files in the Microsoft Smooth Streaming format using the origin that is associated with this cache behavior. If so, specify <code>true</code>; if not, specify <code>false</code>. If you specify <code>true</code> for <code>SmoothStreaming</code>, you can still distribute other content using this cache behavior if the content matches the value of <code>PathPattern</code>.</p>"""
|
|
42
|
+
compress: NotRequired["capo_cloudfront.types.boolean.boolean"]
|
|
43
|
+
r"""<p>Whether you want CloudFront to automatically compress certain files for this cache behavior. If so, specify true; if not, specify false. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html\">Serving Compressed Files</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
44
|
+
lambda_function_associations: NotRequired[
|
|
45
|
+
"capo_cloudfront.types.lambda_function_associations.LambdaFunctionAssociations"
|
|
46
|
+
]
|
|
47
|
+
"""<p>A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.</p>"""
|
|
48
|
+
function_associations: NotRequired[
|
|
49
|
+
"capo_cloudfront.types.function_associations.FunctionAssociations"
|
|
50
|
+
]
|
|
51
|
+
"""<p>A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the <code>LIVE</code> stage to associate them with a cache behavior.</p>"""
|
|
52
|
+
field_level_encryption_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
53
|
+
"""<p>The value of <code>ID</code> for the field-level encryption configuration that you want CloudFront to use for encrypting specific fields of data for this cache behavior.</p>"""
|
|
54
|
+
realtime_log_config_arn: NotRequired["capo_cloudfront.types.string.string"]
|
|
55
|
+
r"""<p>The Amazon Resource Name (ARN) of the real-time log configuration that is attached to this cache behavior. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html\">Real-time logs</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
56
|
+
cache_policy_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
57
|
+
r"""<p>The unique identifier of the cache policy that is attached to this cache behavior. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy\">Creating cache policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html\">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>A <code>CacheBehavior</code> must include either a <code>CachePolicyId</code> or <code>ForwardedValues</code>. We recommend that you use a <code>CachePolicyId</code>.</p>"""
|
|
58
|
+
origin_request_policy_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
59
|
+
r"""<p>The unique identifier of the origin request policy that is attached to this cache behavior. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy\">Creating origin request policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html\">Using the managed origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
60
|
+
response_headers_policy_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
61
|
+
"""<p>The identifier for a response headers policy.</p>"""
|
|
62
|
+
grpc_config: NotRequired["capo_cloudfront.types.grpc_config.GrpcConfig"]
|
|
63
|
+
"""<p>The gRPC configuration for your cache behavior.</p>"""
|
|
64
|
+
forwarded_values: NotRequired[
|
|
65
|
+
"capo_cloudfront.types.forwarded_values.ForwardedValues"
|
|
66
|
+
]
|
|
67
|
+
r"""<p>This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html\">Working with policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you want to include values in the cache key, use a cache policy. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy\">Creating cache policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html\">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy\">Creating origin request policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html\">Using the managed origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>A <code>CacheBehavior</code> must include either a <code>CachePolicyId</code> or <code>ForwardedValues</code>. We recommend that you use a <code>CachePolicyId</code>.</p> <p>A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.</p>"""
|
|
68
|
+
min_ttl: NotRequired["capo_cloudfront.types.long.long"]
|
|
69
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a cache policy instead of this field. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy\">Creating cache policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html\">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\"> Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i> Amazon CloudFront Developer Guide</i>.</p> <p>You must specify <code>0</code> for <code>MinTTL</code> if you configure CloudFront to forward all headers to your origin (under <code>Headers</code>, if you specify <code>1</code> for <code>Quantity</code> and <code>*</code> for <code>Name</code>).</p>"""
|
|
70
|
+
default_ttl: NotRequired["capo_cloudfront.types.long.long"]
|
|
71
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field in a cache policy instead of this field. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy\">Creating cache policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html\">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and <code>Expires</code> to objects. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
72
|
+
max_ttl: NotRequired["capo_cloudfront.types.long.long"]
|
|
73
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a cache policy instead of this field. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy\">Creating cache policies</a> or <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html\">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and <code>Expires</code> to objects. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
# --- restXml ser/de ---
|
|
77
|
+
def serialize_xml(value: CacheBehavior, parent: Element, tag: str) -> None:
|
|
78
|
+
el = SubElement(parent, tag)
|
|
79
|
+
SubElement(el, "PathPattern").text = str(value["path_pattern"])
|
|
80
|
+
SubElement(el, "TargetOriginId").text = str(value["target_origin_id"])
|
|
81
|
+
if "trusted_signers" in value:
|
|
82
|
+
import capo_cloudfront.types.trusted_signers
|
|
83
|
+
|
|
84
|
+
capo_cloudfront.types.trusted_signers.serialize_xml(
|
|
85
|
+
value["trusted_signers"], el, "TrustedSigners"
|
|
86
|
+
)
|
|
87
|
+
if "trusted_key_groups" in value:
|
|
88
|
+
import capo_cloudfront.types.trusted_key_groups
|
|
89
|
+
|
|
90
|
+
capo_cloudfront.types.trusted_key_groups.serialize_xml(
|
|
91
|
+
value["trusted_key_groups"], el, "TrustedKeyGroups"
|
|
92
|
+
)
|
|
93
|
+
import capo_cloudfront.types.viewer_protocol_policy
|
|
94
|
+
|
|
95
|
+
capo_cloudfront.types.viewer_protocol_policy.serialize_xml(
|
|
96
|
+
value["viewer_protocol_policy"], el, "ViewerProtocolPolicy"
|
|
97
|
+
)
|
|
98
|
+
if "allowed_methods" in value:
|
|
99
|
+
import capo_cloudfront.types.allowed_methods
|
|
100
|
+
|
|
101
|
+
capo_cloudfront.types.allowed_methods.serialize_xml(
|
|
102
|
+
value["allowed_methods"], el, "AllowedMethods"
|
|
103
|
+
)
|
|
104
|
+
if "smooth_streaming" in value:
|
|
105
|
+
SubElement(el, "SmoothStreaming").text = (
|
|
106
|
+
"true" if value["smooth_streaming"] else "false"
|
|
107
|
+
)
|
|
108
|
+
if "compress" in value:
|
|
109
|
+
SubElement(el, "Compress").text = "true" if value["compress"] else "false"
|
|
110
|
+
if "lambda_function_associations" in value:
|
|
111
|
+
import capo_cloudfront.types.lambda_function_associations
|
|
112
|
+
|
|
113
|
+
capo_cloudfront.types.lambda_function_associations.serialize_xml(
|
|
114
|
+
value["lambda_function_associations"], el, "LambdaFunctionAssociations"
|
|
115
|
+
)
|
|
116
|
+
if "function_associations" in value:
|
|
117
|
+
import capo_cloudfront.types.function_associations
|
|
118
|
+
|
|
119
|
+
capo_cloudfront.types.function_associations.serialize_xml(
|
|
120
|
+
value["function_associations"], el, "FunctionAssociations"
|
|
121
|
+
)
|
|
122
|
+
if "field_level_encryption_id" in value:
|
|
123
|
+
SubElement(el, "FieldLevelEncryptionId").text = str(
|
|
124
|
+
value["field_level_encryption_id"]
|
|
125
|
+
)
|
|
126
|
+
if "realtime_log_config_arn" in value:
|
|
127
|
+
SubElement(el, "RealtimeLogConfigArn").text = str(
|
|
128
|
+
value["realtime_log_config_arn"]
|
|
129
|
+
)
|
|
130
|
+
if "cache_policy_id" in value:
|
|
131
|
+
SubElement(el, "CachePolicyId").text = str(value["cache_policy_id"])
|
|
132
|
+
if "origin_request_policy_id" in value:
|
|
133
|
+
SubElement(el, "OriginRequestPolicyId").text = str(
|
|
134
|
+
value["origin_request_policy_id"]
|
|
135
|
+
)
|
|
136
|
+
if "response_headers_policy_id" in value:
|
|
137
|
+
SubElement(el, "ResponseHeadersPolicyId").text = str(
|
|
138
|
+
value["response_headers_policy_id"]
|
|
139
|
+
)
|
|
140
|
+
if "grpc_config" in value:
|
|
141
|
+
import capo_cloudfront.types.grpc_config
|
|
142
|
+
|
|
143
|
+
capo_cloudfront.types.grpc_config.serialize_xml(
|
|
144
|
+
value["grpc_config"], el, "GrpcConfig"
|
|
145
|
+
)
|
|
146
|
+
if "forwarded_values" in value:
|
|
147
|
+
import capo_cloudfront.types.forwarded_values
|
|
148
|
+
|
|
149
|
+
capo_cloudfront.types.forwarded_values.serialize_xml(
|
|
150
|
+
value["forwarded_values"], el, "ForwardedValues"
|
|
151
|
+
)
|
|
152
|
+
if "min_ttl" in value:
|
|
153
|
+
SubElement(el, "MinTTL").text = str(value["min_ttl"])
|
|
154
|
+
if "default_ttl" in value:
|
|
155
|
+
SubElement(el, "DefaultTTL").text = str(value["default_ttl"])
|
|
156
|
+
if "max_ttl" in value:
|
|
157
|
+
SubElement(el, "MaxTTL").text = str(value["max_ttl"])
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def deserialize_xml(el: Element) -> CacheBehavior:
|
|
161
|
+
out: CacheBehavior = {} # type: ignore[typeddict-item]
|
|
162
|
+
child_path_pattern = el.find("PathPattern")
|
|
163
|
+
if child_path_pattern is not None:
|
|
164
|
+
out["path_pattern"] = str(child_path_pattern.text or "")
|
|
165
|
+
else:
|
|
166
|
+
raise DeserializationError("CacheBehavior.path_pattern required")
|
|
167
|
+
child_target_origin_id = el.find("TargetOriginId")
|
|
168
|
+
if child_target_origin_id is not None:
|
|
169
|
+
out["target_origin_id"] = str(child_target_origin_id.text or "")
|
|
170
|
+
else:
|
|
171
|
+
raise DeserializationError("CacheBehavior.target_origin_id required")
|
|
172
|
+
child_trusted_signers = el.find("TrustedSigners")
|
|
173
|
+
if child_trusted_signers is not None:
|
|
174
|
+
import capo_cloudfront.types.trusted_signers
|
|
175
|
+
|
|
176
|
+
out["trusted_signers"] = capo_cloudfront.types.trusted_signers.deserialize_xml(
|
|
177
|
+
child_trusted_signers
|
|
178
|
+
)
|
|
179
|
+
child_trusted_key_groups = el.find("TrustedKeyGroups")
|
|
180
|
+
if child_trusted_key_groups is not None:
|
|
181
|
+
import capo_cloudfront.types.trusted_key_groups
|
|
182
|
+
|
|
183
|
+
out["trusted_key_groups"] = (
|
|
184
|
+
capo_cloudfront.types.trusted_key_groups.deserialize_xml(
|
|
185
|
+
child_trusted_key_groups
|
|
186
|
+
)
|
|
187
|
+
)
|
|
188
|
+
child_viewer_protocol_policy = el.find("ViewerProtocolPolicy")
|
|
189
|
+
if child_viewer_protocol_policy is not None:
|
|
190
|
+
import capo_cloudfront.types.viewer_protocol_policy
|
|
191
|
+
|
|
192
|
+
out["viewer_protocol_policy"] = (
|
|
193
|
+
capo_cloudfront.types.viewer_protocol_policy.deserialize_xml(
|
|
194
|
+
child_viewer_protocol_policy
|
|
195
|
+
)
|
|
196
|
+
)
|
|
197
|
+
else:
|
|
198
|
+
raise DeserializationError("CacheBehavior.viewer_protocol_policy required")
|
|
199
|
+
child_allowed_methods = el.find("AllowedMethods")
|
|
200
|
+
if child_allowed_methods is not None:
|
|
201
|
+
import capo_cloudfront.types.allowed_methods
|
|
202
|
+
|
|
203
|
+
out["allowed_methods"] = capo_cloudfront.types.allowed_methods.deserialize_xml(
|
|
204
|
+
child_allowed_methods
|
|
205
|
+
)
|
|
206
|
+
child_smooth_streaming = el.find("SmoothStreaming")
|
|
207
|
+
if child_smooth_streaming is not None:
|
|
208
|
+
out["smooth_streaming"] = (child_smooth_streaming.text or "").lower() == "true"
|
|
209
|
+
child_compress = el.find("Compress")
|
|
210
|
+
if child_compress is not None:
|
|
211
|
+
out["compress"] = (child_compress.text or "").lower() == "true"
|
|
212
|
+
child_lambda_function_associations = el.find("LambdaFunctionAssociations")
|
|
213
|
+
if child_lambda_function_associations is not None:
|
|
214
|
+
import capo_cloudfront.types.lambda_function_associations
|
|
215
|
+
|
|
216
|
+
out["lambda_function_associations"] = (
|
|
217
|
+
capo_cloudfront.types.lambda_function_associations.deserialize_xml(
|
|
218
|
+
child_lambda_function_associations
|
|
219
|
+
)
|
|
220
|
+
)
|
|
221
|
+
child_function_associations = el.find("FunctionAssociations")
|
|
222
|
+
if child_function_associations is not None:
|
|
223
|
+
import capo_cloudfront.types.function_associations
|
|
224
|
+
|
|
225
|
+
out["function_associations"] = (
|
|
226
|
+
capo_cloudfront.types.function_associations.deserialize_xml(
|
|
227
|
+
child_function_associations
|
|
228
|
+
)
|
|
229
|
+
)
|
|
230
|
+
child_field_level_encryption_id = el.find("FieldLevelEncryptionId")
|
|
231
|
+
if child_field_level_encryption_id is not None:
|
|
232
|
+
out["field_level_encryption_id"] = str(
|
|
233
|
+
child_field_level_encryption_id.text or ""
|
|
234
|
+
)
|
|
235
|
+
child_realtime_log_config_arn = el.find("RealtimeLogConfigArn")
|
|
236
|
+
if child_realtime_log_config_arn is not None:
|
|
237
|
+
out["realtime_log_config_arn"] = str(child_realtime_log_config_arn.text or "")
|
|
238
|
+
child_cache_policy_id = el.find("CachePolicyId")
|
|
239
|
+
if child_cache_policy_id is not None:
|
|
240
|
+
out["cache_policy_id"] = str(child_cache_policy_id.text or "")
|
|
241
|
+
child_origin_request_policy_id = el.find("OriginRequestPolicyId")
|
|
242
|
+
if child_origin_request_policy_id is not None:
|
|
243
|
+
out["origin_request_policy_id"] = str(child_origin_request_policy_id.text or "")
|
|
244
|
+
child_response_headers_policy_id = el.find("ResponseHeadersPolicyId")
|
|
245
|
+
if child_response_headers_policy_id is not None:
|
|
246
|
+
out["response_headers_policy_id"] = str(
|
|
247
|
+
child_response_headers_policy_id.text or ""
|
|
248
|
+
)
|
|
249
|
+
child_grpc_config = el.find("GrpcConfig")
|
|
250
|
+
if child_grpc_config is not None:
|
|
251
|
+
import capo_cloudfront.types.grpc_config
|
|
252
|
+
|
|
253
|
+
out["grpc_config"] = capo_cloudfront.types.grpc_config.deserialize_xml(
|
|
254
|
+
child_grpc_config
|
|
255
|
+
)
|
|
256
|
+
child_forwarded_values = el.find("ForwardedValues")
|
|
257
|
+
if child_forwarded_values is not None:
|
|
258
|
+
import capo_cloudfront.types.forwarded_values
|
|
259
|
+
|
|
260
|
+
out["forwarded_values"] = (
|
|
261
|
+
capo_cloudfront.types.forwarded_values.deserialize_xml(
|
|
262
|
+
child_forwarded_values
|
|
263
|
+
)
|
|
264
|
+
)
|
|
265
|
+
child_min_ttl = el.find("MinTTL")
|
|
266
|
+
if child_min_ttl is not None:
|
|
267
|
+
out["min_ttl"] = int(child_min_ttl.text or "")
|
|
268
|
+
child_default_ttl = el.find("DefaultTTL")
|
|
269
|
+
if child_default_ttl is not None:
|
|
270
|
+
out["default_ttl"] = int(child_default_ttl.text or "")
|
|
271
|
+
child_max_ttl = el.find("MaxTTL")
|
|
272
|
+
if child_max_ttl is not None:
|
|
273
|
+
out["max_ttl"] = int(child_max_ttl.text or "")
|
|
274
|
+
return out
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CacheBehaviorList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_cloudfront.types.cache_behavior
|
|
9
|
+
|
|
10
|
+
CacheBehaviorList: TypeAlias = list[
|
|
11
|
+
"capo_cloudfront.types.cache_behavior.CacheBehavior"
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# --- restXml ser/de ---
|
|
16
|
+
def serialize_xml(value: CacheBehaviorList, parent: Element, tag: str) -> None:
|
|
17
|
+
el = SubElement(parent, tag)
|
|
18
|
+
for item in value:
|
|
19
|
+
import capo_cloudfront.types.cache_behavior
|
|
20
|
+
|
|
21
|
+
capo_cloudfront.types.cache_behavior.serialize_xml(item, el, "CacheBehavior")
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def deserialize_xml(el: Element) -> CacheBehaviorList:
|
|
25
|
+
import capo_cloudfront.types.cache_behavior
|
|
26
|
+
|
|
27
|
+
out: CacheBehaviorList = []
|
|
28
|
+
for child in el.findall("CacheBehavior"):
|
|
29
|
+
out.append(capo_cloudfront.types.cache_behavior.deserialize_xml(child))
|
|
30
|
+
return out
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def serialize_xml_flat(value: CacheBehaviorList, parent: Element, tag: str) -> None:
|
|
34
|
+
"""Variant used by parent structures with ``@xmlFlattened`` on the referencing member. Items emitted directly under ``parent``."""
|
|
35
|
+
for item in value:
|
|
36
|
+
import capo_cloudfront.types.cache_behavior
|
|
37
|
+
|
|
38
|
+
capo_cloudfront.types.cache_behavior.serialize_xml(item, parent, tag)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def deserialize_xml_flat(parent: Element, tag: str) -> CacheBehaviorList:
|
|
42
|
+
import capo_cloudfront.types.cache_behavior
|
|
43
|
+
|
|
44
|
+
out: CacheBehaviorList = []
|
|
45
|
+
for child in parent.findall(tag):
|
|
46
|
+
out.append(capo_cloudfront.types.cache_behavior.deserialize_xml(child))
|
|
47
|
+
return out
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CacheBehaviors``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.cache_behavior_list
|
|
12
|
+
import capo_cloudfront.types.integer
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CacheBehaviors(TypedDict, closed=True):
|
|
16
|
+
quantity: "capo_cloudfront.types.integer.integer"
|
|
17
|
+
"""<p>The number of cache behaviors for this distribution.</p>"""
|
|
18
|
+
items: NotRequired["capo_cloudfront.types.cache_behavior_list.CacheBehaviorList"]
|
|
19
|
+
"""<p>Optional: A complex type that contains cache behaviors for this distribution. If <code>Quantity</code> is <code>0</code>, you can omit <code>Items</code>.</p>"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# --- restXml ser/de ---
|
|
23
|
+
def serialize_xml(value: CacheBehaviors, parent: Element, tag: str) -> None:
|
|
24
|
+
el = SubElement(parent, tag)
|
|
25
|
+
SubElement(el, "Quantity").text = str(value["quantity"])
|
|
26
|
+
if "items" in value:
|
|
27
|
+
import capo_cloudfront.types.cache_behavior_list
|
|
28
|
+
|
|
29
|
+
capo_cloudfront.types.cache_behavior_list.serialize_xml(
|
|
30
|
+
value["items"], el, "Items"
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def deserialize_xml(el: Element) -> CacheBehaviors:
|
|
35
|
+
out: CacheBehaviors = {} # type: ignore[typeddict-item]
|
|
36
|
+
child_quantity = el.find("Quantity")
|
|
37
|
+
if child_quantity is not None:
|
|
38
|
+
out["quantity"] = int(child_quantity.text or "")
|
|
39
|
+
else:
|
|
40
|
+
raise DeserializationError("CacheBehaviors.quantity required")
|
|
41
|
+
child_items = el.find("Items")
|
|
42
|
+
if child_items is not None:
|
|
43
|
+
import capo_cloudfront.types.cache_behavior_list
|
|
44
|
+
|
|
45
|
+
out["items"] = capo_cloudfront.types.cache_behavior_list.deserialize_xml(
|
|
46
|
+
child_items
|
|
47
|
+
)
|
|
48
|
+
return out
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CachePolicy``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.cache_policy_config
|
|
12
|
+
import capo_cloudfront.types.string
|
|
13
|
+
import capo_cloudfront.types.timestamp
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CachePolicy(TypedDict, closed=True):
|
|
17
|
+
id: "capo_cloudfront.types.string.string"
|
|
18
|
+
"""<p>The unique identifier for the cache policy.</p>"""
|
|
19
|
+
last_modified_time: "capo_cloudfront.types.timestamp.timestamp"
|
|
20
|
+
"""<p>The date and time when the cache policy was last modified.</p>"""
|
|
21
|
+
cache_policy_config: "capo_cloudfront.types.cache_policy_config.CachePolicyConfig"
|
|
22
|
+
"""<p>The cache policy configuration.</p>"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# --- restXml ser/de ---
|
|
26
|
+
def serialize_xml(value: CachePolicy, parent: Element, tag: str) -> None:
|
|
27
|
+
el = SubElement(parent, tag)
|
|
28
|
+
SubElement(el, "Id").text = str(value["id"])
|
|
29
|
+
import capo_cloudfront.types.timestamp
|
|
30
|
+
|
|
31
|
+
capo_cloudfront.types.timestamp.serialize_xml(
|
|
32
|
+
value["last_modified_time"], el, "LastModifiedTime"
|
|
33
|
+
)
|
|
34
|
+
import capo_cloudfront.types.cache_policy_config
|
|
35
|
+
|
|
36
|
+
capo_cloudfront.types.cache_policy_config.serialize_xml(
|
|
37
|
+
value["cache_policy_config"], el, "CachePolicyConfig"
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def deserialize_xml(el: Element) -> CachePolicy:
|
|
42
|
+
out: CachePolicy = {} # type: ignore[typeddict-item]
|
|
43
|
+
child_id = el.find("Id")
|
|
44
|
+
if child_id is not None:
|
|
45
|
+
out["id"] = str(child_id.text or "")
|
|
46
|
+
else:
|
|
47
|
+
raise DeserializationError("CachePolicy.id required")
|
|
48
|
+
child_last_modified_time = el.find("LastModifiedTime")
|
|
49
|
+
if child_last_modified_time is not None:
|
|
50
|
+
import capo_cloudfront.types.timestamp
|
|
51
|
+
|
|
52
|
+
out["last_modified_time"] = capo_cloudfront.types.timestamp.deserialize_xml(
|
|
53
|
+
child_last_modified_time
|
|
54
|
+
)
|
|
55
|
+
else:
|
|
56
|
+
raise DeserializationError("CachePolicy.last_modified_time required")
|
|
57
|
+
child_cache_policy_config = el.find("CachePolicyConfig")
|
|
58
|
+
if child_cache_policy_config is not None:
|
|
59
|
+
import capo_cloudfront.types.cache_policy_config
|
|
60
|
+
|
|
61
|
+
out["cache_policy_config"] = (
|
|
62
|
+
capo_cloudfront.types.cache_policy_config.deserialize_xml(
|
|
63
|
+
child_cache_policy_config
|
|
64
|
+
)
|
|
65
|
+
)
|
|
66
|
+
else:
|
|
67
|
+
raise DeserializationError("CachePolicy.cache_policy_config required")
|
|
68
|
+
return out
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CachePolicyConfig``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.long
|
|
12
|
+
import capo_cloudfront.types.parameters_in_cache_key_and_forwarded_to_origin
|
|
13
|
+
import capo_cloudfront.types.string
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CachePolicyConfig(TypedDict, closed=True):
|
|
17
|
+
comment: NotRequired["capo_cloudfront.types.string.string"]
|
|
18
|
+
"""<p>A comment to describe the cache policy. The comment cannot be longer than 128 characters.</p>"""
|
|
19
|
+
name: "capo_cloudfront.types.string.string"
|
|
20
|
+
"""<p>A unique name to identify the cache policy.</p>"""
|
|
21
|
+
default_ttl: NotRequired["capo_cloudfront.types.long.long"]
|
|
22
|
+
r"""<p>The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does <i>not</i> send <code>Cache-Control</code> or <code>Expires</code> headers with the object. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default value for this field is 86400 seconds (one day). If the value of <code>MinTTL</code> is more than 86400 seconds, then the default value for this field is the same as the value of <code>MinTTL</code>.</p>"""
|
|
23
|
+
max_ttl: NotRequired["capo_cloudfront.types.long.long"]
|
|
24
|
+
r"""<p>The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends <code>Cache-Control</code> or <code>Expires</code> headers with the object. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default value for this field is 31536000 seconds (one year). If the value of <code>MinTTL</code> or <code>DefaultTTL</code> is more than 31536000 seconds, then the default value for this field is the same as the value of <code>DefaultTTL</code>.</p>"""
|
|
25
|
+
min_ttl: "capo_cloudfront.types.long.long"
|
|
26
|
+
r"""<p>The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html\">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
27
|
+
parameters_in_cache_key_and_forwarded_to_origin: NotRequired[
|
|
28
|
+
"capo_cloudfront.types.parameters_in_cache_key_and_forwarded_to_origin.ParametersInCacheKeyAndForwardedToOrigin"
|
|
29
|
+
]
|
|
30
|
+
"""<p>The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin.</p>"""
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# --- restXml ser/de ---
|
|
34
|
+
def serialize_xml(value: CachePolicyConfig, parent: Element, tag: str) -> None:
|
|
35
|
+
el = SubElement(parent, tag)
|
|
36
|
+
if "comment" in value:
|
|
37
|
+
SubElement(el, "Comment").text = str(value["comment"])
|
|
38
|
+
SubElement(el, "Name").text = str(value["name"])
|
|
39
|
+
if "default_ttl" in value:
|
|
40
|
+
SubElement(el, "DefaultTTL").text = str(value["default_ttl"])
|
|
41
|
+
if "max_ttl" in value:
|
|
42
|
+
SubElement(el, "MaxTTL").text = str(value["max_ttl"])
|
|
43
|
+
SubElement(el, "MinTTL").text = str(value["min_ttl"])
|
|
44
|
+
if "parameters_in_cache_key_and_forwarded_to_origin" in value:
|
|
45
|
+
import capo_cloudfront.types.parameters_in_cache_key_and_forwarded_to_origin
|
|
46
|
+
|
|
47
|
+
capo_cloudfront.types.parameters_in_cache_key_and_forwarded_to_origin.serialize_xml(
|
|
48
|
+
value["parameters_in_cache_key_and_forwarded_to_origin"],
|
|
49
|
+
el,
|
|
50
|
+
"ParametersInCacheKeyAndForwardedToOrigin",
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def deserialize_xml(el: Element) -> CachePolicyConfig:
|
|
55
|
+
out: CachePolicyConfig = {} # type: ignore[typeddict-item]
|
|
56
|
+
child_comment = el.find("Comment")
|
|
57
|
+
if child_comment is not None:
|
|
58
|
+
out["comment"] = str(child_comment.text or "")
|
|
59
|
+
child_name = el.find("Name")
|
|
60
|
+
if child_name is not None:
|
|
61
|
+
out["name"] = str(child_name.text or "")
|
|
62
|
+
else:
|
|
63
|
+
raise DeserializationError("CachePolicyConfig.name required")
|
|
64
|
+
child_default_ttl = el.find("DefaultTTL")
|
|
65
|
+
if child_default_ttl is not None:
|
|
66
|
+
out["default_ttl"] = int(child_default_ttl.text or "")
|
|
67
|
+
child_max_ttl = el.find("MaxTTL")
|
|
68
|
+
if child_max_ttl is not None:
|
|
69
|
+
out["max_ttl"] = int(child_max_ttl.text or "")
|
|
70
|
+
child_min_ttl = el.find("MinTTL")
|
|
71
|
+
if child_min_ttl is not None:
|
|
72
|
+
out["min_ttl"] = int(child_min_ttl.text or "")
|
|
73
|
+
else:
|
|
74
|
+
raise DeserializationError("CachePolicyConfig.min_ttl required")
|
|
75
|
+
child_parameters_in_cache_key_and_forwarded_to_origin = el.find(
|
|
76
|
+
"ParametersInCacheKeyAndForwardedToOrigin"
|
|
77
|
+
)
|
|
78
|
+
if child_parameters_in_cache_key_and_forwarded_to_origin is not None:
|
|
79
|
+
import capo_cloudfront.types.parameters_in_cache_key_and_forwarded_to_origin
|
|
80
|
+
|
|
81
|
+
out["parameters_in_cache_key_and_forwarded_to_origin"] = (
|
|
82
|
+
capo_cloudfront.types.parameters_in_cache_key_and_forwarded_to_origin.deserialize_xml(
|
|
83
|
+
child_parameters_in_cache_key_and_forwarded_to_origin
|
|
84
|
+
)
|
|
85
|
+
)
|
|
86
|
+
return out
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CachePolicyCookieBehavior``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
6
|
+
|
|
7
|
+
CachePolicyCookieBehavior: TypeAlias = Literal[
|
|
8
|
+
"none",
|
|
9
|
+
"whitelist",
|
|
10
|
+
"allExcept",
|
|
11
|
+
"all",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# --- restXml ser/de ---
|
|
16
|
+
def to_xml_text(value: CachePolicyCookieBehavior) -> str:
|
|
17
|
+
return value
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def from_xml_text(text: str) -> CachePolicyCookieBehavior:
|
|
21
|
+
return cast(CachePolicyCookieBehavior, text)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def serialize_xml(value: CachePolicyCookieBehavior, parent: Element, tag: str) -> None:
|
|
25
|
+
SubElement(parent, tag).text = to_xml_text(value)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_xml(el: Element) -> CachePolicyCookieBehavior:
|
|
29
|
+
return from_xml_text(el.text or "")
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CachePolicyCookiesConfig``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.cache_policy_cookie_behavior
|
|
12
|
+
import capo_cloudfront.types.cookie_names
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CachePolicyCookiesConfig(TypedDict, closed=True):
|
|
16
|
+
cookie_behavior: (
|
|
17
|
+
"capo_cloudfront.types.cache_policy_cookie_behavior.CachePolicyCookieBehavior"
|
|
18
|
+
)
|
|
19
|
+
"""<p>Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:</p> <ul> <li> <p> <code>none</code> – No cookies in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to <code>none</code>, any cookies that are listed in an <code>OriginRequestPolicy</code> <i>are</i> included in origin requests.</p> </li> <li> <p> <code>whitelist</code> – Only the cookies in viewer requests that are listed in the <code>CookieNames</code> type are included in the cache key and in requests that CloudFront sends to the origin.</p> </li> <li> <p> <code>allExcept</code> – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, <i> <b>except</b> </i> for those that are listed in the <code>CookieNames</code> type, which are not included.</p> </li> <li> <p> <code>all</code> – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.</p> </li> </ul>"""
|
|
20
|
+
cookies: NotRequired["capo_cloudfront.types.cookie_names.CookieNames"]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# --- restXml ser/de ---
|
|
24
|
+
def serialize_xml(value: CachePolicyCookiesConfig, parent: Element, tag: str) -> None:
|
|
25
|
+
el = SubElement(parent, tag)
|
|
26
|
+
import capo_cloudfront.types.cache_policy_cookie_behavior
|
|
27
|
+
|
|
28
|
+
capo_cloudfront.types.cache_policy_cookie_behavior.serialize_xml(
|
|
29
|
+
value["cookie_behavior"], el, "CookieBehavior"
|
|
30
|
+
)
|
|
31
|
+
if "cookies" in value:
|
|
32
|
+
import capo_cloudfront.types.cookie_names
|
|
33
|
+
|
|
34
|
+
capo_cloudfront.types.cookie_names.serialize_xml(
|
|
35
|
+
value["cookies"], el, "Cookies"
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def deserialize_xml(el: Element) -> CachePolicyCookiesConfig:
|
|
40
|
+
out: CachePolicyCookiesConfig = {} # type: ignore[typeddict-item]
|
|
41
|
+
child_cookie_behavior = el.find("CookieBehavior")
|
|
42
|
+
if child_cookie_behavior is not None:
|
|
43
|
+
import capo_cloudfront.types.cache_policy_cookie_behavior
|
|
44
|
+
|
|
45
|
+
out["cookie_behavior"] = (
|
|
46
|
+
capo_cloudfront.types.cache_policy_cookie_behavior.deserialize_xml(
|
|
47
|
+
child_cookie_behavior
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
else:
|
|
51
|
+
raise DeserializationError("CachePolicyCookiesConfig.cookie_behavior required")
|
|
52
|
+
child_cookies = el.find("Cookies")
|
|
53
|
+
if child_cookies is not None:
|
|
54
|
+
import capo_cloudfront.types.cookie_names
|
|
55
|
+
|
|
56
|
+
out["cookies"] = capo_cloudfront.types.cookie_names.deserialize_xml(
|
|
57
|
+
child_cookies
|
|
58
|
+
)
|
|
59
|
+
return out
|