Struct aws_sdk_cloudfront::Client 
source · pub struct Client { /* private fields */ }Expand description
Client for Amazon CloudFront
Client for invoking operations on Amazon CloudFront. Each operation on Amazon CloudFront is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_cloudfront::Client::new(&config);Occasionally, SDKs may have additional service-specific that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Config struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_cloudfront::config::Builder::from(&sdk_config)
    .some_service_specific_setting("value")
    .build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AssociateAlias operation has
a Client::associate_alias, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.associate_alias()
    .target_distribution_id("example")
    .send()
    .await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
 
impl Client
sourcepub fn associate_alias(&self) -> AssociateAliasFluentBuilder
 
pub fn associate_alias(&self) -> AssociateAliasFluentBuilder
Constructs a fluent builder for the AssociateAlias operation.
- The fluent builder is configurable:
- target_distribution_id(impl ::std::convert::Into<String>)/- set_target_distribution_id(Option<String>):- The ID of the distribution that you’re associating the alias with. 
- alias(impl ::std::convert::Into<String>)/- set_alias(Option<String>):- The alias (also known as a CNAME) to add to the target distribution. 
 
- On success, responds with AssociateAliasOutput
- On failure, responds with SdkError<AssociateAliasError>
source§impl Client
 
impl Client
sourcepub fn copy_distribution(&self) -> CopyDistributionFluentBuilder
 
pub fn copy_distribution(&self) -> CopyDistributionFluentBuilder
Constructs a fluent builder for the CopyDistribution operation.
- The fluent builder is configurable:
- primary_distribution_id(impl ::std::convert::Into<String>)/- set_primary_distribution_id(Option<String>):- The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use - ListDistributions.
- staging(bool)/- set_staging(Option<bool>):- The type of distribution that your primary distribution will be copied to. The only valid value is - True, indicating that you are copying to a staging distribution.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version identifier of the primary distribution whose configuration you are copying. This is the - ETagvalue returned in the response to- GetDistributionand- GetDistributionConfig.
- caller_reference(impl ::std::convert::Into<String>)/- set_caller_reference(Option<String>):- A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request. 
 
- On success, responds with CopyDistributionOutputwith field(s):- distribution(Option<Distribution>):- A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery. 
- location(Option<String>):- The URL of the staging distribution. 
- e_tag(Option<String>):- The version identifier for the current version of the staging distribution. 
 
- On failure, responds with SdkError<CopyDistributionError>
source§impl Client
 
impl Client
sourcepub fn create_cache_policy(&self) -> CreateCachePolicyFluentBuilder
 
pub fn create_cache_policy(&self) -> CreateCachePolicyFluentBuilder
Constructs a fluent builder for the CreateCachePolicy operation.
- The fluent builder is configurable:
- cache_policy_config(CachePolicyConfig)/- set_cache_policy_config(Option<CachePolicyConfig>):- A cache policy configuration. 
 
- On success, responds with CreateCachePolicyOutputwith field(s):- cache_policy(Option<CachePolicy>):- A cache policy. 
- location(Option<String>):- The fully qualified URI of the cache policy just created. 
- e_tag(Option<String>):- The current version of the cache policy. 
 
- On failure, responds with SdkError<CreateCachePolicyError>
source§impl Client
 
impl Client
sourcepub fn create_cloud_front_origin_access_identity(
    &self
) -> CreateCloudFrontOriginAccessIdentityFluentBuilder
 
pub fn create_cloud_front_origin_access_identity( &self ) -> CreateCloudFrontOriginAccessIdentityFluentBuilder
Constructs a fluent builder for the CreateCloudFrontOriginAccessIdentity operation.
- The fluent builder is configurable:
- cloud_front_origin_access_identity_config(CloudFrontOriginAccessIdentityConfig)/- set_cloud_front_origin_access_identity_config(Option<CloudFrontOriginAccessIdentityConfig>):- The current configuration information for the identity. 
 
- On success, responds with CreateCloudFrontOriginAccessIdentityOutputwith field(s):- cloud_front_origin_access_identity(Option<CloudFrontOriginAccessIdentity>):- The origin access identity’s information. 
- location(Option<String>):- The fully qualified URI of the new origin access identity just created. 
- e_tag(Option<String>):- The current version of the origin access identity created. 
 
- On failure, responds with SdkError<CreateCloudFrontOriginAccessIdentityError>
source§impl Client
 
impl Client
sourcepub fn create_continuous_deployment_policy(
    &self
) -> CreateContinuousDeploymentPolicyFluentBuilder
 
pub fn create_continuous_deployment_policy( &self ) -> CreateContinuousDeploymentPolicyFluentBuilder
Constructs a fluent builder for the CreateContinuousDeploymentPolicy operation.
- The fluent builder is configurable:
- continuous_deployment_policy_config(ContinuousDeploymentPolicyConfig)/- set_continuous_deployment_policy_config(Option<ContinuousDeploymentPolicyConfig>):- Contains the configuration for a continuous deployment policy. 
 
- On success, responds with CreateContinuousDeploymentPolicyOutputwith field(s):- continuous_deployment_policy(Option<ContinuousDeploymentPolicy>):- A continuous deployment policy. 
- location(Option<String>):- The location of the continuous deployment policy. 
- e_tag(Option<String>):- The version identifier for the current version of the continuous deployment policy. 
 
- On failure, responds with SdkError<CreateContinuousDeploymentPolicyError>
source§impl Client
 
impl Client
sourcepub fn create_distribution(&self) -> CreateDistributionFluentBuilder
 
pub fn create_distribution(&self) -> CreateDistributionFluentBuilder
Constructs a fluent builder for the CreateDistribution operation.
- The fluent builder is configurable:
- distribution_config(DistributionConfig)/- set_distribution_config(Option<DistributionConfig>):- The distribution’s configuration information. 
 
- On success, responds with CreateDistributionOutputwith field(s):- distribution(Option<Distribution>):- The distribution’s information. 
- location(Option<String>):- The fully qualified URI of the new distribution resource just created. 
- e_tag(Option<String>):- The current version of the distribution created. 
 
- On failure, responds with SdkError<CreateDistributionError>
source§impl Client
 
impl Client
Constructs a fluent builder for the CreateDistributionWithTags operation.
- The fluent builder is configurable:
- distribution_config_with_tags(DistributionConfigWithTags)/- set_distribution_config_with_tags(Option<DistributionConfigWithTags>):- The distribution’s configuration information. 
 
- On success, responds with CreateDistributionWithTagsOutputwith field(s):- distribution(Option<Distribution>):- The distribution’s information. 
- location(Option<String>):- The fully qualified URI of the new distribution resource just created. 
- e_tag(Option<String>):- The current version of the distribution created. 
 
- On failure, responds with SdkError<CreateDistributionWithTagsError>
source§impl Client
 
impl Client
sourcepub fn create_field_level_encryption_config(
    &self
) -> CreateFieldLevelEncryptionConfigFluentBuilder
 
pub fn create_field_level_encryption_config( &self ) -> CreateFieldLevelEncryptionConfigFluentBuilder
Constructs a fluent builder for the CreateFieldLevelEncryptionConfig operation.
- The fluent builder is configurable:
- field_level_encryption_config(FieldLevelEncryptionConfig)/- set_field_level_encryption_config(Option<FieldLevelEncryptionConfig>):- The request to create a new field-level encryption configuration. 
 
- On success, responds with CreateFieldLevelEncryptionConfigOutputwith field(s):- field_level_encryption(Option<FieldLevelEncryption>):- Returned when you create a new field-level encryption configuration. 
- location(Option<String>):- The fully qualified URI of the new configuration resource just created. 
- e_tag(Option<String>):- The current version of the field level encryption configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<CreateFieldLevelEncryptionConfigError>
source§impl Client
 
impl Client
sourcepub fn create_field_level_encryption_profile(
    &self
) -> CreateFieldLevelEncryptionProfileFluentBuilder
 
pub fn create_field_level_encryption_profile( &self ) -> CreateFieldLevelEncryptionProfileFluentBuilder
Constructs a fluent builder for the CreateFieldLevelEncryptionProfile operation.
- The fluent builder is configurable:
- field_level_encryption_profile_config(FieldLevelEncryptionProfileConfig)/- set_field_level_encryption_profile_config(Option<FieldLevelEncryptionProfileConfig>):- The request to create a field-level encryption profile. 
 
- On success, responds with CreateFieldLevelEncryptionProfileOutputwith field(s):- field_level_encryption_profile(Option<FieldLevelEncryptionProfile>):- Returned when you create a new field-level encryption profile. 
- location(Option<String>):- The fully qualified URI of the new profile resource just created. 
- e_tag(Option<String>):- The current version of the field level encryption profile. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<CreateFieldLevelEncryptionProfileError>
source§impl Client
 
impl Client
sourcepub fn create_function(&self) -> CreateFunctionFluentBuilder
 
pub fn create_function(&self) -> CreateFunctionFluentBuilder
Constructs a fluent builder for the CreateFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- A name to identify the function. 
- function_config(FunctionConfig)/- set_function_config(Option<FunctionConfig>):- Configuration information about the function, including an optional comment and the function’s runtime. 
- function_code(Blob)/- set_function_code(Option<Blob>):- The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide. 
 
- On success, responds with CreateFunctionOutputwith field(s):- function_summary(Option<FunctionSummary>):- Contains configuration information and metadata about a CloudFront function. 
- location(Option<String>):- The URL of the CloudFront function. Use the URL to manage the function with the CloudFront API. 
- e_tag(Option<String>):- The version identifier for the current version of the CloudFront function. 
 
- On failure, responds with SdkError<CreateFunctionError>
source§impl Client
 
impl Client
sourcepub fn create_invalidation(&self) -> CreateInvalidationFluentBuilder
 
pub fn create_invalidation(&self) -> CreateInvalidationFluentBuilder
Constructs a fluent builder for the CreateInvalidation operation.
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The distribution’s id. 
- invalidation_batch(InvalidationBatch)/- set_invalidation_batch(Option<InvalidationBatch>):- The batch information for the invalidation. 
 
- On success, responds with CreateInvalidationOutputwith field(s):- location(Option<String>):- The fully qualified URI of the distribution and invalidation batch request, including the - Invalidation ID.
- invalidation(Option<Invalidation>):- The invalidation’s information. 
 
