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,468 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CreateDistribution``."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
import zapros
|
|
8
|
+
from typing_extensions import Never
|
|
9
|
+
|
|
10
|
+
import capo_cloudfront._auth._signers
|
|
11
|
+
import capo_cloudfront._auth._sigv4
|
|
12
|
+
import capo_cloudfront.errors.access_denied
|
|
13
|
+
import capo_cloudfront.errors.cname_already_exists
|
|
14
|
+
import capo_cloudfront.errors.continuous_deployment_policy_in_use
|
|
15
|
+
import capo_cloudfront.errors.distribution_already_exists
|
|
16
|
+
import capo_cloudfront.errors.entity_limit_exceeded
|
|
17
|
+
import capo_cloudfront.errors.entity_not_found
|
|
18
|
+
import capo_cloudfront.errors.illegal_field_level_encryption_config_association_with_cache_behavior
|
|
19
|
+
import capo_cloudfront.errors.illegal_origin_access_configuration
|
|
20
|
+
import capo_cloudfront.errors.inconsistent_quantities
|
|
21
|
+
import capo_cloudfront.errors.invalid_argument
|
|
22
|
+
import capo_cloudfront.errors.invalid_default_root_object
|
|
23
|
+
import capo_cloudfront.errors.invalid_domain_name_for_origin_access_control
|
|
24
|
+
import capo_cloudfront.errors.invalid_error_code
|
|
25
|
+
import capo_cloudfront.errors.invalid_forward_cookies
|
|
26
|
+
import capo_cloudfront.errors.invalid_function_association
|
|
27
|
+
import capo_cloudfront.errors.invalid_geo_restriction_parameter
|
|
28
|
+
import capo_cloudfront.errors.invalid_headers_for_s3_origin
|
|
29
|
+
import capo_cloudfront.errors.invalid_lambda_function_association
|
|
30
|
+
import capo_cloudfront.errors.invalid_location_code
|
|
31
|
+
import capo_cloudfront.errors.invalid_minimum_protocol_version
|
|
32
|
+
import capo_cloudfront.errors.invalid_origin
|
|
33
|
+
import capo_cloudfront.errors.invalid_origin_access_control
|
|
34
|
+
import capo_cloudfront.errors.invalid_origin_access_identity
|
|
35
|
+
import capo_cloudfront.errors.invalid_origin_keepalive_timeout
|
|
36
|
+
import capo_cloudfront.errors.invalid_origin_read_timeout
|
|
37
|
+
import capo_cloudfront.errors.invalid_protocol_settings
|
|
38
|
+
import capo_cloudfront.errors.invalid_query_string_parameters
|
|
39
|
+
import capo_cloudfront.errors.invalid_relative_path
|
|
40
|
+
import capo_cloudfront.errors.invalid_required_protocol
|
|
41
|
+
import capo_cloudfront.errors.invalid_response_code
|
|
42
|
+
import capo_cloudfront.errors.invalid_ttl_order
|
|
43
|
+
import capo_cloudfront.errors.invalid_viewer_certificate
|
|
44
|
+
import capo_cloudfront.errors.invalid_web_acl_id
|
|
45
|
+
import capo_cloudfront.errors.missing_body
|
|
46
|
+
import capo_cloudfront.errors.no_such_cache_policy
|
|
47
|
+
import capo_cloudfront.errors.no_such_continuous_deployment_policy
|
|
48
|
+
import capo_cloudfront.errors.no_such_field_level_encryption_config
|
|
49
|
+
import capo_cloudfront.errors.no_such_origin
|
|
50
|
+
import capo_cloudfront.errors.no_such_origin_request_policy
|
|
51
|
+
import capo_cloudfront.errors.no_such_realtime_log_config
|
|
52
|
+
import capo_cloudfront.errors.no_such_response_headers_policy
|
|
53
|
+
import capo_cloudfront.errors.realtime_log_config_owner_mismatch
|
|
54
|
+
import capo_cloudfront.errors.too_many_cache_behaviors
|
|
55
|
+
import capo_cloudfront.errors.too_many_certificates
|
|
56
|
+
import capo_cloudfront.errors.too_many_cookie_names_in_white_list
|
|
57
|
+
import capo_cloudfront.errors.too_many_distribution_cnam_es
|
|
58
|
+
import capo_cloudfront.errors.too_many_distributions
|
|
59
|
+
import capo_cloudfront.errors.too_many_distributions_associated_to_cache_policy
|
|
60
|
+
import capo_cloudfront.errors.too_many_distributions_associated_to_field_level_encryption_config
|
|
61
|
+
import capo_cloudfront.errors.too_many_distributions_associated_to_key_group
|
|
62
|
+
import capo_cloudfront.errors.too_many_distributions_associated_to_origin_access_control
|
|
63
|
+
import capo_cloudfront.errors.too_many_distributions_associated_to_origin_request_policy
|
|
64
|
+
import capo_cloudfront.errors.too_many_distributions_associated_to_response_headers_policy
|
|
65
|
+
import capo_cloudfront.errors.too_many_distributions_with_function_associations
|
|
66
|
+
import capo_cloudfront.errors.too_many_distributions_with_lambda_associations
|
|
67
|
+
import capo_cloudfront.errors.too_many_distributions_with_single_function_arn
|
|
68
|
+
import capo_cloudfront.errors.too_many_function_associations
|
|
69
|
+
import capo_cloudfront.errors.too_many_headers_in_forwarded_values
|
|
70
|
+
import capo_cloudfront.errors.too_many_key_groups_associated_to_distribution
|
|
71
|
+
import capo_cloudfront.errors.too_many_lambda_function_associations
|
|
72
|
+
import capo_cloudfront.errors.too_many_origin_custom_headers
|
|
73
|
+
import capo_cloudfront.errors.too_many_origin_groups_per_distribution
|
|
74
|
+
import capo_cloudfront.errors.too_many_origins
|
|
75
|
+
import capo_cloudfront.errors.too_many_query_string_parameters
|
|
76
|
+
import capo_cloudfront.errors.too_many_trusted_signers
|
|
77
|
+
import capo_cloudfront.errors.trusted_key_group_does_not_exist
|
|
78
|
+
import capo_cloudfront.errors.trusted_signer_does_not_exist
|
|
79
|
+
import capo_cloudfront.types.create_distribution_request
|
|
80
|
+
import capo_cloudfront.types.create_distribution_result
|
|
81
|
+
import capo_cloudfront.types.distribution
|
|
82
|
+
import capo_cloudfront.types.distribution_config
|
|
83
|
+
from capo_cloudfront._protocol.errors import parse_error_metadata
|
|
84
|
+
from capo_cloudfront._protocol.xml import Element, fromstring, tostring
|
|
85
|
+
from capo_cloudfront._rule_engine._endpoint_rule_set import EndpointParams, resolve
|
|
86
|
+
from capo_cloudfront._services._pipeline import AsyncOperationOptions, OperationOptions
|
|
87
|
+
from capo_cloudfront.errors import UnknownServiceError
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def handle_error(response: zapros.Response) -> Never:
|
|
91
|
+
root = fromstring(response.read())
|
|
92
|
+
code, message = parse_error_metadata(root)
|
|
93
|
+
match code:
|
|
94
|
+
case "AccessDenied":
|
|
95
|
+
raise capo_cloudfront.errors.access_denied.AccessDenied.from_xml(root)
|
|
96
|
+
case "CNAMEAlreadyExists":
|
|
97
|
+
raise capo_cloudfront.errors.cname_already_exists.CNAMEAlreadyExists.from_xml(
|
|
98
|
+
root
|
|
99
|
+
)
|
|
100
|
+
case "ContinuousDeploymentPolicyInUse":
|
|
101
|
+
raise capo_cloudfront.errors.continuous_deployment_policy_in_use.ContinuousDeploymentPolicyInUse.from_xml(
|
|
102
|
+
root
|
|
103
|
+
)
|
|
104
|
+
case "DistributionAlreadyExists":
|
|
105
|
+
raise capo_cloudfront.errors.distribution_already_exists.DistributionAlreadyExists.from_xml(
|
|
106
|
+
root
|
|
107
|
+
)
|
|
108
|
+
case "EntityLimitExceeded":
|
|
109
|
+
raise capo_cloudfront.errors.entity_limit_exceeded.EntityLimitExceeded.from_xml(
|
|
110
|
+
root
|
|
111
|
+
)
|
|
112
|
+
case "EntityNotFound":
|
|
113
|
+
raise capo_cloudfront.errors.entity_not_found.EntityNotFound.from_xml(root)
|
|
114
|
+
case "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior":
|
|
115
|
+
raise capo_cloudfront.errors.illegal_field_level_encryption_config_association_with_cache_behavior.IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.from_xml(
|
|
116
|
+
root
|
|
117
|
+
)
|
|
118
|
+
case "IllegalOriginAccessConfiguration":
|
|
119
|
+
raise capo_cloudfront.errors.illegal_origin_access_configuration.IllegalOriginAccessConfiguration.from_xml(
|
|
120
|
+
root
|
|
121
|
+
)
|
|
122
|
+
case "InconsistentQuantities":
|
|
123
|
+
raise capo_cloudfront.errors.inconsistent_quantities.InconsistentQuantities.from_xml(
|
|
124
|
+
root
|
|
125
|
+
)
|
|
126
|
+
case "InvalidArgument":
|
|
127
|
+
raise capo_cloudfront.errors.invalid_argument.InvalidArgument.from_xml(root)
|
|
128
|
+
case "InvalidDefaultRootObject":
|
|
129
|
+
raise capo_cloudfront.errors.invalid_default_root_object.InvalidDefaultRootObject.from_xml(
|
|
130
|
+
root
|
|
131
|
+
)
|
|
132
|
+
case "InvalidDomainNameForOriginAccessControl":
|
|
133
|
+
raise capo_cloudfront.errors.invalid_domain_name_for_origin_access_control.InvalidDomainNameForOriginAccessControl.from_xml(
|
|
134
|
+
root
|
|
135
|
+
)
|
|
136
|
+
case "InvalidErrorCode":
|
|
137
|
+
raise capo_cloudfront.errors.invalid_error_code.InvalidErrorCode.from_xml(
|
|
138
|
+
root
|
|
139
|
+
)
|
|
140
|
+
case "InvalidForwardCookies":
|
|
141
|
+
raise capo_cloudfront.errors.invalid_forward_cookies.InvalidForwardCookies.from_xml(
|
|
142
|
+
root
|
|
143
|
+
)
|
|
144
|
+
case "InvalidFunctionAssociation":
|
|
145
|
+
raise capo_cloudfront.errors.invalid_function_association.InvalidFunctionAssociation.from_xml(
|
|
146
|
+
root
|
|
147
|
+
)
|
|
148
|
+
case "InvalidGeoRestrictionParameter":
|
|
149
|
+
raise capo_cloudfront.errors.invalid_geo_restriction_parameter.InvalidGeoRestrictionParameter.from_xml(
|
|
150
|
+
root
|
|
151
|
+
)
|
|
152
|
+
case "InvalidHeadersForS3Origin":
|
|
153
|
+
raise capo_cloudfront.errors.invalid_headers_for_s3_origin.InvalidHeadersForS3Origin.from_xml(
|
|
154
|
+
root
|
|
155
|
+
)
|
|
156
|
+
case "InvalidLambdaFunctionAssociation":
|
|
157
|
+
raise capo_cloudfront.errors.invalid_lambda_function_association.InvalidLambdaFunctionAssociation.from_xml(
|
|
158
|
+
root
|
|
159
|
+
)
|
|
160
|
+
case "InvalidLocationCode":
|
|
161
|
+
raise capo_cloudfront.errors.invalid_location_code.InvalidLocationCode.from_xml(
|
|
162
|
+
root
|
|
163
|
+
)
|
|
164
|
+
case "InvalidMinimumProtocolVersion":
|
|
165
|
+
raise capo_cloudfront.errors.invalid_minimum_protocol_version.InvalidMinimumProtocolVersion.from_xml(
|
|
166
|
+
root
|
|
167
|
+
)
|
|
168
|
+
case "InvalidOrigin":
|
|
169
|
+
raise capo_cloudfront.errors.invalid_origin.InvalidOrigin.from_xml(root)
|
|
170
|
+
case "InvalidOriginAccessControl":
|
|
171
|
+
raise capo_cloudfront.errors.invalid_origin_access_control.InvalidOriginAccessControl.from_xml(
|
|
172
|
+
root
|
|
173
|
+
)
|
|
174
|
+
case "InvalidOriginAccessIdentity":
|
|
175
|
+
raise capo_cloudfront.errors.invalid_origin_access_identity.InvalidOriginAccessIdentity.from_xml(
|
|
176
|
+
root
|
|
177
|
+
)
|
|
178
|
+
case "InvalidOriginKeepaliveTimeout":
|
|
179
|
+
raise capo_cloudfront.errors.invalid_origin_keepalive_timeout.InvalidOriginKeepaliveTimeout.from_xml(
|
|
180
|
+
root
|
|
181
|
+
)
|
|
182
|
+
case "InvalidOriginReadTimeout":
|
|
183
|
+
raise capo_cloudfront.errors.invalid_origin_read_timeout.InvalidOriginReadTimeout.from_xml(
|
|
184
|
+
root
|
|
185
|
+
)
|
|
186
|
+
case "InvalidProtocolSettings":
|
|
187
|
+
raise capo_cloudfront.errors.invalid_protocol_settings.InvalidProtocolSettings.from_xml(
|
|
188
|
+
root
|
|
189
|
+
)
|
|
190
|
+
case "InvalidQueryStringParameters":
|
|
191
|
+
raise capo_cloudfront.errors.invalid_query_string_parameters.InvalidQueryStringParameters.from_xml(
|
|
192
|
+
root
|
|
193
|
+
)
|
|
194
|
+
case "InvalidRelativePath":
|
|
195
|
+
raise capo_cloudfront.errors.invalid_relative_path.InvalidRelativePath.from_xml(
|
|
196
|
+
root
|
|
197
|
+
)
|
|
198
|
+
case "InvalidRequiredProtocol":
|
|
199
|
+
raise capo_cloudfront.errors.invalid_required_protocol.InvalidRequiredProtocol.from_xml(
|
|
200
|
+
root
|
|
201
|
+
)
|
|
202
|
+
case "InvalidResponseCode":
|
|
203
|
+
raise capo_cloudfront.errors.invalid_response_code.InvalidResponseCode.from_xml(
|
|
204
|
+
root
|
|
205
|
+
)
|
|
206
|
+
case "InvalidTTLOrder":
|
|
207
|
+
raise capo_cloudfront.errors.invalid_ttl_order.InvalidTTLOrder.from_xml(
|
|
208
|
+
root
|
|
209
|
+
)
|
|
210
|
+
case "InvalidViewerCertificate":
|
|
211
|
+
raise capo_cloudfront.errors.invalid_viewer_certificate.InvalidViewerCertificate.from_xml(
|
|
212
|
+
root
|
|
213
|
+
)
|
|
214
|
+
case "InvalidWebACLId":
|
|
215
|
+
raise capo_cloudfront.errors.invalid_web_acl_id.InvalidWebACLId.from_xml(
|
|
216
|
+
root
|
|
217
|
+
)
|
|
218
|
+
case "MissingBody":
|
|
219
|
+
raise capo_cloudfront.errors.missing_body.MissingBody.from_xml(root)
|
|
220
|
+
case "NoSuchCachePolicy":
|
|
221
|
+
raise capo_cloudfront.errors.no_such_cache_policy.NoSuchCachePolicy.from_xml(
|
|
222
|
+
root
|
|
223
|
+
)
|
|
224
|
+
case "NoSuchContinuousDeploymentPolicy":
|
|
225
|
+
raise capo_cloudfront.errors.no_such_continuous_deployment_policy.NoSuchContinuousDeploymentPolicy.from_xml(
|
|
226
|
+
root
|
|
227
|
+
)
|
|
228
|
+
case "NoSuchFieldLevelEncryptionConfig":
|
|
229
|
+
raise capo_cloudfront.errors.no_such_field_level_encryption_config.NoSuchFieldLevelEncryptionConfig.from_xml(
|
|
230
|
+
root
|
|
231
|
+
)
|
|
232
|
+
case "NoSuchOrigin":
|
|
233
|
+
raise capo_cloudfront.errors.no_such_origin.NoSuchOrigin.from_xml(root)
|
|
234
|
+
case "NoSuchOriginRequestPolicy":
|
|
235
|
+
raise capo_cloudfront.errors.no_such_origin_request_policy.NoSuchOriginRequestPolicy.from_xml(
|
|
236
|
+
root
|
|
237
|
+
)
|
|
238
|
+
case "NoSuchRealtimeLogConfig":
|
|
239
|
+
raise capo_cloudfront.errors.no_such_realtime_log_config.NoSuchRealtimeLogConfig.from_xml(
|
|
240
|
+
root
|
|
241
|
+
)
|
|
242
|
+
case "NoSuchResponseHeadersPolicy":
|
|
243
|
+
raise capo_cloudfront.errors.no_such_response_headers_policy.NoSuchResponseHeadersPolicy.from_xml(
|
|
244
|
+
root
|
|
245
|
+
)
|
|
246
|
+
case "RealtimeLogConfigOwnerMismatch":
|
|
247
|
+
raise capo_cloudfront.errors.realtime_log_config_owner_mismatch.RealtimeLogConfigOwnerMismatch.from_xml(
|
|
248
|
+
root
|
|
249
|
+
)
|
|
250
|
+
case "TooManyCacheBehaviors":
|
|
251
|
+
raise capo_cloudfront.errors.too_many_cache_behaviors.TooManyCacheBehaviors.from_xml(
|
|
252
|
+
root
|
|
253
|
+
)
|
|
254
|
+
case "TooManyCertificates":
|
|
255
|
+
raise capo_cloudfront.errors.too_many_certificates.TooManyCertificates.from_xml(
|
|
256
|
+
root
|
|
257
|
+
)
|
|
258
|
+
case "TooManyCookieNamesInWhiteList":
|
|
259
|
+
raise capo_cloudfront.errors.too_many_cookie_names_in_white_list.TooManyCookieNamesInWhiteList.from_xml(
|
|
260
|
+
root
|
|
261
|
+
)
|
|
262
|
+
case "TooManyDistributionCNAMEs":
|
|
263
|
+
raise capo_cloudfront.errors.too_many_distribution_cnam_es.TooManyDistributionCNAMEs.from_xml(
|
|
264
|
+
root
|
|
265
|
+
)
|
|
266
|
+
case "TooManyDistributions":
|
|
267
|
+
raise capo_cloudfront.errors.too_many_distributions.TooManyDistributions.from_xml(
|
|
268
|
+
root
|
|
269
|
+
)
|
|
270
|
+
case "TooManyDistributionsAssociatedToCachePolicy":
|
|
271
|
+
raise capo_cloudfront.errors.too_many_distributions_associated_to_cache_policy.TooManyDistributionsAssociatedToCachePolicy.from_xml(
|
|
272
|
+
root
|
|
273
|
+
)
|
|
274
|
+
case "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig":
|
|
275
|
+
raise capo_cloudfront.errors.too_many_distributions_associated_to_field_level_encryption_config.TooManyDistributionsAssociatedToFieldLevelEncryptionConfig.from_xml(
|
|
276
|
+
root
|
|
277
|
+
)
|
|
278
|
+
case "TooManyDistributionsAssociatedToKeyGroup":
|
|
279
|
+
raise capo_cloudfront.errors.too_many_distributions_associated_to_key_group.TooManyDistributionsAssociatedToKeyGroup.from_xml(
|
|
280
|
+
root
|
|
281
|
+
)
|
|
282
|
+
case "TooManyDistributionsAssociatedToOriginAccessControl":
|
|
283
|
+
raise capo_cloudfront.errors.too_many_distributions_associated_to_origin_access_control.TooManyDistributionsAssociatedToOriginAccessControl.from_xml(
|
|
284
|
+
root
|
|
285
|
+
)
|
|
286
|
+
case "TooManyDistributionsAssociatedToOriginRequestPolicy":
|
|
287
|
+
raise capo_cloudfront.errors.too_many_distributions_associated_to_origin_request_policy.TooManyDistributionsAssociatedToOriginRequestPolicy.from_xml(
|
|
288
|
+
root
|
|
289
|
+
)
|
|
290
|
+
case "TooManyDistributionsAssociatedToResponseHeadersPolicy":
|
|
291
|
+
raise capo_cloudfront.errors.too_many_distributions_associated_to_response_headers_policy.TooManyDistributionsAssociatedToResponseHeadersPolicy.from_xml(
|
|
292
|
+
root
|
|
293
|
+
)
|
|
294
|
+
case "TooManyDistributionsWithFunctionAssociations":
|
|
295
|
+
raise capo_cloudfront.errors.too_many_distributions_with_function_associations.TooManyDistributionsWithFunctionAssociations.from_xml(
|
|
296
|
+
root
|
|
297
|
+
)
|
|
298
|
+
case "TooManyDistributionsWithLambdaAssociations":
|
|
299
|
+
raise capo_cloudfront.errors.too_many_distributions_with_lambda_associations.TooManyDistributionsWithLambdaAssociations.from_xml(
|
|
300
|
+
root
|
|
301
|
+
)
|
|
302
|
+
case "TooManyDistributionsWithSingleFunctionARN":
|
|
303
|
+
raise capo_cloudfront.errors.too_many_distributions_with_single_function_arn.TooManyDistributionsWithSingleFunctionARN.from_xml(
|
|
304
|
+
root
|
|
305
|
+
)
|
|
306
|
+
case "TooManyFunctionAssociations":
|
|
307
|
+
raise capo_cloudfront.errors.too_many_function_associations.TooManyFunctionAssociations.from_xml(
|
|
308
|
+
root
|
|
309
|
+
)
|
|
310
|
+
case "TooManyHeadersInForwardedValues":
|
|
311
|
+
raise capo_cloudfront.errors.too_many_headers_in_forwarded_values.TooManyHeadersInForwardedValues.from_xml(
|
|
312
|
+
root
|
|
313
|
+
)
|
|
314
|
+
case "TooManyKeyGroupsAssociatedToDistribution":
|
|
315
|
+
raise capo_cloudfront.errors.too_many_key_groups_associated_to_distribution.TooManyKeyGroupsAssociatedToDistribution.from_xml(
|
|
316
|
+
root
|
|
317
|
+
)
|
|
318
|
+
case "TooManyLambdaFunctionAssociations":
|
|
319
|
+
raise capo_cloudfront.errors.too_many_lambda_function_associations.TooManyLambdaFunctionAssociations.from_xml(
|
|
320
|
+
root
|
|
321
|
+
)
|
|
322
|
+
case "TooManyOriginCustomHeaders":
|
|
323
|
+
raise capo_cloudfront.errors.too_many_origin_custom_headers.TooManyOriginCustomHeaders.from_xml(
|
|
324
|
+
root
|
|
325
|
+
)
|
|
326
|
+
case "TooManyOriginGroupsPerDistribution":
|
|
327
|
+
raise capo_cloudfront.errors.too_many_origin_groups_per_distribution.TooManyOriginGroupsPerDistribution.from_xml(
|
|
328
|
+
root
|
|
329
|
+
)
|
|
330
|
+
case "TooManyOrigins":
|
|
331
|
+
raise capo_cloudfront.errors.too_many_origins.TooManyOrigins.from_xml(root)
|
|
332
|
+
case "TooManyQueryStringParameters":
|
|
333
|
+
raise capo_cloudfront.errors.too_many_query_string_parameters.TooManyQueryStringParameters.from_xml(
|
|
334
|
+
root
|
|
335
|
+
)
|
|
336
|
+
case "TooManyTrustedSigners":
|
|
337
|
+
raise capo_cloudfront.errors.too_many_trusted_signers.TooManyTrustedSigners.from_xml(
|
|
338
|
+
root
|
|
339
|
+
)
|
|
340
|
+
case "TrustedKeyGroupDoesNotExist":
|
|
341
|
+
raise capo_cloudfront.errors.trusted_key_group_does_not_exist.TrustedKeyGroupDoesNotExist.from_xml(
|
|
342
|
+
root
|
|
343
|
+
)
|
|
344
|
+
case "TrustedSignerDoesNotExist":
|
|
345
|
+
raise capo_cloudfront.errors.trusted_signer_does_not_exist.TrustedSignerDoesNotExist.from_xml(
|
|
346
|
+
root
|
|
347
|
+
)
|
|
348
|
+
case _:
|
|
349
|
+
raise UnknownServiceError(code=code, message=message, response=response)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
def handle_response(
|
|
353
|
+
response: zapros.Response,
|
|
354
|
+
) -> capo_cloudfront.types.create_distribution_result.CreateDistributionResult:
|
|
355
|
+
out: capo_cloudfront.types.create_distribution_result.CreateDistributionResult = {
|
|
356
|
+
"distribution": capo_cloudfront.types.distribution.deserialize_xml(
|
|
357
|
+
fromstring(response.read())
|
|
358
|
+
)
|
|
359
|
+
} # type: ignore[typeddict-item]
|
|
360
|
+
if "Location" in response.headers:
|
|
361
|
+
out["location"] = str(response.headers["Location"])
|
|
362
|
+
if "ETag" in response.headers:
|
|
363
|
+
out["e_tag"] = str(response.headers["ETag"])
|
|
364
|
+
return out
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
async def async_handle_response(
|
|
368
|
+
response: zapros.Response,
|
|
369
|
+
) -> capo_cloudfront.types.create_distribution_result.CreateDistributionResult:
|
|
370
|
+
out: capo_cloudfront.types.create_distribution_result.CreateDistributionResult = {
|
|
371
|
+
"distribution": capo_cloudfront.types.distribution.deserialize_xml(
|
|
372
|
+
fromstring(await response.aread())
|
|
373
|
+
)
|
|
374
|
+
} # type: ignore[typeddict-item]
|
|
375
|
+
if "Location" in response.headers:
|
|
376
|
+
out["location"] = str(response.headers["Location"])
|
|
377
|
+
if "ETag" in response.headers:
|
|
378
|
+
out["e_tag"] = str(response.headers["ETag"])
|
|
379
|
+
return out
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
def get_signer(
|
|
383
|
+
options: AsyncOperationOptions | OperationOptions,
|
|
384
|
+
auth_schemes: list[dict[str, Any]] | None = None,
|
|
385
|
+
) -> capo_cloudfront._auth._signers.Signer | None:
|
|
386
|
+
name_to_schema = {s["name"]: s for s in (auth_schemes or [])} # noqa: F841
|
|
387
|
+
if options.credentials_provider is not None:
|
|
388
|
+
sigv4_config = (
|
|
389
|
+
name_to_schema.get("sigv4")
|
|
390
|
+
or name_to_schema.get("sigv4a")
|
|
391
|
+
or name_to_schema.get("sigv4-s3express")
|
|
392
|
+
or capo_cloudfront._auth._sigv4.build_sigv4_auth_scheme(
|
|
393
|
+
"cloudfront", options.region
|
|
394
|
+
)
|
|
395
|
+
)
|
|
396
|
+
if sigv4_config is not None:
|
|
397
|
+
return capo_cloudfront._auth._signers.SigV4Signer(
|
|
398
|
+
options.credentials_provider, auth_scheme=sigv4_config
|
|
399
|
+
)
|
|
400
|
+
raise RuntimeError("Auth was not resolved")
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
def build_request(
|
|
404
|
+
options: OperationOptions | AsyncOperationOptions,
|
|
405
|
+
input_: capo_cloudfront.types.create_distribution_request.CreateDistributionRequest,
|
|
406
|
+
) -> zapros.Request:
|
|
407
|
+
endpoint = resolve(
|
|
408
|
+
EndpointParams(
|
|
409
|
+
UseDualStack=options.use_dual_stack,
|
|
410
|
+
UseFIPS=options.use_fips,
|
|
411
|
+
Endpoint=options.endpoint,
|
|
412
|
+
Region=options.region,
|
|
413
|
+
)
|
|
414
|
+
) # noqa: F841
|
|
415
|
+
url = endpoint.url.rstrip("/") + "/2020-05-31/distribution"
|
|
416
|
+
params: dict[str, str] = {}
|
|
417
|
+
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
418
|
+
if "distribution_config" in input_:
|
|
419
|
+
payload_root = Element("_")
|
|
420
|
+
capo_cloudfront.types.distribution_config.serialize_xml(
|
|
421
|
+
input_["distribution_config"], payload_root, "DistributionConfig"
|
|
422
|
+
)
|
|
423
|
+
body: bytes | None = tostring(payload_root[0])
|
|
424
|
+
headers["content-type"] = "application/xml"
|
|
425
|
+
else:
|
|
426
|
+
body = b""
|
|
427
|
+
signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
428
|
+
normalized_url = zapros.URL(url)
|
|
429
|
+
normalized_url.search_params.update(params)
|
|
430
|
+
return zapros.Request(
|
|
431
|
+
normalized_url, "POST", headers=headers, body=body, context={"signer": signer}
|
|
432
|
+
)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
def create_distribution(
|
|
436
|
+
options: OperationOptions,
|
|
437
|
+
input_: capo_cloudfront.types.create_distribution_request.CreateDistributionRequest,
|
|
438
|
+
) -> tuple[
|
|
439
|
+
capo_cloudfront.types.create_distribution_result.CreateDistributionResult,
|
|
440
|
+
zapros.Response,
|
|
441
|
+
]:
|
|
442
|
+
response = options.client.handler.handle(build_request(options, input_))
|
|
443
|
+
try:
|
|
444
|
+
if response.status >= 400:
|
|
445
|
+
response.read()
|
|
446
|
+
handle_error(response)
|
|
447
|
+
return handle_response(response), response
|
|
448
|
+
except BaseException:
|
|
449
|
+
response.close()
|
|
450
|
+
raise
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
async def async_create_distribution(
|
|
454
|
+
options: AsyncOperationOptions,
|
|
455
|
+
input_: capo_cloudfront.types.create_distribution_request.CreateDistributionRequest,
|
|
456
|
+
) -> tuple[
|
|
457
|
+
capo_cloudfront.types.create_distribution_result.CreateDistributionResult,
|
|
458
|
+
zapros.Response,
|
|
459
|
+
]:
|
|
460
|
+
response = await options.client.handler.ahandle(build_request(options, input_))
|
|
461
|
+
try:
|
|
462
|
+
if response.status >= 400:
|
|
463
|
+
await response.aread()
|
|
464
|
+
handle_error(response)
|
|
465
|
+
return await async_handle_response(response), response
|
|
466
|
+
except BaseException:
|
|
467
|
+
await response.aclose()
|
|
468
|
+
raise
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#CreateDistributionTenant``."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
import zapros
|
|
8
|
+
from typing_extensions import Never
|
|
9
|
+
|
|
10
|
+
import capo_cloudfront._auth._signers
|
|
11
|
+
import capo_cloudfront._auth._sigv4
|
|
12
|
+
import capo_cloudfront.errors.access_denied
|
|
13
|
+
import capo_cloudfront.errors.cname_already_exists
|
|
14
|
+
import capo_cloudfront.errors.entity_already_exists
|
|
15
|
+
import capo_cloudfront.errors.entity_limit_exceeded
|
|
16
|
+
import capo_cloudfront.errors.entity_not_found
|
|
17
|
+
import capo_cloudfront.errors.invalid_argument
|
|
18
|
+
import capo_cloudfront.errors.invalid_association
|
|
19
|
+
import capo_cloudfront.errors.invalid_tagging
|
|
20
|
+
import capo_cloudfront.types.create_distribution_tenant_request
|
|
21
|
+
import capo_cloudfront.types.create_distribution_tenant_result
|
|
22
|
+
import capo_cloudfront.types.customizations
|
|
23
|
+
import capo_cloudfront.types.distribution_tenant
|
|
24
|
+
import capo_cloudfront.types.domain_list
|
|
25
|
+
import capo_cloudfront.types.managed_certificate_request
|
|
26
|
+
import capo_cloudfront.types.parameters
|
|
27
|
+
import capo_cloudfront.types.tags
|
|
28
|
+
from capo_cloudfront._protocol.errors import parse_error_metadata
|
|
29
|
+
from capo_cloudfront._protocol.xml import Element, SubElement, fromstring, tostring
|
|
30
|
+
from capo_cloudfront._rule_engine._endpoint_rule_set import EndpointParams, resolve
|
|
31
|
+
from capo_cloudfront._services._pipeline import AsyncOperationOptions, OperationOptions
|
|
32
|
+
from capo_cloudfront.errors import UnknownServiceError
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def handle_error(response: zapros.Response) -> Never:
|
|
36
|
+
root = fromstring(response.read())
|
|
37
|
+
code, message = parse_error_metadata(root)
|
|
38
|
+
match code:
|
|
39
|
+
case "AccessDenied":
|
|
40
|
+
raise capo_cloudfront.errors.access_denied.AccessDenied.from_xml(root)
|
|
41
|
+
case "CNAMEAlreadyExists":
|
|
42
|
+
raise capo_cloudfront.errors.cname_already_exists.CNAMEAlreadyExists.from_xml(
|
|
43
|
+
root
|
|
44
|
+
)
|
|
45
|
+
case "EntityAlreadyExists":
|
|
46
|
+
raise capo_cloudfront.errors.entity_already_exists.EntityAlreadyExists.from_xml(
|
|
47
|
+
root
|
|
48
|
+
)
|
|
49
|
+
case "EntityLimitExceeded":
|
|
50
|
+
raise capo_cloudfront.errors.entity_limit_exceeded.EntityLimitExceeded.from_xml(
|
|
51
|
+
root
|
|
52
|
+
)
|
|
53
|
+
case "EntityNotFound":
|
|
54
|
+
raise capo_cloudfront.errors.entity_not_found.EntityNotFound.from_xml(root)
|
|
55
|
+
case "InvalidArgument":
|
|
56
|
+
raise capo_cloudfront.errors.invalid_argument.InvalidArgument.from_xml(root)
|
|
57
|
+
case "InvalidAssociation":
|
|
58
|
+
raise capo_cloudfront.errors.invalid_association.InvalidAssociation.from_xml(
|
|
59
|
+
root
|
|
60
|
+
)
|
|
61
|
+
case "InvalidTagging":
|
|
62
|
+
raise capo_cloudfront.errors.invalid_tagging.InvalidTagging.from_xml(root)
|
|
63
|
+
case _:
|
|
64
|
+
raise UnknownServiceError(code=code, message=message, response=response)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def handle_response(
|
|
68
|
+
response: zapros.Response,
|
|
69
|
+
) -> capo_cloudfront.types.create_distribution_tenant_result.CreateDistributionTenantResult:
|
|
70
|
+
out: capo_cloudfront.types.create_distribution_tenant_result.CreateDistributionTenantResult = {
|
|
71
|
+
"distribution_tenant": capo_cloudfront.types.distribution_tenant.deserialize_xml(
|
|
72
|
+
fromstring(response.read())
|
|
73
|
+
)
|
|
74
|
+
} # type: ignore[typeddict-item]
|
|
75
|
+
if "ETag" in response.headers:
|
|
76
|
+
out["e_tag"] = str(response.headers["ETag"])
|
|
77
|
+
return out
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
async def async_handle_response(
|
|
81
|
+
response: zapros.Response,
|
|
82
|
+
) -> capo_cloudfront.types.create_distribution_tenant_result.CreateDistributionTenantResult:
|
|
83
|
+
out: capo_cloudfront.types.create_distribution_tenant_result.CreateDistributionTenantResult = {
|
|
84
|
+
"distribution_tenant": capo_cloudfront.types.distribution_tenant.deserialize_xml(
|
|
85
|
+
fromstring(await response.aread())
|
|
86
|
+
)
|
|
87
|
+
} # type: ignore[typeddict-item]
|
|
88
|
+
if "ETag" in response.headers:
|
|
89
|
+
out["e_tag"] = str(response.headers["ETag"])
|
|
90
|
+
return out
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def get_signer(
|
|
94
|
+
options: AsyncOperationOptions | OperationOptions,
|
|
95
|
+
auth_schemes: list[dict[str, Any]] | None = None,
|
|
96
|
+
) -> capo_cloudfront._auth._signers.Signer | None:
|
|
97
|
+
name_to_schema = {s["name"]: s for s in (auth_schemes or [])} # noqa: F841
|
|
98
|
+
if options.credentials_provider is not None:
|
|
99
|
+
sigv4_config = (
|
|
100
|
+
name_to_schema.get("sigv4")
|
|
101
|
+
or name_to_schema.get("sigv4a")
|
|
102
|
+
or name_to_schema.get("sigv4-s3express")
|
|
103
|
+
or capo_cloudfront._auth._sigv4.build_sigv4_auth_scheme(
|
|
104
|
+
"cloudfront", options.region
|
|
105
|
+
)
|
|
106
|
+
)
|
|
107
|
+
if sigv4_config is not None:
|
|
108
|
+
return capo_cloudfront._auth._signers.SigV4Signer(
|
|
109
|
+
options.credentials_provider, auth_scheme=sigv4_config
|
|
110
|
+
)
|
|
111
|
+
raise RuntimeError("Auth was not resolved")
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def build_request(
|
|
115
|
+
options: OperationOptions | AsyncOperationOptions,
|
|
116
|
+
input_: capo_cloudfront.types.create_distribution_tenant_request.CreateDistributionTenantRequest,
|
|
117
|
+
) -> zapros.Request:
|
|
118
|
+
endpoint = resolve(
|
|
119
|
+
EndpointParams(
|
|
120
|
+
UseDualStack=options.use_dual_stack,
|
|
121
|
+
UseFIPS=options.use_fips,
|
|
122
|
+
Endpoint=options.endpoint,
|
|
123
|
+
Region=options.region,
|
|
124
|
+
)
|
|
125
|
+
) # noqa: F841
|
|
126
|
+
url = endpoint.url.rstrip("/") + "/2020-05-31/distribution-tenant"
|
|
127
|
+
params: dict[str, str] = {}
|
|
128
|
+
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
129
|
+
root = Element("CreateDistributionTenantRequest")
|
|
130
|
+
if "distribution_id" in input_:
|
|
131
|
+
SubElement(root, "DistributionId").text = str(input_["distribution_id"])
|
|
132
|
+
if "name" in input_:
|
|
133
|
+
SubElement(root, "Name").text = str(input_["name"])
|
|
134
|
+
if "domains" in input_:
|
|
135
|
+
capo_cloudfront.types.domain_list.serialize_xml(
|
|
136
|
+
input_["domains"], root, "Domains"
|
|
137
|
+
)
|
|
138
|
+
if "tags" in input_:
|
|
139
|
+
capo_cloudfront.types.tags.serialize_xml(input_["tags"], root, "Tags")
|
|
140
|
+
if "customizations" in input_:
|
|
141
|
+
capo_cloudfront.types.customizations.serialize_xml(
|
|
142
|
+
input_["customizations"], root, "Customizations"
|
|
143
|
+
)
|
|
144
|
+
if "parameters" in input_:
|
|
145
|
+
capo_cloudfront.types.parameters.serialize_xml(
|
|
146
|
+
input_["parameters"], root, "Parameters"
|
|
147
|
+
)
|
|
148
|
+
if "connection_group_id" in input_:
|
|
149
|
+
SubElement(root, "ConnectionGroupId").text = str(input_["connection_group_id"])
|
|
150
|
+
if "managed_certificate_request" in input_:
|
|
151
|
+
capo_cloudfront.types.managed_certificate_request.serialize_xml(
|
|
152
|
+
input_["managed_certificate_request"], root, "ManagedCertificateRequest"
|
|
153
|
+
)
|
|
154
|
+
if "enabled" in input_:
|
|
155
|
+
SubElement(root, "Enabled").text = str(input_["enabled"])
|
|
156
|
+
body: bytes | None = tostring(root)
|
|
157
|
+
headers["content-type"] = "application/xml"
|
|
158
|
+
signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
159
|
+
normalized_url = zapros.URL(url)
|
|
160
|
+
normalized_url.search_params.update(params)
|
|
161
|
+
return zapros.Request(
|
|
162
|
+
normalized_url, "POST", headers=headers, body=body, context={"signer": signer}
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
def create_distribution_tenant(
|
|
167
|
+
options: OperationOptions,
|
|
168
|
+
input_: capo_cloudfront.types.create_distribution_tenant_request.CreateDistributionTenantRequest,
|
|
169
|
+
) -> tuple[
|
|
170
|
+
capo_cloudfront.types.create_distribution_tenant_result.CreateDistributionTenantResult,
|
|
171
|
+
zapros.Response,
|
|
172
|
+
]:
|
|
173
|
+
response = options.client.handler.handle(build_request(options, input_))
|
|
174
|
+
try:
|
|
175
|
+
if response.status >= 400:
|
|
176
|
+
response.read()
|
|
177
|
+
handle_error(response)
|
|
178
|
+
return handle_response(response), response
|
|
179
|
+
except BaseException:
|
|
180
|
+
response.close()
|
|
181
|
+
raise
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
async def async_create_distribution_tenant(
|
|
185
|
+
options: AsyncOperationOptions,
|
|
186
|
+
input_: capo_cloudfront.types.create_distribution_tenant_request.CreateDistributionTenantRequest,
|
|
187
|
+
) -> tuple[
|
|
188
|
+
capo_cloudfront.types.create_distribution_tenant_result.CreateDistributionTenantResult,
|
|
189
|
+
zapros.Response,
|
|
190
|
+
]:
|
|
191
|
+
response = await options.client.handler.ahandle(build_request(options, input_))
|
|
192
|
+
try:
|
|
193
|
+
if response.status >= 400:
|
|
194
|
+
await response.aread()
|
|
195
|
+
handle_error(response)
|
|
196
|
+
return await async_handle_response(response), response
|
|
197
|
+
except BaseException:
|
|
198
|
+
await response.aclose()
|
|
199
|
+
raise
|