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,374 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#DistributionConfig``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.aliases
|
|
12
|
+
import capo_cloudfront.types.boolean
|
|
13
|
+
import capo_cloudfront.types.cache_behaviors
|
|
14
|
+
import capo_cloudfront.types.cache_tag_config
|
|
15
|
+
import capo_cloudfront.types.comment_type
|
|
16
|
+
import capo_cloudfront.types.connection_function_association
|
|
17
|
+
import capo_cloudfront.types.connection_mode
|
|
18
|
+
import capo_cloudfront.types.custom_error_responses
|
|
19
|
+
import capo_cloudfront.types.default_cache_behavior
|
|
20
|
+
import capo_cloudfront.types.http_version
|
|
21
|
+
import capo_cloudfront.types.logging_config
|
|
22
|
+
import capo_cloudfront.types.origin_groups
|
|
23
|
+
import capo_cloudfront.types.origins
|
|
24
|
+
import capo_cloudfront.types.price_class
|
|
25
|
+
import capo_cloudfront.types.restrictions
|
|
26
|
+
import capo_cloudfront.types.string
|
|
27
|
+
import capo_cloudfront.types.tenant_config
|
|
28
|
+
import capo_cloudfront.types.viewer_certificate
|
|
29
|
+
import capo_cloudfront.types.viewer_mtls_config
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class DistributionConfig(TypedDict, closed=True):
|
|
33
|
+
caller_reference: "capo_cloudfront.types.string.string"
|
|
34
|
+
"""<p>A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.</p> <p>If the value of <code>CallerReference</code> is new (regardless of the content of the <code>DistributionConfig</code> object), CloudFront creates a new distribution.</p> <p>If <code>CallerReference</code> is a value that you already sent in a previous request to create a distribution, CloudFront returns a <code>DistributionAlreadyExists</code> error.</p>"""
|
|
35
|
+
aliases: NotRequired["capo_cloudfront.types.aliases.Aliases"]
|
|
36
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.</p>"""
|
|
37
|
+
default_root_object: NotRequired["capo_cloudfront.types.string.string"]
|
|
38
|
+
r"""<p>When a viewer requests the root URL for your distribution, the default root object is the object that you want CloudFront to request from your origin. For example, if your root URL is <code>https://www.example.com</code>, you can specify CloudFront to return the <code>index.html</code> file as the default root object. You can specify a default root object so that viewers see a specific file or object, instead of another object in your distribution (for example, <code>https://www.example.com/product-description.html</code>). A default root object avoids exposing the contents of your distribution.</p> <p>You can specify the object name or a path to the object name (for example, <code>index.html</code> or <code>exampleFolderName/index.html</code>). Your string can't begin with a forward slash (<code>/</code>). Only specify the object name or the path to the object.</p> <p>If you don't want to specify a default root object when you create a distribution, include an empty <code>DefaultRootObject</code> element.</p> <p>To delete the default root object from an existing distribution, update the distribution configuration and include an empty <code>DefaultRootObject</code> element.</p> <p>To replace the default root object, update the distribution configuration and specify the new object.</p> <p>For more information about the default root object, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DefaultRootObject.html\">Specify a default root object</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
39
|
+
origins: "capo_cloudfront.types.origins.Origins"
|
|
40
|
+
"""<p>A complex type that contains information about origins for this distribution.</p>"""
|
|
41
|
+
origin_groups: NotRequired["capo_cloudfront.types.origin_groups.OriginGroups"]
|
|
42
|
+
"""<p>A complex type that contains information about origin groups for this distribution.</p>"""
|
|
43
|
+
default_cache_behavior: (
|
|
44
|
+
"capo_cloudfront.types.default_cache_behavior.DefaultCacheBehavior"
|
|
45
|
+
)
|
|
46
|
+
"""<p>A complex type that describes the default cache behavior if you don't specify a <code>CacheBehavior</code> element or if files don't match any of the values of <code>PathPattern</code> in <code>CacheBehavior</code> elements. You must create exactly one default cache behavior.</p>"""
|
|
47
|
+
cache_behaviors: NotRequired["capo_cloudfront.types.cache_behaviors.CacheBehaviors"]
|
|
48
|
+
"""<p>A complex type that contains zero or more <code>CacheBehavior</code> elements.</p>"""
|
|
49
|
+
custom_error_responses: NotRequired[
|
|
50
|
+
"capo_cloudfront.types.custom_error_responses.CustomErrorResponses"
|
|
51
|
+
]
|
|
52
|
+
r"""<p>A complex type that controls the following:</p> <ul> <li> <p>Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.</p> </li> <li> <p>How long CloudFront caches HTTP status codes in the 4xx and 5xx range.</p> </li> </ul> <p>For more information about custom error pages, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html\">Customizing Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
53
|
+
comment: "capo_cloudfront.types.comment_type.CommentType"
|
|
54
|
+
"""<p>A comment to describe the distribution. The comment cannot be longer than 128 characters.</p>"""
|
|
55
|
+
logging: NotRequired["capo_cloudfront.types.logging_config.LoggingConfig"]
|
|
56
|
+
r"""<p>A complex type that controls whether access logs are written for the distribution.</p> <p>For more information about logging, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html\">Access Logs</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
|
|
57
|
+
price_class: NotRequired["capo_cloudfront.types.price_class.PriceClass"]
|
|
58
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>The price class that corresponds with the maximum price that you want to pay for CloudFront service. If you specify <code>PriceClass_All</code>, CloudFront responds to requests for your objects from all CloudFront edge locations.</p> <p>If you specify a price class other than <code>PriceClass_All</code>, CloudFront serves your objects from the CloudFront edge location that has the lowest latency among the edge locations in your price class. Viewers who are in or near regions that are excluded from your specified price class may encounter slower performance.</p> <p>For more information about price classes, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PriceClass.html\">Choosing the Price Class for a CloudFront Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>. For information about CloudFront pricing, including how price classes (such as Price Class 100) map to CloudFront regions, see <a href=\"http://aws.amazon.com/cloudfront/pricing/\">Amazon CloudFront Pricing</a>.</p>"""
|
|
59
|
+
enabled: "capo_cloudfront.types.boolean.boolean"
|
|
60
|
+
"""<p>From this field, you can enable or disable the selected distribution.</p>"""
|
|
61
|
+
viewer_certificate: NotRequired[
|
|
62
|
+
"capo_cloudfront.types.viewer_certificate.ViewerCertificate"
|
|
63
|
+
]
|
|
64
|
+
"""<p>A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.</p>"""
|
|
65
|
+
restrictions: NotRequired["capo_cloudfront.types.restrictions.Restrictions"]
|
|
66
|
+
"""<p>A complex type that identifies ways in which you want to restrict distribution of your content.</p>"""
|
|
67
|
+
web_acl_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
68
|
+
r"""<note> <p>Multi-tenant distributions only support WAF V2 web ACLs.</p> </note> <p>A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example <code>arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111</code>. To specify a web ACL created using WAF Classic, use the ACL ID, for example <code>a1b2c3d4-5678-90ab-cdef-EXAMPLE11111</code>.</p> <p>WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html\">WAF Developer Guide</a>.</p>"""
|
|
69
|
+
http_version: NotRequired["capo_cloudfront.types.http_version.HttpVersion"]
|
|
70
|
+
r"""<p>(Optional) Specify the HTTP version(s) that you want viewers to use to communicate with CloudFront. The default value for new web distributions is <code>http2</code>. Viewers that don't support HTTP/2 automatically use an earlier HTTP version.</p> <p>For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must support Server Name Indication (SNI).</p> <p>For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name Indication (SNI). CloudFront supports HTTP/3 connection migration to allow the viewer to switch networks without losing connection. For more information about connection migration, see <a href=\"https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration\">Connection Migration</a> at RFC 9000. For more information about supported TLSv1.3 ciphers, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html\">Supported protocols and ciphers between viewers and CloudFront</a>.</p>"""
|
|
71
|
+
is_ipv6_enabled: NotRequired["capo_cloudfront.types.boolean.boolean"]
|
|
72
|
+
r"""<note> <p>To use this field for a multi-tenant distribution, use a connection group instead. For more information, see <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html\">ConnectionGroup</a>.</p> </note> <p>If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your distribution, specify <code>true</code>. If you specify <code>false</code>, CloudFront responds to IPv6 DNS requests with the DNS response code <code>NOERROR</code> and with no IP addresses. This allows viewers to submit a second request, for an IPv4 address for your distribution.</p> <p>In general, you should enable IPv6 if you have users on IPv6 networks who want to access your content. However, if you're using signed URLs or signed cookies to restrict access to your content, and if you're using a custom policy that includes the <code>IpAddress</code> parameter to restrict the IP addresses that can access your content, don't enable IPv6. If you want to restrict access to some content by IP address and not restrict access to other content (or restrict access but not by IP address), you can create two distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html\">Creating a Signed URL Using a Custom Policy</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you're using an Route 53 Amazon Web Services Integration alias resource record set to route traffic to your CloudFront distribution, you need to create a second alias resource record set when both of the following are true:</p> <ul> <li> <p>You enable IPv6 for the distribution</p> </li> <li> <p>You're using alternate domain names in the URLs for your objects</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-cloudfront-distribution.html\">Routing Traffic to an Amazon CloudFront Web Distribution by Using Your Domain Name</a> in the <i>Route 53 Amazon Web Services Integration Developer Guide</i>.</p> <p>If you created a CNAME resource record set, either with Route 53 Amazon Web Services Integration or with another DNS service, you don't need to make any changes. A CNAME record will route traffic to your distribution regardless of the IP address format of the viewer request.</p>"""
|
|
73
|
+
continuous_deployment_policy_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
74
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>The identifier of a continuous deployment policy. For more information, see <code>CreateContinuousDeploymentPolicy</code>.</p>"""
|
|
75
|
+
staging: NotRequired["capo_cloudfront.types.boolean.boolean"]
|
|
76
|
+
r"""<note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>A Boolean that indicates whether this is a staging distribution. When this value is <code>true</code>, this is a staging distribution. When this value is <code>false</code>, this is not a staging distribution.</p>"""
|
|
77
|
+
anycast_ip_list_id: NotRequired["capo_cloudfront.types.string.string"]
|
|
78
|
+
r"""<note> <p>To use this field for a multi-tenant distribution, use a connection group instead. For more information, see <a href=\"https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ConnectionGroup.html\">ConnectionGroup</a>.</p> </note> <p>ID of the Anycast static IP list that is associated with the distribution.</p>"""
|
|
79
|
+
tenant_config: NotRequired["capo_cloudfront.types.tenant_config.TenantConfig"]
|
|
80
|
+
r"""<note> <p>This field only supports multi-tenant distributions. You can't specify this field for standard distributions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas\">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>A distribution tenant configuration.</p>"""
|
|
81
|
+
connection_mode: NotRequired["capo_cloudfront.types.connection_mode.ConnectionMode"]
|
|
82
|
+
"""<p>This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).</p>"""
|
|
83
|
+
viewer_mtls_config: NotRequired[
|
|
84
|
+
"capo_cloudfront.types.viewer_mtls_config.ViewerMtlsConfig"
|
|
85
|
+
]
|
|
86
|
+
"""<p>The distribution's viewer mTLS configuration.</p>"""
|
|
87
|
+
connection_function_association: NotRequired[
|
|
88
|
+
"capo_cloudfront.types.connection_function_association.ConnectionFunctionAssociation"
|
|
89
|
+
]
|
|
90
|
+
"""<p>The distribution's connection function association.</p>"""
|
|
91
|
+
cache_tag_config: NotRequired[
|
|
92
|
+
"capo_cloudfront.types.cache_tag_config.CacheTagConfig"
|
|
93
|
+
]
|
|
94
|
+
"""<p>Configuration for cache tag extraction from origin responses. When specified, CloudFront reads the header named in <code>HeaderName</code> from origin responses and stores the comma-separated values as cache tags on the object.</p> <p>Distributions without <code>CacheTagConfig</code> do not extract tags. When <code>CacheTagConfig</code> is removed from a distribution via <code>UpdateDistribution</code>, CloudFront stops extracting tags from origin responses.</p> <note> <p>Changing the <code>HeaderName</code> on an existing distribution does not retroactively affect previously cached objects. Tag-based invalidations will not apply to objects already cached using a previous header. To ensure tag invalidations function after updating the header name, use path-based invalidations to recache all objects that use cache tags.</p> </note>"""
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
# --- restXml ser/de ---
|
|
98
|
+
def serialize_xml(value: DistributionConfig, parent: Element, tag: str) -> None:
|
|
99
|
+
el = SubElement(parent, tag)
|
|
100
|
+
SubElement(el, "CallerReference").text = str(value["caller_reference"])
|
|
101
|
+
if "aliases" in value:
|
|
102
|
+
import capo_cloudfront.types.aliases
|
|
103
|
+
|
|
104
|
+
capo_cloudfront.types.aliases.serialize_xml(value["aliases"], el, "Aliases")
|
|
105
|
+
if "default_root_object" in value:
|
|
106
|
+
SubElement(el, "DefaultRootObject").text = str(value["default_root_object"])
|
|
107
|
+
import capo_cloudfront.types.origins
|
|
108
|
+
|
|
109
|
+
capo_cloudfront.types.origins.serialize_xml(value["origins"], el, "Origins")
|
|
110
|
+
if "origin_groups" in value:
|
|
111
|
+
import capo_cloudfront.types.origin_groups
|
|
112
|
+
|
|
113
|
+
capo_cloudfront.types.origin_groups.serialize_xml(
|
|
114
|
+
value["origin_groups"], el, "OriginGroups"
|
|
115
|
+
)
|
|
116
|
+
import capo_cloudfront.types.default_cache_behavior
|
|
117
|
+
|
|
118
|
+
capo_cloudfront.types.default_cache_behavior.serialize_xml(
|
|
119
|
+
value["default_cache_behavior"], el, "DefaultCacheBehavior"
|
|
120
|
+
)
|
|
121
|
+
if "cache_behaviors" in value:
|
|
122
|
+
import capo_cloudfront.types.cache_behaviors
|
|
123
|
+
|
|
124
|
+
capo_cloudfront.types.cache_behaviors.serialize_xml(
|
|
125
|
+
value["cache_behaviors"], el, "CacheBehaviors"
|
|
126
|
+
)
|
|
127
|
+
if "custom_error_responses" in value:
|
|
128
|
+
import capo_cloudfront.types.custom_error_responses
|
|
129
|
+
|
|
130
|
+
capo_cloudfront.types.custom_error_responses.serialize_xml(
|
|
131
|
+
value["custom_error_responses"], el, "CustomErrorResponses"
|
|
132
|
+
)
|
|
133
|
+
SubElement(el, "Comment").text = str(value["comment"])
|
|
134
|
+
if "logging" in value:
|
|
135
|
+
import capo_cloudfront.types.logging_config
|
|
136
|
+
|
|
137
|
+
capo_cloudfront.types.logging_config.serialize_xml(
|
|
138
|
+
value["logging"], el, "Logging"
|
|
139
|
+
)
|
|
140
|
+
if "price_class" in value:
|
|
141
|
+
import capo_cloudfront.types.price_class
|
|
142
|
+
|
|
143
|
+
capo_cloudfront.types.price_class.serialize_xml(
|
|
144
|
+
value["price_class"], el, "PriceClass"
|
|
145
|
+
)
|
|
146
|
+
SubElement(el, "Enabled").text = "true" if value["enabled"] else "false"
|
|
147
|
+
if "viewer_certificate" in value:
|
|
148
|
+
import capo_cloudfront.types.viewer_certificate
|
|
149
|
+
|
|
150
|
+
capo_cloudfront.types.viewer_certificate.serialize_xml(
|
|
151
|
+
value["viewer_certificate"], el, "ViewerCertificate"
|
|
152
|
+
)
|
|
153
|
+
if "restrictions" in value:
|
|
154
|
+
import capo_cloudfront.types.restrictions
|
|
155
|
+
|
|
156
|
+
capo_cloudfront.types.restrictions.serialize_xml(
|
|
157
|
+
value["restrictions"], el, "Restrictions"
|
|
158
|
+
)
|
|
159
|
+
if "web_acl_id" in value:
|
|
160
|
+
SubElement(el, "WebACLId").text = str(value["web_acl_id"])
|
|
161
|
+
if "http_version" in value:
|
|
162
|
+
import capo_cloudfront.types.http_version
|
|
163
|
+
|
|
164
|
+
capo_cloudfront.types.http_version.serialize_xml(
|
|
165
|
+
value["http_version"], el, "HttpVersion"
|
|
166
|
+
)
|
|
167
|
+
if "is_ipv6_enabled" in value:
|
|
168
|
+
SubElement(el, "IsIPV6Enabled").text = (
|
|
169
|
+
"true" if value["is_ipv6_enabled"] else "false"
|
|
170
|
+
)
|
|
171
|
+
if "continuous_deployment_policy_id" in value:
|
|
172
|
+
SubElement(el, "ContinuousDeploymentPolicyId").text = str(
|
|
173
|
+
value["continuous_deployment_policy_id"]
|
|
174
|
+
)
|
|
175
|
+
if "staging" in value:
|
|
176
|
+
SubElement(el, "Staging").text = "true" if value["staging"] else "false"
|
|
177
|
+
if "anycast_ip_list_id" in value:
|
|
178
|
+
SubElement(el, "AnycastIpListId").text = str(value["anycast_ip_list_id"])
|
|
179
|
+
if "tenant_config" in value:
|
|
180
|
+
import capo_cloudfront.types.tenant_config
|
|
181
|
+
|
|
182
|
+
capo_cloudfront.types.tenant_config.serialize_xml(
|
|
183
|
+
value["tenant_config"], el, "TenantConfig"
|
|
184
|
+
)
|
|
185
|
+
if "connection_mode" in value:
|
|
186
|
+
import capo_cloudfront.types.connection_mode
|
|
187
|
+
|
|
188
|
+
capo_cloudfront.types.connection_mode.serialize_xml(
|
|
189
|
+
value["connection_mode"], el, "ConnectionMode"
|
|
190
|
+
)
|
|
191
|
+
if "viewer_mtls_config" in value:
|
|
192
|
+
import capo_cloudfront.types.viewer_mtls_config
|
|
193
|
+
|
|
194
|
+
capo_cloudfront.types.viewer_mtls_config.serialize_xml(
|
|
195
|
+
value["viewer_mtls_config"], el, "ViewerMtlsConfig"
|
|
196
|
+
)
|
|
197
|
+
if "connection_function_association" in value:
|
|
198
|
+
import capo_cloudfront.types.connection_function_association
|
|
199
|
+
|
|
200
|
+
capo_cloudfront.types.connection_function_association.serialize_xml(
|
|
201
|
+
value["connection_function_association"],
|
|
202
|
+
el,
|
|
203
|
+
"ConnectionFunctionAssociation",
|
|
204
|
+
)
|
|
205
|
+
if "cache_tag_config" in value:
|
|
206
|
+
import capo_cloudfront.types.cache_tag_config
|
|
207
|
+
|
|
208
|
+
capo_cloudfront.types.cache_tag_config.serialize_xml(
|
|
209
|
+
value["cache_tag_config"], el, "CacheTagConfig"
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
def deserialize_xml(el: Element) -> DistributionConfig:
|
|
214
|
+
out: DistributionConfig = {} # type: ignore[typeddict-item]
|
|
215
|
+
child_caller_reference = el.find("CallerReference")
|
|
216
|
+
if child_caller_reference is not None:
|
|
217
|
+
out["caller_reference"] = str(child_caller_reference.text or "")
|
|
218
|
+
else:
|
|
219
|
+
raise DeserializationError("DistributionConfig.caller_reference required")
|
|
220
|
+
child_aliases = el.find("Aliases")
|
|
221
|
+
if child_aliases is not None:
|
|
222
|
+
import capo_cloudfront.types.aliases
|
|
223
|
+
|
|
224
|
+
out["aliases"] = capo_cloudfront.types.aliases.deserialize_xml(child_aliases)
|
|
225
|
+
child_default_root_object = el.find("DefaultRootObject")
|
|
226
|
+
if child_default_root_object is not None:
|
|
227
|
+
out["default_root_object"] = str(child_default_root_object.text or "")
|
|
228
|
+
child_origins = el.find("Origins")
|
|
229
|
+
if child_origins is not None:
|
|
230
|
+
import capo_cloudfront.types.origins
|
|
231
|
+
|
|
232
|
+
out["origins"] = capo_cloudfront.types.origins.deserialize_xml(child_origins)
|
|
233
|
+
else:
|
|
234
|
+
raise DeserializationError("DistributionConfig.origins required")
|
|
235
|
+
child_origin_groups = el.find("OriginGroups")
|
|
236
|
+
if child_origin_groups is not None:
|
|
237
|
+
import capo_cloudfront.types.origin_groups
|
|
238
|
+
|
|
239
|
+
out["origin_groups"] = capo_cloudfront.types.origin_groups.deserialize_xml(
|
|
240
|
+
child_origin_groups
|
|
241
|
+
)
|
|
242
|
+
child_default_cache_behavior = el.find("DefaultCacheBehavior")
|
|
243
|
+
if child_default_cache_behavior is not None:
|
|
244
|
+
import capo_cloudfront.types.default_cache_behavior
|
|
245
|
+
|
|
246
|
+
out["default_cache_behavior"] = (
|
|
247
|
+
capo_cloudfront.types.default_cache_behavior.deserialize_xml(
|
|
248
|
+
child_default_cache_behavior
|
|
249
|
+
)
|
|
250
|
+
)
|
|
251
|
+
else:
|
|
252
|
+
raise DeserializationError("DistributionConfig.default_cache_behavior required")
|
|
253
|
+
child_cache_behaviors = el.find("CacheBehaviors")
|
|
254
|
+
if child_cache_behaviors is not None:
|
|
255
|
+
import capo_cloudfront.types.cache_behaviors
|
|
256
|
+
|
|
257
|
+
out["cache_behaviors"] = capo_cloudfront.types.cache_behaviors.deserialize_xml(
|
|
258
|
+
child_cache_behaviors
|
|
259
|
+
)
|
|
260
|
+
child_custom_error_responses = el.find("CustomErrorResponses")
|
|
261
|
+
if child_custom_error_responses is not None:
|
|
262
|
+
import capo_cloudfront.types.custom_error_responses
|
|
263
|
+
|
|
264
|
+
out["custom_error_responses"] = (
|
|
265
|
+
capo_cloudfront.types.custom_error_responses.deserialize_xml(
|
|
266
|
+
child_custom_error_responses
|
|
267
|
+
)
|
|
268
|
+
)
|
|
269
|
+
child_comment = el.find("Comment")
|
|
270
|
+
if child_comment is not None:
|
|
271
|
+
out["comment"] = str(child_comment.text or "")
|
|
272
|
+
else:
|
|
273
|
+
raise DeserializationError("DistributionConfig.comment required")
|
|
274
|
+
child_logging = el.find("Logging")
|
|
275
|
+
if child_logging is not None:
|
|
276
|
+
import capo_cloudfront.types.logging_config
|
|
277
|
+
|
|
278
|
+
out["logging"] = capo_cloudfront.types.logging_config.deserialize_xml(
|
|
279
|
+
child_logging
|
|
280
|
+
)
|
|
281
|
+
child_price_class = el.find("PriceClass")
|
|
282
|
+
if child_price_class is not None:
|
|
283
|
+
import capo_cloudfront.types.price_class
|
|
284
|
+
|
|
285
|
+
out["price_class"] = capo_cloudfront.types.price_class.deserialize_xml(
|
|
286
|
+
child_price_class
|
|
287
|
+
)
|
|
288
|
+
child_enabled = el.find("Enabled")
|
|
289
|
+
if child_enabled is not None:
|
|
290
|
+
out["enabled"] = (child_enabled.text or "").lower() == "true"
|
|
291
|
+
else:
|
|
292
|
+
raise DeserializationError("DistributionConfig.enabled required")
|
|
293
|
+
child_viewer_certificate = el.find("ViewerCertificate")
|
|
294
|
+
if child_viewer_certificate is not None:
|
|
295
|
+
import capo_cloudfront.types.viewer_certificate
|
|
296
|
+
|
|
297
|
+
out["viewer_certificate"] = (
|
|
298
|
+
capo_cloudfront.types.viewer_certificate.deserialize_xml(
|
|
299
|
+
child_viewer_certificate
|
|
300
|
+
)
|
|
301
|
+
)
|
|
302
|
+
child_restrictions = el.find("Restrictions")
|
|
303
|
+
if child_restrictions is not None:
|
|
304
|
+
import capo_cloudfront.types.restrictions
|
|
305
|
+
|
|
306
|
+
out["restrictions"] = capo_cloudfront.types.restrictions.deserialize_xml(
|
|
307
|
+
child_restrictions
|
|
308
|
+
)
|
|
309
|
+
child_web_acl_id = el.find("WebACLId")
|
|
310
|
+
if child_web_acl_id is not None:
|
|
311
|
+
out["web_acl_id"] = str(child_web_acl_id.text or "")
|
|
312
|
+
child_http_version = el.find("HttpVersion")
|
|
313
|
+
if child_http_version is not None:
|
|
314
|
+
import capo_cloudfront.types.http_version
|
|
315
|
+
|
|
316
|
+
out["http_version"] = capo_cloudfront.types.http_version.deserialize_xml(
|
|
317
|
+
child_http_version
|
|
318
|
+
)
|
|
319
|
+
child_is_ipv6_enabled = el.find("IsIPV6Enabled")
|
|
320
|
+
if child_is_ipv6_enabled is not None:
|
|
321
|
+
out["is_ipv6_enabled"] = (child_is_ipv6_enabled.text or "").lower() == "true"
|
|
322
|
+
child_continuous_deployment_policy_id = el.find("ContinuousDeploymentPolicyId")
|
|
323
|
+
if child_continuous_deployment_policy_id is not None:
|
|
324
|
+
out["continuous_deployment_policy_id"] = str(
|
|
325
|
+
child_continuous_deployment_policy_id.text or ""
|
|
326
|
+
)
|
|
327
|
+
child_staging = el.find("Staging")
|
|
328
|
+
if child_staging is not None:
|
|
329
|
+
out["staging"] = (child_staging.text or "").lower() == "true"
|
|
330
|
+
child_anycast_ip_list_id = el.find("AnycastIpListId")
|
|
331
|
+
if child_anycast_ip_list_id is not None:
|
|
332
|
+
out["anycast_ip_list_id"] = str(child_anycast_ip_list_id.text or "")
|
|
333
|
+
child_tenant_config = el.find("TenantConfig")
|
|
334
|
+
if child_tenant_config is not None:
|
|
335
|
+
import capo_cloudfront.types.tenant_config
|
|
336
|
+
|
|
337
|
+
out["tenant_config"] = capo_cloudfront.types.tenant_config.deserialize_xml(
|
|
338
|
+
child_tenant_config
|
|
339
|
+
)
|
|
340
|
+
child_connection_mode = el.find("ConnectionMode")
|
|
341
|
+
if child_connection_mode is not None:
|
|
342
|
+
import capo_cloudfront.types.connection_mode
|
|
343
|
+
|
|
344
|
+
out["connection_mode"] = capo_cloudfront.types.connection_mode.deserialize_xml(
|
|
345
|
+
child_connection_mode
|
|
346
|
+
)
|
|
347
|
+
child_viewer_mtls_config = el.find("ViewerMtlsConfig")
|
|
348
|
+
if child_viewer_mtls_config is not None:
|
|
349
|
+
import capo_cloudfront.types.viewer_mtls_config
|
|
350
|
+
|
|
351
|
+
out["viewer_mtls_config"] = (
|
|
352
|
+
capo_cloudfront.types.viewer_mtls_config.deserialize_xml(
|
|
353
|
+
child_viewer_mtls_config
|
|
354
|
+
)
|
|
355
|
+
)
|
|
356
|
+
child_connection_function_association = el.find("ConnectionFunctionAssociation")
|
|
357
|
+
if child_connection_function_association is not None:
|
|
358
|
+
import capo_cloudfront.types.connection_function_association
|
|
359
|
+
|
|
360
|
+
out["connection_function_association"] = (
|
|
361
|
+
capo_cloudfront.types.connection_function_association.deserialize_xml(
|
|
362
|
+
child_connection_function_association
|
|
363
|
+
)
|
|
364
|
+
)
|
|
365
|
+
child_cache_tag_config = el.find("CacheTagConfig")
|
|
366
|
+
if child_cache_tag_config is not None:
|
|
367
|
+
import capo_cloudfront.types.cache_tag_config
|
|
368
|
+
|
|
369
|
+
out["cache_tag_config"] = (
|
|
370
|
+
capo_cloudfront.types.cache_tag_config.deserialize_xml(
|
|
371
|
+
child_cache_tag_config
|
|
372
|
+
)
|
|
373
|
+
)
|
|
374
|
+
return out
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#DistributionConfigWithTags``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.distribution_config
|
|
12
|
+
import capo_cloudfront.types.tags
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class DistributionConfigWithTags(TypedDict, closed=True):
|
|
16
|
+
distribution_config: "capo_cloudfront.types.distribution_config.DistributionConfig"
|
|
17
|
+
"""<p>A distribution configuration.</p>"""
|
|
18
|
+
tags: "capo_cloudfront.types.tags.Tags"
|
|
19
|
+
"""<p>A complex type that contains zero or more <code>Tag</code> elements.</p>"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# --- restXml ser/de ---
|
|
23
|
+
def serialize_xml(value: DistributionConfigWithTags, parent: Element, tag: str) -> None:
|
|
24
|
+
el = SubElement(parent, tag)
|
|
25
|
+
import capo_cloudfront.types.distribution_config
|
|
26
|
+
|
|
27
|
+
capo_cloudfront.types.distribution_config.serialize_xml(
|
|
28
|
+
value["distribution_config"], el, "DistributionConfig"
|
|
29
|
+
)
|
|
30
|
+
import capo_cloudfront.types.tags
|
|
31
|
+
|
|
32
|
+
capo_cloudfront.types.tags.serialize_xml(value["tags"], el, "Tags")
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def deserialize_xml(el: Element) -> DistributionConfigWithTags:
|
|
36
|
+
out: DistributionConfigWithTags = {} # type: ignore[typeddict-item]
|
|
37
|
+
child_distribution_config = el.find("DistributionConfig")
|
|
38
|
+
if child_distribution_config is not None:
|
|
39
|
+
import capo_cloudfront.types.distribution_config
|
|
40
|
+
|
|
41
|
+
out["distribution_config"] = (
|
|
42
|
+
capo_cloudfront.types.distribution_config.deserialize_xml(
|
|
43
|
+
child_distribution_config
|
|
44
|
+
)
|
|
45
|
+
)
|
|
46
|
+
else:
|
|
47
|
+
raise DeserializationError(
|
|
48
|
+
"DistributionConfigWithTags.distribution_config required"
|
|
49
|
+
)
|
|
50
|
+
child_tags = el.find("Tags")
|
|
51
|
+
if child_tags is not None:
|
|
52
|
+
import capo_cloudfront.types.tags
|
|
53
|
+
|
|
54
|
+
out["tags"] = capo_cloudfront.types.tags.deserialize_xml(child_tags)
|
|
55
|
+
else:
|
|
56
|
+
raise DeserializationError("DistributionConfigWithTags.tags required")
|
|
57
|
+
return out
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#DistributionIdList``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.boolean
|
|
12
|
+
import capo_cloudfront.types.distribution_id_list_summary
|
|
13
|
+
import capo_cloudfront.types.integer
|
|
14
|
+
import capo_cloudfront.types.string
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class DistributionIdList(TypedDict, closed=True):
|
|
18
|
+
marker: "capo_cloudfront.types.string.string"
|
|
19
|
+
"""<p>The value provided in the <code>Marker</code> request field.</p>"""
|
|
20
|
+
next_marker: NotRequired["capo_cloudfront.types.string.string"]
|
|
21
|
+
"""<p>Contains the value that you should use in the <code>Marker</code> field of a subsequent request to continue listing distribution IDs where you left off.</p>"""
|
|
22
|
+
max_items: "capo_cloudfront.types.integer.integer"
|
|
23
|
+
"""<p>The maximum number of distribution IDs requested.</p>"""
|
|
24
|
+
is_truncated: "capo_cloudfront.types.boolean.boolean"
|
|
25
|
+
"""<p>A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the <code>Marker</code> request field to retrieve more distribution IDs in the list.</p>"""
|
|
26
|
+
quantity: "capo_cloudfront.types.integer.integer"
|
|
27
|
+
"""<p>The total number of distribution IDs returned in the response.</p>"""
|
|
28
|
+
items: NotRequired[
|
|
29
|
+
"capo_cloudfront.types.distribution_id_list_summary.DistributionIdListSummary"
|
|
30
|
+
]
|
|
31
|
+
"""<p>Contains the distribution IDs in the list.</p>"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# --- restXml ser/de ---
|
|
35
|
+
def serialize_xml(value: DistributionIdList, parent: Element, tag: str) -> None:
|
|
36
|
+
el = SubElement(parent, tag)
|
|
37
|
+
SubElement(el, "Marker").text = str(value["marker"])
|
|
38
|
+
if "next_marker" in value:
|
|
39
|
+
SubElement(el, "NextMarker").text = str(value["next_marker"])
|
|
40
|
+
SubElement(el, "MaxItems").text = str(value["max_items"])
|
|
41
|
+
SubElement(el, "IsTruncated").text = "true" if value["is_truncated"] else "false"
|
|
42
|
+
SubElement(el, "Quantity").text = str(value["quantity"])
|
|
43
|
+
if "items" in value:
|
|
44
|
+
import capo_cloudfront.types.distribution_id_list_summary
|
|
45
|
+
|
|
46
|
+
capo_cloudfront.types.distribution_id_list_summary.serialize_xml(
|
|
47
|
+
value["items"], el, "Items"
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def deserialize_xml(el: Element) -> DistributionIdList:
|
|
52
|
+
out: DistributionIdList = {} # type: ignore[typeddict-item]
|
|
53
|
+
child_marker = el.find("Marker")
|
|
54
|
+
if child_marker is not None:
|
|
55
|
+
out["marker"] = str(child_marker.text or "")
|
|
56
|
+
else:
|
|
57
|
+
raise DeserializationError("DistributionIdList.marker required")
|
|
58
|
+
child_next_marker = el.find("NextMarker")
|
|
59
|
+
if child_next_marker is not None:
|
|
60
|
+
out["next_marker"] = str(child_next_marker.text or "")
|
|
61
|
+
child_max_items = el.find("MaxItems")
|
|
62
|
+
if child_max_items is not None:
|
|
63
|
+
out["max_items"] = int(child_max_items.text or "")
|
|
64
|
+
else:
|
|
65
|
+
raise DeserializationError("DistributionIdList.max_items required")
|
|
66
|
+
child_is_truncated = el.find("IsTruncated")
|
|
67
|
+
if child_is_truncated is not None:
|
|
68
|
+
out["is_truncated"] = (child_is_truncated.text or "").lower() == "true"
|
|
69
|
+
else:
|
|
70
|
+
raise DeserializationError("DistributionIdList.is_truncated required")
|
|
71
|
+
child_quantity = el.find("Quantity")
|
|
72
|
+
if child_quantity is not None:
|
|
73
|
+
out["quantity"] = int(child_quantity.text or "")
|
|
74
|
+
else:
|
|
75
|
+
raise DeserializationError("DistributionIdList.quantity required")
|
|
76
|
+
child_items = el.find("Items")
|
|
77
|
+
if child_items is not None:
|
|
78
|
+
import capo_cloudfront.types.distribution_id_list_summary
|
|
79
|
+
|
|
80
|
+
out["items"] = (
|
|
81
|
+
capo_cloudfront.types.distribution_id_list_summary.deserialize_xml(
|
|
82
|
+
child_items
|
|
83
|
+
)
|
|
84
|
+
)
|
|
85
|
+
return out
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#DistributionIdListSummary``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, TypeAlias
|
|
4
|
+
|
|
5
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_cloudfront.types.string
|
|
9
|
+
|
|
10
|
+
DistributionIdListSummary: TypeAlias = list["capo_cloudfront.types.string.string"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# --- restXml ser/de ---
|
|
14
|
+
def serialize_xml(value: DistributionIdListSummary, parent: Element, tag: str) -> None:
|
|
15
|
+
el = SubElement(parent, tag)
|
|
16
|
+
for item in value:
|
|
17
|
+
SubElement(el, "DistributionId").text = str(item)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def deserialize_xml(el: Element) -> DistributionIdListSummary:
|
|
21
|
+
out: DistributionIdListSummary = []
|
|
22
|
+
for child in el.findall("DistributionId"):
|
|
23
|
+
out.append(str(child.text or ""))
|
|
24
|
+
return out
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def serialize_xml_flat(
|
|
28
|
+
value: DistributionIdListSummary, parent: Element, tag: str
|
|
29
|
+
) -> None:
|
|
30
|
+
"""Variant used by parent structures with ``@xmlFlattened`` on the referencing member. Items emitted directly under ``parent``."""
|
|
31
|
+
for item in value:
|
|
32
|
+
SubElement(parent, tag).text = str(item)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def deserialize_xml_flat(parent: Element, tag: str) -> DistributionIdListSummary:
|
|
36
|
+
out: DistributionIdListSummary = []
|
|
37
|
+
for child in parent.findall(tag):
|
|
38
|
+
out.append(str(child.text or ""))
|
|
39
|
+
return out
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.cloudfront#DistributionIdOwner``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
from capo_cloudfront._protocol.xml import Element, SubElement
|
|
8
|
+
from capo_cloudfront.errors import DeserializationError
|
|
9
|
+
|
|
10
|
+
if TYPE_CHECKING:
|
|
11
|
+
import capo_cloudfront.types.string
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class DistributionIdOwner(TypedDict, closed=True):
|
|
15
|
+
distribution_id: "capo_cloudfront.types.string.string"
|
|
16
|
+
"""<p>The ID of the distribution.</p>"""
|
|
17
|
+
owner_account_id: "capo_cloudfront.types.string.string"
|
|
18
|
+
"""<p>The ID of the Amazon Web Services account that owns the distribution. </p>"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# --- restXml ser/de ---
|
|
22
|
+
def serialize_xml(value: DistributionIdOwner, parent: Element, tag: str) -> None:
|
|
23
|
+
el = SubElement(parent, tag)
|
|
24
|
+
SubElement(el, "DistributionId").text = str(value["distribution_id"])
|
|
25
|
+
SubElement(el, "OwnerAccountId").text = str(value["owner_account_id"])
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def deserialize_xml(el: Element) -> DistributionIdOwner:
|
|
29
|
+
out: DistributionIdOwner = {} # type: ignore[typeddict-item]
|
|
30
|
+
child_distribution_id = el.find("DistributionId")
|
|
31
|
+
if child_distribution_id is not None:
|
|
32
|
+
out["distribution_id"] = str(child_distribution_id.text or "")
|
|
33
|
+
else:
|
|
34
|
+
raise DeserializationError("DistributionIdOwner.distribution_id required")
|
|
35
|
+
child_owner_account_id = el.find("OwnerAccountId")
|
|
36
|
+
if child_owner_account_id is not None:
|
|
37
|
+
out["owner_account_id"] = str(child_owner_account_id.text or "")
|
|
38
|
+
else:
|
|
39
|
+
raise DeserializationError("DistributionIdOwner.owner_account_id required")
|
|
40
|
+
return out
|