- On failure, responds with SdkError<CreateInvalidationError>
source§impl Client
 
impl Client
sourcepub fn create_key_group(&self) -> CreateKeyGroupFluentBuilder
 
pub fn create_key_group(&self) -> CreateKeyGroupFluentBuilder
Constructs a fluent builder for the CreateKeyGroup operation.
- The fluent builder is configurable:
- key_group_config(KeyGroupConfig)/- set_key_group_config(Option<KeyGroupConfig>):- A key group configuration. 
 
- On success, responds with CreateKeyGroupOutputwith field(s):- key_group(Option<KeyGroup>):- The key group that was just created. 
- location(Option<String>):- The URL of the key group. 
- e_tag(Option<String>):- The identifier for this version of the key group. 
 
- On failure, responds with SdkError<CreateKeyGroupError>
source§impl Client
 
impl Client
sourcepub fn create_monitoring_subscription(
    &self
) -> CreateMonitoringSubscriptionFluentBuilder
 
pub fn create_monitoring_subscription( &self ) -> CreateMonitoringSubscriptionFluentBuilder
Constructs a fluent builder for the CreateMonitoringSubscription operation.
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The ID of the distribution that you are enabling metrics for. 
- monitoring_subscription(MonitoringSubscription)/- set_monitoring_subscription(Option<MonitoringSubscription>):- A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution. 
 
- On success, responds with CreateMonitoringSubscriptionOutputwith field(s):- monitoring_subscription(Option<MonitoringSubscription>):- A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution. 
 
- On failure, responds with SdkError<CreateMonitoringSubscriptionError>
source§impl Client
 
impl Client
sourcepub fn create_origin_access_control(
    &self
) -> CreateOriginAccessControlFluentBuilder
 
pub fn create_origin_access_control( &self ) -> CreateOriginAccessControlFluentBuilder
Constructs a fluent builder for the CreateOriginAccessControl operation.
- The fluent builder is configurable:
- origin_access_control_config(OriginAccessControlConfig)/- set_origin_access_control_config(Option<OriginAccessControlConfig>):- Contains the origin access control. 
 
- On success, responds with CreateOriginAccessControlOutputwith field(s):- origin_access_control(Option<OriginAccessControl>):- Contains an origin access control. 
- location(Option<String>):- The URL of the origin access control. 
- e_tag(Option<String>):- The version identifier for the current version of the origin access control. 
 
- On failure, responds with SdkError<CreateOriginAccessControlError>
source§impl Client
 
impl Client
sourcepub fn create_origin_request_policy(
    &self
) -> CreateOriginRequestPolicyFluentBuilder
 
pub fn create_origin_request_policy( &self ) -> CreateOriginRequestPolicyFluentBuilder
Constructs a fluent builder for the CreateOriginRequestPolicy operation.
- The fluent builder is configurable:
- origin_request_policy_config(OriginRequestPolicyConfig)/- set_origin_request_policy_config(Option<OriginRequestPolicyConfig>):- An origin request policy configuration. 
 
- On success, responds with CreateOriginRequestPolicyOutputwith field(s):- origin_request_policy(Option<OriginRequestPolicy>):- An origin request policy. 
- location(Option<String>):- The fully qualified URI of the origin request policy just created. 
- e_tag(Option<String>):- The current version of the origin request policy. 
 
- On failure, responds with SdkError<CreateOriginRequestPolicyError>
source§impl Client
 
impl Client
sourcepub fn create_public_key(&self) -> CreatePublicKeyFluentBuilder
 
pub fn create_public_key(&self) -> CreatePublicKeyFluentBuilder
Constructs a fluent builder for the CreatePublicKey operation.
- The fluent builder is configurable:
- public_key_config(PublicKeyConfig)/- set_public_key_config(Option<PublicKeyConfig>):- A CloudFront public key configuration. 
 
- On success, responds with CreatePublicKeyOutputwith field(s):- public_key(Option<PublicKey>):- The public key. 
- location(Option<String>):- The URL of the public key. 
- e_tag(Option<String>):- The identifier for this version of the public key. 
 
- On failure, responds with SdkError<CreatePublicKeyError>
source§impl Client
 
impl Client
sourcepub fn create_realtime_log_config(&self) -> CreateRealtimeLogConfigFluentBuilder
 
pub fn create_realtime_log_config(&self) -> CreateRealtimeLogConfigFluentBuilder
Constructs a fluent builder for the CreateRealtimeLogConfig operation.
- The fluent builder is configurable:
- end_points(Vec<EndPoint>)/- set_end_points(Option<Vec<EndPoint>>):- Contains information about the Amazon Kinesis data stream where you are sending real-time log data. 
- fields(Vec<String>)/- set_fields(Option<Vec<String>>):- A list of fields to include in each real-time log record. - For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide. 
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- A unique name to identify this real-time log configuration. 
- sampling_rate(i64)/- set_sampling_rate(Option<i64>):- The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive. 
 
- On success, responds with CreateRealtimeLogConfigOutputwith field(s):- realtime_log_config(Option<RealtimeLogConfig>):- A real-time log configuration. 
 
- On failure, responds with SdkError<CreateRealtimeLogConfigError>
source§impl Client
 
impl Client
sourcepub fn create_response_headers_policy(
    &self
) -> CreateResponseHeadersPolicyFluentBuilder
 
pub fn create_response_headers_policy( &self ) -> CreateResponseHeadersPolicyFluentBuilder
Constructs a fluent builder for the CreateResponseHeadersPolicy operation.
- The fluent builder is configurable:
- response_headers_policy_config(ResponseHeadersPolicyConfig)/- set_response_headers_policy_config(Option<ResponseHeadersPolicyConfig>):- Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers. 
 
- On success, responds with CreateResponseHeadersPolicyOutputwith field(s):- response_headers_policy(Option<ResponseHeadersPolicy>):- Contains a response headers policy. 
- location(Option<String>):- The URL of the response headers policy. 
- e_tag(Option<String>):- The version identifier for the current version of the response headers policy. 
 
- On failure, responds with SdkError<CreateResponseHeadersPolicyError>
source§impl Client
 
impl Client
sourcepub fn create_streaming_distribution(
    &self
) -> CreateStreamingDistributionFluentBuilder
 
pub fn create_streaming_distribution( &self ) -> CreateStreamingDistributionFluentBuilder
Constructs a fluent builder for the CreateStreamingDistribution operation.
- The fluent builder is configurable:
- streaming_distribution_config(StreamingDistributionConfig)/- set_streaming_distribution_config(Option<StreamingDistributionConfig>):- The streaming distribution’s configuration information. 
 
- On success, responds with CreateStreamingDistributionOutputwith field(s):- streaming_distribution(Option<StreamingDistribution>):- The streaming distribution’s information. 
- location(Option<String>):- The fully qualified URI of the new streaming distribution resource just created. 
- e_tag(Option<String>):- The current version of the streaming distribution created. 
 
- On failure, responds with SdkError<CreateStreamingDistributionError>
source§impl Client
 
impl Client
Constructs a fluent builder for the CreateStreamingDistributionWithTags operation.
- The fluent builder is configurable:
- streaming_distribution_config_with_tags(StreamingDistributionConfigWithTags)/- set_streaming_distribution_config_with_tags(Option<StreamingDistributionConfigWithTags>):- The streaming distribution’s configuration information. 
 
- On success, responds with CreateStreamingDistributionWithTagsOutputwith field(s):- streaming_distribution(Option<StreamingDistribution>):- The streaming distribution’s information. 
- location(Option<String>):- The fully qualified URI of the new streaming distribution resource just created. 
- e_tag(Option<String>):- The current version of the distribution created. 
 
- On failure, responds with SdkError<CreateStreamingDistributionWithTagsError>
source§impl Client
 
impl Client
sourcepub fn delete_cache_policy(&self) -> DeleteCachePolicyFluentBuilder
 
pub fn delete_cache_policy(&self) -> DeleteCachePolicyFluentBuilder
Constructs a fluent builder for the DeleteCachePolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the cache policy that you are deleting. To get the identifier, you can use - ListCachePolicies.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the cache policy that you are deleting. The version is the cache policy’s - ETagvalue, which you can get using- ListCachePolicies,- GetCachePolicy, or- GetCachePolicyConfig.
 
- On success, responds with DeleteCachePolicyOutput
- On failure, responds with SdkError<DeleteCachePolicyError>
source§impl Client
 
impl Client
sourcepub fn delete_cloud_front_origin_access_identity(
    &self
) -> DeleteCloudFrontOriginAccessIdentityFluentBuilder
 
pub fn delete_cloud_front_origin_access_identity( &self ) -> DeleteCloudFrontOriginAccessIdentityFluentBuilder
Constructs a fluent builder for the DeleteCloudFrontOriginAccessIdentity operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The origin access identity’s ID. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader you received from a previous- GETor- PUTrequest. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with DeleteCloudFrontOriginAccessIdentityOutput
- On failure, responds with SdkError<DeleteCloudFrontOriginAccessIdentityError>
source§impl Client
 
impl Client
sourcepub fn delete_continuous_deployment_policy(
    &self
) -> DeleteContinuousDeploymentPolicyFluentBuilder
 
pub fn delete_continuous_deployment_policy( &self ) -> DeleteContinuousDeploymentPolicyFluentBuilder
Constructs a fluent builder for the DeleteContinuousDeploymentPolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the continuous deployment policy that you are deleting. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the continuous deployment policy that you are deleting.
 
- On success, responds with DeleteContinuousDeploymentPolicyOutput
- On failure, responds with SdkError<DeleteContinuousDeploymentPolicyError>
source§impl Client
 
impl Client
sourcepub fn delete_distribution(&self) -> DeleteDistributionFluentBuilder
 
pub fn delete_distribution(&self) -> DeleteDistributionFluentBuilder
Constructs a fluent builder for the DeleteDistribution operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The distribution ID. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when you disabled the distribution. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with DeleteDistributionOutput
- On failure, responds with SdkError<DeleteDistributionError>
source§impl Client
 
impl Client
sourcepub fn delete_field_level_encryption_config(
    &self
) -> DeleteFieldLevelEncryptionConfigFluentBuilder
 
