Struct aws_sdk_cloudfront::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }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.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_cloudfront::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_cloudfront::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_cloudfront::Client::from_conf(config);Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AssociateAlias operation.
See AssociateAlias for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCachePolicy operation.
See CreateCachePolicy for more information about the
operation and its arguments.
pub fn create_cloud_front_origin_access_identity(
&self
) -> CreateCloudFrontOriginAccessIdentity<C, M, R>
pub fn create_cloud_front_origin_access_identity(
&self
) -> CreateCloudFrontOriginAccessIdentity<C, M, R>
Constructs a fluent builder for the CreateCloudFrontOriginAccessIdentity operation.
See CreateCloudFrontOriginAccessIdentity for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateDistribution operation.
See CreateDistribution for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateDistributionWithTags operation.
See CreateDistributionWithTags for more information about the
operation and its arguments.
pub fn create_field_level_encryption_config(
&self
) -> CreateFieldLevelEncryptionConfig<C, M, R>
pub fn create_field_level_encryption_config(
&self
) -> CreateFieldLevelEncryptionConfig<C, M, R>
Constructs a fluent builder for the CreateFieldLevelEncryptionConfig operation.
See CreateFieldLevelEncryptionConfig for more information about the
operation and its arguments.
pub fn create_field_level_encryption_profile(
&self
) -> CreateFieldLevelEncryptionProfile<C, M, R>
pub fn create_field_level_encryption_profile(
&self
) -> CreateFieldLevelEncryptionProfile<C, M, R>
Constructs a fluent builder for the CreateFieldLevelEncryptionProfile operation.
See CreateFieldLevelEncryptionProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateFunction operation.
See CreateFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateInvalidation operation.
See CreateInvalidation for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateKeyGroup operation.
See CreateKeyGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateMonitoringSubscription operation.
See CreateMonitoringSubscription for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateOriginRequestPolicy operation.
See CreateOriginRequestPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the CreatePublicKey operation.
See CreatePublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateRealtimeLogConfig operation.
See CreateRealtimeLogConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateResponseHeadersPolicy operation.
See CreateResponseHeadersPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateStreamingDistribution operation.
See CreateStreamingDistribution for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateStreamingDistributionWithTags operation.
See CreateStreamingDistributionWithTags for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCachePolicy operation.
See DeleteCachePolicy for more information about the
operation and its arguments.
pub fn delete_cloud_front_origin_access_identity(
&self
) -> DeleteCloudFrontOriginAccessIdentity<C, M, R>
pub fn delete_cloud_front_origin_access_identity(
&self
) -> DeleteCloudFrontOriginAccessIdentity<C, M, R>
Constructs a fluent builder for the DeleteCloudFrontOriginAccessIdentity operation.
See DeleteCloudFrontOriginAccessIdentity for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteDistribution operation.
See DeleteDistribution for more information about the
operation and its arguments.
pub fn delete_field_level_encryption_config(
&self
) -> DeleteFieldLevelEncryptionConfig<C, M, R>
pub fn delete_field_level_encryption_config(
&self
) -> DeleteFieldLevelEncryptionConfig<C, M, R>
Constructs a fluent builder for the DeleteFieldLevelEncryptionConfig operation.
See DeleteFieldLevelEncryptionConfig for more information about the
operation and its arguments.
pub fn delete_field_level_encryption_profile(
&self
) -> DeleteFieldLevelEncryptionProfile<C, M, R>
pub fn delete_field_level_encryption_profile(
&self
) -> DeleteFieldLevelEncryptionProfile<C, M, R>
Constructs a fluent builder for the DeleteFieldLevelEncryptionProfile operation.
See DeleteFieldLevelEncryptionProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteFunction operation.
See DeleteFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteKeyGroup operation.
See DeleteKeyGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteMonitoringSubscription operation.
See DeleteMonitoringSubscription for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteOriginRequestPolicy operation.
See DeleteOriginRequestPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeletePublicKey operation.
See DeletePublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRealtimeLogConfig operation.
See DeleteRealtimeLogConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteResponseHeadersPolicy operation.
See DeleteResponseHeadersPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteStreamingDistribution operation.
See DeleteStreamingDistribution for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeFunction operation.
See DescribeFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the GetCachePolicy operation.
See GetCachePolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetCachePolicyConfig operation.
See GetCachePolicyConfig for more information about the
operation and its arguments.
pub fn get_cloud_front_origin_access_identity(
&self
) -> GetCloudFrontOriginAccessIdentity<C, M, R>
pub fn get_cloud_front_origin_access_identity(
&self
) -> GetCloudFrontOriginAccessIdentity<C, M, R>
Constructs a fluent builder for the GetCloudFrontOriginAccessIdentity operation.
See GetCloudFrontOriginAccessIdentity for more information about the
operation and its arguments.
pub fn get_cloud_front_origin_access_identity_config(
&self
) -> GetCloudFrontOriginAccessIdentityConfig<C, M, R>
pub fn get_cloud_front_origin_access_identity_config(
&self
) -> GetCloudFrontOriginAccessIdentityConfig<C, M, R>
Constructs a fluent builder for the GetCloudFrontOriginAccessIdentityConfig operation.
See GetCloudFrontOriginAccessIdentityConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDistribution operation.
See GetDistribution for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDistributionConfig operation.
See GetDistributionConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFieldLevelEncryption operation.
See GetFieldLevelEncryption for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFieldLevelEncryptionConfig operation.
See GetFieldLevelEncryptionConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFieldLevelEncryptionProfile operation.
See GetFieldLevelEncryptionProfile for more information about the
operation and its arguments.
pub fn get_field_level_encryption_profile_config(
&self
) -> GetFieldLevelEncryptionProfileConfig<C, M, R>
pub fn get_field_level_encryption_profile_config(
&self
) -> GetFieldLevelEncryptionProfileConfig<C, M, R>
Constructs a fluent builder for the GetFieldLevelEncryptionProfileConfig operation.
See GetFieldLevelEncryptionProfileConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFunction operation.
See GetFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the GetInvalidation operation.
See GetInvalidation for more information about the
operation and its arguments.
Constructs a fluent builder for the GetKeyGroup operation.
See GetKeyGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the GetKeyGroupConfig operation.
See GetKeyGroupConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetMonitoringSubscription operation.
See GetMonitoringSubscription for more information about the
operation and its arguments.
Constructs a fluent builder for the GetOriginRequestPolicy operation.
See GetOriginRequestPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetOriginRequestPolicyConfig operation.
See GetOriginRequestPolicyConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPublicKey operation.
See GetPublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPublicKeyConfig operation.
See GetPublicKeyConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetRealtimeLogConfig operation.
See GetRealtimeLogConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetResponseHeadersPolicy operation.
See GetResponseHeadersPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the GetResponseHeadersPolicyConfig operation.
See GetResponseHeadersPolicyConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the GetStreamingDistribution operation.
See GetStreamingDistribution for more information about the
operation and its arguments.
Constructs a fluent builder for the GetStreamingDistributionConfig operation.
See GetStreamingDistributionConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the ListCachePolicies operation.
See ListCachePolicies for more information about the
operation and its arguments.
pub fn list_cloud_front_origin_access_identities(
&self
) -> ListCloudFrontOriginAccessIdentities<C, M, R>
pub fn list_cloud_front_origin_access_identities(
&self
) -> ListCloudFrontOriginAccessIdentities<C, M, R>
Constructs a fluent builder for the ListCloudFrontOriginAccessIdentities operation.
See ListCloudFrontOriginAccessIdentities for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListConflictingAliases operation.
See ListConflictingAliases for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDistributions operation.
See ListDistributions for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
pub fn list_distributions_by_cache_policy_id(
&self
) -> ListDistributionsByCachePolicyId<C, M, R>
pub fn list_distributions_by_cache_policy_id(
&self
) -> ListDistributionsByCachePolicyId<C, M, R>
Constructs a fluent builder for the ListDistributionsByCachePolicyId operation.
See ListDistributionsByCachePolicyId for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDistributionsByKeyGroup operation.
See ListDistributionsByKeyGroup for more information about the
operation and its arguments.
pub fn list_distributions_by_origin_request_policy_id(
&self
) -> ListDistributionsByOriginRequestPolicyId<C, M, R>
pub fn list_distributions_by_origin_request_policy_id(
&self
) -> ListDistributionsByOriginRequestPolicyId<C, M, R>
Constructs a fluent builder for the ListDistributionsByOriginRequestPolicyId operation.
See ListDistributionsByOriginRequestPolicyId for more information about the
operation and its arguments.
pub fn list_distributions_by_realtime_log_config(
&self
) -> ListDistributionsByRealtimeLogConfig<C, M, R>
pub fn list_distributions_by_realtime_log_config(
&self
) -> ListDistributionsByRealtimeLogConfig<C, M, R>
Constructs a fluent builder for the ListDistributionsByRealtimeLogConfig operation.
See ListDistributionsByRealtimeLogConfig for more information about the
operation and its arguments.
pub fn list_distributions_by_response_headers_policy_id(
&self
) -> ListDistributionsByResponseHeadersPolicyId<C, M, R>
pub fn list_distributions_by_response_headers_policy_id(
&self
) -> ListDistributionsByResponseHeadersPolicyId<C, M, R>
Constructs a fluent builder for the ListDistributionsByResponseHeadersPolicyId operation.
See ListDistributionsByResponseHeadersPolicyId for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDistributionsByWebACLId operation.
See ListDistributionsByWebACLId for more information about the
operation and its arguments.
Constructs a fluent builder for the ListFieldLevelEncryptionConfigs operation.
See ListFieldLevelEncryptionConfigs for more information about the
operation and its arguments.
pub fn list_field_level_encryption_profiles(
&self
) -> ListFieldLevelEncryptionProfiles<C, M, R>
pub fn list_field_level_encryption_profiles(
&self
) -> ListFieldLevelEncryptionProfiles<C, M, R>
Constructs a fluent builder for the ListFieldLevelEncryptionProfiles operation.
See ListFieldLevelEncryptionProfiles for more information about the
operation and its arguments.
Constructs a fluent builder for the ListFunctions operation.
See ListFunctions for more information about the
operation and its arguments.
Constructs a fluent builder for the ListInvalidations operation.
See ListInvalidations for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListKeyGroups operation.
See ListKeyGroups for more information about the
operation and its arguments.
Constructs a fluent builder for the ListOriginRequestPolicies operation.
See ListOriginRequestPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListPublicKeys operation.
See ListPublicKeys for more information about the
operation and its arguments.
Constructs a fluent builder for the ListRealtimeLogConfigs operation.
See ListRealtimeLogConfigs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListResponseHeadersPolicies operation.
See ListResponseHeadersPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the ListStreamingDistributions operation.
See ListStreamingDistributions for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator().
Constructs a fluent builder for the ListTagsForResource operation.
See ListTagsForResource for more information about the
operation and its arguments.
Constructs a fluent builder for the PublishFunction operation.
See PublishFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource operation.
See TagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the TestFunction operation.
See TestFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource operation.
See UntagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateCachePolicy operation.
See UpdateCachePolicy for more information about the
operation and its arguments.
pub fn update_cloud_front_origin_access_identity(
&self
) -> UpdateCloudFrontOriginAccessIdentity<C, M, R>
pub fn update_cloud_front_origin_access_identity(
&self
) -> UpdateCloudFrontOriginAccessIdentity<C, M, R>
Constructs a fluent builder for the UpdateCloudFrontOriginAccessIdentity operation.
See UpdateCloudFrontOriginAccessIdentity for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateDistribution operation.
See UpdateDistribution for more information about the
operation and its arguments.
pub fn update_field_level_encryption_config(
&self
) -> UpdateFieldLevelEncryptionConfig<C, M, R>
pub fn update_field_level_encryption_config(
&self
) -> UpdateFieldLevelEncryptionConfig<C, M, R>
Constructs a fluent builder for the UpdateFieldLevelEncryptionConfig operation.
See UpdateFieldLevelEncryptionConfig for more information about the
operation and its arguments.
pub fn update_field_level_encryption_profile(
&self
) -> UpdateFieldLevelEncryptionProfile<C, M, R>
pub fn update_field_level_encryption_profile(
&self
) -> UpdateFieldLevelEncryptionProfile<C, M, R>
Constructs a fluent builder for the UpdateFieldLevelEncryptionProfile operation.
See UpdateFieldLevelEncryptionProfile for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateFunction operation.
See UpdateFunction for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateKeyGroup operation.
See UpdateKeyGroup for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateOriginRequestPolicy operation.
See UpdateOriginRequestPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdatePublicKey operation.
See UpdatePublicKey for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateRealtimeLogConfig operation.
See UpdateRealtimeLogConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateResponseHeadersPolicy operation.
See UpdateResponseHeadersPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateStreamingDistribution operation.
See UpdateStreamingDistribution for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
