Struct aws_sdk_cloudfront::client::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.
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
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn associate_alias(&self) -> AssociateAlias
pub fn associate_alias(&self) -> AssociateAlias
Constructs a fluent builder for the AssociateAlias operation.
- The fluent builder is configurable:
target_distribution_id(impl Into<String>)/set_target_distribution_id(Option<String>):The ID of the distribution that you’re associating the alias with.
alias(impl 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>
sourcepub fn create_cache_policy(&self) -> CreateCachePolicy
pub fn create_cache_policy(&self) -> CreateCachePolicy
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>
sourcepub fn create_cloud_front_origin_access_identity(
&self
) -> CreateCloudFrontOriginAccessIdentity
pub fn create_cloud_front_origin_access_identity(
&self
) -> CreateCloudFrontOriginAccessIdentity
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>
sourcepub fn create_distribution(&self) -> CreateDistribution
pub fn create_distribution(&self) -> CreateDistribution
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>
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>
sourcepub fn create_field_level_encryption_config(
&self
) -> CreateFieldLevelEncryptionConfig
pub fn create_field_level_encryption_config(
&self
) -> CreateFieldLevelEncryptionConfig
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>
sourcepub fn create_field_level_encryption_profile(
&self
) -> CreateFieldLevelEncryptionProfile
pub fn create_field_level_encryption_profile(
&self
) -> CreateFieldLevelEncryptionProfile
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>
sourcepub fn create_function(&self) -> CreateFunction
pub fn create_function(&self) -> CreateFunction
Constructs a fluent builder for the CreateFunction operation.
- The fluent builder is configurable:
name(impl 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>
sourcepub fn create_invalidation(&self) -> CreateInvalidation
pub fn create_invalidation(&self) -> CreateInvalidation
Constructs a fluent builder for the CreateInvalidation operation.
- The fluent builder is configurable:
distribution_id(impl 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>
sourcepub fn create_key_group(&self) -> CreateKeyGroup
pub fn create_key_group(&self) -> CreateKeyGroup
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>
sourcepub fn create_monitoring_subscription(&self) -> CreateMonitoringSubscription
pub fn create_monitoring_subscription(&self) -> CreateMonitoringSubscription
Constructs a fluent builder for the CreateMonitoringSubscription operation.
- The fluent builder is configurable:
distribution_id(impl 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>
sourcepub fn create_origin_access_control(&self) -> CreateOriginAccessControl
pub fn create_origin_access_control(&self) -> CreateOriginAccessControl
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>
sourcepub fn create_origin_request_policy(&self) -> CreateOriginRequestPolicy
pub fn create_origin_request_policy(&self) -> CreateOriginRequestPolicy
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>
sourcepub fn create_public_key(&self) -> CreatePublicKey
pub fn create_public_key(&self) -> CreatePublicKey
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>
sourcepub fn create_realtime_log_config(&self) -> CreateRealtimeLogConfig
pub fn create_realtime_log_config(&self) -> CreateRealtimeLogConfig
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 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>
sourcepub fn create_response_headers_policy(&self) -> CreateResponseHeadersPolicy
pub fn create_response_headers_policy(&self) -> CreateResponseHeadersPolicy
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 response 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>
sourcepub fn create_streaming_distribution(&self) -> CreateStreamingDistribution
pub fn create_streaming_distribution(&self) -> CreateStreamingDistribution
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>
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>
sourcepub fn delete_cache_policy(&self) -> DeleteCachePolicy
pub fn delete_cache_policy(&self) -> DeleteCachePolicy
Constructs a fluent builder for the DeleteCachePolicy operation.
- The fluent builder is configurable:
id(impl 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 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 usingListCachePolicies,GetCachePolicy, orGetCachePolicyConfig.
- On success, responds with
DeleteCachePolicyOutput - On failure, responds with
SdkError<DeleteCachePolicyError>
sourcepub fn delete_cloud_front_origin_access_identity(
&self
) -> DeleteCloudFrontOriginAccessIdentity
pub fn delete_cloud_front_origin_access_identity(
&self
) -> DeleteCloudFrontOriginAccessIdentity
Constructs a fluent builder for the DeleteCloudFrontOriginAccessIdentity operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The origin access identity’s ID.
if_match(impl Into<String>)/set_if_match(Option<String>):The value of the
ETagheader you received from a previousGETorPUTrequest. For example:E2QWRUHAPOMQZL.
- On success, responds with
DeleteCloudFrontOriginAccessIdentityOutput - On failure, responds with
SdkError<DeleteCloudFrontOriginAccessIdentityError>
sourcepub fn delete_distribution(&self) -> DeleteDistribution
pub fn delete_distribution(&self) -> DeleteDistribution
Constructs a fluent builder for the DeleteDistribution operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The distribution ID.
if_match(impl 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>
sourcepub fn delete_field_level_encryption_config(
&self
) -> DeleteFieldLevelEncryptionConfig
pub fn delete_field_level_encryption_config(
&self
) -> DeleteFieldLevelEncryptionConfig
Constructs a fluent builder for the DeleteFieldLevelEncryptionConfig operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the configuration you want to delete from CloudFront.
if_match(impl 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>
sourcepub fn delete_field_level_encryption_profile(
&self
) -> DeleteFieldLevelEncryptionProfile
pub fn delete_field_level_encryption_profile(
&self
) -> DeleteFieldLevelEncryptionProfile
Constructs a fluent builder for the DeleteFieldLevelEncryptionProfile operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):Request the ID of the profile you want to delete from CloudFront.
if_match(impl 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>
sourcepub fn delete_function(&self) -> DeleteFunction
pub fn delete_function(&self) -> DeleteFunction
Constructs a fluent builder for the DeleteFunction operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the function that you are deleting.
if_match(impl Into<String>)/set_if_match(Option<String>):The current version (
ETagvalue) of the function that you are deleting, which you can get usingDescribeFunction.
- On success, responds with
DeleteFunctionOutput - On failure, responds with
SdkError<DeleteFunctionError>
sourcepub fn delete_key_group(&self) -> DeleteKeyGroup
pub fn delete_key_group(&self) -> DeleteKeyGroup
Constructs a fluent builder for the DeleteKeyGroup operation.
- The fluent builder is configurable:
id(impl 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 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 theETag, useGetKeyGrouporGetKeyGroupConfig.
- On success, responds with
DeleteKeyGroupOutput - On failure, responds with
SdkError<DeleteKeyGroupError>
sourcepub fn delete_monitoring_subscription(&self) -> DeleteMonitoringSubscription
pub fn delete_monitoring_subscription(&self) -> DeleteMonitoringSubscription
Constructs a fluent builder for the DeleteMonitoringSubscription operation.
- The fluent builder is configurable:
distribution_id(impl 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>
sourcepub fn delete_origin_access_control(&self) -> DeleteOriginAccessControl
pub fn delete_origin_access_control(&self) -> DeleteOriginAccessControl
Constructs a fluent builder for the DeleteOriginAccessControl operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The unique identifier of the origin access control that you are deleting.
if_match(impl 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>
sourcepub fn delete_origin_request_policy(&self) -> DeleteOriginRequestPolicy
pub fn delete_origin_request_policy(&self) -> DeleteOriginRequestPolicy
Constructs a fluent builder for the DeleteOriginRequestPolicy operation.
- The fluent builder is configurable:
id(impl 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 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 usingListOriginRequestPolicies,GetOriginRequestPolicy, orGetOriginRequestPolicyConfig.
- On success, responds with
DeleteOriginRequestPolicyOutput - On failure, responds with
SdkError<DeleteOriginRequestPolicyError>
sourcepub fn delete_public_key(&self) -> DeletePublicKey
pub fn delete_public_key(&self) -> DeletePublicKey
Constructs a fluent builder for the DeletePublicKey operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the public key you want to remove from CloudFront.
if_match(impl 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>
sourcepub fn delete_realtime_log_config(&self) -> DeleteRealtimeLogConfig
pub fn delete_realtime_log_config(&self) -> DeleteRealtimeLogConfig
Constructs a fluent builder for the DeleteRealtimeLogConfig operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the real-time log configuration to delete.
arn(impl 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>
sourcepub fn delete_response_headers_policy(&self) -> DeleteResponseHeadersPolicy
pub fn delete_response_headers_policy(&self) -> DeleteResponseHeadersPolicy
Constructs a fluent builder for the DeleteResponseHeadersPolicy operation.
- The fluent builder is configurable:
id(impl 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 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 usingListResponseHeadersPolicies,GetResponseHeadersPolicy, orGetResponseHeadersPolicyConfig.
- On success, responds with
DeleteResponseHeadersPolicyOutput - On failure, responds with
SdkError<DeleteResponseHeadersPolicyError>
sourcepub fn delete_streaming_distribution(&self) -> DeleteStreamingDistribution
pub fn delete_streaming_distribution(&self) -> DeleteStreamingDistribution
Constructs a fluent builder for the DeleteStreamingDistribution operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The distribution ID.
if_match(impl 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>
sourcepub fn describe_function(&self) -> DescribeFunction
pub fn describe_function(&self) -> DescribeFunction
Constructs a fluent builder for the DescribeFunction operation.
- The fluent builder is configurable:
name(impl 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
DEVELOPMENTorLIVE.
- 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>
sourcepub fn get_cache_policy(&self) -> GetCachePolicy
pub fn get_cache_policy(&self) -> GetCachePolicy
Constructs a fluent builder for the GetCachePolicy operation.
- The fluent builder is configurable:
id(impl 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
ListDistributionsorGetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier usingListCachePolicies.
- 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>
sourcepub fn get_cache_policy_config(&self) -> GetCachePolicyConfig
pub fn get_cache_policy_config(&self) -> GetCachePolicyConfig
Constructs a fluent builder for the GetCachePolicyConfig operation.
- The fluent builder is configurable:
id(impl 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
ListDistributionsorGetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier usingListCachePolicies.
- 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>
sourcepub fn get_cloud_front_origin_access_identity(
&self
) -> GetCloudFrontOriginAccessIdentity
pub fn get_cloud_front_origin_access_identity(
&self
) -> GetCloudFrontOriginAccessIdentity
Constructs a fluent builder for the GetCloudFrontOriginAccessIdentity operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_cloud_front_origin_access_identity_config(
&self
) -> GetCloudFrontOriginAccessIdentityConfig
pub fn get_cloud_front_origin_access_identity_config(
&self
) -> GetCloudFrontOriginAccessIdentityConfig
Constructs a fluent builder for the GetCloudFrontOriginAccessIdentityConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_distribution(&self) -> GetDistribution
pub fn get_distribution(&self) -> GetDistribution
Constructs a fluent builder for the GetDistribution operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_distribution_config(&self) -> GetDistributionConfig
pub fn get_distribution_config(&self) -> GetDistributionConfig
Constructs a fluent builder for the GetDistributionConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_field_level_encryption(&self) -> GetFieldLevelEncryption
pub fn get_field_level_encryption(&self) -> GetFieldLevelEncryption
Constructs a fluent builder for the GetFieldLevelEncryption operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_field_level_encryption_config(&self) -> GetFieldLevelEncryptionConfig
pub fn get_field_level_encryption_config(&self) -> GetFieldLevelEncryptionConfig
Constructs a fluent builder for the GetFieldLevelEncryptionConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_field_level_encryption_profile(
&self
) -> GetFieldLevelEncryptionProfile
pub fn get_field_level_encryption_profile(
&self
) -> GetFieldLevelEncryptionProfile
Constructs a fluent builder for the GetFieldLevelEncryptionProfile operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_field_level_encryption_profile_config(
&self
) -> GetFieldLevelEncryptionProfileConfig
pub fn get_field_level_encryption_profile_config(
&self
) -> GetFieldLevelEncryptionProfileConfig
Constructs a fluent builder for the GetFieldLevelEncryptionProfileConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_function(&self) -> GetFunction
pub fn get_function(&self) -> GetFunction
Constructs a fluent builder for the GetFunction operation.
- The fluent builder is configurable:
name(impl 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
DEVELOPMENTorLIVE.
- 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>
sourcepub fn get_invalidation(&self) -> GetInvalidation
pub fn get_invalidation(&self) -> GetInvalidation
Constructs a fluent builder for the GetInvalidation operation.
- The fluent builder is configurable:
distribution_id(impl Into<String>)/set_distribution_id(Option<String>):The distribution’s ID.
id(impl 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>
sourcepub fn get_key_group(&self) -> GetKeyGroup
pub fn get_key_group(&self) -> GetKeyGroup
Constructs a fluent builder for the GetKeyGroup operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_key_group_config(&self) -> GetKeyGroupConfig
pub fn get_key_group_config(&self) -> GetKeyGroupConfig
Constructs a fluent builder for the GetKeyGroupConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_monitoring_subscription(&self) -> GetMonitoringSubscription
pub fn get_monitoring_subscription(&self) -> GetMonitoringSubscription
Constructs a fluent builder for the GetMonitoringSubscription operation.
- The fluent builder is configurable:
distribution_id(impl 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>
sourcepub fn get_origin_access_control(&self) -> GetOriginAccessControl
pub fn get_origin_access_control(&self) -> GetOriginAccessControl
Constructs a fluent builder for the GetOriginAccessControl operation.
- The fluent builder is configurable:
id(impl 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.
e_tag(Option<String>):The version identifier for the current version of the origin access control.
- On failure, responds with
SdkError<GetOriginAccessControlError>
sourcepub fn get_origin_access_control_config(&self) -> GetOriginAccessControlConfig
pub fn get_origin_access_control_config(&self) -> GetOriginAccessControlConfig
Constructs a fluent builder for the GetOriginAccessControlConfig operation.
- The fluent builder is configurable:
id(impl 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.
e_tag(Option<String>):The version identifier for the current version of the origin access control.
- On failure, responds with
SdkError<GetOriginAccessControlConfigError>
sourcepub fn get_origin_request_policy(&self) -> GetOriginRequestPolicy
pub fn get_origin_request_policy(&self) -> GetOriginRequestPolicy
Constructs a fluent builder for the GetOriginRequestPolicy operation.
- The fluent builder is configurable:
id(impl 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
ListDistributionsorGetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier usingListOriginRequestPolicies.
- 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>
sourcepub fn get_origin_request_policy_config(&self) -> GetOriginRequestPolicyConfig
pub fn get_origin_request_policy_config(&self) -> GetOriginRequestPolicyConfig
Constructs a fluent builder for the GetOriginRequestPolicyConfig operation.
- The fluent builder is configurable:
id(impl 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
ListDistributionsorGetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier usingListOriginRequestPolicies.
- 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>
sourcepub fn get_public_key(&self) -> GetPublicKey
pub fn get_public_key(&self) -> GetPublicKey
Constructs a fluent builder for the GetPublicKey operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_public_key_config(&self) -> GetPublicKeyConfig
pub fn get_public_key_config(&self) -> GetPublicKeyConfig
Constructs a fluent builder for the GetPublicKeyConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_realtime_log_config(&self) -> GetRealtimeLogConfig
pub fn get_realtime_log_config(&self) -> GetRealtimeLogConfig
Constructs a fluent builder for the GetRealtimeLogConfig operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the real-time log configuration to get.
arn(impl 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>
sourcepub fn get_response_headers_policy(&self) -> GetResponseHeadersPolicy
pub fn get_response_headers_policy(&self) -> GetResponseHeadersPolicy
Constructs a fluent builder for the GetResponseHeadersPolicy operation.
- The fluent builder is configurable:
id(impl 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
ListDistributionsorGetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier usingListResponseHeadersPolicies.
- 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>
sourcepub fn get_response_headers_policy_config(
&self
) -> GetResponseHeadersPolicyConfig
pub fn get_response_headers_policy_config(
&self
) -> GetResponseHeadersPolicyConfig
Constructs a fluent builder for the GetResponseHeadersPolicyConfig operation.
- The fluent builder is configurable:
id(impl 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
ListDistributionsorGetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier usingListResponseHeadersPolicies.
- 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>
sourcepub fn get_streaming_distribution(&self) -> GetStreamingDistribution
pub fn get_streaming_distribution(&self) -> GetStreamingDistribution
Constructs a fluent builder for the GetStreamingDistribution operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn get_streaming_distribution_config(
&self
) -> GetStreamingDistributionConfig
pub fn get_streaming_distribution_config(
&self
) -> GetStreamingDistributionConfig
Constructs a fluent builder for the GetStreamingDistributionConfig operation.
- The fluent builder is configurable:
id(impl 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>
sourcepub fn list_cache_policies(&self) -> ListCachePolicies
pub fn list_cache_policies(&self) -> ListCachePolicies
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 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>
sourcepub fn list_cloud_front_origin_access_identities(
&self
) -> ListCloudFrontOriginAccessIdentities
pub fn list_cloud_front_origin_access_identities(
&self
) -> ListCloudFrontOriginAccessIdentities
Constructs a fluent builder for the ListCloudFrontOriginAccessIdentities operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
marker(impl 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 theNextMarkerfrom 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>
sourcepub fn list_conflicting_aliases(&self) -> ListConflictingAliases
pub fn list_conflicting_aliases(&self) -> ListConflictingAliases
Constructs a fluent builder for the ListConflictingAliases operation.
- The fluent builder is configurable:
distribution_id(impl 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 Into<String>)/set_alias(Option<String>):The alias (also called a CNAME) to search for conflicting aliases.
marker(impl 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>
sourcepub fn list_distributions(&self) -> ListDistributions
pub fn list_distributions(&self) -> ListDistributions
Constructs a fluent builder for the ListDistributions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
marker(impl 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 theNextMarkerfrom 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>
sourcepub fn list_distributions_by_cache_policy_id(
&self
) -> ListDistributionsByCachePolicyId
pub fn list_distributions_by_cache_policy_id(
&self
) -> ListDistributionsByCachePolicyId
Constructs a fluent builder for the ListDistributionsByCachePolicyId operation.
- The fluent builder is configurable:
marker(impl 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 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>
sourcepub fn list_distributions_by_key_group(&self) -> ListDistributionsByKeyGroup
pub fn list_distributions_by_key_group(&self) -> ListDistributionsByKeyGroup
Constructs a fluent builder for the ListDistributionsByKeyGroup operation.
- The fluent builder is configurable:
marker(impl 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 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>
sourcepub fn list_distributions_by_origin_request_policy_id(
&self
) -> ListDistributionsByOriginRequestPolicyId
pub fn list_distributions_by_origin_request_policy_id(
&self
) -> ListDistributionsByOriginRequestPolicyId
Constructs a fluent builder for the ListDistributionsByOriginRequestPolicyId operation.
- The fluent builder is configurable:
marker(impl 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 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>
sourcepub fn list_distributions_by_realtime_log_config(
&self
) -> ListDistributionsByRealtimeLogConfig
pub fn list_distributions_by_realtime_log_config(
&self
) -> ListDistributionsByRealtimeLogConfig
Constructs a fluent builder for the ListDistributionsByRealtimeLogConfig operation.
- The fluent builder is configurable:
marker(impl 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 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 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>
sourcepub fn list_distributions_by_response_headers_policy_id(
&self
) -> ListDistributionsByResponseHeadersPolicyId
pub fn list_distributions_by_response_headers_policy_id(
&self
) -> ListDistributionsByResponseHeadersPolicyId
Constructs a fluent builder for the ListDistributionsByResponseHeadersPolicyId operation.
- The fluent builder is configurable:
marker(impl 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 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>
sourcepub fn list_distributions_by_web_acl_id(&self) -> ListDistributionsByWebACLId
pub fn list_distributions_by_web_acl_id(&self) -> ListDistributionsByWebACLId
Constructs a fluent builder for the ListDistributionsByWebACLId operation.
- The fluent builder is configurable:
marker(impl Into<String>)/set_marker(Option<String>):Use
MarkerandMaxItemsto control pagination of results. If you have more thanMaxItemsdistributions that satisfy the request, the response includes aNextMarkerelement. To get the next page of results, submit another request. For the value ofMarker, specify the value ofNextMarkerfrom the last response. (For the first request, omitMarker.)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 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>
sourcepub fn list_field_level_encryption_configs(
&self
) -> ListFieldLevelEncryptionConfigs
pub fn list_field_level_encryption_configs(
&self
) -> ListFieldLevelEncryptionConfigs
Constructs a fluent builder for the ListFieldLevelEncryptionConfigs operation.
- The fluent builder is configurable:
marker(impl 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 theNextMarkerfrom 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>
sourcepub fn list_field_level_encryption_profiles(
&self
) -> ListFieldLevelEncryptionProfiles
pub fn list_field_level_encryption_profiles(
&self
) -> ListFieldLevelEncryptionProfiles
Constructs a fluent builder for the ListFieldLevelEncryptionProfiles operation.
- The fluent builder is configurable:
marker(impl 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 theNextMarkerfrom 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>
sourcepub fn list_functions(&self) -> ListFunctions
pub fn list_functions(&self) -> ListFunctions
Constructs a fluent builder for the ListFunctions operation.
- The fluent builder is configurable:
marker(impl 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
DEVELOPMENTorLIVE.
- On success, responds with
ListFunctionsOutputwith field(s):function_list(Option<FunctionList>):A list of CloudFront functions.
- On failure, responds with
SdkError<ListFunctionsError>
sourcepub fn list_invalidations(&self) -> ListInvalidations
pub fn list_invalidations(&self) -> ListInvalidations
Constructs a fluent builder for the ListInvalidations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
distribution_id(impl Into<String>)/set_distribution_id(Option<String>):The distribution’s ID.
marker(impl 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 theNextMarkerfrom 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>
sourcepub fn list_key_groups(&self) -> ListKeyGroups
pub fn list_key_groups(&self) -> ListKeyGroups
Constructs a fluent builder for the ListKeyGroups operation.
- The fluent builder is configurable:
marker(impl 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>
sourcepub fn list_origin_access_controls(&self) -> ListOriginAccessControls
pub fn list_origin_access_controls(&self) -> ListOriginAccessControls
Constructs a fluent builder for the ListOriginAccessControls operation.
- The fluent builder is configurable:
marker(impl 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>
sourcepub fn list_origin_request_policies(&self) -> ListOriginRequestPolicies
pub fn list_origin_request_policies(&self) -> ListOriginRequestPolicies
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 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>
sourcepub fn list_public_keys(&self) -> ListPublicKeys
pub fn list_public_keys(&self) -> ListPublicKeys
Constructs a fluent builder for the ListPublicKeys operation.
- The fluent builder is configurable:
marker(impl 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 theNextMarkerfrom 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>
sourcepub fn list_realtime_log_configs(&self) -> ListRealtimeLogConfigs
pub fn list_realtime_log_configs(&self) -> ListRealtimeLogConfigs
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 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>
sourcepub fn list_response_headers_policies(&self) -> ListResponseHeadersPolicies
pub fn list_response_headers_policies(&self) -> ListResponseHeadersPolicies
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 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>
sourcepub fn list_streaming_distributions(&self) -> ListStreamingDistributions
pub fn list_streaming_distributions(&self) -> ListStreamingDistributions
Constructs a fluent builder for the ListStreamingDistributions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
marker(impl 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>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource(impl 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>
sourcepub fn publish_function(&self) -> PublishFunction
pub fn publish_function(&self) -> PublishFunction
Constructs a fluent builder for the PublishFunction operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the function that you are publishing.
if_match(impl Into<String>)/set_if_match(Option<String>):The current version (
ETagvalue) of the function that you are publishing, which you can get usingDescribeFunction.
- 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>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource(impl 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>
sourcepub fn test_function(&self) -> TestFunction
pub fn test_function(&self) -> TestFunction
Constructs a fluent builder for the TestFunction operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the function that you are testing.
if_match(impl Into<String>)/set_if_match(Option<String>):The current version (
ETagvalue) of the function that you are testing, which you can get usingDescribeFunction.stage(FunctionStage)/set_stage(Option<FunctionStage>):The stage of the function that you are testing, either
DEVELOPMENTorLIVE.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>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource(impl 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>
sourcepub fn update_cache_policy(&self) -> UpdateCachePolicy
pub fn update_cache_policy(&self) -> UpdateCachePolicy
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 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 toGetDistributionConfig.if_match(impl 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 toGetCachePolicyConfig.
- 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>
sourcepub fn update_cloud_front_origin_access_identity(
&self
) -> UpdateCloudFrontOriginAccessIdentity
pub fn update_cloud_front_origin_access_identity(
&self
) -> UpdateCloudFrontOriginAccessIdentity
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 Into<String>)/set_id(Option<String>):The identity’s id.
if_match(impl 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>
sourcepub fn update_distribution(&self) -> UpdateDistribution
pub fn update_distribution(&self) -> UpdateDistribution
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 Into<String>)/set_id(Option<String>):The distribution’s id.
if_match(impl 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>
sourcepub fn update_field_level_encryption_config(
&self
) -> UpdateFieldLevelEncryptionConfig
pub fn update_field_level_encryption_config(
&self
) -> UpdateFieldLevelEncryptionConfig
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 Into<String>)/set_id(Option<String>):The ID of the configuration you want to update.
if_match(impl 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>
sourcepub fn update_field_level_encryption_profile(
&self
) -> UpdateFieldLevelEncryptionProfile
pub fn update_field_level_encryption_profile(
&self
) -> UpdateFieldLevelEncryptionProfile
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 Into<String>)/set_id(Option<String>):The ID of the field-level encryption profile request.
if_match(impl 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>
sourcepub fn update_function(&self) -> UpdateFunction
pub fn update_function(&self) -> UpdateFunction
Constructs a fluent builder for the UpdateFunction operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the function that you are updating.
if_match(impl Into<String>)/set_if_match(Option<String>):The current version (
ETagvalue) of the function that you are updating, which you can get usingDescribeFunction.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>
sourcepub fn update_key_group(&self) -> UpdateKeyGroup
pub fn update_key_group(&self) -> UpdateKeyGroup
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 Into<String>)/set_id(Option<String>):The identifier of the key group that you are updating.
if_match(impl 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>
sourcepub fn update_origin_access_control(&self) -> UpdateOriginAccessControl
pub fn update_origin_access_control(&self) -> UpdateOriginAccessControl
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 Into<String>)/set_id(Option<String>):The unique identifier of the origin access control that you are updating.
if_match(impl 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>
sourcepub fn update_origin_request_policy(&self) -> UpdateOriginRequestPolicy
pub fn update_origin_request_policy(&self) -> UpdateOriginRequestPolicy
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 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 toGetDistributionConfig.if_match(impl 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 toGetOriginRequestPolicyConfig.
- 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>
sourcepub fn update_public_key(&self) -> UpdatePublicKey
pub fn update_public_key(&self) -> UpdatePublicKey
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 Into<String>)/set_id(Option<String>):The identifier of the public key that you are updating.
if_match(impl 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>
sourcepub fn update_realtime_log_config(&self) -> UpdateRealtimeLogConfig
pub fn update_realtime_log_config(&self) -> UpdateRealtimeLogConfig
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 Into<String>)/set_name(Option<String>):The name for this real-time log configuration.
arn(impl 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>
sourcepub fn update_response_headers_policy(&self) -> UpdateResponseHeadersPolicy
pub fn update_response_headers_policy(&self) -> UpdateResponseHeadersPolicy
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 Into<String>)/set_id(Option<String>):The identifier for the response headers policy that you are updating.
if_match(impl 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 toGetResponseHeadersPolicyConfig.
- 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>
sourcepub fn update_streaming_distribution(&self) -> UpdateStreamingDistribution
pub fn update_streaming_distribution(&self) -> UpdateStreamingDistribution
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 Into<String>)/set_id(Option<String>):The streaming distribution’s id.
if_match(impl 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>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more