pub fn delete_field_level_encryption_config( &self ) -> DeleteFieldLevelEncryptionConfigFluentBuilder
Constructs a fluent builder for the DeleteFieldLevelEncryptionConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The ID of the configuration you want to delete from CloudFront. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the configuration identity to delete. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with DeleteFieldLevelEncryptionConfigOutput
- On failure, responds with SdkError<DeleteFieldLevelEncryptionConfigError>
source§impl Client
 
impl Client
sourcepub fn delete_field_level_encryption_profile(
    &self
) -> DeleteFieldLevelEncryptionProfileFluentBuilder
 
pub fn delete_field_level_encryption_profile( &self ) -> DeleteFieldLevelEncryptionProfileFluentBuilder
Constructs a fluent builder for the DeleteFieldLevelEncryptionProfile operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- Request the ID of the profile you want to delete from CloudFront. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the profile to delete. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with DeleteFieldLevelEncryptionProfileOutput
- On failure, responds with SdkError<DeleteFieldLevelEncryptionProfileError>
source§impl Client
 
impl Client
sourcepub fn delete_function(&self) -> DeleteFunctionFluentBuilder
 
pub fn delete_function(&self) -> DeleteFunctionFluentBuilder
Constructs a fluent builder for the DeleteFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the function that you are deleting. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the function that you are deleting, which you can get using- DescribeFunction.
 
- On success, responds with DeleteFunctionOutput
- On failure, responds with SdkError<DeleteFunctionError>
source§impl Client
 
impl Client
sourcepub fn delete_key_group(&self) -> DeleteKeyGroupFluentBuilder
 
pub fn delete_key_group(&self) -> DeleteKeyGroupFluentBuilder
Constructs a fluent builder for the DeleteKeyGroup operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the key group that you are deleting. To get the identifier, use - ListKeyGroups.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the key group that you are deleting. The version is the key group’s - ETagvalue. To get the- ETag, use- GetKeyGroupor- GetKeyGroupConfig.
 
- On success, responds with DeleteKeyGroupOutput
- On failure, responds with SdkError<DeleteKeyGroupError>
source§impl Client
 
impl Client
sourcepub fn delete_monitoring_subscription(
    &self
) -> DeleteMonitoringSubscriptionFluentBuilder
 
pub fn delete_monitoring_subscription( &self ) -> DeleteMonitoringSubscriptionFluentBuilder
Constructs a fluent builder for the DeleteMonitoringSubscription operation.
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The ID of the distribution that you are disabling metrics for. 
 
- On success, responds with DeleteMonitoringSubscriptionOutput
- On failure, responds with SdkError<DeleteMonitoringSubscriptionError>
source§impl Client
 
impl Client
sourcepub fn delete_origin_access_control(
    &self
) -> DeleteOriginAccessControlFluentBuilder
 
pub fn delete_origin_access_control( &self ) -> DeleteOriginAccessControlFluentBuilder
Constructs a fluent builder for the DeleteOriginAccessControl operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier of the origin access control that you are deleting. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the origin access control that you are deleting.
 
- On success, responds with DeleteOriginAccessControlOutput
- On failure, responds with SdkError<DeleteOriginAccessControlError>
source§impl Client
 
impl Client
sourcepub fn delete_origin_request_policy(
    &self
) -> DeleteOriginRequestPolicyFluentBuilder
 
pub fn delete_origin_request_policy( &self ) -> DeleteOriginRequestPolicyFluentBuilder
Constructs a fluent builder for the DeleteOriginRequestPolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use - ListOriginRequestPolicies.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the origin request policy that you are deleting. The version is the origin request policy’s - ETagvalue, which you can get using- ListOriginRequestPolicies,- GetOriginRequestPolicy, or- GetOriginRequestPolicyConfig.
 
- On success, responds with DeleteOriginRequestPolicyOutput
- On failure, responds with SdkError<DeleteOriginRequestPolicyError>
source§impl Client
 
impl Client
sourcepub fn delete_public_key(&self) -> DeletePublicKeyFluentBuilder
 
pub fn delete_public_key(&self) -> DeletePublicKeyFluentBuilder
Constructs a fluent builder for the DeletePublicKey operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The ID of the public key you want to remove from CloudFront. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the public key identity to delete. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with DeletePublicKeyOutput
- On failure, responds with SdkError<DeletePublicKeyError>
source§impl Client
 
impl Client
sourcepub fn delete_realtime_log_config(&self) -> DeleteRealtimeLogConfigFluentBuilder
 
pub fn delete_realtime_log_config(&self) -> DeleteRealtimeLogConfigFluentBuilder
Constructs a fluent builder for the DeleteRealtimeLogConfig operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the real-time log configuration to delete. 
- arn(impl ::std::convert::Into<String>)/- set_arn(Option<String>):- The Amazon Resource Name (ARN) of the real-time log configuration to delete. 
 
- On success, responds with DeleteRealtimeLogConfigOutput
- On failure, responds with SdkError<DeleteRealtimeLogConfigError>
source§impl Client
 
impl Client
sourcepub fn delete_response_headers_policy(
    &self
) -> DeleteResponseHeadersPolicyFluentBuilder
 
pub fn delete_response_headers_policy( &self ) -> DeleteResponseHeadersPolicyFluentBuilder
Constructs a fluent builder for the DeleteResponseHeadersPolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier for the response headers policy that you are deleting. - To get the identifier, you can use - ListResponseHeadersPolicies.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the response headers policy that you are deleting. - The version is the response headers policy’s - ETagvalue, which you can get using- ListResponseHeadersPolicies,- GetResponseHeadersPolicy, or- GetResponseHeadersPolicyConfig.
 
- On success, responds with DeleteResponseHeadersPolicyOutput
- On failure, responds with SdkError<DeleteResponseHeadersPolicyError>
source§impl Client
 
impl Client
sourcepub fn delete_streaming_distribution(
    &self
) -> DeleteStreamingDistributionFluentBuilder
 
pub fn delete_streaming_distribution( &self ) -> DeleteStreamingDistributionFluentBuilder
Constructs a fluent builder for the DeleteStreamingDistribution operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The distribution ID. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when you disabled the streaming distribution. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with DeleteStreamingDistributionOutput
- On failure, responds with SdkError<DeleteStreamingDistributionError>
source§impl Client
 
impl Client
sourcepub fn describe_function(&self) -> DescribeFunctionFluentBuilder
 
pub fn describe_function(&self) -> DescribeFunctionFluentBuilder
Constructs a fluent builder for the DescribeFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the function that you are getting information about. 
- stage(FunctionStage)/- set_stage(Option<FunctionStage>):- The function’s stage, either - DEVELOPMENTor- LIVE.
 
- On success, responds with DescribeFunctionOutputwith field(s):- function_summary(Option<FunctionSummary>):- Contains configuration information and metadata about a CloudFront function. 
- e_tag(Option<String>):- The version identifier for the current version of the CloudFront function. 
 
- On failure, responds with SdkError<DescribeFunctionError>
source§impl Client
 
impl Client
sourcepub fn get_cache_policy(&self) -> GetCachePolicyFluentBuilder
 
pub fn get_cache_policy(&self) -> GetCachePolicyFluentBuilder
Constructs a fluent builder for the GetCachePolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the cache policy. If the cache policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using - ListDistributionsor- GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using- ListCachePolicies.
 
- On success, responds with GetCachePolicyOutputwith field(s):- cache_policy(Option<CachePolicy>):- The cache policy. 
- e_tag(Option<String>):- The current version of the cache policy. 
 
- On failure, responds with SdkError<GetCachePolicyError>
source§impl Client
 
impl Client
sourcepub fn get_cache_policy_config(&self) -> GetCachePolicyConfigFluentBuilder
 
pub fn get_cache_policy_config(&self) -> GetCachePolicyConfigFluentBuilder
Constructs a fluent builder for the GetCachePolicyConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the cache policy. If the cache policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using - ListDistributionsor- GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using- ListCachePolicies.
 
- On success, responds with GetCachePolicyConfigOutputwith field(s):- cache_policy_config(Option<CachePolicyConfig>):- The cache policy configuration. 
- e_tag(Option<String>):- The current version of the cache policy. 
 
- On failure, responds with SdkError<GetCachePolicyConfigError>
source§impl Client
 
impl Client
sourcepub fn get_cloud_front_origin_access_identity(
    &self
) -> GetCloudFrontOriginAccessIdentityFluentBuilder
 
pub fn get_cloud_front_origin_access_identity( &self ) -> GetCloudFrontOriginAccessIdentityFluentBuilder
Constructs a fluent builder for the GetCloudFrontOriginAccessIdentity operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identity’s ID. 
 
- On success, responds with GetCloudFrontOriginAccessIdentityOutputwith field(s):- cloud_front_origin_access_identity(Option<CloudFrontOriginAccessIdentity>):- The origin access identity’s information. 
- e_tag(Option<String>):- The current version of the origin access identity’s information. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetCloudFrontOriginAccessIdentityError>
source§impl Client
 
impl Client
sourcepub fn get_cloud_front_origin_access_identity_config(
    &self
) -> GetCloudFrontOriginAccessIdentityConfigFluentBuilder
 
pub fn get_cloud_front_origin_access_identity_config( &self ) -> GetCloudFrontOriginAccessIdentityConfigFluentBuilder
Constructs a fluent builder for the GetCloudFrontOriginAccessIdentityConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identity’s ID. 
 
- On success, responds with GetCloudFrontOriginAccessIdentityConfigOutputwith field(s):- cloud_front_origin_access_identity_config(Option<CloudFrontOriginAccessIdentityConfig>):- The origin access identity’s configuration information. 
- e_tag(Option<String>):- The current version of the configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetCloudFrontOriginAccessIdentityConfigError>
source§impl Client
 
impl Client
sourcepub fn get_continuous_deployment_policy(
    &self
) -> GetContinuousDeploymentPolicyFluentBuilder
 
pub fn get_continuous_deployment_policy( &self ) -> GetContinuousDeploymentPolicyFluentBuilder
Constructs a fluent builder for the GetContinuousDeploymentPolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the continuous deployment policy that you are getting. 
 
