Struct aws_sdk_cloudfront::client::Client[][src]

pub struct Client<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description

An ergonomic service client for Cloudfront2020_05_31.

This client allows ergonomic access to a Cloudfront2020_05_31-shaped service. Each method corresponds to an endpoint defined in the service’s Smithy model, and the request and response shapes are auto-generated from that same model.

Using a Client

Once you have a client set up, you can access the service’s endpoints by calling the appropriate method on Client. Each such method returns a request builder for that endpoint, with methods for setting the various fields of the request. Once your request is complete, use the send method to send the request. send returns a future, which you then have to .await to get the service’s response.

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

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.

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.

Constructs a fluent builder for the CreateFieldLevelEncryptionConfig operation.

See CreateFieldLevelEncryptionConfig for more information about the operation and its arguments.

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.

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.

Constructs a fluent builder for the DeleteFieldLevelEncryptionConfig operation.

See DeleteFieldLevelEncryptionConfig for more information about the operation and its arguments.

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.

Constructs a fluent builder for the GetCloudFrontOriginAccessIdentity operation.

See GetCloudFrontOriginAccessIdentity for more information about the operation and its arguments.

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.

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.

Constructs a fluent builder for the ListCloudFrontOriginAccessIdentities operation.

See ListCloudFrontOriginAccessIdentities for more information about the operation and its arguments.

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.

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.

Constructs a fluent builder for the ListDistributionsByOriginRequestPolicyId operation.

See ListDistributionsByOriginRequestPolicyId for more information about the operation and its arguments.

Constructs a fluent builder for the ListDistributionsByRealtimeLogConfig operation.

See ListDistributionsByRealtimeLogConfig for more information about the operation and its arguments.

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.

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.

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.

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.

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.

Constructs a fluent builder for the UpdateFieldLevelEncryptionConfig operation.

See UpdateFieldLevelEncryptionConfig for more information about the operation and its arguments.

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.

Creates a new client from a shared config.

Creates a new client from the service Config.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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