- On success, responds with GetContinuousDeploymentPolicyOutputwith field(s):- continuous_deployment_policy(Option<ContinuousDeploymentPolicy>):- A continuous deployment policy. 
- e_tag(Option<String>):- The version identifier for the current version of the continuous deployment policy. 
 
- On failure, responds with SdkError<GetContinuousDeploymentPolicyError>
source§impl Client
 
impl Client
sourcepub fn get_continuous_deployment_policy_config(
    &self
) -> GetContinuousDeploymentPolicyConfigFluentBuilder
 
pub fn get_continuous_deployment_policy_config( &self ) -> GetContinuousDeploymentPolicyConfigFluentBuilder
Constructs a fluent builder for the GetContinuousDeploymentPolicyConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the continuous deployment policy whose configuration you are getting. 
 
- On success, responds with GetContinuousDeploymentPolicyConfigOutputwith field(s):- continuous_deployment_policy_config(Option<ContinuousDeploymentPolicyConfig>):- Contains the configuration for a continuous deployment policy. 
- e_tag(Option<String>):- The version identifier for the current version of the continuous deployment policy. 
 
- On failure, responds with SdkError<GetContinuousDeploymentPolicyConfigError>
source§impl Client
 
impl Client
sourcepub fn get_distribution(&self) -> GetDistributionFluentBuilder
 
pub fn get_distribution(&self) -> GetDistributionFluentBuilder
Constructs a fluent builder for the GetDistribution operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The distribution’s ID. If the ID is empty, an empty distribution configuration is returned. 
 
- On success, responds with GetDistributionOutputwith field(s):- distribution(Option<Distribution>):- The distribution’s information. 
- e_tag(Option<String>):- The current version of the distribution’s information. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetDistributionError>
source§impl Client
 
impl Client
sourcepub fn get_distribution_config(&self) -> GetDistributionConfigFluentBuilder
 
pub fn get_distribution_config(&self) -> GetDistributionConfigFluentBuilder
Constructs a fluent builder for the GetDistributionConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The distribution’s ID. If the ID is empty, an empty distribution configuration is returned. 
 
- On success, responds with GetDistributionConfigOutputwith field(s):- distribution_config(Option<DistributionConfig>):- The distribution’s configuration information. 
- e_tag(Option<String>):- The current version of the configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetDistributionConfigError>
source§impl Client
 
impl Client
sourcepub fn get_field_level_encryption(&self) -> GetFieldLevelEncryptionFluentBuilder
 
pub fn get_field_level_encryption(&self) -> GetFieldLevelEncryptionFluentBuilder
Constructs a fluent builder for the GetFieldLevelEncryption operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- Request the ID for the field-level encryption configuration information. 
 
- On success, responds with GetFieldLevelEncryptionOutputwith field(s):- field_level_encryption(Option<FieldLevelEncryption>):- Return the field-level encryption configuration information. 
- e_tag(Option<String>):- The current version of the field level encryption configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetFieldLevelEncryptionError>
source§impl Client
 
impl Client
sourcepub fn get_field_level_encryption_config(
    &self
) -> GetFieldLevelEncryptionConfigFluentBuilder
 
pub fn get_field_level_encryption_config( &self ) -> GetFieldLevelEncryptionConfigFluentBuilder
Constructs a fluent builder for the GetFieldLevelEncryptionConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- Request the ID for the field-level encryption configuration information. 
 
- On success, responds with GetFieldLevelEncryptionConfigOutputwith field(s):- field_level_encryption_config(Option<FieldLevelEncryptionConfig>):- Return the field-level encryption configuration information. 
- e_tag(Option<String>):- The current version of the field level encryption configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetFieldLevelEncryptionConfigError>
source§impl Client
 
impl Client
sourcepub fn get_field_level_encryption_profile(
    &self
) -> GetFieldLevelEncryptionProfileFluentBuilder
 
pub fn get_field_level_encryption_profile( &self ) -> GetFieldLevelEncryptionProfileFluentBuilder
Constructs a fluent builder for the GetFieldLevelEncryptionProfile operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- Get the ID for the field-level encryption profile information. 
 
- On success, responds with GetFieldLevelEncryptionProfileOutputwith field(s):- field_level_encryption_profile(Option<FieldLevelEncryptionProfile>):- Return the field-level encryption profile information. 
- e_tag(Option<String>):- The current version of the field level encryption profile. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetFieldLevelEncryptionProfileError>
source§impl Client
 
impl Client
sourcepub fn get_field_level_encryption_profile_config(
    &self
) -> GetFieldLevelEncryptionProfileConfigFluentBuilder
 
pub fn get_field_level_encryption_profile_config( &self ) -> GetFieldLevelEncryptionProfileConfigFluentBuilder
Constructs a fluent builder for the GetFieldLevelEncryptionProfileConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- Get the ID for the field-level encryption profile configuration information. 
 
- On success, responds with GetFieldLevelEncryptionProfileConfigOutputwith field(s):- field_level_encryption_profile_config(Option<FieldLevelEncryptionProfileConfig>):- Return the field-level encryption profile configuration information. 
- e_tag(Option<String>):- The current version of the field-level encryption profile configuration result. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetFieldLevelEncryptionProfileConfigError>
source§impl Client
 
impl Client
sourcepub fn get_function(&self) -> GetFunctionFluentBuilder
 
pub fn get_function(&self) -> GetFunctionFluentBuilder
Constructs a fluent builder for the GetFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the function whose code you are getting. 
- stage(FunctionStage)/- set_stage(Option<FunctionStage>):- The function’s stage, either - DEVELOPMENTor- LIVE.
 
- On success, responds with GetFunctionOutputwith field(s):- function_code(Option<Blob>):- The function code of a CloudFront function. 
- e_tag(Option<String>):- The version identifier for the current version of the CloudFront function. 
- content_type(Option<String>):- The content type (media type) of the response. 
 
- On failure, responds with SdkError<GetFunctionError>
source§impl Client
 
impl Client
sourcepub fn get_invalidation(&self) -> GetInvalidationFluentBuilder
 
pub fn get_invalidation(&self) -> GetInvalidationFluentBuilder
Constructs a fluent builder for the GetInvalidation operation.
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The distribution’s ID. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier for the invalidation request, for example, - IDFDVBD632BHDS5.
 
- On success, responds with GetInvalidationOutputwith field(s):- invalidation(Option<Invalidation>):- The invalidation’s information. For more information, see Invalidation Complex Type. 
 
- On failure, responds with SdkError<GetInvalidationError>
source§impl Client
 
impl Client
sourcepub fn get_key_group(&self) -> GetKeyGroupFluentBuilder
 
pub fn get_key_group(&self) -> GetKeyGroupFluentBuilder
Constructs a fluent builder for the GetKeyGroup operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the key group that you are getting. To get the identifier, use - ListKeyGroups.
 
- On success, responds with GetKeyGroupOutputwith field(s):- key_group(Option<KeyGroup>):- The key group. 
- e_tag(Option<String>):- The identifier for this version of the key group. 
 
- On failure, responds with SdkError<GetKeyGroupError>
source§impl Client
 
impl Client
sourcepub fn get_key_group_config(&self) -> GetKeyGroupConfigFluentBuilder
 
pub fn get_key_group_config(&self) -> GetKeyGroupConfigFluentBuilder
Constructs a fluent builder for the GetKeyGroupConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the key group whose configuration you are getting. To get the identifier, use - ListKeyGroups.
 
- On success, responds with GetKeyGroupConfigOutputwith field(s):- key_group_config(Option<KeyGroupConfig>):- The key group configuration. 
- e_tag(Option<String>):- The identifier for this version of the key group. 
 
- On failure, responds with SdkError<GetKeyGroupConfigError>
source§impl Client
 
impl Client
sourcepub fn get_monitoring_subscription(
    &self
) -> GetMonitoringSubscriptionFluentBuilder
 
pub fn get_monitoring_subscription( &self ) -> GetMonitoringSubscriptionFluentBuilder
Constructs a fluent builder for the GetMonitoringSubscription operation.
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The ID of the distribution that you are getting metrics information for. 
 
- On success, responds with GetMonitoringSubscriptionOutputwith field(s):- monitoring_subscription(Option<MonitoringSubscription>):- A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution. 
 
- On failure, responds with SdkError<GetMonitoringSubscriptionError>
source§impl Client
 
impl Client
sourcepub fn get_origin_access_control(&self) -> GetOriginAccessControlFluentBuilder
 
pub fn get_origin_access_control(&self) -> GetOriginAccessControlFluentBuilder
Constructs a fluent builder for the GetOriginAccessControl operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier of the origin access control. 
 
- On success, responds with GetOriginAccessControlOutputwith field(s):- origin_access_control(Option<OriginAccessControl>):- Contains an origin access control, including its unique identifier. 
- e_tag(Option<String>):- The version identifier for the current version of the origin access control. 
 
- On failure, responds with SdkError<GetOriginAccessControlError>
source§impl Client
 
impl Client
sourcepub fn get_origin_access_control_config(
    &self
) -> GetOriginAccessControlConfigFluentBuilder
 
pub fn get_origin_access_control_config( &self ) -> GetOriginAccessControlConfigFluentBuilder
Constructs a fluent builder for the GetOriginAccessControlConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier of the origin access control. 
 
- On success, responds with GetOriginAccessControlConfigOutputwith field(s):- origin_access_control_config(Option<OriginAccessControlConfig>):- Contains an origin access control configuration. 
- e_tag(Option<String>):- The version identifier for the current version of the origin access control. 
 
- On failure, responds with SdkError<GetOriginAccessControlConfigError>
source§impl Client
 
impl Client
sourcepub fn get_origin_request_policy(&self) -> GetOriginRequestPolicyFluentBuilder
 
pub fn get_origin_request_policy(&self) -> GetOriginRequestPolicyFluentBuilder
Constructs a fluent builder for the GetOriginRequestPolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the origin request policy. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using - ListDistributionsor- GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using- ListOriginRequestPolicies.
 
- On success, responds with GetOriginRequestPolicyOutputwith field(s):- origin_request_policy(Option<OriginRequestPolicy>):- The origin request policy. 
- e_tag(Option<String>):- The current version of the origin request policy. 
 
- On failure, responds with SdkError<GetOriginRequestPolicyError>
source§impl Client
 
impl Client
sourcepub fn get_origin_request_policy_config(
    &self
) -> GetOriginRequestPolicyConfigFluentBuilder
 
pub fn get_origin_request_policy_config( &self ) -> GetOriginRequestPolicyConfigFluentBuilder
Constructs a fluent builder for the GetOriginRequestPolicyConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the origin request policy. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using - ListDistributionsor- GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using- ListOriginRequestPolicies.
 
- On success, responds with GetOriginRequestPolicyConfigOutputwith field(s):- origin_request_policy_config(Option<OriginRequestPolicyConfig>):- The origin request policy configuration. 
- e_tag(Option<String>):- The current version of the origin request policy. 
 
- On failure, responds with SdkError<GetOriginRequestPolicyConfigError>
source§impl Client
 
impl Client
sourcepub fn get_public_key(&self) -> GetPublicKeyFluentBuilder
 
pub fn get_public_key(&self) -> GetPublicKeyFluentBuilder
Constructs a fluent builder for the GetPublicKey operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the public key you are getting. 
 
- On success, responds with GetPublicKeyOutputwith field(s):- public_key(Option<PublicKey>):- The public key. 
- e_tag(Option<String>):- The identifier for this version of the public key. 
 
- On failure, responds with SdkError<GetPublicKeyError>
source§impl Client
 
impl Client
sourcepub fn get_public_key_config(&self) -> GetPublicKeyConfigFluentBuilder
 
pub fn get_public_key_config(&self) -> GetPublicKeyConfigFluentBuilder
Constructs a fluent builder for the GetPublicKeyConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the public key whose configuration you are getting. 
 
- On success, responds with GetPublicKeyConfigOutputwith field(s):- public_key_config(Option<PublicKeyConfig>):- A public key configuration. 
- e_tag(Option<String>):- The identifier for this version of the public key configuration. 
 
- On failure, responds with SdkError<GetPublicKeyConfigError>
source§impl Client
 
impl Client
sourcepub fn get_realtime_log_config(&self) -> GetRealtimeLogConfigFluentBuilder
 
pub fn get_realtime_log_config(&self) -> GetRealtimeLogConfigFluentBuilder
Constructs a fluent builder for the GetRealtimeLogConfig operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the real-time log configuration to get. 
- arn(impl ::std::convert::Into<String>)/- set_arn(Option<String>):- The Amazon Resource Name (ARN) of the real-time log configuration to get. 
 
- On success, responds with GetRealtimeLogConfigOutputwith field(s):- realtime_log_config(Option<RealtimeLogConfig>):- A real-time log configuration. 
 
- On failure, responds with SdkError<GetRealtimeLogConfigError>
source§impl Client
 
impl Client
sourcepub fn get_response_headers_policy(
    &self
) -> GetResponseHeadersPolicyFluentBuilder
 
pub fn get_response_headers_policy( &self ) -> GetResponseHeadersPolicyFluentBuilder
Constructs a fluent builder for the GetResponseHeadersPolicy operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier for the response headers policy. - If the response headers policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using - ListDistributionsor- GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using- ListResponseHeadersPolicies.
 
- On success, responds with GetResponseHeadersPolicyOutputwith field(s):- response_headers_policy(Option<ResponseHeadersPolicy>):- Contains a response headers policy. 
- e_tag(Option<String>):- The version identifier for the current version of the response headers policy. 
 
- On failure, responds with SdkError<GetResponseHeadersPolicyError>
source§impl Client
 
impl Client
sourcepub fn get_response_headers_policy_config(
    &self
) -> GetResponseHeadersPolicyConfigFluentBuilder
 
pub fn get_response_headers_policy_config( &self ) -> GetResponseHeadersPolicyConfigFluentBuilder
Constructs a fluent builder for the GetResponseHeadersPolicyConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier for the response headers policy. - If the response headers policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using - ListDistributionsor- GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using- ListResponseHeadersPolicies.
 
- On success, responds with GetResponseHeadersPolicyConfigOutputwith field(s):- response_headers_policy_config(Option<ResponseHeadersPolicyConfig>):- Contains a response headers policy. 
- e_tag(Option<String>):- The version identifier for the current version of the response headers policy. 
 
- On failure, responds with SdkError<GetResponseHeadersPolicyConfigError>
source§impl Client
 
impl Client
sourcepub fn get_streaming_distribution(
    &self
) -> GetStreamingDistributionFluentBuilder
 
pub fn get_streaming_distribution( &self ) -> GetStreamingDistributionFluentBuilder
Constructs a fluent builder for the GetStreamingDistribution operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The streaming distribution’s ID. 
 
- On success, responds with GetStreamingDistributionOutputwith field(s):- streaming_distribution(Option<StreamingDistribution>):- The streaming distribution’s information. 
- e_tag(Option<String>):- The current version of the streaming distribution’s information. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetStreamingDistributionError>
source§impl Client
 
impl Client
sourcepub fn get_streaming_distribution_config(
    &self
) -> GetStreamingDistributionConfigFluentBuilder
 
pub fn get_streaming_distribution_config( &self ) -> GetStreamingDistributionConfigFluentBuilder
Constructs a fluent builder for the GetStreamingDistributionConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The streaming distribution’s ID. 
 
- On success, responds with GetStreamingDistributionConfigOutputwith field(s):- streaming_distribution_config(Option<StreamingDistributionConfig>):- The streaming distribution’s configuration information. 
- e_tag(Option<String>):- The current version of the configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<GetStreamingDistributionConfigError>
source§impl Client
 
impl Client
sourcepub fn list_cache_policies(&self) -> ListCachePoliciesFluentBuilder
 
pub fn list_cache_policies(&self) -> ListCachePoliciesFluentBuilder
Constructs a fluent builder for the ListCachePolicies operation.
- The fluent builder is configurable:
- r#type(CachePolicyType)/- set_type(Option<CachePolicyType>):- A filter to return only the specified kinds of cache policies. Valid values are: -  managed– Returns only the managed policies created by Amazon Web Services.
-  custom– Returns only the custom policies created in your Amazon Web Services account.
 
-  
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of cache policies that you want in the response. 
 
- On success, responds with ListCachePoliciesOutputwith field(s):- cache_policy_list(Option<CachePolicyList>):- A list of cache policies. 
 
- On failure, responds with SdkError<ListCachePoliciesError>
source§impl Client
 
impl Client
sourcepub fn list_cloud_front_origin_access_identities(
    &self
) -> ListCloudFrontOriginAccessIdentitiesFluentBuilder
 
pub fn list_cloud_front_origin_access_identities( &self ) -> ListCloudFrontOriginAccessIdentitiesFluentBuilder
Constructs a fluent builder for the ListCloudFrontOriginAccessIdentities operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the - Markerto the value of the- NextMarkerfrom the current page’s response (which is also the ID of the last identity on that page).
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of origin access identities you want in the response body. 
 
- On success, responds with ListCloudFrontOriginAccessIdentitiesOutputwith field(s):- cloud_front_origin_access_identity_list(Option<CloudFrontOriginAccessIdentityList>):- The - CloudFrontOriginAccessIdentityListtype.
 
- On failure, responds with SdkError<ListCloudFrontOriginAccessIdentitiesError>
source§impl Client
 
impl Client
sourcepub fn list_conflicting_aliases(&self) -> ListConflictingAliasesFluentBuilder
 
pub fn list_conflicting_aliases(&self) -> ListConflictingAliasesFluentBuilder
Constructs a fluent builder for the ListConflictingAliases operation.
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The ID of a distribution in your account that has an attached SSL/TLS certificate that includes the provided alias. 
- alias(impl ::std::convert::Into<String>)/- set_alias(Option<String>):- The alias (also called a CNAME) to search for conflicting aliases. 
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in the list of conflicting aliases. The response includes conflicting aliases in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of conflicting aliases that you want in the response. 
 
- On success, responds with ListConflictingAliasesOutputwith field(s):- conflicting_aliases_list(Option<ConflictingAliasesList>):- A list of conflicting aliases. 
 
- On failure, responds with SdkError<ListConflictingAliasesError>
source§impl Client
 
impl Client
sourcepub fn list_continuous_deployment_policies(
    &self
) -> ListContinuousDeploymentPoliciesFluentBuilder
 
pub fn list_continuous_deployment_policies( &self ) -> ListContinuousDeploymentPoliciesFluentBuilder
Constructs a fluent builder for the ListContinuousDeploymentPolicies operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of continuous deployment policies. The response includes policies in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of continuous deployment policies that you want returned in the response. 
 
- On success, responds with ListContinuousDeploymentPoliciesOutputwith field(s):- continuous_deployment_policy_list(Option<ContinuousDeploymentPolicyList>):- A list of continuous deployment policies. 
 
- On failure, responds with SdkError<ListContinuousDeploymentPoliciesError>
source§impl Client
 
impl Client
sourcepub fn list_distributions(&self) -> ListDistributionsFluentBuilder
 
pub fn list_distributions(&self) -> ListDistributionsFluentBuilder
Constructs a fluent builder for the ListDistributions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the - Markerto the value of the- NextMarkerfrom the current page’s response (which is also the ID of the last distribution on that page).
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distributions you want in the response body. 
 
- On success, responds with ListDistributionsOutputwith field(s):- distribution_list(Option<DistributionList>):- The - DistributionListtype.
 
- On failure, responds with SdkError<ListDistributionsError>
source§impl Client
 
impl Client
sourcepub fn list_distributions_by_cache_policy_id(
    &self
) -> ListDistributionsByCachePolicyIdFluentBuilder
 
pub fn list_distributions_by_cache_policy_id( &self ) -> ListDistributionsByCachePolicyIdFluentBuilder
Constructs a fluent builder for the ListDistributionsByCachePolicyId operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distribution IDs that you want in the response. 
- cache_policy_id(impl ::std::convert::Into<String>)/- set_cache_policy_id(Option<String>):- The ID of the cache policy whose associated distribution IDs you want to list. 
 
- On success, responds with ListDistributionsByCachePolicyIdOutputwith field(s):- distribution_id_list(Option<DistributionIdList>):- A list of distribution IDs. 
 
- On failure, responds with SdkError<ListDistributionsByCachePolicyIdError>
source§impl Client
 
impl Client
sourcepub fn list_distributions_by_key_group(
    &self
) -> ListDistributionsByKeyGroupFluentBuilder
 
pub fn list_distributions_by_key_group( &self ) -> ListDistributionsByKeyGroupFluentBuilder
Constructs a fluent builder for the ListDistributionsByKeyGroup operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distribution IDs that you want in the response. 
- key_group_id(impl ::std::convert::Into<String>)/- set_key_group_id(Option<String>):- The ID of the key group whose associated distribution IDs you are listing. 
 
- On success, responds with ListDistributionsByKeyGroupOutputwith field(s):- distribution_id_list(Option<DistributionIdList>):- A list of distribution IDs. 
 
- On failure, responds with SdkError<ListDistributionsByKeyGroupError>
source§impl Client
 
impl Client
sourcepub fn list_distributions_by_origin_request_policy_id(
    &self
) -> ListDistributionsByOriginRequestPolicyIdFluentBuilder
 
pub fn list_distributions_by_origin_request_policy_id( &self ) -> ListDistributionsByOriginRequestPolicyIdFluentBuilder
Constructs a fluent builder for the ListDistributionsByOriginRequestPolicyId operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distribution IDs that you want in the response. 
- origin_request_policy_id(impl ::std::convert::Into<String>)/- set_origin_request_policy_id(Option<String>):- The ID of the origin request policy whose associated distribution IDs you want to list. 
 
- On success, responds with ListDistributionsByOriginRequestPolicyIdOutputwith field(s):- distribution_id_list(Option<DistributionIdList>):- A list of distribution IDs. 
 
- On failure, responds with SdkError<ListDistributionsByOriginRequestPolicyIdError>
source§impl Client
 
impl Client
sourcepub fn list_distributions_by_realtime_log_config(
    &self
) -> ListDistributionsByRealtimeLogConfigFluentBuilder
 
pub fn list_distributions_by_realtime_log_config( &self ) -> ListDistributionsByRealtimeLogConfigFluentBuilder
Constructs a fluent builder for the ListDistributionsByRealtimeLogConfig operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distributions that you want in the response. 
- realtime_log_config_name(impl ::std::convert::Into<String>)/- set_realtime_log_config_name(Option<String>):- The name of the real-time log configuration whose associated distributions you want to list. 
- realtime_log_config_arn(impl ::std::convert::Into<String>)/- set_realtime_log_config_arn(Option<String>):- The Amazon Resource Name (ARN) of the real-time log configuration whose associated distributions you want to list. 
 
- On success, responds with ListDistributionsByRealtimeLogConfigOutputwith field(s):- distribution_list(Option<DistributionList>):- A distribution list. 
 
- On failure, responds with SdkError<ListDistributionsByRealtimeLogConfigError>
source§impl Client
 
impl Client
sourcepub fn list_distributions_by_response_headers_policy_id(
    &self
) -> ListDistributionsByResponseHeadersPolicyIdFluentBuilder
 
pub fn list_distributions_by_response_headers_policy_id( &self ) -> ListDistributionsByResponseHeadersPolicyIdFluentBuilder
Constructs a fluent builder for the ListDistributionsByResponseHeadersPolicyId operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distribution IDs that you want to get in the response. 
- response_headers_policy_id(impl ::std::convert::Into<String>)/- set_response_headers_policy_id(Option<String>):- The ID of the response headers policy whose associated distribution IDs you want to list. 
 
- On success, responds with ListDistributionsByResponseHeadersPolicyIdOutputwith field(s):- distribution_id_list(Option<DistributionIdList>):- A list of distribution IDs. 
 
- On failure, responds with SdkError<ListDistributionsByResponseHeadersPolicyIdError>
source§impl Client
 
impl Client
sourcepub fn list_distributions_by_web_acl_id(
    &self
) -> ListDistributionsByWebACLIdFluentBuilder
 
pub fn list_distributions_by_web_acl_id( &self ) -> ListDistributionsByWebACLIdFluentBuilder
Constructs a fluent builder for the ListDistributionsByWebACLId operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use - Markerand- MaxItemsto control pagination of results. If you have more than- MaxItemsdistributions that satisfy the request, the response includes a- NextMarkerelement. To get the next page of results, submit another request. For the value of- Marker, specify the value of- NextMarkerfrom the last response. (For the first request, omit- Marker.)
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100. 
- web_acl_id(impl ::std::convert::Into<String>)/- set_web_acl_id(Option<String>):- The ID of the WAF web ACL that you want to list the associated distributions. If you specify “null” for the ID, the request returns a list of the distributions that aren’t associated with a web ACL. 
 
- On success, responds with ListDistributionsByWebAclIdOutputwith field(s):- distribution_list(Option<DistributionList>):- The - DistributionListtype.
 
- On failure, responds with SdkError<ListDistributionsByWebACLIdError>
source§impl Client
 
impl Client
sourcepub fn list_field_level_encryption_configs(
    &self
) -> ListFieldLevelEncryptionConfigsFluentBuilder
 
pub fn list_field_level_encryption_configs( &self ) -> ListFieldLevelEncryptionConfigsFluentBuilder
Constructs a fluent builder for the ListFieldLevelEncryptionConfigs operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this when paginating results to indicate where to begin in your list of configurations. The results include configurations in the list that occur after the marker. To get the next page of results, set the - Markerto the value of the- NextMarkerfrom the current page’s response (which is also the ID of the last configuration on that page).
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of field-level encryption configurations you want in the response body. 
 
- On success, responds with ListFieldLevelEncryptionConfigsOutputwith field(s):- field_level_encryption_list(Option<FieldLevelEncryptionList>):- Returns a list of all field-level encryption configurations that have been created in CloudFront for this account. 
 
- On failure, responds with SdkError<ListFieldLevelEncryptionConfigsError>
source§impl Client
 
impl Client
sourcepub fn list_field_level_encryption_profiles(
    &self
) -> ListFieldLevelEncryptionProfilesFluentBuilder
 
pub fn list_field_level_encryption_profiles( &self ) -> ListFieldLevelEncryptionProfilesFluentBuilder
Constructs a fluent builder for the ListFieldLevelEncryptionProfiles operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this when paginating results to indicate where to begin in your list of profiles. The results include profiles in the list that occur after the marker. To get the next page of results, set the - Markerto the value of the- NextMarkerfrom the current page’s response (which is also the ID of the last profile on that page).
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of field-level encryption profiles you want in the response body. 
 
- On success, responds with ListFieldLevelEncryptionProfilesOutputwith field(s):- field_level_encryption_profile_list(Option<FieldLevelEncryptionProfileList>):- Returns a list of the field-level encryption profiles that have been created in CloudFront for this account. 
 
- On failure, responds with SdkError<ListFieldLevelEncryptionProfilesError>
source§impl Client
 
impl Client
sourcepub fn list_functions(&self) -> ListFunctionsFluentBuilder
 
pub fn list_functions(&self) -> ListFunctionsFluentBuilder
Constructs a fluent builder for the ListFunctions operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of functions that you want in the response. 
- stage(FunctionStage)/- set_stage(Option<FunctionStage>):- An optional filter to return only the functions that are in the specified stage, either - DEVELOPMENTor- LIVE.
 
- On success, responds with ListFunctionsOutputwith field(s):- function_list(Option<FunctionList>):- A list of CloudFront functions. 
 
- On failure, responds with SdkError<ListFunctionsError>
source§impl Client
 
impl Client
sourcepub fn list_invalidations(&self) -> ListInvalidationsFluentBuilder
 
pub fn list_invalidations(&self) -> ListInvalidationsFluentBuilder
Constructs a fluent builder for the ListInvalidations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
- distribution_id(impl ::std::convert::Into<String>)/- set_distribution_id(Option<String>):- The distribution’s ID. 
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set - Markerto the value of the- NextMarkerfrom the current page’s response. This value is the same as the ID of the last invalidation batch on that page.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of invalidation batches that you want in the response body. 
 
- On success, responds with ListInvalidationsOutputwith field(s):- invalidation_list(Option<InvalidationList>):- Information about invalidation batches. 
 
- On failure, responds with SdkError<ListInvalidationsError>
source§impl Client
 
impl Client
sourcepub fn list_key_groups(&self) -> ListKeyGroupsFluentBuilder
 
pub fn list_key_groups(&self) -> ListKeyGroupsFluentBuilder
Constructs a fluent builder for the ListKeyGroups operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of key groups that you want in the response. 
 
- On success, responds with ListKeyGroupsOutputwith field(s):- key_group_list(Option<KeyGroupList>):- A list of key groups. 
 
- On failure, responds with SdkError<ListKeyGroupsError>
source§impl Client
 
impl Client
sourcepub fn list_origin_access_controls(
    &self
) -> ListOriginAccessControlsFluentBuilder
 
pub fn list_origin_access_controls( &self ) -> ListOriginAccessControlsFluentBuilder
Constructs a fluent builder for the ListOriginAccessControls operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of origin access controls that you want in the response. 
 
- On success, responds with ListOriginAccessControlsOutputwith field(s):- origin_access_control_list(Option<OriginAccessControlList>):- A list of origin access controls. 
 
- On failure, responds with SdkError<ListOriginAccessControlsError>
source§impl Client
 
impl Client
sourcepub fn list_origin_request_policies(
    &self
) -> ListOriginRequestPoliciesFluentBuilder
 
pub fn list_origin_request_policies( &self ) -> ListOriginRequestPoliciesFluentBuilder
Constructs a fluent builder for the ListOriginRequestPolicies operation.
- The fluent builder is configurable:
- r#type(OriginRequestPolicyType)/- set_type(Option<OriginRequestPolicyType>):- A filter to return only the specified kinds of origin request policies. Valid values are: -  managed– Returns only the managed policies created by Amazon Web Services.
-  custom– Returns only the custom policies created in your Amazon Web Services account.
 
-  
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of origin request policies. The response includes origin request policies in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of origin request policies that you want in the response. 
 
- On success, responds with ListOriginRequestPoliciesOutputwith field(s):- origin_request_policy_list(Option<OriginRequestPolicyList>):- A list of origin request policies. 
 
- On failure, responds with SdkError<ListOriginRequestPoliciesError>
source§impl Client
 
impl Client
sourcepub fn list_public_keys(&self) -> ListPublicKeysFluentBuilder
 
pub fn list_public_keys(&self) -> ListPublicKeysFluentBuilder
Constructs a fluent builder for the ListPublicKeys operation.
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the - Markerto the value of the- NextMarkerfrom the current page’s response (which is also the ID of the last public key on that page).
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of public keys you want in the response body. 
 
- On success, responds with ListPublicKeysOutputwith field(s):- public_key_list(Option<PublicKeyList>):- Returns a list of all public keys that have been added to CloudFront for this account. 
 
- On failure, responds with SdkError<ListPublicKeysError>
source§impl Client
 
impl Client
sourcepub fn list_realtime_log_configs(&self) -> ListRealtimeLogConfigsFluentBuilder
 
pub fn list_realtime_log_configs(&self) -> ListRealtimeLogConfigsFluentBuilder
Constructs a fluent builder for the ListRealtimeLogConfigs operation.
- The fluent builder is configurable:
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of real-time log configurations that you want in the response. 
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of real-time log configurations. The response includes real-time log configurations in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
 
- On success, responds with ListRealtimeLogConfigsOutputwith field(s):- realtime_log_configs(Option<RealtimeLogConfigs>):- A list of real-time log configurations. 
 
- On failure, responds with SdkError<ListRealtimeLogConfigsError>
source§impl Client
 
impl Client
sourcepub fn list_response_headers_policies(
    &self
) -> ListResponseHeadersPoliciesFluentBuilder
 
pub fn list_response_headers_policies( &self ) -> ListResponseHeadersPoliciesFluentBuilder
Constructs a fluent builder for the ListResponseHeadersPolicies operation.
- The fluent builder is configurable:
- r#type(ResponseHeadersPolicyType)/- set_type(Option<ResponseHeadersPolicyType>):- A filter to get only the specified kind of response headers policies. Valid values are: -  managed– Gets only the managed policies created by Amazon Web Services.
-  custom– Gets only the custom policies created in your Amazon Web Services account.
 
-  
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of - NextMarkerfrom the current page’s response.
- max_items(i32)/- set_max_items(Option<i32>):- The maximum number of response headers policies that you want to get in the response. 
 
- On success, responds with ListResponseHeadersPoliciesOutputwith field(s):- response_headers_policy_list(Option<ResponseHeadersPolicyList>):- A list of response headers policies. 
 
- On failure, responds with SdkError<ListResponseHeadersPoliciesError>
source§impl Client
 
impl Client
sourcepub fn list_streaming_distributions(
    &self
) -> ListStreamingDistributionsFluentBuilder
 
pub fn list_streaming_distributions( &self ) -> ListStreamingDistributionsFluentBuilder
Constructs a fluent builder for the ListStreamingDistributions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
- marker(impl ::std::convert::Into<String>)/- set_marker(Option<String>):- The value that you provided for the - Markerrequest parameter.
- max_items(i32)/- set_max_items(Option<i32>):- The value that you provided for the - MaxItemsrequest parameter.
 
- On success, responds with ListStreamingDistributionsOutputwith field(s):- streaming_distribution_list(Option<StreamingDistributionList>):- The - StreamingDistributionListtype.
 
- On failure, responds with SdkError<ListStreamingDistributionsError>
source§impl Client
 
impl Client
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
- resource(impl ::std::convert::Into<String>)/- set_resource(Option<String>):- An ARN of a CloudFront resource. 
 
- On success, responds with ListTagsForResourceOutputwith field(s):- tags(Option<Tags>):- A complex type that contains zero or more - Tagelements.
 
- On failure, responds with SdkError<ListTagsForResourceError>
source§impl Client
 
impl Client
sourcepub fn publish_function(&self) -> PublishFunctionFluentBuilder
 
pub fn publish_function(&self) -> PublishFunctionFluentBuilder
Constructs a fluent builder for the PublishFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the function that you are publishing. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the function that you are publishing, which you can get using- DescribeFunction.
 
- On success, responds with PublishFunctionOutputwith field(s):- function_summary(Option<FunctionSummary>):- Contains configuration information and metadata about a CloudFront function. 
 
- On failure, responds with SdkError<PublishFunctionError>
source§impl Client
 
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
 
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
- resource(impl ::std::convert::Into<String>)/- set_resource(Option<String>):- An ARN of a CloudFront resource. 
- tags(Tags)/- set_tags(Option<Tags>):- A complex type that contains zero or more - Tagelements.
 
- On success, responds with TagResourceOutput
- On failure, responds with SdkError<TagResourceError>
source§impl Client
 
impl Client
sourcepub fn test_function(&self) -> TestFunctionFluentBuilder
 
pub fn test_function(&self) -> TestFunctionFluentBuilder
Constructs a fluent builder for the TestFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the function that you are testing. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the function that you are testing, which you can get using- DescribeFunction.
- stage(FunctionStage)/- set_stage(Option<FunctionStage>):- The stage of the function that you are testing, either - DEVELOPMENTor- LIVE.
- event_object(Blob)/- set_event_object(Option<Blob>):- The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide. 
 
- On success, responds with TestFunctionOutputwith field(s):- test_result(Option<TestResult>):- An object that represents the result of running the function with the provided event object. 
 
- On failure, responds with SdkError<TestFunctionError>
source§impl Client
 
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
 
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
- resource(impl ::std::convert::Into<String>)/- set_resource(Option<String>):- An ARN of a CloudFront resource. 
- tag_keys(TagKeys)/- set_tag_keys(Option<TagKeys>):- A complex type that contains zero or more - Tagkey elements.
 
- On success, responds with UntagResourceOutput
- On failure, responds with SdkError<UntagResourceError>
source§impl Client
 
impl Client
sourcepub fn update_cache_policy(&self) -> UpdateCachePolicyFluentBuilder
 
pub fn update_cache_policy(&self) -> UpdateCachePolicyFluentBuilder
Constructs a fluent builder for the UpdateCachePolicy operation.
- The fluent builder is configurable:
- cache_policy_config(CachePolicyConfig)/- set_cache_policy_config(Option<CachePolicyConfig>):- A cache policy configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior’s - CachePolicyIdfield in the response to- GetDistributionConfig.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the cache policy that you are updating. The version is returned in the cache policy’s - ETagfield in the response to- GetCachePolicyConfig.
 
- On success, responds with UpdateCachePolicyOutputwith field(s):- cache_policy(Option<CachePolicy>):- A cache policy. 
- e_tag(Option<String>):- The current version of the cache policy. 
 
- On failure, responds with SdkError<UpdateCachePolicyError>
source§impl Client
 
impl Client
sourcepub fn update_cloud_front_origin_access_identity(
    &self
) -> UpdateCloudFrontOriginAccessIdentityFluentBuilder
 
pub fn update_cloud_front_origin_access_identity( &self ) -> UpdateCloudFrontOriginAccessIdentityFluentBuilder
Constructs a fluent builder for the UpdateCloudFrontOriginAccessIdentity operation.
- The fluent builder is configurable:
- cloud_front_origin_access_identity_config(CloudFrontOriginAccessIdentityConfig)/- set_cloud_front_origin_access_identity_config(Option<CloudFrontOriginAccessIdentityConfig>):- The identity’s configuration information. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identity’s id. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the identity’s configuration. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with UpdateCloudFrontOriginAccessIdentityOutputwith field(s):- cloud_front_origin_access_identity(Option<CloudFrontOriginAccessIdentity>):- The origin access identity’s information. 
- e_tag(Option<String>):- The current version of the configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<UpdateCloudFrontOriginAccessIdentityError>
source§impl Client
 
impl Client
sourcepub fn update_continuous_deployment_policy(
    &self
) -> UpdateContinuousDeploymentPolicyFluentBuilder
 
pub fn update_continuous_deployment_policy( &self ) -> UpdateContinuousDeploymentPolicyFluentBuilder
Constructs a fluent builder for the UpdateContinuousDeploymentPolicy operation.
- The fluent builder is configurable:
- continuous_deployment_policy_config(ContinuousDeploymentPolicyConfig)/- set_continuous_deployment_policy_config(Option<ContinuousDeploymentPolicyConfig>):- The continuous deployment policy configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the continuous deployment policy that you are updating. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the continuous deployment policy that you are updating.
 
- On success, responds with UpdateContinuousDeploymentPolicyOutputwith field(s):- continuous_deployment_policy(Option<ContinuousDeploymentPolicy>):- A continuous deployment policy. 
- e_tag(Option<String>):- The version identifier for the current version of the continuous deployment policy. 
 
- On failure, responds with SdkError<UpdateContinuousDeploymentPolicyError>
source§impl Client
 
impl Client
sourcepub fn update_distribution(&self) -> UpdateDistributionFluentBuilder
 
pub fn update_distribution(&self) -> UpdateDistributionFluentBuilder
Constructs a fluent builder for the UpdateDistribution operation.
- The fluent builder is configurable:
- distribution_config(DistributionConfig)/- set_distribution_config(Option<DistributionConfig>):- The distribution’s configuration information. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The distribution’s id. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the distribution’s configuration. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with UpdateDistributionOutputwith field(s):- distribution(Option<Distribution>):- The distribution’s information. 
- e_tag(Option<String>):- The current version of the configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<UpdateDistributionError>
source§impl Client
 
impl Client
sourcepub fn update_distribution_with_staging_config(
    &self
) -> UpdateDistributionWithStagingConfigFluentBuilder
 
pub fn update_distribution_with_staging_config( &self ) -> UpdateDistributionWithStagingConfigFluentBuilder
Constructs a fluent builder for the UpdateDistributionWithStagingConfig operation.
- The fluent builder is configurable:
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the primary distribution to which you are copying a staging distribution’s configuration. 
- staging_distribution_id(impl ::std::convert::Into<String>)/- set_staging_distribution_id(Option<String>):- The identifier of the staging distribution whose configuration you are copying to the primary distribution. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current versions ( - ETagvalues) of both primary and staging distributions. Provide these in the following format:- , 
 
- On success, responds with UpdateDistributionWithStagingConfigOutputwith field(s):- distribution(Option<Distribution>):- A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery. 
- e_tag(Option<String>):- The current version of the primary distribution (after it’s updated). 
 
- On failure, responds with SdkError<UpdateDistributionWithStagingConfigError>
source§impl Client
 
impl Client
sourcepub fn update_field_level_encryption_config(
    &self
) -> UpdateFieldLevelEncryptionConfigFluentBuilder
 
pub fn update_field_level_encryption_config( &self ) -> UpdateFieldLevelEncryptionConfigFluentBuilder
Constructs a fluent builder for the UpdateFieldLevelEncryptionConfig operation.
- The fluent builder is configurable:
- field_level_encryption_config(FieldLevelEncryptionConfig)/- set_field_level_encryption_config(Option<FieldLevelEncryptionConfig>):- Request to update a field-level encryption configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The ID of the configuration you want to update. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the configuration identity to update. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with UpdateFieldLevelEncryptionConfigOutputwith field(s):- field_level_encryption(Option<FieldLevelEncryption>):- Return the results of updating the configuration. 
- e_tag(Option<String>):- The value of the - ETagheader that you received when updating the configuration. For example:- E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<UpdateFieldLevelEncryptionConfigError>
source§impl Client
 
impl Client
sourcepub fn update_field_level_encryption_profile(
    &self
) -> UpdateFieldLevelEncryptionProfileFluentBuilder
 
pub fn update_field_level_encryption_profile( &self ) -> UpdateFieldLevelEncryptionProfileFluentBuilder
Constructs a fluent builder for the UpdateFieldLevelEncryptionProfile operation.
- The fluent builder is configurable:
- field_level_encryption_profile_config(FieldLevelEncryptionProfileConfig)/- set_field_level_encryption_profile_config(Option<FieldLevelEncryptionProfileConfig>):- Request to update a field-level encryption profile. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The ID of the field-level encryption profile request. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the profile identity to update. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with UpdateFieldLevelEncryptionProfileOutputwith field(s):- field_level_encryption_profile(Option<FieldLevelEncryptionProfile>):- Return the results of updating the profile. 
- e_tag(Option<String>):- The result of the field-level encryption profile request. 
 
- On failure, responds with SdkError<UpdateFieldLevelEncryptionProfileError>
source§impl Client
 
impl Client
sourcepub fn update_function(&self) -> UpdateFunctionFluentBuilder
 
pub fn update_function(&self) -> UpdateFunctionFluentBuilder
Constructs a fluent builder for the UpdateFunction operation.
- The fluent builder is configurable:
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name of the function that you are updating. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the function that you are updating, which you can get using- DescribeFunction.
- function_config(FunctionConfig)/- set_function_config(Option<FunctionConfig>):- Configuration information about the function. 
- function_code(Blob)/- set_function_code(Option<Blob>):- The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide. 
 
- On success, responds with UpdateFunctionOutputwith field(s):- function_summary(Option<FunctionSummary>):- Contains configuration information and metadata about a CloudFront function. 
- e_tag(Option<String>):- The version identifier for the current version of the CloudFront function. 
 
- On failure, responds with SdkError<UpdateFunctionError>
source§impl Client
 
impl Client
sourcepub fn update_key_group(&self) -> UpdateKeyGroupFluentBuilder
 
pub fn update_key_group(&self) -> UpdateKeyGroupFluentBuilder
Constructs a fluent builder for the UpdateKeyGroup operation.
- The fluent builder is configurable:
- key_group_config(KeyGroupConfig)/- set_key_group_config(Option<KeyGroupConfig>):- The key group configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the key group that you are updating. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the key group that you are updating. The version is the key group’s - ETagvalue.
 
- On success, responds with UpdateKeyGroupOutputwith field(s):- key_group(Option<KeyGroup>):- The key group that was just updated. 
- e_tag(Option<String>):- The identifier for this version of the key group. 
 
- On failure, responds with SdkError<UpdateKeyGroupError>
source§impl Client
 
impl Client
sourcepub fn update_origin_access_control(
    &self
) -> UpdateOriginAccessControlFluentBuilder
 
pub fn update_origin_access_control( &self ) -> UpdateOriginAccessControlFluentBuilder
Constructs a fluent builder for the UpdateOriginAccessControl operation.
- The fluent builder is configurable:
- origin_access_control_config(OriginAccessControlConfig)/- set_origin_access_control_config(Option<OriginAccessControlConfig>):- An origin access control. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier of the origin access control that you are updating. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The current version ( - ETagvalue) of the origin access control that you are updating.
 
- On success, responds with UpdateOriginAccessControlOutputwith field(s):- origin_access_control(Option<OriginAccessControl>):- The origin access control after it has been updated. 
- e_tag(Option<String>):- The new version of the origin access control after it has been updated. 
 
- On failure, responds with SdkError<UpdateOriginAccessControlError>
source§impl Client
 
impl Client
sourcepub fn update_origin_request_policy(
    &self
) -> UpdateOriginRequestPolicyFluentBuilder
 
pub fn update_origin_request_policy( &self ) -> UpdateOriginRequestPolicyFluentBuilder
Constructs a fluent builder for the UpdateOriginRequestPolicy operation.
- The fluent builder is configurable:
- origin_request_policy_config(OriginRequestPolicyConfig)/- set_origin_request_policy_config(Option<OriginRequestPolicyConfig>):- An origin request policy configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache behavior’s - OriginRequestPolicyIdfield in the response to- GetDistributionConfig.
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the origin request policy that you are updating. The version is returned in the origin request policy’s - ETagfield in the response to- GetOriginRequestPolicyConfig.
 
- On success, responds with UpdateOriginRequestPolicyOutputwith field(s):- origin_request_policy(Option<OriginRequestPolicy>):- An origin request policy. 
- e_tag(Option<String>):- The current version of the origin request policy. 
 
- On failure, responds with SdkError<UpdateOriginRequestPolicyError>
source§impl Client
 
impl Client
sourcepub fn update_public_key(&self) -> UpdatePublicKeyFluentBuilder
 
pub fn update_public_key(&self) -> UpdatePublicKeyFluentBuilder
Constructs a fluent builder for the UpdatePublicKey operation.
- The fluent builder is configurable:
- public_key_config(PublicKeyConfig)/- set_public_key_config(Option<PublicKeyConfig>):- A public key configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier of the public key that you are updating. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the public key to update. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with UpdatePublicKeyOutputwith field(s):- public_key(Option<PublicKey>):- The public key. 
- e_tag(Option<String>):- The identifier of the current version of the public key. 
 
- On failure, responds with SdkError<UpdatePublicKeyError>
source§impl Client
 
impl Client
sourcepub fn update_realtime_log_config(&self) -> UpdateRealtimeLogConfigFluentBuilder
 
pub fn update_realtime_log_config(&self) -> UpdateRealtimeLogConfigFluentBuilder
Constructs a fluent builder for the UpdateRealtimeLogConfig operation.
- The fluent builder is configurable:
- end_points(Vec<EndPoint>)/- set_end_points(Option<Vec<EndPoint>>):- Contains information about the Amazon Kinesis data stream where you are sending real-time log data. 
- fields(Vec<String>)/- set_fields(Option<Vec<String>>):- A list of fields to include in each real-time log record. - For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide. 
- name(impl ::std::convert::Into<String>)/- set_name(Option<String>):- The name for this real-time log configuration. 
- arn(impl ::std::convert::Into<String>)/- set_arn(Option<String>):- The Amazon Resource Name (ARN) for this real-time log configuration. 
- sampling_rate(i64)/- set_sampling_rate(Option<i64>):- The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. You must provide an integer between 1 and 100, inclusive. 
 
- On success, responds with UpdateRealtimeLogConfigOutputwith field(s):- realtime_log_config(Option<RealtimeLogConfig>):- A real-time log configuration. 
 
- On failure, responds with SdkError<UpdateRealtimeLogConfigError>
source§impl Client
 
impl Client
sourcepub fn update_response_headers_policy(
    &self
) -> UpdateResponseHeadersPolicyFluentBuilder
 
pub fn update_response_headers_policy( &self ) -> UpdateResponseHeadersPolicyFluentBuilder
Constructs a fluent builder for the UpdateResponseHeadersPolicy operation.
- The fluent builder is configurable:
- response_headers_policy_config(ResponseHeadersPolicyConfig)/- set_response_headers_policy_config(Option<ResponseHeadersPolicyConfig>):- A response headers policy configuration. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The identifier for the response headers policy that you are updating. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The version of the response headers policy that you are updating. - The version is returned in the cache policy’s - ETagfield in the response to- GetResponseHeadersPolicyConfig.
 
- On success, responds with UpdateResponseHeadersPolicyOutputwith field(s):- response_headers_policy(Option<ResponseHeadersPolicy>):- A response headers policy. 
- e_tag(Option<String>):- The current version of the response headers policy. 
 
- On failure, responds with SdkError<UpdateResponseHeadersPolicyError>
source§impl Client
 
impl Client
sourcepub fn update_streaming_distribution(
    &self
) -> UpdateStreamingDistributionFluentBuilder
 
pub fn update_streaming_distribution( &self ) -> UpdateStreamingDistributionFluentBuilder
Constructs a fluent builder for the UpdateStreamingDistribution operation.
- The fluent builder is configurable:
- streaming_distribution_config(StreamingDistributionConfig)/- set_streaming_distribution_config(Option<StreamingDistributionConfig>):- The streaming distribution’s configuration information. 
- id(impl ::std::convert::Into<String>)/- set_id(Option<String>):- The streaming distribution’s id. 
- if_match(impl ::std::convert::Into<String>)/- set_if_match(Option<String>):- The value of the - ETagheader that you received when retrieving the streaming distribution’s configuration. For example:- E2QWRUHAPOMQZL.
 
- On success, responds with UpdateStreamingDistributionOutputwith field(s):- streaming_distribution(Option<StreamingDistribution>):- The streaming distribution’s information. 
- e_tag(Option<String>):- The current version of the configuration. For example: - E2QWRUHAPOMQZL.
 
- On failure, responds with SdkError<UpdateStreamingDistributionError>
source§impl Client
 
impl Client
sourcepub fn from_conf(conf: Config) -> Self
 
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
Panics
- This method will panic if the confis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it.
- This method will panic if the confis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.
source§impl Client
 
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
 
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it.
- This method will panic if the sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.