Documentation ¶
Overview ¶
Package cloudfront provides the API client, operations, and parameter types for Amazon CloudFront.
Amazon CloudFront ¶
This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AssociateAliasInput
- type AssociateAliasOutput
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) AssociateAlias(ctx context.Context, params *AssociateAliasInput, optFns ...func(*Options)) (*AssociateAliasOutput, error)
- func (c *Client) CopyDistribution(ctx context.Context, params *CopyDistributionInput, optFns ...func(*Options)) (*CopyDistributionOutput, error)
- func (c *Client) CreateCachePolicy(ctx context.Context, params *CreateCachePolicyInput, optFns ...func(*Options)) (*CreateCachePolicyOutput, error)
- func (c *Client) CreateCloudFrontOriginAccessIdentity(ctx context.Context, params *CreateCloudFrontOriginAccessIdentityInput, ...) (*CreateCloudFrontOriginAccessIdentityOutput, error)
- func (c *Client) CreateContinuousDeploymentPolicy(ctx context.Context, params *CreateContinuousDeploymentPolicyInput, ...) (*CreateContinuousDeploymentPolicyOutput, error)
- func (c *Client) CreateDistribution(ctx context.Context, params *CreateDistributionInput, optFns ...func(*Options)) (*CreateDistributionOutput, error)
- func (c *Client) CreateDistributionWithTags(ctx context.Context, params *CreateDistributionWithTagsInput, ...) (*CreateDistributionWithTagsOutput, error)
- func (c *Client) CreateFieldLevelEncryptionConfig(ctx context.Context, params *CreateFieldLevelEncryptionConfigInput, ...) (*CreateFieldLevelEncryptionConfigOutput, error)
- func (c *Client) CreateFieldLevelEncryptionProfile(ctx context.Context, params *CreateFieldLevelEncryptionProfileInput, ...) (*CreateFieldLevelEncryptionProfileOutput, error)
- func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionInput, optFns ...func(*Options)) (*CreateFunctionOutput, error)
- func (c *Client) CreateInvalidation(ctx context.Context, params *CreateInvalidationInput, optFns ...func(*Options)) (*CreateInvalidationOutput, error)
- func (c *Client) CreateKeyGroup(ctx context.Context, params *CreateKeyGroupInput, optFns ...func(*Options)) (*CreateKeyGroupOutput, error)
- func (c *Client) CreateKeyValueStore(ctx context.Context, params *CreateKeyValueStoreInput, ...) (*CreateKeyValueStoreOutput, error)
- func (c *Client) CreateMonitoringSubscription(ctx context.Context, params *CreateMonitoringSubscriptionInput, ...) (*CreateMonitoringSubscriptionOutput, error)
- func (c *Client) CreateOriginAccessControl(ctx context.Context, params *CreateOriginAccessControlInput, ...) (*CreateOriginAccessControlOutput, error)
- func (c *Client) CreateOriginRequestPolicy(ctx context.Context, params *CreateOriginRequestPolicyInput, ...) (*CreateOriginRequestPolicyOutput, error)
- func (c *Client) CreatePublicKey(ctx context.Context, params *CreatePublicKeyInput, optFns ...func(*Options)) (*CreatePublicKeyOutput, error)
- func (c *Client) CreateRealtimeLogConfig(ctx context.Context, params *CreateRealtimeLogConfigInput, ...) (*CreateRealtimeLogConfigOutput, error)
- func (c *Client) CreateResponseHeadersPolicy(ctx context.Context, params *CreateResponseHeadersPolicyInput, ...) (*CreateResponseHeadersPolicyOutput, error)
- func (c *Client) CreateStreamingDistribution(ctx context.Context, params *CreateStreamingDistributionInput, ...) (*CreateStreamingDistributionOutput, error)
- func (c *Client) CreateStreamingDistributionWithTags(ctx context.Context, params *CreateStreamingDistributionWithTagsInput, ...) (*CreateStreamingDistributionWithTagsOutput, error)
- func (c *Client) DeleteCachePolicy(ctx context.Context, params *DeleteCachePolicyInput, optFns ...func(*Options)) (*DeleteCachePolicyOutput, error)
- func (c *Client) DeleteCloudFrontOriginAccessIdentity(ctx context.Context, params *DeleteCloudFrontOriginAccessIdentityInput, ...) (*DeleteCloudFrontOriginAccessIdentityOutput, error)
- func (c *Client) DeleteContinuousDeploymentPolicy(ctx context.Context, params *DeleteContinuousDeploymentPolicyInput, ...) (*DeleteContinuousDeploymentPolicyOutput, error)
- func (c *Client) DeleteDistribution(ctx context.Context, params *DeleteDistributionInput, optFns ...func(*Options)) (*DeleteDistributionOutput, error)
- func (c *Client) DeleteFieldLevelEncryptionConfig(ctx context.Context, params *DeleteFieldLevelEncryptionConfigInput, ...) (*DeleteFieldLevelEncryptionConfigOutput, error)
- func (c *Client) DeleteFieldLevelEncryptionProfile(ctx context.Context, params *DeleteFieldLevelEncryptionProfileInput, ...) (*DeleteFieldLevelEncryptionProfileOutput, error)
- func (c *Client) DeleteFunction(ctx context.Context, params *DeleteFunctionInput, optFns ...func(*Options)) (*DeleteFunctionOutput, error)
- func (c *Client) DeleteKeyGroup(ctx context.Context, params *DeleteKeyGroupInput, optFns ...func(*Options)) (*DeleteKeyGroupOutput, error)
- func (c *Client) DeleteKeyValueStore(ctx context.Context, params *DeleteKeyValueStoreInput, ...) (*DeleteKeyValueStoreOutput, error)
- func (c *Client) DeleteMonitoringSubscription(ctx context.Context, params *DeleteMonitoringSubscriptionInput, ...) (*DeleteMonitoringSubscriptionOutput, error)
- func (c *Client) DeleteOriginAccessControl(ctx context.Context, params *DeleteOriginAccessControlInput, ...) (*DeleteOriginAccessControlOutput, error)
- func (c *Client) DeleteOriginRequestPolicy(ctx context.Context, params *DeleteOriginRequestPolicyInput, ...) (*DeleteOriginRequestPolicyOutput, error)
- func (c *Client) DeletePublicKey(ctx context.Context, params *DeletePublicKeyInput, optFns ...func(*Options)) (*DeletePublicKeyOutput, error)
- func (c *Client) DeleteRealtimeLogConfig(ctx context.Context, params *DeleteRealtimeLogConfigInput, ...) (*DeleteRealtimeLogConfigOutput, error)
- func (c *Client) DeleteResponseHeadersPolicy(ctx context.Context, params *DeleteResponseHeadersPolicyInput, ...) (*DeleteResponseHeadersPolicyOutput, error)
- func (c *Client) DeleteStreamingDistribution(ctx context.Context, params *DeleteStreamingDistributionInput, ...) (*DeleteStreamingDistributionOutput, error)
- func (c *Client) DescribeFunction(ctx context.Context, params *DescribeFunctionInput, optFns ...func(*Options)) (*DescribeFunctionOutput, error)
- func (c *Client) DescribeKeyValueStore(ctx context.Context, params *DescribeKeyValueStoreInput, ...) (*DescribeKeyValueStoreOutput, error)
- func (c *Client) GetCachePolicy(ctx context.Context, params *GetCachePolicyInput, optFns ...func(*Options)) (*GetCachePolicyOutput, error)
- func (c *Client) GetCachePolicyConfig(ctx context.Context, params *GetCachePolicyConfigInput, ...) (*GetCachePolicyConfigOutput, error)
- func (c *Client) GetCloudFrontOriginAccessIdentity(ctx context.Context, params *GetCloudFrontOriginAccessIdentityInput, ...) (*GetCloudFrontOriginAccessIdentityOutput, error)
- func (c *Client) GetCloudFrontOriginAccessIdentityConfig(ctx context.Context, params *GetCloudFrontOriginAccessIdentityConfigInput, ...) (*GetCloudFrontOriginAccessIdentityConfigOutput, error)
- func (c *Client) GetContinuousDeploymentPolicy(ctx context.Context, params *GetContinuousDeploymentPolicyInput, ...) (*GetContinuousDeploymentPolicyOutput, error)
- func (c *Client) GetContinuousDeploymentPolicyConfig(ctx context.Context, params *GetContinuousDeploymentPolicyConfigInput, ...) (*GetContinuousDeploymentPolicyConfigOutput, error)
- func (c *Client) GetDistribution(ctx context.Context, params *GetDistributionInput, optFns ...func(*Options)) (*GetDistributionOutput, error)
- func (c *Client) GetDistributionConfig(ctx context.Context, params *GetDistributionConfigInput, ...) (*GetDistributionConfigOutput, error)
- func (c *Client) GetFieldLevelEncryption(ctx context.Context, params *GetFieldLevelEncryptionInput, ...) (*GetFieldLevelEncryptionOutput, error)
- func (c *Client) GetFieldLevelEncryptionConfig(ctx context.Context, params *GetFieldLevelEncryptionConfigInput, ...) (*GetFieldLevelEncryptionConfigOutput, error)
- func (c *Client) GetFieldLevelEncryptionProfile(ctx context.Context, params *GetFieldLevelEncryptionProfileInput, ...) (*GetFieldLevelEncryptionProfileOutput, error)
- func (c *Client) GetFieldLevelEncryptionProfileConfig(ctx context.Context, params *GetFieldLevelEncryptionProfileConfigInput, ...) (*GetFieldLevelEncryptionProfileConfigOutput, error)
- func (c *Client) GetFunction(ctx context.Context, params *GetFunctionInput, optFns ...func(*Options)) (*GetFunctionOutput, error)
- func (c *Client) GetInvalidation(ctx context.Context, params *GetInvalidationInput, optFns ...func(*Options)) (*GetInvalidationOutput, error)
- func (c *Client) GetKeyGroup(ctx context.Context, params *GetKeyGroupInput, optFns ...func(*Options)) (*GetKeyGroupOutput, error)
- func (c *Client) GetKeyGroupConfig(ctx context.Context, params *GetKeyGroupConfigInput, optFns ...func(*Options)) (*GetKeyGroupConfigOutput, error)
- func (c *Client) GetMonitoringSubscription(ctx context.Context, params *GetMonitoringSubscriptionInput, ...) (*GetMonitoringSubscriptionOutput, error)
- func (c *Client) GetOriginAccessControl(ctx context.Context, params *GetOriginAccessControlInput, ...) (*GetOriginAccessControlOutput, error)
- func (c *Client) GetOriginAccessControlConfig(ctx context.Context, params *GetOriginAccessControlConfigInput, ...) (*GetOriginAccessControlConfigOutput, error)
- func (c *Client) GetOriginRequestPolicy(ctx context.Context, params *GetOriginRequestPolicyInput, ...) (*GetOriginRequestPolicyOutput, error)
- func (c *Client) GetOriginRequestPolicyConfig(ctx context.Context, params *GetOriginRequestPolicyConfigInput, ...) (*GetOriginRequestPolicyConfigOutput, error)
- func (c *Client) GetPublicKey(ctx context.Context, params *GetPublicKeyInput, optFns ...func(*Options)) (*GetPublicKeyOutput, error)
- func (c *Client) GetPublicKeyConfig(ctx context.Context, params *GetPublicKeyConfigInput, optFns ...func(*Options)) (*GetPublicKeyConfigOutput, error)
- func (c *Client) GetRealtimeLogConfig(ctx context.Context, params *GetRealtimeLogConfigInput, ...) (*GetRealtimeLogConfigOutput, error)
- func (c *Client) GetResponseHeadersPolicy(ctx context.Context, params *GetResponseHeadersPolicyInput, ...) (*GetResponseHeadersPolicyOutput, error)
- func (c *Client) GetResponseHeadersPolicyConfig(ctx context.Context, params *GetResponseHeadersPolicyConfigInput, ...) (*GetResponseHeadersPolicyConfigOutput, error)
- func (c *Client) GetStreamingDistribution(ctx context.Context, params *GetStreamingDistributionInput, ...) (*GetStreamingDistributionOutput, error)
- func (c *Client) GetStreamingDistributionConfig(ctx context.Context, params *GetStreamingDistributionConfigInput, ...) (*GetStreamingDistributionConfigOutput, error)
- func (c *Client) ListCachePolicies(ctx context.Context, params *ListCachePoliciesInput, optFns ...func(*Options)) (*ListCachePoliciesOutput, error)
- func (c *Client) ListCloudFrontOriginAccessIdentities(ctx context.Context, params *ListCloudFrontOriginAccessIdentitiesInput, ...) (*ListCloudFrontOriginAccessIdentitiesOutput, error)
- func (c *Client) ListConflictingAliases(ctx context.Context, params *ListConflictingAliasesInput, ...) (*ListConflictingAliasesOutput, error)
- func (c *Client) ListContinuousDeploymentPolicies(ctx context.Context, params *ListContinuousDeploymentPoliciesInput, ...) (*ListContinuousDeploymentPoliciesOutput, error)
- func (c *Client) ListDistributions(ctx context.Context, params *ListDistributionsInput, optFns ...func(*Options)) (*ListDistributionsOutput, error)
- func (c *Client) ListDistributionsByCachePolicyId(ctx context.Context, params *ListDistributionsByCachePolicyIdInput, ...) (*ListDistributionsByCachePolicyIdOutput, error)
- func (c *Client) ListDistributionsByKeyGroup(ctx context.Context, params *ListDistributionsByKeyGroupInput, ...) (*ListDistributionsByKeyGroupOutput, error)
- func (c *Client) ListDistributionsByOriginRequestPolicyId(ctx context.Context, params *ListDistributionsByOriginRequestPolicyIdInput, ...) (*ListDistributionsByOriginRequestPolicyIdOutput, error)
- func (c *Client) ListDistributionsByRealtimeLogConfig(ctx context.Context, params *ListDistributionsByRealtimeLogConfigInput, ...) (*ListDistributionsByRealtimeLogConfigOutput, error)
- func (c *Client) ListDistributionsByResponseHeadersPolicyId(ctx context.Context, params *ListDistributionsByResponseHeadersPolicyIdInput, ...) (*ListDistributionsByResponseHeadersPolicyIdOutput, error)
- func (c *Client) ListDistributionsByWebACLId(ctx context.Context, params *ListDistributionsByWebACLIdInput, ...) (*ListDistributionsByWebACLIdOutput, error)
- func (c *Client) ListFieldLevelEncryptionConfigs(ctx context.Context, params *ListFieldLevelEncryptionConfigsInput, ...) (*ListFieldLevelEncryptionConfigsOutput, error)
- func (c *Client) ListFieldLevelEncryptionProfiles(ctx context.Context, params *ListFieldLevelEncryptionProfilesInput, ...) (*ListFieldLevelEncryptionProfilesOutput, error)
- func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsInput, optFns ...func(*Options)) (*ListFunctionsOutput, error)
- func (c *Client) ListInvalidations(ctx context.Context, params *ListInvalidationsInput, optFns ...func(*Options)) (*ListInvalidationsOutput, error)
- func (c *Client) ListKeyGroups(ctx context.Context, params *ListKeyGroupsInput, optFns ...func(*Options)) (*ListKeyGroupsOutput, error)
- func (c *Client) ListKeyValueStores(ctx context.Context, params *ListKeyValueStoresInput, optFns ...func(*Options)) (*ListKeyValueStoresOutput, error)
- func (c *Client) ListOriginAccessControls(ctx context.Context, params *ListOriginAccessControlsInput, ...) (*ListOriginAccessControlsOutput, error)
- func (c *Client) ListOriginRequestPolicies(ctx context.Context, params *ListOriginRequestPoliciesInput, ...) (*ListOriginRequestPoliciesOutput, error)
- func (c *Client) ListPublicKeys(ctx context.Context, params *ListPublicKeysInput, optFns ...func(*Options)) (*ListPublicKeysOutput, error)
- func (c *Client) ListRealtimeLogConfigs(ctx context.Context, params *ListRealtimeLogConfigsInput, ...) (*ListRealtimeLogConfigsOutput, error)
- func (c *Client) ListResponseHeadersPolicies(ctx context.Context, params *ListResponseHeadersPoliciesInput, ...) (*ListResponseHeadersPoliciesOutput, error)
- func (c *Client) ListStreamingDistributions(ctx context.Context, params *ListStreamingDistributionsInput, ...) (*ListStreamingDistributionsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) PublishFunction(ctx context.Context, params *PublishFunctionInput, optFns ...func(*Options)) (*PublishFunctionOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) TestFunction(ctx context.Context, params *TestFunctionInput, optFns ...func(*Options)) (*TestFunctionOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateCachePolicy(ctx context.Context, params *UpdateCachePolicyInput, optFns ...func(*Options)) (*UpdateCachePolicyOutput, error)
- func (c *Client) UpdateCloudFrontOriginAccessIdentity(ctx context.Context, params *UpdateCloudFrontOriginAccessIdentityInput, ...) (*UpdateCloudFrontOriginAccessIdentityOutput, error)
- func (c *Client) UpdateContinuousDeploymentPolicy(ctx context.Context, params *UpdateContinuousDeploymentPolicyInput, ...) (*UpdateContinuousDeploymentPolicyOutput, error)
- func (c *Client) UpdateDistribution(ctx context.Context, params *UpdateDistributionInput, optFns ...func(*Options)) (*UpdateDistributionOutput, error)
- func (c *Client) UpdateDistributionWithStagingConfig(ctx context.Context, params *UpdateDistributionWithStagingConfigInput, ...) (*UpdateDistributionWithStagingConfigOutput, error)
- func (c *Client) UpdateFieldLevelEncryptionConfig(ctx context.Context, params *UpdateFieldLevelEncryptionConfigInput, ...) (*UpdateFieldLevelEncryptionConfigOutput, error)
- func (c *Client) UpdateFieldLevelEncryptionProfile(ctx context.Context, params *UpdateFieldLevelEncryptionProfileInput, ...) (*UpdateFieldLevelEncryptionProfileOutput, error)
- func (c *Client) UpdateFunction(ctx context.Context, params *UpdateFunctionInput, optFns ...func(*Options)) (*UpdateFunctionOutput, error)
- func (c *Client) UpdateKeyGroup(ctx context.Context, params *UpdateKeyGroupInput, optFns ...func(*Options)) (*UpdateKeyGroupOutput, error)
- func (c *Client) UpdateKeyValueStore(ctx context.Context, params *UpdateKeyValueStoreInput, ...) (*UpdateKeyValueStoreOutput, error)
- func (c *Client) UpdateOriginAccessControl(ctx context.Context, params *UpdateOriginAccessControlInput, ...) (*UpdateOriginAccessControlOutput, error)
- func (c *Client) UpdateOriginRequestPolicy(ctx context.Context, params *UpdateOriginRequestPolicyInput, ...) (*UpdateOriginRequestPolicyOutput, error)
- func (c *Client) UpdatePublicKey(ctx context.Context, params *UpdatePublicKeyInput, optFns ...func(*Options)) (*UpdatePublicKeyOutput, error)
- func (c *Client) UpdateRealtimeLogConfig(ctx context.Context, params *UpdateRealtimeLogConfigInput, ...) (*UpdateRealtimeLogConfigOutput, error)
- func (c *Client) UpdateResponseHeadersPolicy(ctx context.Context, params *UpdateResponseHeadersPolicyInput, ...) (*UpdateResponseHeadersPolicyOutput, error)
- func (c *Client) UpdateStreamingDistribution(ctx context.Context, params *UpdateStreamingDistributionInput, ...) (*UpdateStreamingDistributionOutput, error)
- type CopyDistributionInput
- type CopyDistributionOutput
- type CreateCachePolicyInput
- type CreateCachePolicyOutput
- type CreateCloudFrontOriginAccessIdentityInput
- type CreateCloudFrontOriginAccessIdentityOutput
- type CreateContinuousDeploymentPolicyInput
- type CreateContinuousDeploymentPolicyOutput
- type CreateDistributionInput
- type CreateDistributionOutput
- type CreateDistributionWithTagsInput
- type CreateDistributionWithTagsOutput
- type CreateFieldLevelEncryptionConfigInput
- type CreateFieldLevelEncryptionConfigOutput
- type CreateFieldLevelEncryptionProfileInput
- type CreateFieldLevelEncryptionProfileOutput
- type CreateFunctionInput
- type CreateFunctionOutput
- type CreateInvalidationInput
- type CreateInvalidationOutput
- type CreateKeyGroupInput
- type CreateKeyGroupOutput
- type CreateKeyValueStoreInput
- type CreateKeyValueStoreOutput
- type CreateMonitoringSubscriptionInput
- type CreateMonitoringSubscriptionOutput
- type CreateOriginAccessControlInput
- type CreateOriginAccessControlOutput
- type CreateOriginRequestPolicyInput
- type CreateOriginRequestPolicyOutput
- type CreatePublicKeyInput
- type CreatePublicKeyOutput
- type CreateRealtimeLogConfigInput
- type CreateRealtimeLogConfigOutput
- type CreateResponseHeadersPolicyInput
- type CreateResponseHeadersPolicyOutput
- type CreateStreamingDistributionInput
- type CreateStreamingDistributionOutput
- type CreateStreamingDistributionWithTagsInput
- type CreateStreamingDistributionWithTagsOutput
- type DeleteCachePolicyInput
- type DeleteCachePolicyOutput
- type DeleteCloudFrontOriginAccessIdentityInput
- type DeleteCloudFrontOriginAccessIdentityOutput
- type DeleteContinuousDeploymentPolicyInput
- type DeleteContinuousDeploymentPolicyOutput
- type DeleteDistributionInput
- type DeleteDistributionOutput
- type DeleteFieldLevelEncryptionConfigInput
- type DeleteFieldLevelEncryptionConfigOutput
- type DeleteFieldLevelEncryptionProfileInput
- type DeleteFieldLevelEncryptionProfileOutput
- type DeleteFunctionInput
- type DeleteFunctionOutput
- type DeleteKeyGroupInput
- type DeleteKeyGroupOutput
- type DeleteKeyValueStoreInput
- type DeleteKeyValueStoreOutput
- type DeleteMonitoringSubscriptionInput
- type DeleteMonitoringSubscriptionOutput
- type DeleteOriginAccessControlInput
- type DeleteOriginAccessControlOutput
- type DeleteOriginRequestPolicyInput
- type DeleteOriginRequestPolicyOutput
- type DeletePublicKeyInput
- type DeletePublicKeyOutput
- type DeleteRealtimeLogConfigInput
- type DeleteRealtimeLogConfigOutput
- type DeleteResponseHeadersPolicyInput
- type DeleteResponseHeadersPolicyOutput
- type DeleteStreamingDistributionInput
- type DeleteStreamingDistributionOutput
- type DescribeFunctionInput
- type DescribeFunctionOutput
- type DescribeKeyValueStoreInput
- type DescribeKeyValueStoreOutput
- type DistributionDeployedWaiter
- type DistributionDeployedWaiterOptions
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetCachePolicyConfigInput
- type GetCachePolicyConfigOutput
- type GetCachePolicyInput
- type GetCachePolicyOutput
- type GetCloudFrontOriginAccessIdentityConfigInput
- type GetCloudFrontOriginAccessIdentityConfigOutput
- type GetCloudFrontOriginAccessIdentityInput
- type GetCloudFrontOriginAccessIdentityOutput
- type GetContinuousDeploymentPolicyConfigInput
- type GetContinuousDeploymentPolicyConfigOutput
- type GetContinuousDeploymentPolicyInput
- type GetContinuousDeploymentPolicyOutput
- type GetDistributionAPIClient
- type GetDistributionConfigInput
- type GetDistributionConfigOutput
- type GetDistributionInput
- type GetDistributionOutput
- type GetFieldLevelEncryptionConfigInput
- type GetFieldLevelEncryptionConfigOutput
- type GetFieldLevelEncryptionInput
- type GetFieldLevelEncryptionOutput
- type GetFieldLevelEncryptionProfileConfigInput
- type GetFieldLevelEncryptionProfileConfigOutput
- type GetFieldLevelEncryptionProfileInput
- type GetFieldLevelEncryptionProfileOutput
- type GetFunctionInput
- type GetFunctionOutput
- type GetInvalidationAPIClient
- type GetInvalidationInput
- type GetInvalidationOutput
- type GetKeyGroupConfigInput
- type GetKeyGroupConfigOutput
- type GetKeyGroupInput
- type GetKeyGroupOutput
- type GetMonitoringSubscriptionInput
- type GetMonitoringSubscriptionOutput
- type GetOriginAccessControlConfigInput
- type GetOriginAccessControlConfigOutput
- type GetOriginAccessControlInput
- type GetOriginAccessControlOutput
- type GetOriginRequestPolicyConfigInput
- type GetOriginRequestPolicyConfigOutput
- type GetOriginRequestPolicyInput
- type GetOriginRequestPolicyOutput
- type GetPublicKeyConfigInput
- type GetPublicKeyConfigOutput
- type GetPublicKeyInput
- type GetPublicKeyOutput
- type GetRealtimeLogConfigInput
- type GetRealtimeLogConfigOutput
- type GetResponseHeadersPolicyConfigInput
- type GetResponseHeadersPolicyConfigOutput
- type GetResponseHeadersPolicyInput
- type GetResponseHeadersPolicyOutput
- type GetStreamingDistributionAPIClient
- type GetStreamingDistributionConfigInput
- type GetStreamingDistributionConfigOutput
- type GetStreamingDistributionInput
- type GetStreamingDistributionOutput
- type HTTPClient
- type HTTPSignerV4
- type InvalidationCompletedWaiter
- type InvalidationCompletedWaiterOptions
- type ListCachePoliciesInput
- type ListCachePoliciesOutput
- type ListCloudFrontOriginAccessIdentitiesAPIClient
- type ListCloudFrontOriginAccessIdentitiesInput
- type ListCloudFrontOriginAccessIdentitiesOutput
- type ListCloudFrontOriginAccessIdentitiesPaginator
- type ListCloudFrontOriginAccessIdentitiesPaginatorOptions
- type ListConflictingAliasesInput
- type ListConflictingAliasesOutput
- type ListContinuousDeploymentPoliciesInput
- type ListContinuousDeploymentPoliciesOutput
- type ListDistributionsAPIClient
- type ListDistributionsByCachePolicyIdInput
- type ListDistributionsByCachePolicyIdOutput
- type ListDistributionsByKeyGroupInput
- type ListDistributionsByKeyGroupOutput
- type ListDistributionsByOriginRequestPolicyIdInput
- type ListDistributionsByOriginRequestPolicyIdOutput
- type ListDistributionsByRealtimeLogConfigInput
- type ListDistributionsByRealtimeLogConfigOutput
- type ListDistributionsByResponseHeadersPolicyIdInput
- type ListDistributionsByResponseHeadersPolicyIdOutput
- type ListDistributionsByWebACLIdInput
- type ListDistributionsByWebACLIdOutput
- type ListDistributionsInput
- type ListDistributionsOutput
- type ListDistributionsPaginator
- type ListDistributionsPaginatorOptions
- type ListFieldLevelEncryptionConfigsInput
- type ListFieldLevelEncryptionConfigsOutput
- type ListFieldLevelEncryptionProfilesInput
- type ListFieldLevelEncryptionProfilesOutput
- type ListFunctionsInput
- type ListFunctionsOutput
- type ListInvalidationsAPIClient
- type ListInvalidationsInput
- type ListInvalidationsOutput
- type ListInvalidationsPaginator
- type ListInvalidationsPaginatorOptions
- type ListKeyGroupsInput
- type ListKeyGroupsOutput
- type ListKeyValueStoresAPIClient
- type ListKeyValueStoresInput
- type ListKeyValueStoresOutput
- type ListKeyValueStoresPaginator
- type ListKeyValueStoresPaginatorOptions
- type ListOriginAccessControlsInput
- type ListOriginAccessControlsOutput
- type ListOriginRequestPoliciesInput
- type ListOriginRequestPoliciesOutput
- type ListPublicKeysInput
- type ListPublicKeysOutput
- type ListRealtimeLogConfigsInput
- type ListRealtimeLogConfigsOutput
- type ListResponseHeadersPoliciesInput
- type ListResponseHeadersPoliciesOutput
- type ListStreamingDistributionsAPIClient
- type ListStreamingDistributionsInput
- type ListStreamingDistributionsOutput
- type ListStreamingDistributionsPaginator
- type ListStreamingDistributionsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type PublishFunctionInput
- type PublishFunctionOutput
- type ResolveEndpoint
- type StreamingDistributionDeployedWaiter
- type StreamingDistributionDeployedWaiterOptions
- type TagResourceInput
- type TagResourceOutput
- type TestFunctionInput
- type TestFunctionOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateCachePolicyInput
- type UpdateCachePolicyOutput
- type UpdateCloudFrontOriginAccessIdentityInput
- type UpdateCloudFrontOriginAccessIdentityOutput
- type UpdateContinuousDeploymentPolicyInput
- type UpdateContinuousDeploymentPolicyOutput
- type UpdateDistributionInput
- type UpdateDistributionOutput
- type UpdateDistributionWithStagingConfigInput
- type UpdateDistributionWithStagingConfigOutput
- type UpdateFieldLevelEncryptionConfigInput
- type UpdateFieldLevelEncryptionConfigOutput
- type UpdateFieldLevelEncryptionProfileInput
- type UpdateFieldLevelEncryptionProfileOutput
- type UpdateFunctionInput
- type UpdateFunctionOutput
- type UpdateKeyGroupInput
- type UpdateKeyGroupOutput
- type UpdateKeyValueStoreInput
- type UpdateKeyValueStoreOutput
- type UpdateOriginAccessControlInput
- type UpdateOriginAccessControlOutput
- type UpdateOriginRequestPolicyInput
- type UpdateOriginRequestPolicyOutput
- type UpdatePublicKeyInput
- type UpdatePublicKeyOutput
- type UpdateRealtimeLogConfigInput
- type UpdateRealtimeLogConfigOutput
- type UpdateResponseHeadersPolicyInput
- type UpdateResponseHeadersPolicyOutput
- type UpdateStreamingDistributionInput
- type UpdateStreamingDistributionOutput
Constants ¶
const ServiceAPIVersion = "2020-05-31"
const ServiceID = "CloudFront"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AssociateAliasInput ¶
type AssociateAliasInput struct { // The alias (also known as a CNAME) to add to the target distribution. // // This member is required. Alias *string // The ID of the distribution that you're associating the alias with. // // This member is required. TargetDistributionId *string // contains filtered or unexported fields }
type AssociateAliasOutput ¶
type AssociateAliasOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon CloudFront.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateAlias ¶
func (c *Client) AssociateAlias(ctx context.Context, params *AssociateAliasInput, optFns ...func(*Options)) (*AssociateAliasOutput, error)
Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.
With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.
To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see Moving an alternate domain name to a different distributionin the Amazon CloudFront Developer Guide.
func (*Client) CopyDistribution ¶
func (c *Client) CopyDistribution(ctx context.Context, params *CopyDistributionInput, optFns ...func(*Options)) (*CopyDistributionOutput, error)
Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.
After you create a staging distribution, you can use UpdateDistribution to modify the staging distribution's configuration. Then you can use CreateContinuousDeploymentPolicy to incrementally move traffic to the staging distribution.
This API operation requires the following IAM permissions:
func (*Client) CreateCachePolicy ¶
func (c *Client) CreateCachePolicy(ctx context.Context, params *CreateCachePolicyInput, optFns ...func(*Options)) (*CreateCachePolicyOutput, error)
Creates a cache policy.
After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:
The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy .
For more information about cache policies, see Controlling the cache key in the Amazon CloudFront Developer Guide.
func (*Client) CreateCloudFrontOriginAccessIdentity ¶
func (c *Client) CreateCloudFrontOriginAccessIdentity(ctx context.Context, params *CreateCloudFrontOriginAccessIdentityInput, optFns ...func(*Options)) (*CreateCloudFrontOriginAccessIdentityOutput, error)
Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see Serving Private Content through CloudFrontin the Amazon CloudFront Developer Guide.
func (*Client) CreateContinuousDeploymentPolicy ¶
func (c *Client) CreateContinuousDeploymentPolicy(ctx context.Context, params *CreateContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*CreateContinuousDeploymentPolicyOutput, error)
Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.
To use a continuous deployment policy, first use CopyDistribution to create a staging distribution, then use UpdateDistribution to modify the staging distribution's configuration.
After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This workflow enables you to test changes to a distribution's configuration before moving all of your domain's production traffic to the new configuration.
func (*Client) CreateDistribution ¶
func (c *Client) CreateDistribution(ctx context.Context, params *CreateDistributionInput, optFns ...func(*Options)) (*CreateDistributionOutput, error)
Creates a CloudFront distribution.
func (*Client) CreateDistributionWithTags ¶
func (c *Client) CreateDistributionWithTags(ctx context.Context, params *CreateDistributionWithTagsInput, optFns ...func(*Options)) (*CreateDistributionWithTagsOutput, error)
Create a new distribution with tags. This API operation requires the following IAM permissions:
func (*Client) CreateFieldLevelEncryptionConfig ¶
func (c *Client) CreateFieldLevelEncryptionConfig(ctx context.Context, params *CreateFieldLevelEncryptionConfigInput, optFns ...func(*Options)) (*CreateFieldLevelEncryptionConfigOutput, error)
Create a new field-level encryption configuration.
func (*Client) CreateFieldLevelEncryptionProfile ¶
func (c *Client) CreateFieldLevelEncryptionProfile(ctx context.Context, params *CreateFieldLevelEncryptionProfileInput, optFns ...func(*Options)) (*CreateFieldLevelEncryptionProfileOutput, error)
Create a field-level encryption profile.
func (*Client) CreateFunction ¶
func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionInput, optFns ...func(*Options)) (*CreateFunctionOutput, error)
Creates a CloudFront function.
To create a function, you provide the function code and some configuration information about the function. The response contains an Amazon Resource Name (ARN) that uniquely identifies the function.
When you create a function, it's in the DEVELOPMENT stage. In this stage, you can test the function with TestFunction , and update it with UpdateFunction .
When you're ready to use your function with a CloudFront distribution, use PublishFunction to copy the function from the DEVELOPMENT stage to LIVE . When it's live, you can attach the function to a distribution's cache behavior, using the function's ARN.
func (*Client) CreateInvalidation ¶
func (c *Client) CreateInvalidation(ctx context.Context, params *CreateInvalidationInput, optFns ...func(*Options)) (*CreateInvalidationOutput, error)
Create a new invalidation. For more information, see Invalidating files in the Amazon CloudFront Developer Guide.
func (*Client) CreateKeyGroup ¶
func (c *Client) CreateKeyGroup(ctx context.Context, params *CreateKeyGroupInput, optFns ...func(*Options)) (*CreateKeyGroupOutput, error)
Creates a key group that you can use with CloudFront signed URLs and signed cookies.
To create a key group, you must specify at least one public key for the key group. After you create a key group, you can reference it from one or more cache behaviors. When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see Serving private contentin the Amazon CloudFront Developer Guide.
func (*Client) CreateKeyValueStore ¶
func (c *Client) CreateKeyValueStore(ctx context.Context, params *CreateKeyValueStoreInput, optFns ...func(*Options)) (*CreateKeyValueStoreOutput, error)
Specifies the key value store resource to add to your account. In your account, the key value store names must be unique. You can also import key value store data in JSON format from an S3 bucket by providing a valid ImportSource that you own.
func (*Client) CreateMonitoringSubscription ¶
func (c *Client) CreateMonitoringSubscription(ctx context.Context, params *CreateMonitoringSubscriptionInput, optFns ...func(*Options)) (*CreateMonitoringSubscriptionOutput, error)
Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.
For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.
func (*Client) CreateOriginAccessControl ¶
func (c *Client) CreateOriginAccessControl(ctx context.Context, params *CreateOriginAccessControlInput, optFns ...func(*Options)) (*CreateOriginAccessControlOutput, error)
Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.
This makes it possible to block public access to the origin, allowing viewers (users) to access the origin's content only through CloudFront.
For more information about using a CloudFront origin access control, see Restricting access to an Amazon Web Services origin in the Amazon CloudFront Developer Guide.
func (*Client) CreateOriginRequestPolicy ¶
func (c *Client) CreateOriginRequestPolicy(ctx context.Context, params *CreateOriginRequestPolicyInput, optFns ...func(*Options)) (*CreateOriginRequestPolicyOutput, error)
Creates an origin request policy.
After you create an origin request policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:
The request body and the URL path (without the domain name) from the viewer request.
The headers that CloudFront automatically includes in every origin request, including Host , User-Agent , and X-Amz-Cf-Id .
All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.
CloudFront sends a request when it can't find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy .
For more information about origin request policies, see Controlling origin requests in the Amazon CloudFront Developer Guide.
func (*Client) CreatePublicKey ¶
func (c *Client) CreatePublicKey(ctx context.Context, params *CreatePublicKeyInput, optFns ...func(*Options)) (*CreatePublicKeyOutput, error)
Uploads a public key to CloudFront that you can use with signed URLs and signed cookies, or with field-level encryption.
func (*Client) CreateRealtimeLogConfig ¶
func (c *Client) CreateRealtimeLogConfig(ctx context.Context, params *CreateRealtimeLogConfigInput, optFns ...func(*Options)) (*CreateRealtimeLogConfigOutput, error)
Creates a real-time log configuration.
After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.
For more information about real-time log configurations, see Real-time logs in the Amazon CloudFront Developer Guide.
func (*Client) CreateResponseHeadersPolicy ¶
func (c *Client) CreateResponseHeadersPolicy(ctx context.Context, params *CreateResponseHeadersPolicyInput, optFns ...func(*Options)) (*CreateResponseHeadersPolicyOutput, error)
Creates a response headers policy.
A response headers policy contains information about a set of HTTP headers. To create a response headers policy, you provide some metadata about the policy and a set of configurations that specify the headers.
After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.
For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.
func (*Client) CreateStreamingDistribution ¶
func (c *Client) CreateStreamingDistribution(ctx context.Context, params *CreateStreamingDistributionInput, optFns ...func(*Options)) (*CreateStreamingDistributionOutput, error)
This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcementon the Amazon CloudFront discussion forum.
func (*Client) CreateStreamingDistributionWithTags ¶
func (c *Client) CreateStreamingDistributionWithTags(ctx context.Context, params *CreateStreamingDistributionWithTagsInput, optFns ...func(*Options)) (*CreateStreamingDistributionWithTagsOutput, error)
This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, read the announcementon the Amazon CloudFront discussion forum.
func (*Client) DeleteCachePolicy ¶
func (c *Client) DeleteCachePolicy(ctx context.Context, params *DeleteCachePolicyInput, optFns ...func(*Options)) (*DeleteCachePolicyOutput, error)
Deletes a cache policy.
You cannot delete a cache policy if it's attached to a cache behavior. First update your distributions to remove the cache policy from all cache behaviors, then delete the cache policy.
To delete a cache policy, you must provide the policy's identifier and version. To get these values, you can use ListCachePolicies or GetCachePolicy .
func (*Client) DeleteCloudFrontOriginAccessIdentity ¶
func (c *Client) DeleteCloudFrontOriginAccessIdentity(ctx context.Context, params *DeleteCloudFrontOriginAccessIdentityInput, optFns ...func(*Options)) (*DeleteCloudFrontOriginAccessIdentityOutput, error)
Delete an origin access identity.
func (*Client) DeleteContinuousDeploymentPolicy ¶
func (c *Client) DeleteContinuousDeploymentPolicy(ctx context.Context, params *DeleteContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*DeleteContinuousDeploymentPolicyOutput, error)
Deletes a continuous deployment policy.
You cannot delete a continuous deployment policy that's attached to a primary distribution. First update your distribution to remove the continuous deployment policy, then you can delete the policy.
func (*Client) DeleteDistribution ¶
func (c *Client) DeleteDistribution(ctx context.Context, params *DeleteDistributionInput, optFns ...func(*Options)) (*DeleteDistributionOutput, error)
Delete a distribution.
func (*Client) DeleteFieldLevelEncryptionConfig ¶
func (c *Client) DeleteFieldLevelEncryptionConfig(ctx context.Context, params *DeleteFieldLevelEncryptionConfigInput, optFns ...func(*Options)) (*DeleteFieldLevelEncryptionConfigOutput, error)
Remove a field-level encryption configuration.
func (*Client) DeleteFieldLevelEncryptionProfile ¶
func (c *Client) DeleteFieldLevelEncryptionProfile(ctx context.Context, params *DeleteFieldLevelEncryptionProfileInput, optFns ...func(*Options)) (*DeleteFieldLevelEncryptionProfileOutput, error)
Remove a field-level encryption profile.
func (*Client) DeleteFunction ¶
func (c *Client) DeleteFunction(ctx context.Context, params *DeleteFunctionInput, optFns ...func(*Options)) (*DeleteFunctionOutput, error)
Deletes a CloudFront function.
You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.
To delete a function, you must provide the function's name and version ( ETag value). To get these values, you can use ListFunctions and DescribeFunction .
func (*Client) DeleteKeyGroup ¶
func (c *Client) DeleteKeyGroup(ctx context.Context, params *DeleteKeyGroupInput, optFns ...func(*Options)) (*DeleteKeyGroupOutput, error)
Deletes a key group.
You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.
To delete a key group, you must provide the key group's identifier and version. To get these values, use ListKeyGroups followed by GetKeyGroup or GetKeyGroupConfig .
func (*Client) DeleteKeyValueStore ¶
func (c *Client) DeleteKeyValueStore(ctx context.Context, params *DeleteKeyValueStoreInput, optFns ...func(*Options)) (*DeleteKeyValueStoreOutput, error)
Specifies the key value store to delete.
func (*Client) DeleteMonitoringSubscription ¶
func (c *Client) DeleteMonitoringSubscription(ctx context.Context, params *DeleteMonitoringSubscriptionInput, optFns ...func(*Options)) (*DeleteMonitoringSubscriptionOutput, error)
Disables additional CloudWatch metrics for the specified CloudFront distribution.
func (*Client) DeleteOriginAccessControl ¶
func (c *Client) DeleteOriginAccessControl(ctx context.Context, params *DeleteOriginAccessControlInput, optFns ...func(*Options)) (*DeleteOriginAccessControlOutput, error)
Deletes a CloudFront origin access control.
You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin access control from all origins, then delete the origin access control.
func (*Client) DeleteOriginRequestPolicy ¶
func (c *Client) DeleteOriginRequestPolicy(ctx context.Context, params *DeleteOriginRequestPolicyInput, optFns ...func(*Options)) (*DeleteOriginRequestPolicyOutput, error)
Deletes an origin request policy.
You cannot delete an origin request policy if it's attached to any cache behaviors. First update your distributions to remove the origin request policy from all cache behaviors, then delete the origin request policy.
To delete an origin request policy, you must provide the policy's identifier and version. To get the identifier, you can use ListOriginRequestPolicies or GetOriginRequestPolicy .
func (*Client) DeletePublicKey ¶
func (c *Client) DeletePublicKey(ctx context.Context, params *DeletePublicKeyInput, optFns ...func(*Options)) (*DeletePublicKeyOutput, error)
Remove a public key you previously added to CloudFront.
func (*Client) DeleteRealtimeLogConfig ¶
func (c *Client) DeleteRealtimeLogConfig(ctx context.Context, params *DeleteRealtimeLogConfigInput, optFns ...func(*Options)) (*DeleteRealtimeLogConfigOutput, error)
Deletes a real-time log configuration.
You cannot delete a real-time log configuration if it's attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.
To delete a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.
func (*Client) DeleteResponseHeadersPolicy ¶
func (c *Client) DeleteResponseHeadersPolicy(ctx context.Context, params *DeleteResponseHeadersPolicyInput, optFns ...func(*Options)) (*DeleteResponseHeadersPolicyOutput, error)
Deletes a response headers policy.
You cannot delete a response headers policy if it's attached to a cache behavior. First update your distributions to remove the response headers policy from all cache behaviors, then delete the response headers policy.
To delete a response headers policy, you must provide the policy's identifier and version. To get these values, you can use ListResponseHeadersPolicies or GetResponseHeadersPolicy .
func (*Client) DeleteStreamingDistribution ¶
func (c *Client) DeleteStreamingDistribution(ctx context.Context, params *DeleteStreamingDistributionInput, optFns ...func(*Options)) (*DeleteStreamingDistributionOutput, error)
Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.
To delete an RTMP distribution using the CloudFront API:
Disable the RTMP distribution.
Submit a GET Streaming Distribution Config request to get the current configuration and the Etag header for the distribution.
Update the XML document that was returned in the response to your GET Streaming Distribution Config request to change the value of Enabled to false .
Submit a PUT Streaming Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2.
Review the response to the PUT Streaming Distribution Config request to confirm that the distribution was successfully disabled.
Submit a GET Streaming Distribution Config request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed .
Submit a DELETE Streaming Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Streaming Distribution Config request in Step 2.
Review the response to your DELETE Streaming Distribution request to confirm that the distribution was successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.
func (*Client) DescribeFunction ¶
func (c *Client) DescribeFunction(ctx context.Context, params *DescribeFunctionInput, optFns ...func(*Options)) (*DescribeFunctionOutput, error)
Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use GetFunction .
To get configuration information and metadata about a function, you must provide the function's name and stage. To get these values, you can use ListFunctions .
func (*Client) DescribeKeyValueStore ¶
func (c *Client) DescribeKeyValueStore(ctx context.Context, params *DescribeKeyValueStoreInput, optFns ...func(*Options)) (*DescribeKeyValueStoreOutput, error)
Specifies the key value store and its configuration.
func (*Client) GetCachePolicy ¶
func (c *Client) GetCachePolicy(ctx context.Context, params *GetCachePolicyInput, optFns ...func(*Options)) (*GetCachePolicyOutput, error)
Gets a cache policy, including the following metadata:
The policy's identifier.
The date and time when the policy was last modified.
To get a cache policy, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution . If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies .
func (*Client) GetCachePolicyConfig ¶
func (c *Client) GetCachePolicyConfig(ctx context.Context, params *GetCachePolicyConfigInput, optFns ...func(*Options)) (*GetCachePolicyConfigOutput, error)
Gets a cache policy configuration.
To get a cache policy configuration, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution . If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies .
func (*Client) GetCloudFrontOriginAccessIdentity ¶
func (c *Client) GetCloudFrontOriginAccessIdentity(ctx context.Context, params *GetCloudFrontOriginAccessIdentityInput, optFns ...func(*Options)) (*GetCloudFrontOriginAccessIdentityOutput, error)
Get the information about an origin access identity.
func (*Client) GetCloudFrontOriginAccessIdentityConfig ¶
func (c *Client) GetCloudFrontOriginAccessIdentityConfig(ctx context.Context, params *GetCloudFrontOriginAccessIdentityConfigInput, optFns ...func(*Options)) (*GetCloudFrontOriginAccessIdentityConfigOutput, error)
Get the configuration information about an origin access identity.
func (*Client) GetContinuousDeploymentPolicy ¶
func (c *Client) GetContinuousDeploymentPolicy(ctx context.Context, params *GetContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*GetContinuousDeploymentPolicyOutput, error)
Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).
func (*Client) GetContinuousDeploymentPolicyConfig ¶
func (c *Client) GetContinuousDeploymentPolicyConfig(ctx context.Context, params *GetContinuousDeploymentPolicyConfigInput, optFns ...func(*Options)) (*GetContinuousDeploymentPolicyConfigOutput, error)
Gets configuration information about a continuous deployment policy.
func (*Client) GetDistribution ¶
func (c *Client) GetDistribution(ctx context.Context, params *GetDistributionInput, optFns ...func(*Options)) (*GetDistributionOutput, error)
Get the information about a distribution.
func (*Client) GetDistributionConfig ¶
func (c *Client) GetDistributionConfig(ctx context.Context, params *GetDistributionConfigInput, optFns ...func(*Options)) (*GetDistributionConfigOutput, error)
Get the configuration information about a distribution.
func (*Client) GetFieldLevelEncryption ¶
func (c *Client) GetFieldLevelEncryption(ctx context.Context, params *GetFieldLevelEncryptionInput, optFns ...func(*Options)) (*GetFieldLevelEncryptionOutput, error)
Get the field-level encryption configuration information.
func (*Client) GetFieldLevelEncryptionConfig ¶
func (c *Client) GetFieldLevelEncryptionConfig(ctx context.Context, params *GetFieldLevelEncryptionConfigInput, optFns ...func(*Options)) (*GetFieldLevelEncryptionConfigOutput, error)
Get the field-level encryption configuration information.
func (*Client) GetFieldLevelEncryptionProfile ¶
func (c *Client) GetFieldLevelEncryptionProfile(ctx context.Context, params *GetFieldLevelEncryptionProfileInput, optFns ...func(*Options)) (*GetFieldLevelEncryptionProfileOutput, error)
Get the field-level encryption profile information.
func (*Client) GetFieldLevelEncryptionProfileConfig ¶
func (c *Client) GetFieldLevelEncryptionProfileConfig(ctx context.Context, params *GetFieldLevelEncryptionProfileConfigInput, optFns ...func(*Options)) (*GetFieldLevelEncryptionProfileConfigOutput, error)
Get the field-level encryption profile configuration information.
func (*Client) GetFunction ¶
func (c *Client) GetFunction(ctx context.Context, params *GetFunctionInput, optFns ...func(*Options)) (*GetFunctionOutput, error)
Gets the code of a CloudFront function. To get configuration information and metadata about a function, use DescribeFunction .
To get a function's code, you must provide the function's name and stage. To get these values, you can use ListFunctions .
func (*Client) GetInvalidation ¶
func (c *Client) GetInvalidation(ctx context.Context, params *GetInvalidationInput, optFns ...func(*Options)) (*GetInvalidationOutput, error)
Get the information about an invalidation.
func (*Client) GetKeyGroup ¶
func (c *Client) GetKeyGroup(ctx context.Context, params *GetKeyGroupInput, optFns ...func(*Options)) (*GetKeyGroupOutput, error)
Gets a key group, including the date and time when the key group was last modified.
To get a key group, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using ListDistributions or GetDistribution . If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups .
func (*Client) GetKeyGroupConfig ¶
func (c *Client) GetKeyGroupConfig(ctx context.Context, params *GetKeyGroupConfigInput, optFns ...func(*Options)) (*GetKeyGroupConfigOutput, error)
Gets a key group configuration.
To get a key group configuration, you must provide the key group's identifier. If the key group is referenced in a distribution's cache behavior, you can get the key group's identifier using ListDistributions or GetDistribution . If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups .
func (*Client) GetMonitoringSubscription ¶
func (c *Client) GetMonitoringSubscription(ctx context.Context, params *GetMonitoringSubscriptionInput, optFns ...func(*Options)) (*GetMonitoringSubscriptionOutput, error)
Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.
func (*Client) GetOriginAccessControl ¶
func (c *Client) GetOriginAccessControl(ctx context.Context, params *GetOriginAccessControlInput, optFns ...func(*Options)) (*GetOriginAccessControlOutput, error)
Gets a CloudFront origin access control, including its unique identifier.
func (*Client) GetOriginAccessControlConfig ¶
func (c *Client) GetOriginAccessControlConfig(ctx context.Context, params *GetOriginAccessControlConfigInput, optFns ...func(*Options)) (*GetOriginAccessControlConfigOutput, error)
Gets a CloudFront origin access control configuration.
func (*Client) GetOriginRequestPolicy ¶
func (c *Client) GetOriginRequestPolicy(ctx context.Context, params *GetOriginRequestPolicyInput, optFns ...func(*Options)) (*GetOriginRequestPolicyOutput, error)
Gets an origin request policy, including the following metadata:
The policy's identifier.
The date and time when the policy was last modified.
To get an origin request policy, you must provide the policy's identifier. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution . If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies .
func (*Client) GetOriginRequestPolicyConfig ¶
func (c *Client) GetOriginRequestPolicyConfig(ctx context.Context, params *GetOriginRequestPolicyConfigInput, optFns ...func(*Options)) (*GetOriginRequestPolicyConfigOutput, error)
Gets an origin request policy configuration.
To get an origin request policy configuration, you must provide the policy's identifier. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution . If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies .
func (*Client) GetPublicKey ¶
func (c *Client) GetPublicKey(ctx context.Context, params *GetPublicKeyInput, optFns ...func(*Options)) (*GetPublicKeyOutput, error)
Gets a public key.
func (*Client) GetPublicKeyConfig ¶
func (c *Client) GetPublicKeyConfig(ctx context.Context, params *GetPublicKeyConfigInput, optFns ...func(*Options)) (*GetPublicKeyConfigOutput, error)
Gets a public key configuration.
func (*Client) GetRealtimeLogConfig ¶
func (c *Client) GetRealtimeLogConfig(ctx context.Context, params *GetRealtimeLogConfigInput, optFns ...func(*Options)) (*GetRealtimeLogConfigOutput, error)
Gets a real-time log configuration.
To get a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to get.
func (*Client) GetResponseHeadersPolicy ¶
func (c *Client) GetResponseHeadersPolicy(ctx context.Context, params *GetResponseHeadersPolicyInput, optFns ...func(*Options)) (*GetResponseHeadersPolicyOutput, error)
Gets a response headers policy, including metadata (the policy's identifier and the date and time when the policy was last modified).
To get a response headers policy, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution . If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies .
func (*Client) GetResponseHeadersPolicyConfig ¶
func (c *Client) GetResponseHeadersPolicyConfig(ctx context.Context, params *GetResponseHeadersPolicyConfigInput, optFns ...func(*Options)) (*GetResponseHeadersPolicyConfigOutput, error)
Gets a response headers policy configuration.
To get a response headers policy configuration, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution . If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies .
func (*Client) GetStreamingDistribution ¶
func (c *Client) GetStreamingDistribution(ctx context.Context, params *GetStreamingDistributionInput, optFns ...func(*Options)) (*GetStreamingDistributionOutput, error)
Gets information about a specified RTMP distribution, including the distribution configuration.
func (*Client) GetStreamingDistributionConfig ¶
func (c *Client) GetStreamingDistributionConfig(ctx context.Context, params *GetStreamingDistributionConfigInput, optFns ...func(*Options)) (*GetStreamingDistributionConfigOutput, error)
Get the configuration information about a streaming distribution.
func (*Client) ListCachePolicies ¶
func (c *Client) ListCachePolicies(ctx context.Context, params *ListCachePoliciesInput, optFns ...func(*Options)) (*ListCachePoliciesOutput, error)
Gets a list of cache policies.
You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListCloudFrontOriginAccessIdentities ¶
func (c *Client) ListCloudFrontOriginAccessIdentities(ctx context.Context, params *ListCloudFrontOriginAccessIdentitiesInput, optFns ...func(*Options)) (*ListCloudFrontOriginAccessIdentitiesOutput, error)
Lists origin access identities.
func (*Client) ListConflictingAliases ¶
func (c *Client) ListConflictingAliases(ctx context.Context, params *ListConflictingAliasesInput, optFns ...func(*Options)) (*ListConflictingAliasesOutput, error)
Gets a list of aliases (also called CNAMEs or alternate domain names) that conflict or overlap with the provided alias, and the associated CloudFront distributions and Amazon Web Services accounts for each conflicting alias. In the returned list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don't own.
Use this operation to find aliases that are in use in CloudFront that conflict or overlap with the provided alias. For example, if you provide www.example.com as input, the returned list can include www.example.com and the overlapping wildcard alternate domain name ( *.example.com ), if they exist. If you provide *.example.com as input, the returned list can include *.example.com and any alternate domain names covered by that wildcard (for example, www.example.com , test.example.com , dev.example.com , and so on), if they exist.
To list conflicting aliases, you provide the alias to search and the ID of a distribution in your account that has an attached SSL/TLS certificate that includes the provided alias. For more information, including how to set up the distribution and certificate, see Moving an alternate domain name to a different distributionin the Amazon CloudFront Developer Guide.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListContinuousDeploymentPolicies ¶
func (c *Client) ListContinuousDeploymentPolicies(ctx context.Context, params *ListContinuousDeploymentPoliciesInput, optFns ...func(*Options)) (*ListContinuousDeploymentPoliciesOutput, error)
Gets a list of the continuous deployment policies in your Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListDistributions ¶
func (c *Client) ListDistributions(ctx context.Context, params *ListDistributionsInput, optFns ...func(*Options)) (*ListDistributionsOutput, error)
List CloudFront distributions.
func (*Client) ListDistributionsByCachePolicyId ¶
func (c *Client) ListDistributionsByCachePolicyId(ctx context.Context, params *ListDistributionsByCachePolicyIdInput, optFns ...func(*Options)) (*ListDistributionsByCachePolicyIdOutput, error)
Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListDistributionsByKeyGroup ¶
func (c *Client) ListDistributionsByKeyGroup(ctx context.Context, params *ListDistributionsByKeyGroupInput, optFns ...func(*Options)) (*ListDistributionsByKeyGroupOutput, error)
Gets a list of distribution IDs for distributions that have a cache behavior that references the specified key group.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListDistributionsByOriginRequestPolicyId ¶
func (c *Client) ListDistributionsByOriginRequestPolicyId(ctx context.Context, params *ListDistributionsByOriginRequestPolicyIdInput, optFns ...func(*Options)) (*ListDistributionsByOriginRequestPolicyIdOutput, error)
Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified origin request policy.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListDistributionsByRealtimeLogConfig ¶
func (c *Client) ListDistributionsByRealtimeLogConfig(ctx context.Context, params *ListDistributionsByRealtimeLogConfigInput, optFns ...func(*Options)) (*ListDistributionsByRealtimeLogConfigOutput, error)
Gets a list of distributions that have a cache behavior that's associated with the specified real-time log configuration.
You can specify the real-time log configuration by its name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to list distributions for.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListDistributionsByResponseHeadersPolicyId ¶
func (c *Client) ListDistributionsByResponseHeadersPolicyId(ctx context.Context, params *ListDistributionsByResponseHeadersPolicyIdInput, optFns ...func(*Options)) (*ListDistributionsByResponseHeadersPolicyIdOutput, error)
Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified response headers policy.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListDistributionsByWebACLId ¶
func (c *Client) ListDistributionsByWebACLId(ctx context.Context, params *ListDistributionsByWebACLIdInput, optFns ...func(*Options)) (*ListDistributionsByWebACLIdOutput, error)
List the distributions that are associated with a specified WAF web ACL.
func (*Client) ListFieldLevelEncryptionConfigs ¶
func (c *Client) ListFieldLevelEncryptionConfigs(ctx context.Context, params *ListFieldLevelEncryptionConfigsInput, optFns ...func(*Options)) (*ListFieldLevelEncryptionConfigsOutput, error)
List all field-level encryption configurations that have been created in CloudFront for this account.
func (*Client) ListFieldLevelEncryptionProfiles ¶
func (c *Client) ListFieldLevelEncryptionProfiles(ctx context.Context, params *ListFieldLevelEncryptionProfilesInput, optFns ...func(*Options)) (*ListFieldLevelEncryptionProfilesOutput, error)
Request a list of field-level encryption profiles that have been created in CloudFront for this account.
func (*Client) ListFunctions ¶
func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsInput, optFns ...func(*Options)) (*ListFunctionsOutput, error)
Gets a list of all CloudFront functions in your Amazon Web Services account.
You can optionally apply a filter to return only the functions that are in the specified stage, either DEVELOPMENT or LIVE .
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListInvalidations ¶
func (c *Client) ListInvalidations(ctx context.Context, params *ListInvalidationsInput, optFns ...func(*Options)) (*ListInvalidationsOutput, error)
Lists invalidation batches.
func (*Client) ListKeyGroups ¶
func (c *Client) ListKeyGroups(ctx context.Context, params *ListKeyGroupsInput, optFns ...func(*Options)) (*ListKeyGroupsOutput, error)
Gets a list of key groups.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListKeyValueStores ¶
func (c *Client) ListKeyValueStores(ctx context.Context, params *ListKeyValueStoresInput, optFns ...func(*Options)) (*ListKeyValueStoresOutput, error)
Specifies the key value stores to list.
func (*Client) ListOriginAccessControls ¶
func (c *Client) ListOriginAccessControls(ctx context.Context, params *ListOriginAccessControlsInput, optFns ...func(*Options)) (*ListOriginAccessControlsOutput, error)
Gets the list of CloudFront origin access controls in this Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send another request that specifies the NextMarker value from the current response as the Marker value in the next request.
func (*Client) ListOriginRequestPolicies ¶
func (c *Client) ListOriginRequestPolicies(ctx context.Context, params *ListOriginRequestPoliciesInput, optFns ...func(*Options)) (*ListOriginRequestPoliciesOutput, error)
Gets a list of origin request policies.
You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListPublicKeys ¶
func (c *Client) ListPublicKeys(ctx context.Context, params *ListPublicKeysInput, optFns ...func(*Options)) (*ListPublicKeysOutput, error)
List all public keys that have been added to CloudFront for this account.
func (*Client) ListRealtimeLogConfigs ¶
func (c *Client) ListRealtimeLogConfigs(ctx context.Context, params *ListRealtimeLogConfigsInput, optFns ...func(*Options)) (*ListRealtimeLogConfigsOutput, error)
Gets a list of real-time log configurations.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListResponseHeadersPolicies ¶
func (c *Client) ListResponseHeadersPolicies(ctx context.Context, params *ListResponseHeadersPoliciesInput, optFns ...func(*Options)) (*ListResponseHeadersPoliciesOutput, error)
Gets a list of response headers policies.
You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account.
You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.
func (*Client) ListStreamingDistributions ¶
func (c *Client) ListStreamingDistributions(ctx context.Context, params *ListStreamingDistributionsInput, optFns ...func(*Options)) (*ListStreamingDistributionsOutput, error)
List streaming distributions.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
List tags for a CloudFront resource.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) PublishFunction ¶
func (c *Client) PublishFunction(ctx context.Context, params *PublishFunctionInput, optFns ...func(*Options)) (*PublishFunctionOutput, error)
Publishes a CloudFront function by copying the function code from the DEVELOPMENT stage to LIVE . This automatically updates all cache behaviors that are using this function to use the newly published copy in the LIVE stage.
When a function is published to the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's Amazon Resource Name (ARN).
To publish a function, you must provide the function's name and version ( ETag value). To get these values, you can use ListFunctions and DescribeFunction .
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Add tags to a CloudFront resource.
func (*Client) TestFunction ¶
func (c *Client) TestFunction(ctx context.Context, params *TestFunctionInput, optFns ...func(*Options)) (*TestFunctionOutput, error)
Tests a CloudFront function.
To test a function, you provide an event object that represents an HTTP request or response that your CloudFront distribution could receive in production. CloudFront runs the function, passing it the event object that you provided, and returns the function's result (the modified event object) in the response. The response also contains function logs and error messages, if any exist. For more information about testing functions, see Testing functionsin the Amazon CloudFront Developer Guide.
To test a function, you provide the function's name and version ( ETag value) along with the event object. To get the function's name and version, you can use ListFunctions and DescribeFunction .
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Remove tags from a CloudFront resource.
func (*Client) UpdateCachePolicy ¶
func (c *Client) UpdateCachePolicy(ctx context.Context, params *UpdateCachePolicyInput, optFns ...func(*Options)) (*UpdateCachePolicyOutput, error)
Updates a cache policy configuration.
When you update a cache policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a cache policy configuration:
Use GetCachePolicyConfig to get the current configuration.
Locally modify the fields in the cache policy configuration that you want to update.
Call UpdateCachePolicy by providing the entire cache policy configuration, including the fields that you modified and those that you didn't.
func (*Client) UpdateCloudFrontOriginAccessIdentity ¶
func (c *Client) UpdateCloudFrontOriginAccessIdentity(ctx context.Context, params *UpdateCloudFrontOriginAccessIdentityInput, optFns ...func(*Options)) (*UpdateCloudFrontOriginAccessIdentityOutput, error)
Update an origin access identity.
func (*Client) UpdateContinuousDeploymentPolicy ¶
func (c *Client) UpdateContinuousDeploymentPolicy(ctx context.Context, params *UpdateContinuousDeploymentPolicyInput, optFns ...func(*Options)) (*UpdateContinuousDeploymentPolicyOutput, error)
Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.
When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration:
Use GetContinuousDeploymentPolicyConfig to get the current configuration.
Locally modify the fields in the continuous deployment policy configuration that you want to update.
Use UpdateContinuousDeploymentPolicy , providing the entire continuous deployment policy configuration, including the fields that you modified and those that you didn't.
func (*Client) UpdateDistribution ¶
func (c *Client) UpdateDistribution(ctx context.Context, params *UpdateDistributionInput, optFns ...func(*Options)) (*UpdateDistributionOutput, error)
Updates the configuration for a CloudFront distribution.
The update process includes getting the current distribution configuration, updating it to make your changes, and then submitting an UpdateDistribution request to make the updates.
To update a web distribution using the CloudFront API
Use GetDistributionConfig to get the current configuration, including the version identifier ( ETag ).
Update the distribution configuration that was returned in the response. Note the following important requirements and restrictions:
You must rename the ETag field to IfMatch , leaving the value unchanged. (Set the value of IfMatch to the value of ETag , then remove the ETag field.)
You can't change the value of CallerReference .
Submit an UpdateDistribution request, providing the distribution configuration. The new configuration replaces the existing configuration. The values that you specify in an UpdateDistribution request are not merged into your existing configuration. Make sure to include all fields: the ones that you modified and also the ones that you didn't.
func (*Client) UpdateDistributionWithStagingConfig ¶
func (c *Client) UpdateDistributionWithStagingConfig(ctx context.Context, params *UpdateDistributionWithStagingConfigInput, optFns ...func(*Options)) (*UpdateDistributionWithStagingConfigOutput, error)
Copies the staging distribution's configuration to its corresponding primary distribution. The primary distribution retains its Aliases (also known as alternate domain names or CNAMEs) and ContinuousDeploymentPolicyId value, but otherwise its configuration is overwritten to match the staging distribution.
You can use this operation in a continuous deployment workflow after you have tested configuration changes on the staging distribution. After using a continuous deployment policy to move a portion of your domain name's traffic to the staging distribution and verifying that it works as intended, you can use this operation to copy the staging distribution's configuration to the primary distribution. This action will disable the continuous deployment policy and move your domain's traffic back to the primary distribution.
This API operation requires the following IAM permissions:
func (*Client) UpdateFieldLevelEncryptionConfig ¶
func (c *Client) UpdateFieldLevelEncryptionConfig(ctx context.Context, params *UpdateFieldLevelEncryptionConfigInput, optFns ...func(*Options)) (*UpdateFieldLevelEncryptionConfigOutput, error)
Update a field-level encryption configuration.
func (*Client) UpdateFieldLevelEncryptionProfile ¶
func (c *Client) UpdateFieldLevelEncryptionProfile(ctx context.Context, params *UpdateFieldLevelEncryptionProfileInput, optFns ...func(*Options)) (*UpdateFieldLevelEncryptionProfileOutput, error)
Update a field-level encryption profile.
func (*Client) UpdateFunction ¶
func (c *Client) UpdateFunction(ctx context.Context, params *UpdateFunctionInput, optFns ...func(*Options)) (*UpdateFunctionOutput, error)
Updates a CloudFront function.
You can update a function's code or the comment that describes the function. You cannot update a function's name.
To update a function, you provide the function's name and version ( ETag value) along with the updated function code. To get the name and version, you can use ListFunctions and DescribeFunction .
func (*Client) UpdateKeyGroup ¶
func (c *Client) UpdateKeyGroup(ctx context.Context, params *UpdateKeyGroupInput, optFns ...func(*Options)) (*UpdateKeyGroupOutput, error)
Updates a key group.
When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:
Get the current key group with GetKeyGroup or GetKeyGroupConfig .
Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.
Call UpdateKeyGroup with the entire key group object, including the fields that you modified and those that you didn't.
func (*Client) UpdateKeyValueStore ¶
func (c *Client) UpdateKeyValueStore(ctx context.Context, params *UpdateKeyValueStoreInput, optFns ...func(*Options)) (*UpdateKeyValueStoreOutput, error)
Specifies the key value store to update.
func (*Client) UpdateOriginAccessControl ¶
func (c *Client) UpdateOriginAccessControl(ctx context.Context, params *UpdateOriginAccessControlInput, optFns ...func(*Options)) (*UpdateOriginAccessControlOutput, error)
Updates a CloudFront origin access control.
func (*Client) UpdateOriginRequestPolicy ¶
func (c *Client) UpdateOriginRequestPolicy(ctx context.Context, params *UpdateOriginRequestPolicyInput, optFns ...func(*Options)) (*UpdateOriginRequestPolicyOutput, error)
Updates an origin request policy configuration.
When you update an origin request policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update an origin request policy configuration:
Use GetOriginRequestPolicyConfig to get the current configuration.
Locally modify the fields in the origin request policy configuration that you want to update.
Call UpdateOriginRequestPolicy by providing the entire origin request policy configuration, including the fields that you modified and those that you didn't.
func (*Client) UpdatePublicKey ¶
func (c *Client) UpdatePublicKey(ctx context.Context, params *UpdatePublicKeyInput, optFns ...func(*Options)) (*UpdatePublicKeyOutput, error)
Update public key information. Note that the only value you can change is the comment.
func (*Client) UpdateRealtimeLogConfig ¶
func (c *Client) UpdateRealtimeLogConfig(ctx context.Context, params *UpdateRealtimeLogConfigInput, optFns ...func(*Options)) (*UpdateRealtimeLogConfigOutput, error)
Updates a real-time log configuration.
When you update a real-time log configuration, all the parameters are updated with the values provided in the request. You cannot update some parameters independent of others. To update a real-time log configuration:
Call GetRealtimeLogConfig to get the current real-time log configuration.
Locally modify the parameters in the real-time log configuration that you want to update.
Call this API ( UpdateRealtimeLogConfig ) by providing the entire real-time log configuration, including the parameters that you modified and those that you didn't.
You cannot update a real-time log configuration's Name or ARN .
func (*Client) UpdateResponseHeadersPolicy ¶
func (c *Client) UpdateResponseHeadersPolicy(ctx context.Context, params *UpdateResponseHeadersPolicyInput, optFns ...func(*Options)) (*UpdateResponseHeadersPolicyOutput, error)
Updates a response headers policy.
When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration:
Use GetResponseHeadersPolicyConfig to get the current policy's configuration.
Modify the fields in the response headers policy configuration that you want to update.
Call UpdateResponseHeadersPolicy , providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.
func (*Client) UpdateStreamingDistribution ¶
func (c *Client) UpdateStreamingDistribution(ctx context.Context, params *UpdateStreamingDistributionInput, optFns ...func(*Options)) (*UpdateStreamingDistributionOutput, error)
Update a streaming distribution.
type CopyDistributionInput ¶
type CopyDistributionInput struct { // A value that uniquely identifies a request to create a resource. This helps to // prevent CloudFront from creating a duplicate resource if you accidentally // resubmit an identical request. // // This member is required. CallerReference *string // The identifier of the primary distribution whose configuration you are copying. // To get a distribution ID, use ListDistributions . // // This member is required. PrimaryDistributionId *string // A Boolean flag to specify the state of the staging distribution when it's // created. When you set this value to True , the staging distribution is enabled. // When you set this value to False , the staging distribution is disabled. // // If you omit this field, the default value is True . Enabled *bool // The version identifier of the primary distribution whose configuration you are // copying. This is the ETag value returned in the response to GetDistribution and // GetDistributionConfig . IfMatch *string // The type of distribution that your primary distribution will be copied to. The // only valid value is True , indicating that you are copying to a staging // distribution. Staging *bool // contains filtered or unexported fields }
type CopyDistributionOutput ¶
type CopyDistributionOutput struct { // A distribution tells CloudFront where you want content to be delivered from, // and the details about how to track and manage content delivery. Distribution *types.Distribution // The version identifier for the current version of the staging distribution. ETag *string // The URL of the staging distribution. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateCachePolicyInput ¶
type CreateCachePolicyInput struct { // A cache policy configuration. // // This member is required. CachePolicyConfig *types.CachePolicyConfig // contains filtered or unexported fields }
type CreateCachePolicyOutput ¶
type CreateCachePolicyOutput struct { // A cache policy. CachePolicy *types.CachePolicy // The current version of the cache policy. ETag *string // The fully qualified URI of the cache policy just created. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateCloudFrontOriginAccessIdentityInput ¶
type CreateCloudFrontOriginAccessIdentityInput struct { // The current configuration information for the identity. // // This member is required. CloudFrontOriginAccessIdentityConfig *types.CloudFrontOriginAccessIdentityConfig // contains filtered or unexported fields }
The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see Restricting Access to Amazon S3 Content by Using an Origin Access Identityin the Amazon CloudFront Developer Guide.
type CreateCloudFrontOriginAccessIdentityOutput ¶
type CreateCloudFrontOriginAccessIdentityOutput struct { // The origin access identity's information. CloudFrontOriginAccessIdentity *types.CloudFrontOriginAccessIdentity // The current version of the origin access identity created. ETag *string // The fully qualified URI of the new origin access identity just created. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type CreateContinuousDeploymentPolicyInput ¶
type CreateContinuousDeploymentPolicyInput struct { // Contains the configuration for a continuous deployment policy. // // This member is required. ContinuousDeploymentPolicyConfig *types.ContinuousDeploymentPolicyConfig // contains filtered or unexported fields }
type CreateContinuousDeploymentPolicyOutput ¶
type CreateContinuousDeploymentPolicyOutput struct { // A continuous deployment policy. ContinuousDeploymentPolicy *types.ContinuousDeploymentPolicy // The version identifier for the current version of the continuous deployment // policy. ETag *string // The location of the continuous deployment policy. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateDistributionInput ¶
type CreateDistributionInput struct { // The distribution's configuration information. // // This member is required. DistributionConfig *types.DistributionConfig // contains filtered or unexported fields }
The request to create a new distribution.
type CreateDistributionOutput ¶
type CreateDistributionOutput struct { // The distribution's information. Distribution *types.Distribution // The current version of the distribution created. ETag *string // The fully qualified URI of the new distribution resource just created. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type CreateDistributionWithTagsInput ¶
type CreateDistributionWithTagsInput struct { // The distribution's configuration information. // // This member is required. DistributionConfigWithTags *types.DistributionConfigWithTags // contains filtered or unexported fields }
The request to create a new distribution with tags.
type CreateDistributionWithTagsOutput ¶
type CreateDistributionWithTagsOutput struct { // The distribution's information. Distribution *types.Distribution // The current version of the distribution created. ETag *string // The fully qualified URI of the new distribution resource just created. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type CreateFieldLevelEncryptionConfigInput ¶
type CreateFieldLevelEncryptionConfigInput struct { // The request to create a new field-level encryption configuration. // // This member is required. FieldLevelEncryptionConfig *types.FieldLevelEncryptionConfig // contains filtered or unexported fields }
type CreateFieldLevelEncryptionConfigOutput ¶
type CreateFieldLevelEncryptionConfigOutput struct { // The current version of the field level encryption configuration. For example: // E2QWRUHAPOMQZL . ETag *string // Returned when you create a new field-level encryption configuration. FieldLevelEncryption *types.FieldLevelEncryption // The fully qualified URI of the new configuration resource just created. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFieldLevelEncryptionProfileInput ¶
type CreateFieldLevelEncryptionProfileInput struct { // The request to create a field-level encryption profile. // // This member is required. FieldLevelEncryptionProfileConfig *types.FieldLevelEncryptionProfileConfig // contains filtered or unexported fields }
type CreateFieldLevelEncryptionProfileOutput ¶
type CreateFieldLevelEncryptionProfileOutput struct { // The current version of the field level encryption profile. For example: // E2QWRUHAPOMQZL . ETag *string // Returned when you create a new field-level encryption profile. FieldLevelEncryptionProfile *types.FieldLevelEncryptionProfile // The fully qualified URI of the new profile resource just created. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFunctionInput ¶
type CreateFunctionInput struct { // The function code. For more information about writing a CloudFront function, // see [Writing function code for CloudFront Functions]in the Amazon CloudFront Developer Guide. // // [Writing function code for CloudFront Functions]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html // // This member is required. FunctionCode []byte // Configuration information about the function, including an optional comment and // the function's runtime. // // This member is required. FunctionConfig *types.FunctionConfig // A name to identify the function. // // This member is required. Name *string // contains filtered or unexported fields }
type CreateFunctionOutput ¶
type CreateFunctionOutput struct { // The version identifier for the current version of the CloudFront function. ETag *string // Contains configuration information and metadata about a CloudFront function. FunctionSummary *types.FunctionSummary // The URL of the CloudFront function. Use the URL to manage the function with the // CloudFront API. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateInvalidationInput ¶
type CreateInvalidationInput struct { // The distribution's id. // // This member is required. DistributionId *string // The batch information for the invalidation. // // This member is required. InvalidationBatch *types.InvalidationBatch // contains filtered or unexported fields }
The request to create an invalidation.
type CreateInvalidationOutput ¶
type CreateInvalidationOutput struct { // The invalidation's information. Invalidation *types.Invalidation // The fully qualified URI of the distribution and invalidation batch request, // including the Invalidation ID . Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type CreateKeyGroupInput ¶
type CreateKeyGroupInput struct { // A key group configuration. // // This member is required. KeyGroupConfig *types.KeyGroupConfig // contains filtered or unexported fields }
type CreateKeyGroupOutput ¶
type CreateKeyGroupOutput struct { // The identifier for this version of the key group. ETag *string // The key group that was just created. KeyGroup *types.KeyGroup // The URL of the key group. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateKeyValueStoreInput ¶
type CreateKeyValueStoreInput struct { // The name of the key value store. The minimum length is 1 character and the // maximum length is 64 characters. // // This member is required. Name *string // The comment of the key value store. Comment *string // The S3 bucket that provides the source for the import. The source must be in a // valid JSON format. ImportSource *types.ImportSource // contains filtered or unexported fields }
type CreateKeyValueStoreOutput ¶
type CreateKeyValueStoreOutput struct { // The ETag in the resulting key value store. ETag *string // The resulting key value store. KeyValueStore *types.KeyValueStore // The location of the resulting key value store. Location *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateMonitoringSubscriptionInput ¶
type CreateMonitoringSubscriptionInput struct { // The ID of the distribution that you are enabling metrics for. // // This member is required. DistributionId *string // A monitoring subscription. This structure contains information about whether // additional CloudWatch metrics are enabled for a given CloudFront distribution. // // This member is required. MonitoringSubscription *types.MonitoringSubscription // contains filtered or unexported fields }
type CreateMonitoringSubscriptionOutput ¶
type CreateMonitoringSubscriptionOutput struct { // A monitoring subscription. This structure contains information about whether // additional CloudWatch metrics are enabled for a given CloudFront distribution. MonitoringSubscription *types.MonitoringSubscription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateOriginAccessControlInput ¶
type CreateOriginAccessControlInput struct { // Contains the origin access control. // // This member is required. OriginAccessControlConfig *types.OriginAccessControlConfig // contains filtered or unexported fields }
type CreateOriginAccessControlOutput ¶
type CreateOriginAccessControlOutput struct { // The version identifier for the current version of the origin access control. ETag *string // The URL of the origin access control. Location *string // Contains an origin access control. OriginAccessControl *types.OriginAccessControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateOriginRequestPolicyInput ¶
type CreateOriginRequestPolicyInput struct { // An origin request policy configuration. // // This member is required. OriginRequestPolicyConfig *types.OriginRequestPolicyConfig // contains filtered or unexported fields }
type CreateOriginRequestPolicyOutput ¶
type CreateOriginRequestPolicyOutput struct { // The current version of the origin request policy. ETag *string // The fully qualified URI of the origin request policy just created. Location *string // An origin request policy. OriginRequestPolicy *types.OriginRequestPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreatePublicKeyInput ¶
type CreatePublicKeyInput struct { // A CloudFront public key configuration. // // This member is required. PublicKeyConfig *types.PublicKeyConfig // contains filtered or unexported fields }
type CreatePublicKeyOutput ¶
type CreatePublicKeyOutput struct { // The identifier for this version of the public key. ETag *string // The URL of the public key. Location *string // The public key. PublicKey *types.PublicKey // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateRealtimeLogConfigInput ¶
type CreateRealtimeLogConfigInput struct { // Contains information about the Amazon Kinesis data stream where you are sending // real-time log data. // // This member is required. EndPoints []types.EndPoint // 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. // // [Real-time log configuration fields]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields // // This member is required. Fields []string // A unique name to identify this real-time log configuration. // // This member is required. Name *string // The sampling rate for this real-time log configuration. You can specify a whole // number between 1 and 100 (inclusive) to determine the percentage of viewer // requests that are represented in the real-time log data. // // This member is required. SamplingRate *int64 // contains filtered or unexported fields }
type CreateRealtimeLogConfigOutput ¶
type CreateRealtimeLogConfigOutput struct { // A real-time log configuration. RealtimeLogConfig *types.RealtimeLogConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateResponseHeadersPolicyInput ¶
type CreateResponseHeadersPolicyInput struct { // Contains metadata about the response headers policy, and a set of // configurations that specify the HTTP headers. // // This member is required. ResponseHeadersPolicyConfig *types.ResponseHeadersPolicyConfig // contains filtered or unexported fields }
type CreateResponseHeadersPolicyOutput ¶
type CreateResponseHeadersPolicyOutput struct { // The version identifier for the current version of the response headers policy. ETag *string // The URL of the response headers policy. Location *string // Contains a response headers policy. ResponseHeadersPolicy *types.ResponseHeadersPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateStreamingDistributionInput ¶
type CreateStreamingDistributionInput struct { // The streaming distribution's configuration information. // // This member is required. StreamingDistributionConfig *types.StreamingDistributionConfig // contains filtered or unexported fields }
The request to create a new streaming distribution.
type CreateStreamingDistributionOutput ¶
type CreateStreamingDistributionOutput struct { // The current version of the streaming distribution created. ETag *string // The fully qualified URI of the new streaming distribution resource just created. Location *string // The streaming distribution's information. StreamingDistribution *types.StreamingDistribution // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type CreateStreamingDistributionWithTagsInput ¶
type CreateStreamingDistributionWithTagsInput struct { // The streaming distribution's configuration information. // // This member is required. StreamingDistributionConfigWithTags *types.StreamingDistributionConfigWithTags // contains filtered or unexported fields }
The request to create a new streaming distribution with tags.
type CreateStreamingDistributionWithTagsOutput ¶
type CreateStreamingDistributionWithTagsOutput struct { // The current version of the distribution created. ETag *string // The fully qualified URI of the new streaming distribution resource just created. Location *string // The streaming distribution's information. StreamingDistribution *types.StreamingDistribution // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type DeleteCachePolicyInput ¶
type DeleteCachePolicyInput struct { // The unique identifier for the cache policy that you are deleting. To get the // identifier, you can use ListCachePolicies . // // This member is required. Id *string // The version of the cache policy that you are deleting. The version is the cache // policy's ETag value, which you can get using ListCachePolicies , GetCachePolicy // , or GetCachePolicyConfig . IfMatch *string // contains filtered or unexported fields }
type DeleteCachePolicyOutput ¶
type DeleteCachePolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteCloudFrontOriginAccessIdentityInput ¶
type DeleteCloudFrontOriginAccessIdentityInput struct { // The origin access identity's ID. // // This member is required. Id *string // The value of the ETag header you received from a previous GET or PUT request. // For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
Deletes a origin access identity.
type DeleteCloudFrontOriginAccessIdentityOutput ¶
type DeleteCloudFrontOriginAccessIdentityOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteContinuousDeploymentPolicyInput ¶
type DeleteContinuousDeploymentPolicyInput struct { // The identifier of the continuous deployment policy that you are deleting. // // This member is required. Id *string // The current version ( ETag value) of the continuous deployment policy that you // are deleting. IfMatch *string // contains filtered or unexported fields }
type DeleteContinuousDeploymentPolicyOutput ¶
type DeleteContinuousDeploymentPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDistributionInput ¶
type DeleteDistributionInput struct { // The distribution ID. // // This member is required. Id *string // The value of the ETag header that you received when you disabled the // distribution. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
This action deletes a web distribution. To delete a web distribution using the CloudFront API, perform the following steps.
To delete a web distribution using the CloudFront API:
Disable the web distribution
Submit a GET Distribution Config request to get the current configuration and the Etag header for the distribution.
Update the XML document that was returned in the response to your GET Distribution Config request to change the value of Enabled to false .
Submit a PUT Distribution Config request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Distribution Config request in Step 2.
Review the response to the PUT Distribution Config request to confirm that the distribution was successfully disabled.
Submit a GET Distribution request to confirm that your changes have propagated. When propagation is complete, the value of Status is Deployed .
Submit a DELETE Distribution request. Set the value of the HTTP If-Match header to the value of the ETag header that CloudFront returned when you submitted the GET Distribution Config request in Step 6.
Review the response to your DELETE Distribution request to confirm that the distribution was successfully deleted.
For information about deleting a distribution using the CloudFront console, see Deleting a Distribution in the Amazon CloudFront Developer Guide.
type DeleteDistributionOutput ¶
type DeleteDistributionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFieldLevelEncryptionConfigInput ¶
type DeleteFieldLevelEncryptionConfigInput struct { // The ID of the configuration you want to delete from CloudFront. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the // configuration identity to delete. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
type DeleteFieldLevelEncryptionConfigOutput ¶
type DeleteFieldLevelEncryptionConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFieldLevelEncryptionProfileInput ¶
type DeleteFieldLevelEncryptionProfileInput struct { // Request the ID of the profile you want to delete from CloudFront. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the profile to // delete. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
type DeleteFieldLevelEncryptionProfileOutput ¶
type DeleteFieldLevelEncryptionProfileOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFunctionInput ¶
type DeleteFunctionInput struct { // The current version ( ETag value) of the function that you are deleting, which // you can get using DescribeFunction . // // This member is required. IfMatch *string // The name of the function that you are deleting. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteFunctionOutput ¶
type DeleteFunctionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteKeyGroupInput ¶
type DeleteKeyGroupInput struct { // The identifier of the key group that you are deleting. To get the identifier, // use ListKeyGroups . // // This member is required. Id *string // The version of the key group that you are deleting. The version is the key // group's ETag value. To get the ETag , use GetKeyGroup or GetKeyGroupConfig . IfMatch *string // contains filtered or unexported fields }
type DeleteKeyGroupOutput ¶
type DeleteKeyGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteKeyValueStoreInput ¶
type DeleteKeyValueStoreOutput ¶
type DeleteKeyValueStoreOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteMonitoringSubscriptionInput ¶
type DeleteMonitoringSubscriptionInput struct { // The ID of the distribution that you are disabling metrics for. // // This member is required. DistributionId *string // contains filtered or unexported fields }
type DeleteMonitoringSubscriptionOutput ¶
type DeleteMonitoringSubscriptionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteOriginAccessControlInput ¶
type DeleteOriginAccessControlInput struct { // The unique identifier of the origin access control that you are deleting. // // This member is required. Id *string // The current version ( ETag value) of the origin access control that you are // deleting. IfMatch *string // contains filtered or unexported fields }
type DeleteOriginAccessControlOutput ¶
type DeleteOriginAccessControlOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteOriginRequestPolicyInput ¶
type DeleteOriginRequestPolicyInput struct { // The unique identifier for the origin request policy that you are deleting. To // get the identifier, you can use ListOriginRequestPolicies . // // This member is required. Id *string // The version of the origin request policy that you are deleting. The version is // the origin request policy's ETag value, which you can get using // ListOriginRequestPolicies , GetOriginRequestPolicy , or // GetOriginRequestPolicyConfig . IfMatch *string // contains filtered or unexported fields }
type DeleteOriginRequestPolicyOutput ¶
type DeleteOriginRequestPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeletePublicKeyInput ¶
type DeletePublicKeyInput struct { // The ID of the public key you want to remove from CloudFront. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the public key // identity to delete. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
type DeletePublicKeyOutput ¶
type DeletePublicKeyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteRealtimeLogConfigInput ¶
type DeleteRealtimeLogConfigOutput ¶
type DeleteRealtimeLogConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteResponseHeadersPolicyInput ¶
type DeleteResponseHeadersPolicyInput struct { // The identifier for the response headers policy that you are deleting. // // To get the identifier, you can use ListResponseHeadersPolicies . // // This member is required. Id *string // The version of the response headers policy that you are deleting. // // The version is the response headers policy's ETag value, which you can get // using ListResponseHeadersPolicies , GetResponseHeadersPolicy , or // GetResponseHeadersPolicyConfig . IfMatch *string // contains filtered or unexported fields }
type DeleteResponseHeadersPolicyOutput ¶
type DeleteResponseHeadersPolicyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteStreamingDistributionInput ¶
type DeleteStreamingDistributionInput struct { // The distribution ID. // // This member is required. Id *string // The value of the ETag header that you received when you disabled the streaming // distribution. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
The request to delete a streaming distribution.
type DeleteStreamingDistributionOutput ¶
type DeleteStreamingDistributionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeFunctionInput ¶
type DescribeFunctionInput struct { // The name of the function that you are getting information about. // // This member is required. Name *string // The function's stage, either DEVELOPMENT or LIVE . Stage types.FunctionStage // contains filtered or unexported fields }
type DescribeFunctionOutput ¶
type DescribeFunctionOutput struct { // The version identifier for the current version of the CloudFront function. ETag *string // Contains configuration information and metadata about a CloudFront function. FunctionSummary *types.FunctionSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeKeyValueStoreInput ¶
type DescribeKeyValueStoreInput struct { // The name of the key value store. // // This member is required. Name *string // contains filtered or unexported fields }
type DescribeKeyValueStoreOutput ¶
type DescribeKeyValueStoreOutput struct { // The ETag of the resulting key value store. ETag *string // The resulting key value store. KeyValueStore *types.KeyValueStore // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DistributionDeployedWaiter ¶
type DistributionDeployedWaiter struct {
// contains filtered or unexported fields
}
DistributionDeployedWaiter defines the waiters for DistributionDeployed
func NewDistributionDeployedWaiter ¶
func NewDistributionDeployedWaiter(client GetDistributionAPIClient, optFns ...func(*DistributionDeployedWaiterOptions)) *DistributionDeployedWaiter
NewDistributionDeployedWaiter constructs a DistributionDeployedWaiter.
func (*DistributionDeployedWaiter) Wait ¶
func (w *DistributionDeployedWaiter) Wait(ctx context.Context, params *GetDistributionInput, maxWaitDur time.Duration, optFns ...func(*DistributionDeployedWaiterOptions)) error
Wait calls the waiter function for DistributionDeployed waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*DistributionDeployedWaiter) WaitForOutput ¶
func (w *DistributionDeployedWaiter) WaitForOutput(ctx context.Context, params *GetDistributionInput, maxWaitDur time.Duration, optFns ...func(*DistributionDeployedWaiterOptions)) (*GetDistributionOutput, error)
WaitForOutput calls the waiter function for DistributionDeployed waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type DistributionDeployedWaiterOptions ¶
type DistributionDeployedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // DistributionDeployedWaiter will use default minimum delay of 60 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, DistributionDeployedWaiter will use default max delay of 120 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. // // By default service-modeled logic will populate this option. This option can // thus be used to define a custom waiter state with fall-back to service-modeled // waiter state mutators.The function returns an error in case of a failure state. // In case of retry state, this function returns a bool value of true and nil // error, while in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetDistributionInput, *GetDistributionOutput, error) (bool, error) }
DistributionDeployedWaiterOptions are waiter options for DistributionDeployedWaiter
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetCachePolicyConfigInput ¶
type GetCachePolicyConfigInput struct { // 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 // ListDistributions or GetDistribution . If the cache policy is not attached to a // cache behavior, you can get the identifier using ListCachePolicies . // // This member is required. Id *string // contains filtered or unexported fields }
type GetCachePolicyConfigOutput ¶
type GetCachePolicyConfigOutput struct { // The cache policy configuration. CachePolicyConfig *types.CachePolicyConfig // The current version of the cache policy. ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetCachePolicyInput ¶
type GetCachePolicyInput struct { // 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 // ListDistributions or GetDistribution . If the cache policy is not attached to a // cache behavior, you can get the identifier using ListCachePolicies . // // This member is required. Id *string // contains filtered or unexported fields }
type GetCachePolicyOutput ¶
type GetCachePolicyOutput struct { // The cache policy. CachePolicy *types.CachePolicy // The current version of the cache policy. ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetCloudFrontOriginAccessIdentityConfigInput ¶
type GetCloudFrontOriginAccessIdentityConfigInput struct { // The identity's ID. // // This member is required. Id *string // contains filtered or unexported fields }
The origin access identity's configuration information. For more information, see CloudFrontOriginAccessIdentityConfig.
type GetCloudFrontOriginAccessIdentityConfigOutput ¶
type GetCloudFrontOriginAccessIdentityConfigOutput struct { // The origin access identity's configuration information. CloudFrontOriginAccessIdentityConfig *types.CloudFrontOriginAccessIdentityConfig // The current version of the configuration. For example: E2QWRUHAPOMQZL . ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type GetCloudFrontOriginAccessIdentityInput ¶
type GetCloudFrontOriginAccessIdentityInput struct { // The identity's ID. // // This member is required. Id *string // contains filtered or unexported fields }
The request to get an origin access identity's information.
type GetCloudFrontOriginAccessIdentityOutput ¶
type GetCloudFrontOriginAccessIdentityOutput struct { // The origin access identity's information. CloudFrontOriginAccessIdentity *types.CloudFrontOriginAccessIdentity // The current version of the origin access identity's information. For example: // E2QWRUHAPOMQZL . ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type GetContinuousDeploymentPolicyConfigInput ¶
type GetContinuousDeploymentPolicyConfigInput struct { // The identifier of the continuous deployment policy whose configuration you are // getting. // // This member is required. Id *string // contains filtered or unexported fields }
type GetContinuousDeploymentPolicyConfigOutput ¶
type GetContinuousDeploymentPolicyConfigOutput struct { // Contains the configuration for a continuous deployment policy. ContinuousDeploymentPolicyConfig *types.ContinuousDeploymentPolicyConfig // The version identifier for the current version of the continuous deployment // policy. ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetContinuousDeploymentPolicyInput ¶
type GetContinuousDeploymentPolicyInput struct { // The identifier of the continuous deployment policy that you are getting. // // This member is required. Id *string // contains filtered or unexported fields }
type GetContinuousDeploymentPolicyOutput ¶
type GetContinuousDeploymentPolicyOutput struct { // A continuous deployment policy. ContinuousDeploymentPolicy *types.ContinuousDeploymentPolicy // The version identifier for the current version of the continuous deployment // policy. ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDistributionAPIClient ¶
type GetDistributionAPIClient interface {
GetDistribution(context.Context, *GetDistributionInput, ...func(*Options)) (*GetDistributionOutput, error)
}
GetDistributionAPIClient is a client that implements the GetDistribution operation.
type GetDistributionConfigInput ¶
type GetDistributionConfigInput struct { // The distribution's ID. If the ID is empty, an empty distribution configuration // is returned. // // This member is required. Id *string // contains filtered or unexported fields }
The request to get a distribution configuration.
type GetDistributionConfigOutput ¶
type GetDistributionConfigOutput struct { // The distribution's configuration information. DistributionConfig *types.DistributionConfig // The current version of the configuration. For example: E2QWRUHAPOMQZL . ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type GetDistributionInput ¶
type GetDistributionInput struct { // The distribution's ID. If the ID is empty, an empty distribution configuration // is returned. // // This member is required. Id *string // contains filtered or unexported fields }
The request to get a distribution's information.
type GetDistributionOutput ¶
type GetDistributionOutput struct { // The distribution's information. Distribution *types.Distribution // The current version of the distribution's information. For example: // E2QWRUHAPOMQZL . ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type GetFieldLevelEncryptionConfigInput ¶
type GetFieldLevelEncryptionConfigInput struct { // Request the ID for the field-level encryption configuration information. // // This member is required. Id *string // contains filtered or unexported fields }
type GetFieldLevelEncryptionConfigOutput ¶
type GetFieldLevelEncryptionConfigOutput struct { // The current version of the field level encryption configuration. For example: // E2QWRUHAPOMQZL . ETag *string // Return the field-level encryption configuration information. FieldLevelEncryptionConfig *types.FieldLevelEncryptionConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFieldLevelEncryptionInput ¶
type GetFieldLevelEncryptionInput struct { // Request the ID for the field-level encryption configuration information. // // This member is required. Id *string // contains filtered or unexported fields }
type GetFieldLevelEncryptionOutput ¶
type GetFieldLevelEncryptionOutput struct { // The current version of the field level encryption configuration. For example: // E2QWRUHAPOMQZL . ETag *string // Return the field-level encryption configuration information. FieldLevelEncryption *types.FieldLevelEncryption // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFieldLevelEncryptionProfileConfigInput ¶
type GetFieldLevelEncryptionProfileConfigInput struct { // Get the ID for the field-level encryption profile configuration information. // // This member is required. Id *string // contains filtered or unexported fields }
type GetFieldLevelEncryptionProfileConfigOutput ¶
type GetFieldLevelEncryptionProfileConfigOutput struct { // The current version of the field-level encryption profile configuration result. // For example: E2QWRUHAPOMQZL . ETag *string // Return the field-level encryption profile configuration information. FieldLevelEncryptionProfileConfig *types.FieldLevelEncryptionProfileConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFieldLevelEncryptionProfileInput ¶
type GetFieldLevelEncryptionProfileInput struct { // Get the ID for the field-level encryption profile information. // // This member is required. Id *string // contains filtered or unexported fields }
type GetFieldLevelEncryptionProfileOutput ¶
type GetFieldLevelEncryptionProfileOutput struct { // The current version of the field level encryption profile. For example: // E2QWRUHAPOMQZL . ETag *string // Return the field-level encryption profile information. FieldLevelEncryptionProfile *types.FieldLevelEncryptionProfile // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFunctionInput ¶
type GetFunctionInput struct { // The name of the function whose code you are getting. // // This member is required. Name *string // The function's stage, either DEVELOPMENT or LIVE . Stage types.FunctionStage // contains filtered or unexported fields }
type GetFunctionOutput ¶
type GetFunctionOutput struct { // The content type (media type) of the response. ContentType *string // The version identifier for the current version of the CloudFront function. ETag *string // The function code of a CloudFront function. FunctionCode []byte // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetInvalidationAPIClient ¶
type GetInvalidationAPIClient interface {
GetInvalidation(context.Context, *GetInvalidationInput, ...func(*Options)) (*GetInvalidationOutput, error)
}
GetInvalidationAPIClient is a client that implements the GetInvalidation operation.
type GetInvalidationInput ¶
type GetInvalidationInput struct { // The distribution's ID. // // This member is required. DistributionId *string // The identifier for the invalidation request, for example, IDFDVBD632BHDS5 . // // This member is required. Id *string // contains filtered or unexported fields }
The request to get an invalidation's information.
type GetInvalidationOutput ¶
type GetInvalidationOutput struct { // The invalidation's information. For more information, see [Invalidation Complex Type]. // // [Invalidation Complex Type]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/InvalidationDatatype.html Invalidation *types.Invalidation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type GetKeyGroupConfigInput ¶
type GetKeyGroupConfigInput struct { // The identifier of the key group whose configuration you are getting. To get the // identifier, use ListKeyGroups . // // This member is required. Id *string // contains filtered or unexported fields }
type GetKeyGroupConfigOutput ¶
type GetKeyGroupConfigOutput struct { // The identifier for this version of the key group. ETag *string // The key group configuration. KeyGroupConfig *types.KeyGroupConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetKeyGroupInput ¶
type GetKeyGroupInput struct { // The identifier of the key group that you are getting. To get the identifier, // use ListKeyGroups . // // This member is required. Id *string // contains filtered or unexported fields }
type GetKeyGroupOutput ¶
type GetKeyGroupOutput struct { // The identifier for this version of the key group. ETag *string // The key group. KeyGroup *types.KeyGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetMonitoringSubscriptionInput ¶
type GetMonitoringSubscriptionInput struct { // The ID of the distribution that you are getting metrics information for. // // This member is required. DistributionId *string // contains filtered or unexported fields }
type GetMonitoringSubscriptionOutput ¶
type GetMonitoringSubscriptionOutput struct { // A monitoring subscription. This structure contains information about whether // additional CloudWatch metrics are enabled for a given CloudFront distribution. MonitoringSubscription *types.MonitoringSubscription // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetOriginAccessControlConfigInput ¶
type GetOriginAccessControlConfigInput struct { // The unique identifier of the origin access control. // // This member is required. Id *string // contains filtered or unexported fields }
type GetOriginAccessControlConfigOutput ¶
type GetOriginAccessControlConfigOutput struct { // The version identifier for the current version of the origin access control. ETag *string // Contains an origin access control configuration. OriginAccessControlConfig *types.OriginAccessControlConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetOriginAccessControlInput ¶
type GetOriginAccessControlInput struct { // The unique identifier of the origin access control. // // This member is required. Id *string // contains filtered or unexported fields }
type GetOriginAccessControlOutput ¶
type GetOriginAccessControlOutput struct { // The version identifier for the current version of the origin access control. ETag *string // Contains an origin access control, including its unique identifier. OriginAccessControl *types.OriginAccessControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetOriginRequestPolicyConfigInput ¶
type GetOriginRequestPolicyConfigInput struct { // 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 ListDistributions or GetDistribution . If the origin request // policy is not attached to a cache behavior, you can get the identifier using // ListOriginRequestPolicies . // // This member is required. Id *string // contains filtered or unexported fields }
type GetOriginRequestPolicyConfigOutput ¶
type GetOriginRequestPolicyConfigOutput struct { // The current version of the origin request policy. ETag *string // The origin request policy configuration. OriginRequestPolicyConfig *types.OriginRequestPolicyConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetOriginRequestPolicyInput ¶
type GetOriginRequestPolicyInput struct { // 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 ListDistributions or GetDistribution . If the origin request // policy is not attached to a cache behavior, you can get the identifier using // ListOriginRequestPolicies . // // This member is required. Id *string // contains filtered or unexported fields }
type GetOriginRequestPolicyOutput ¶
type GetOriginRequestPolicyOutput struct { // The current version of the origin request policy. ETag *string // The origin request policy. OriginRequestPolicy *types.OriginRequestPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetPublicKeyConfigInput ¶
type GetPublicKeyConfigInput struct { // The identifier of the public key whose configuration you are getting. // // This member is required. Id *string // contains filtered or unexported fields }
type GetPublicKeyConfigOutput ¶
type GetPublicKeyConfigOutput struct { // The identifier for this version of the public key configuration. ETag *string // A public key configuration. PublicKeyConfig *types.PublicKeyConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetPublicKeyInput ¶
type GetPublicKeyInput struct { // The identifier of the public key you are getting. // // This member is required. Id *string // contains filtered or unexported fields }
type GetPublicKeyOutput ¶
type GetPublicKeyOutput struct { // The identifier for this version of the public key. ETag *string // The public key. PublicKey *types.PublicKey // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetRealtimeLogConfigInput ¶
type GetRealtimeLogConfigOutput ¶
type GetRealtimeLogConfigOutput struct { // A real-time log configuration. RealtimeLogConfig *types.RealtimeLogConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResponseHeadersPolicyConfigInput ¶
type GetResponseHeadersPolicyConfigInput struct { // 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 ListDistributions or GetDistribution . // If the response headers policy is not attached to a cache behavior, you can get // the identifier using ListResponseHeadersPolicies . // // This member is required. Id *string // contains filtered or unexported fields }
type GetResponseHeadersPolicyConfigOutput ¶
type GetResponseHeadersPolicyConfigOutput struct { // The version identifier for the current version of the response headers policy. ETag *string // Contains a response headers policy. ResponseHeadersPolicyConfig *types.ResponseHeadersPolicyConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetResponseHeadersPolicyInput ¶
type GetResponseHeadersPolicyInput struct { // 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 ListDistributions or GetDistribution . // If the response headers policy is not attached to a cache behavior, you can get // the identifier using ListResponseHeadersPolicies . // // This member is required. Id *string // contains filtered or unexported fields }
type GetResponseHeadersPolicyOutput ¶
type GetResponseHeadersPolicyOutput struct { // The version identifier for the current version of the response headers policy. ETag *string // Contains a response headers policy. ResponseHeadersPolicy *types.ResponseHeadersPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetStreamingDistributionAPIClient ¶
type GetStreamingDistributionAPIClient interface {
GetStreamingDistribution(context.Context, *GetStreamingDistributionInput, ...func(*Options)) (*GetStreamingDistributionOutput, error)
}
GetStreamingDistributionAPIClient is a client that implements the GetStreamingDistribution operation.
type GetStreamingDistributionConfigInput ¶
type GetStreamingDistributionConfigInput struct { // The streaming distribution's ID. // // This member is required. Id *string // contains filtered or unexported fields }
To request to get a streaming distribution configuration.
type GetStreamingDistributionConfigOutput ¶
type GetStreamingDistributionConfigOutput struct { // The current version of the configuration. For example: E2QWRUHAPOMQZL . ETag *string // The streaming distribution's configuration information. StreamingDistributionConfig *types.StreamingDistributionConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type GetStreamingDistributionInput ¶
type GetStreamingDistributionInput struct { // The streaming distribution's ID. // // This member is required. Id *string // contains filtered or unexported fields }
The request to get a streaming distribution's information.
type GetStreamingDistributionOutput ¶
type GetStreamingDistributionOutput struct { // The current version of the streaming distribution's information. For example: // E2QWRUHAPOMQZL . ETag *string // The streaming distribution's information. StreamingDistribution *types.StreamingDistribution // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type HTTPSignerV4 ¶
type InvalidationCompletedWaiter ¶
type InvalidationCompletedWaiter struct {
// contains filtered or unexported fields
}
InvalidationCompletedWaiter defines the waiters for InvalidationCompleted
func NewInvalidationCompletedWaiter ¶
func NewInvalidationCompletedWaiter(client GetInvalidationAPIClient, optFns ...func(*InvalidationCompletedWaiterOptions)) *InvalidationCompletedWaiter
NewInvalidationCompletedWaiter constructs a InvalidationCompletedWaiter.
func (*InvalidationCompletedWaiter) Wait ¶
func (w *InvalidationCompletedWaiter) Wait(ctx context.Context, params *GetInvalidationInput, maxWaitDur time.Duration, optFns ...func(*InvalidationCompletedWaiterOptions)) error
Wait calls the waiter function for InvalidationCompleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*InvalidationCompletedWaiter) WaitForOutput ¶
func (w *InvalidationCompletedWaiter) WaitForOutput(ctx context.Context, params *GetInvalidationInput, maxWaitDur time.Duration, optFns ...func(*InvalidationCompletedWaiterOptions)) (*GetInvalidationOutput, error)
WaitForOutput calls the waiter function for InvalidationCompleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type InvalidationCompletedWaiterOptions ¶
type InvalidationCompletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // InvalidationCompletedWaiter will use default minimum delay of 20 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, InvalidationCompletedWaiter will use default max delay of 120 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. // // By default service-modeled logic will populate this option. This option can // thus be used to define a custom waiter state with fall-back to service-modeled // waiter state mutators.The function returns an error in case of a failure state. // In case of retry state, this function returns a bool value of true and nil // error, while in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetInvalidationInput, *GetInvalidationOutput, error) (bool, error) }
InvalidationCompletedWaiterOptions are waiter options for InvalidationCompletedWaiter
type ListCachePoliciesInput ¶
type ListCachePoliciesInput struct { // 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 NextMarker from the current page's response. Marker *string // The maximum number of cache policies that you want in the response. MaxItems *int32 // 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. Type types.CachePolicyType // contains filtered or unexported fields }
type ListCachePoliciesOutput ¶
type ListCachePoliciesOutput struct { // A list of cache policies. CachePolicyList *types.CachePolicyList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCloudFrontOriginAccessIdentitiesAPIClient ¶
type ListCloudFrontOriginAccessIdentitiesAPIClient interface {
ListCloudFrontOriginAccessIdentities(context.Context, *ListCloudFrontOriginAccessIdentitiesInput, ...func(*Options)) (*ListCloudFrontOriginAccessIdentitiesOutput, error)
}
ListCloudFrontOriginAccessIdentitiesAPIClient is a client that implements the ListCloudFrontOriginAccessIdentities operation.
type ListCloudFrontOriginAccessIdentitiesInput ¶
type ListCloudFrontOriginAccessIdentitiesInput struct { // 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 Marker to the value // of the NextMarker from the current page's response (which is also the ID of the // last identity on that page). Marker *string // The maximum number of origin access identities you want in the response body. MaxItems *int32 // contains filtered or unexported fields }
The request to list origin access identities.
type ListCloudFrontOriginAccessIdentitiesOutput ¶
type ListCloudFrontOriginAccessIdentitiesOutput struct { // The CloudFrontOriginAccessIdentityList type. CloudFrontOriginAccessIdentityList *types.CloudFrontOriginAccessIdentityList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type ListCloudFrontOriginAccessIdentitiesPaginator ¶
type ListCloudFrontOriginAccessIdentitiesPaginator struct {
// contains filtered or unexported fields
}
ListCloudFrontOriginAccessIdentitiesPaginator is a paginator for ListCloudFrontOriginAccessIdentities
func NewListCloudFrontOriginAccessIdentitiesPaginator ¶
func NewListCloudFrontOriginAccessIdentitiesPaginator(client ListCloudFrontOriginAccessIdentitiesAPIClient, params *ListCloudFrontOriginAccessIdentitiesInput, optFns ...func(*ListCloudFrontOriginAccessIdentitiesPaginatorOptions)) *ListCloudFrontOriginAccessIdentitiesPaginator
NewListCloudFrontOriginAccessIdentitiesPaginator returns a new ListCloudFrontOriginAccessIdentitiesPaginator
func (*ListCloudFrontOriginAccessIdentitiesPaginator) HasMorePages ¶
func (p *ListCloudFrontOriginAccessIdentitiesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCloudFrontOriginAccessIdentitiesPaginator) NextPage ¶
func (p *ListCloudFrontOriginAccessIdentitiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCloudFrontOriginAccessIdentitiesOutput, error)
NextPage retrieves the next ListCloudFrontOriginAccessIdentities page.
type ListCloudFrontOriginAccessIdentitiesPaginatorOptions ¶
type ListCloudFrontOriginAccessIdentitiesPaginatorOptions struct { // The maximum number of origin access identities you want in the response body. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCloudFrontOriginAccessIdentitiesPaginatorOptions is the paginator options for ListCloudFrontOriginAccessIdentities
type ListConflictingAliasesInput ¶
type ListConflictingAliasesInput struct { // The alias (also called a CNAME) to search for conflicting aliases. // // This member is required. Alias *string // The ID of a distribution in your account that has an attached SSL/TLS // certificate that includes the provided alias. // // This member is required. DistributionId *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 NextMarker from the current page's response. Marker *string // The maximum number of conflicting aliases that you want in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListConflictingAliasesOutput ¶
type ListConflictingAliasesOutput struct { // A list of conflicting aliases. ConflictingAliasesList *types.ConflictingAliasesList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListContinuousDeploymentPoliciesInput ¶
type ListContinuousDeploymentPoliciesInput struct { // Use this field when paginating results to indicate where to begin in your list // of continuous deployment policies. The response includes policies in the list // that occur after the marker. To get the next page of the list, set this field's // value to the value of NextMarker from the current page's response. Marker *string // The maximum number of continuous deployment policies that you want returned in // the response. MaxItems *int32 // contains filtered or unexported fields }
type ListContinuousDeploymentPoliciesOutput ¶
type ListContinuousDeploymentPoliciesOutput struct { // A list of continuous deployment policies. ContinuousDeploymentPolicyList *types.ContinuousDeploymentPolicyList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDistributionsAPIClient ¶
type ListDistributionsAPIClient interface {
ListDistributions(context.Context, *ListDistributionsInput, ...func(*Options)) (*ListDistributionsOutput, error)
}
ListDistributionsAPIClient is a client that implements the ListDistributions operation.
type ListDistributionsByCachePolicyIdInput ¶
type ListDistributionsByCachePolicyIdInput struct { // The ID of the cache policy whose associated distribution IDs you want to list. // // This member is required. CachePolicyId *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 NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListDistributionsByCachePolicyIdOutput ¶
type ListDistributionsByCachePolicyIdOutput struct { // A list of distribution IDs. DistributionIdList *types.DistributionIdList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDistributionsByKeyGroupInput ¶
type ListDistributionsByKeyGroupInput struct { // The ID of the key group whose associated distribution IDs you are listing. // // This member is required. KeyGroupId *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 NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListDistributionsByKeyGroupOutput ¶
type ListDistributionsByKeyGroupOutput struct { // A list of distribution IDs. DistributionIdList *types.DistributionIdList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDistributionsByOriginRequestPolicyIdInput ¶
type ListDistributionsByOriginRequestPolicyIdInput struct { // The ID of the origin request policy whose associated distribution IDs you want // to list. // // This member is required. OriginRequestPolicyId *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 NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListDistributionsByOriginRequestPolicyIdOutput ¶
type ListDistributionsByOriginRequestPolicyIdOutput struct { // A list of distribution IDs. DistributionIdList *types.DistributionIdList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDistributionsByRealtimeLogConfigInput ¶
type ListDistributionsByRealtimeLogConfigInput struct { // 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 NextMarker from the current page's response. Marker *string // The maximum number of distributions that you want in the response. MaxItems *int32 // The Amazon Resource Name (ARN) of the real-time log configuration whose // associated distributions you want to list. RealtimeLogConfigArn *string // The name of the real-time log configuration whose associated distributions you // want to list. RealtimeLogConfigName *string // contains filtered or unexported fields }
type ListDistributionsByRealtimeLogConfigOutput ¶
type ListDistributionsByRealtimeLogConfigOutput struct { // A distribution list. DistributionList *types.DistributionList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDistributionsByResponseHeadersPolicyIdInput ¶
type ListDistributionsByResponseHeadersPolicyIdInput struct { // The ID of the response headers policy whose associated distribution IDs you // want to list. // // This member is required. ResponseHeadersPolicyId *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 NextMarker from the current page's response. Marker *string // The maximum number of distribution IDs that you want to get in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListDistributionsByResponseHeadersPolicyIdOutput ¶
type ListDistributionsByResponseHeadersPolicyIdOutput struct { // A list of distribution IDs. DistributionIdList *types.DistributionIdList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDistributionsByWebACLIdInput ¶
type ListDistributionsByWebACLIdInput struct { // 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. // // For WAFV2, this is the ARN of the web ACL, such as // arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 // . // // For WAF Classic, this is the ID of the web ACL, such as // a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 . // // This member is required. WebACLId *string // Use Marker and MaxItems to control pagination of results. If you have more than // MaxItems distributions that satisfy the request, the response includes a // NextMarker element. To get the next page of results, submit another request. For // the value of Marker , specify the value of NextMarker from the last response. // (For the first request, omit Marker .) Marker *string // The maximum number of distributions that you want CloudFront to return in the // response body. The maximum and default values are both 100. MaxItems *int32 // contains filtered or unexported fields }
The request to list distributions that are associated with a specified WAF web ACL.
type ListDistributionsByWebACLIdOutput ¶
type ListDistributionsByWebACLIdOutput struct { // The DistributionList type. DistributionList *types.DistributionList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The response to a request to list the distributions that are associated with a specified WAF web ACL.
type ListDistributionsInput ¶
type ListDistributionsInput struct { // 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 Marker to the value of the // NextMarker from the current page's response (which is also the ID of the last // distribution on that page). Marker *string // The maximum number of distributions you want in the response body. MaxItems *int32 // contains filtered or unexported fields }
The request to list your distributions.
type ListDistributionsOutput ¶
type ListDistributionsOutput struct { // The DistributionList type. DistributionList *types.DistributionList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type ListDistributionsPaginator ¶
type ListDistributionsPaginator struct {
// contains filtered or unexported fields
}
ListDistributionsPaginator is a paginator for ListDistributions
func NewListDistributionsPaginator ¶
func NewListDistributionsPaginator(client ListDistributionsAPIClient, params *ListDistributionsInput, optFns ...func(*ListDistributionsPaginatorOptions)) *ListDistributionsPaginator
NewListDistributionsPaginator returns a new ListDistributionsPaginator
func (*ListDistributionsPaginator) HasMorePages ¶
func (p *ListDistributionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDistributionsPaginator) NextPage ¶
func (p *ListDistributionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDistributionsOutput, error)
NextPage retrieves the next ListDistributions page.
type ListDistributionsPaginatorOptions ¶
type ListDistributionsPaginatorOptions struct { // The maximum number of distributions you want in the response body. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDistributionsPaginatorOptions is the paginator options for ListDistributions
type ListFieldLevelEncryptionConfigsInput ¶
type ListFieldLevelEncryptionConfigsInput struct { // 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 Marker to the value of the // NextMarker from the current page's response (which is also the ID of the last // configuration on that page). Marker *string // The maximum number of field-level encryption configurations you want in the // response body. MaxItems *int32 // contains filtered or unexported fields }
type ListFieldLevelEncryptionConfigsOutput ¶
type ListFieldLevelEncryptionConfigsOutput struct { // Returns a list of all field-level encryption configurations that have been // created in CloudFront for this account. FieldLevelEncryptionList *types.FieldLevelEncryptionList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFieldLevelEncryptionProfilesInput ¶
type ListFieldLevelEncryptionProfilesInput struct { // 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 Marker to the value of the NextMarker // from the current page's response (which is also the ID of the last profile on // that page). Marker *string // The maximum number of field-level encryption profiles you want in the response // body. MaxItems *int32 // contains filtered or unexported fields }
type ListFieldLevelEncryptionProfilesOutput ¶
type ListFieldLevelEncryptionProfilesOutput struct { // Returns a list of the field-level encryption profiles that have been created in // CloudFront for this account. FieldLevelEncryptionProfileList *types.FieldLevelEncryptionProfileList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFunctionsInput ¶
type ListFunctionsInput struct { // 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 // NextMarker from the current page's response. Marker *string // The maximum number of functions that you want in the response. MaxItems *int32 // An optional filter to return only the functions that are in the specified // stage, either DEVELOPMENT or LIVE . Stage types.FunctionStage // contains filtered or unexported fields }
type ListFunctionsOutput ¶
type ListFunctionsOutput struct { // A list of CloudFront functions. FunctionList *types.FunctionList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListInvalidationsAPIClient ¶
type ListInvalidationsAPIClient interface {
ListInvalidations(context.Context, *ListInvalidationsInput, ...func(*Options)) (*ListInvalidationsOutput, error)
}
ListInvalidationsAPIClient is a client that implements the ListInvalidations operation.
type ListInvalidationsInput ¶
type ListInvalidationsInput struct { // The distribution's ID. // // This member is required. DistributionId *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 Marker to the value of the NextMarker from the current page's // response. This value is the same as the ID of the last invalidation batch on // that page. Marker *string // The maximum number of invalidation batches that you want in the response body. MaxItems *int32 // contains filtered or unexported fields }
The request to list invalidations.
type ListInvalidationsOutput ¶
type ListInvalidationsOutput struct { // Information about invalidation batches. InvalidationList *types.InvalidationList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type ListInvalidationsPaginator ¶
type ListInvalidationsPaginator struct {
// contains filtered or unexported fields
}
ListInvalidationsPaginator is a paginator for ListInvalidations
func NewListInvalidationsPaginator ¶
func NewListInvalidationsPaginator(client ListInvalidationsAPIClient, params *ListInvalidationsInput, optFns ...func(*ListInvalidationsPaginatorOptions)) *ListInvalidationsPaginator
NewListInvalidationsPaginator returns a new ListInvalidationsPaginator
func (*ListInvalidationsPaginator) HasMorePages ¶
func (p *ListInvalidationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListInvalidationsPaginator) NextPage ¶
func (p *ListInvalidationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListInvalidationsOutput, error)
NextPage retrieves the next ListInvalidations page.
type ListInvalidationsPaginatorOptions ¶
type ListInvalidationsPaginatorOptions struct { // The maximum number of invalidation batches that you want in the response body. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListInvalidationsPaginatorOptions is the paginator options for ListInvalidations
type ListKeyGroupsInput ¶
type ListKeyGroupsInput struct { // 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 // NextMarker from the current page's response. Marker *string // The maximum number of key groups that you want in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListKeyGroupsOutput ¶
type ListKeyGroupsOutput struct { // A list of key groups. KeyGroupList *types.KeyGroupList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListKeyValueStoresAPIClient ¶
type ListKeyValueStoresAPIClient interface {
ListKeyValueStores(context.Context, *ListKeyValueStoresInput, ...func(*Options)) (*ListKeyValueStoresOutput, error)
}
ListKeyValueStoresAPIClient is a client that implements the ListKeyValueStores operation.
type ListKeyValueStoresInput ¶
type ListKeyValueStoresInput struct { // The marker associated with the key value stores list. Marker *string // The maximum number of items in the key value stores list. MaxItems *int32 // The status of the request for the key value stores list. Status *string // contains filtered or unexported fields }
type ListKeyValueStoresOutput ¶
type ListKeyValueStoresOutput struct { // The resulting key value stores list. KeyValueStoreList *types.KeyValueStoreList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListKeyValueStoresPaginator ¶
type ListKeyValueStoresPaginator struct {
// contains filtered or unexported fields
}
ListKeyValueStoresPaginator is a paginator for ListKeyValueStores
func NewListKeyValueStoresPaginator ¶
func NewListKeyValueStoresPaginator(client ListKeyValueStoresAPIClient, params *ListKeyValueStoresInput, optFns ...func(*ListKeyValueStoresPaginatorOptions)) *ListKeyValueStoresPaginator
NewListKeyValueStoresPaginator returns a new ListKeyValueStoresPaginator
func (*ListKeyValueStoresPaginator) HasMorePages ¶
func (p *ListKeyValueStoresPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListKeyValueStoresPaginator) NextPage ¶
func (p *ListKeyValueStoresPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListKeyValueStoresOutput, error)
NextPage retrieves the next ListKeyValueStores page.
type ListKeyValueStoresPaginatorOptions ¶
type ListKeyValueStoresPaginatorOptions struct { // The maximum number of items in the key value stores list. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListKeyValueStoresPaginatorOptions is the paginator options for ListKeyValueStores
type ListOriginAccessControlsInput ¶
type ListOriginAccessControlsInput struct { // 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 NextMarker from the current page's response. Marker *string // The maximum number of origin access controls that you want in the response. MaxItems *int32 // contains filtered or unexported fields }
type ListOriginAccessControlsOutput ¶
type ListOriginAccessControlsOutput struct { // A list of origin access controls. OriginAccessControlList *types.OriginAccessControlList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListOriginRequestPoliciesInput ¶
type ListOriginRequestPoliciesInput struct { // 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 NextMarker from the current page's response. Marker *string // The maximum number of origin request policies that you want in the response. MaxItems *int32 // 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. Type types.OriginRequestPolicyType // contains filtered or unexported fields }
type ListOriginRequestPoliciesOutput ¶
type ListOriginRequestPoliciesOutput struct { // A list of origin request policies. OriginRequestPolicyList *types.OriginRequestPolicyList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListPublicKeysInput ¶
type ListPublicKeysInput struct { // 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 Marker to the value of the // NextMarker from the current page's response (which is also the ID of the last // public key on that page). Marker *string // The maximum number of public keys you want in the response body. MaxItems *int32 // contains filtered or unexported fields }
type ListPublicKeysOutput ¶
type ListPublicKeysOutput struct { // Returns a list of all public keys that have been added to CloudFront for this // account. PublicKeyList *types.PublicKeyList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListRealtimeLogConfigsInput ¶
type ListRealtimeLogConfigsInput struct { // 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 NextMarker from the current // page's response. Marker *string // The maximum number of real-time log configurations that you want in the // response. MaxItems *int32 // contains filtered or unexported fields }
type ListRealtimeLogConfigsOutput ¶
type ListRealtimeLogConfigsOutput struct { // A list of real-time log configurations. RealtimeLogConfigs *types.RealtimeLogConfigs // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListResponseHeadersPoliciesInput ¶
type ListResponseHeadersPoliciesInput struct { // 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 NextMarker from the current page's response. Marker *string // The maximum number of response headers policies that you want to get in the // response. MaxItems *int32 // 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. Type types.ResponseHeadersPolicyType // contains filtered or unexported fields }
type ListResponseHeadersPoliciesOutput ¶
type ListResponseHeadersPoliciesOutput struct { // A list of response headers policies. ResponseHeadersPolicyList *types.ResponseHeadersPolicyList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListStreamingDistributionsAPIClient ¶
type ListStreamingDistributionsAPIClient interface {
ListStreamingDistributions(context.Context, *ListStreamingDistributionsInput, ...func(*Options)) (*ListStreamingDistributionsOutput, error)
}
ListStreamingDistributionsAPIClient is a client that implements the ListStreamingDistributions operation.
type ListStreamingDistributionsInput ¶
type ListStreamingDistributionsInput struct { // The value that you provided for the Marker request parameter. Marker *string // The value that you provided for the MaxItems request parameter. MaxItems *int32 // contains filtered or unexported fields }
The request to list your streaming distributions.
type ListStreamingDistributionsOutput ¶
type ListStreamingDistributionsOutput struct { // The StreamingDistributionList type. StreamingDistributionList *types.StreamingDistributionList // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type ListStreamingDistributionsPaginator ¶
type ListStreamingDistributionsPaginator struct {
// contains filtered or unexported fields
}
ListStreamingDistributionsPaginator is a paginator for ListStreamingDistributions
func NewListStreamingDistributionsPaginator ¶
func NewListStreamingDistributionsPaginator(client ListStreamingDistributionsAPIClient, params *ListStreamingDistributionsInput, optFns ...func(*ListStreamingDistributionsPaginatorOptions)) *ListStreamingDistributionsPaginator
NewListStreamingDistributionsPaginator returns a new ListStreamingDistributionsPaginator
func (*ListStreamingDistributionsPaginator) HasMorePages ¶
func (p *ListStreamingDistributionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListStreamingDistributionsPaginator) NextPage ¶
func (p *ListStreamingDistributionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListStreamingDistributionsOutput, error)
NextPage retrieves the next ListStreamingDistributions page.
type ListStreamingDistributionsPaginatorOptions ¶
type ListStreamingDistributionsPaginatorOptions struct { // The value that you provided for the MaxItems request parameter. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListStreamingDistributionsPaginatorOptions is the paginator options for ListStreamingDistributions
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // An ARN of a CloudFront resource. // // This member is required. Resource *string // contains filtered or unexported fields }
The request to list tags for a CloudFront resource.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // A complex type that contains zero or more Tag elements. // // This member is required. Tags *types.Tags // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type PublishFunctionInput ¶
type PublishFunctionInput struct { // The current version ( ETag value) of the function that you are publishing, // which you can get using DescribeFunction . // // This member is required. IfMatch *string // The name of the function that you are publishing. // // This member is required. Name *string // contains filtered or unexported fields }
type PublishFunctionOutput ¶
type PublishFunctionOutput struct { // Contains configuration information and metadata about a CloudFront function. FunctionSummary *types.FunctionSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StreamingDistributionDeployedWaiter ¶
type StreamingDistributionDeployedWaiter struct {
// contains filtered or unexported fields
}
StreamingDistributionDeployedWaiter defines the waiters for StreamingDistributionDeployed
func NewStreamingDistributionDeployedWaiter ¶
func NewStreamingDistributionDeployedWaiter(client GetStreamingDistributionAPIClient, optFns ...func(*StreamingDistributionDeployedWaiterOptions)) *StreamingDistributionDeployedWaiter
NewStreamingDistributionDeployedWaiter constructs a StreamingDistributionDeployedWaiter.
func (*StreamingDistributionDeployedWaiter) Wait ¶
func (w *StreamingDistributionDeployedWaiter) Wait(ctx context.Context, params *GetStreamingDistributionInput, maxWaitDur time.Duration, optFns ...func(*StreamingDistributionDeployedWaiterOptions)) error
Wait calls the waiter function for StreamingDistributionDeployed waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*StreamingDistributionDeployedWaiter) WaitForOutput ¶
func (w *StreamingDistributionDeployedWaiter) WaitForOutput(ctx context.Context, params *GetStreamingDistributionInput, maxWaitDur time.Duration, optFns ...func(*StreamingDistributionDeployedWaiterOptions)) (*GetStreamingDistributionOutput, error)
WaitForOutput calls the waiter function for StreamingDistributionDeployed waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type StreamingDistributionDeployedWaiterOptions ¶
type StreamingDistributionDeployedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. // // Passing options here is functionally equivalent to passing values to this // config's ClientOptions field that extend the inner client's APIOptions directly. APIOptions []func(*middleware.Stack) error // Functional options to be passed to all operations invoked by this client. // // Function values that modify the inner APIOptions are applied after the waiter // config's own APIOptions modifiers. ClientOptions []func(*Options) // MinDelay is the minimum amount of time to delay between retries. If unset, // StreamingDistributionDeployedWaiter will use default minimum delay of 60 // seconds. Note that MinDelay must resolve to a value lesser than or equal to the // MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, StreamingDistributionDeployedWaiter will use default max delay of // 120 seconds. Note that MaxDelay must resolve to value greater than or equal to // the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. // // By default service-modeled logic will populate this option. This option can // thus be used to define a custom waiter state with fall-back to service-modeled // waiter state mutators.The function returns an error in case of a failure state. // In case of retry state, this function returns a bool value of true and nil // error, while in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetStreamingDistributionInput, *GetStreamingDistributionOutput, error) (bool, error) }
StreamingDistributionDeployedWaiterOptions are waiter options for StreamingDistributionDeployedWaiter
type TagResourceInput ¶
type TagResourceInput struct { // An ARN of a CloudFront resource. // // This member is required. Resource *string // A complex type that contains zero or more Tag elements. // // This member is required. Tags *types.Tags // contains filtered or unexported fields }
The request to add tags to a CloudFront resource.
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TestFunctionInput ¶
type TestFunctionInput struct { // 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. // // [Testing functions]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function // // This member is required. EventObject []byte // The current version ( ETag value) of the function that you are testing, which // you can get using DescribeFunction . // // This member is required. IfMatch *string // The name of the function that you are testing. // // This member is required. Name *string // The stage of the function that you are testing, either DEVELOPMENT or LIVE . Stage types.FunctionStage // contains filtered or unexported fields }
type TestFunctionOutput ¶
type TestFunctionOutput struct { // An object that represents the result of running the function with the provided // event object. TestResult *types.TestResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // An ARN of a CloudFront resource. // // This member is required. Resource *string // A complex type that contains zero or more Tag key elements. // // This member is required. TagKeys *types.TagKeys // contains filtered or unexported fields }
The request to remove tags from a CloudFront resource.
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateCachePolicyInput ¶
type UpdateCachePolicyInput struct { // A cache policy configuration. // // This member is required. CachePolicyConfig *types.CachePolicyConfig // The unique identifier for the cache policy that you are updating. The // identifier is returned in a cache behavior's CachePolicyId field in the // response to GetDistributionConfig . // // This member is required. Id *string // The version of the cache policy that you are updating. The version is returned // in the cache policy's ETag field in the response to GetCachePolicyConfig . IfMatch *string // contains filtered or unexported fields }
type UpdateCachePolicyOutput ¶
type UpdateCachePolicyOutput struct { // A cache policy. CachePolicy *types.CachePolicy // The current version of the cache policy. ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateCloudFrontOriginAccessIdentityInput ¶
type UpdateCloudFrontOriginAccessIdentityInput struct { // The identity's configuration information. // // This member is required. CloudFrontOriginAccessIdentityConfig *types.CloudFrontOriginAccessIdentityConfig // The identity's id. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the identity's // configuration. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
The request to update an origin access identity.
type UpdateCloudFrontOriginAccessIdentityOutput ¶
type UpdateCloudFrontOriginAccessIdentityOutput struct { // The origin access identity's information. CloudFrontOriginAccessIdentity *types.CloudFrontOriginAccessIdentity // The current version of the configuration. For example: E2QWRUHAPOMQZL . ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type UpdateContinuousDeploymentPolicyInput ¶
type UpdateContinuousDeploymentPolicyInput struct { // The continuous deployment policy configuration. // // This member is required. ContinuousDeploymentPolicyConfig *types.ContinuousDeploymentPolicyConfig // The identifier of the continuous deployment policy that you are updating. // // This member is required. Id *string // The current version ( ETag value) of the continuous deployment policy that you // are updating. IfMatch *string // contains filtered or unexported fields }
type UpdateContinuousDeploymentPolicyOutput ¶
type UpdateContinuousDeploymentPolicyOutput struct { // A continuous deployment policy. ContinuousDeploymentPolicy *types.ContinuousDeploymentPolicy // The version identifier for the current version of the continuous deployment // policy. ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDistributionInput ¶
type UpdateDistributionInput struct { // The distribution's configuration information. // // This member is required. DistributionConfig *types.DistributionConfig // The distribution's id. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the // distribution's configuration. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
The request to update a distribution.
type UpdateDistributionOutput ¶
type UpdateDistributionOutput struct { // The distribution's information. Distribution *types.Distribution // The current version of the configuration. For example: E2QWRUHAPOMQZL . ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
type UpdateDistributionWithStagingConfigInput ¶
type UpdateDistributionWithStagingConfigInput struct { // The identifier of the primary distribution to which you are copying a staging // distribution's configuration. // // This member is required. Id *string // The current versions ( ETag values) of both primary and staging distributions. // Provide these in the following format: // // , IfMatch *string // The identifier of the staging distribution whose configuration you are copying // to the primary distribution. StagingDistributionId *string // contains filtered or unexported fields }
type UpdateDistributionWithStagingConfigOutput ¶
type UpdateDistributionWithStagingConfigOutput struct { // A distribution tells CloudFront where you want content to be delivered from, // and the details about how to track and manage content delivery. Distribution *types.Distribution // The current version of the primary distribution (after it's updated). ETag *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFieldLevelEncryptionConfigInput ¶
type UpdateFieldLevelEncryptionConfigInput struct { // Request to update a field-level encryption configuration. // // This member is required. FieldLevelEncryptionConfig *types.FieldLevelEncryptionConfig // The ID of the configuration you want to update. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the // configuration identity to update. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
type UpdateFieldLevelEncryptionConfigOutput ¶
type UpdateFieldLevelEncryptionConfigOutput struct { // The value of the ETag header that you received when updating the configuration. // For example: E2QWRUHAPOMQZL . ETag *string // Return the results of updating the configuration. FieldLevelEncryption *types.FieldLevelEncryption // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFieldLevelEncryptionProfileInput ¶
type UpdateFieldLevelEncryptionProfileInput struct { // Request to update a field-level encryption profile. // // This member is required. FieldLevelEncryptionProfileConfig *types.FieldLevelEncryptionProfileConfig // The ID of the field-level encryption profile request. // // This member is required. Id *string // The value of the ETag header that you received when retrieving the profile // identity to update. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
type UpdateFieldLevelEncryptionProfileOutput ¶
type UpdateFieldLevelEncryptionProfileOutput struct { // The result of the field-level encryption profile request. ETag *string // Return the results of updating the profile. FieldLevelEncryptionProfile *types.FieldLevelEncryptionProfile // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateFunctionInput ¶
type UpdateFunctionInput struct { // The function code. For more information about writing a CloudFront function, // see [Writing function code for CloudFront Functions]in the Amazon CloudFront Developer Guide. // // [Writing function code for CloudFront Functions]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html // // This member is required. FunctionCode []byte // Configuration information about the function. // // This member is required. FunctionConfig *types.FunctionConfig // The current version ( ETag value) of the function that you are updating, which // you can get using DescribeFunction . // // This member is required. IfMatch *string // The name of the function that you are updating. // // This member is required. Name *string // contains filtered or unexported fields }
type UpdateFunctionOutput ¶
type UpdateFunctionOutput struct { // The version identifier for the current version of the CloudFront function. ETag *string // Contains configuration information and metadata about a CloudFront function. FunctionSummary *types.FunctionSummary // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateKeyGroupInput ¶
type UpdateKeyGroupInput struct { // The identifier of the key group that you are updating. // // This member is required. Id *string // The key group configuration. // // This member is required. KeyGroupConfig *types.KeyGroupConfig // The version of the key group that you are updating. The version is the key // group's ETag value. IfMatch *string // contains filtered or unexported fields }
type UpdateKeyGroupOutput ¶
type UpdateKeyGroupOutput struct { // The identifier for this version of the key group. ETag *string // The key group that was just updated. KeyGroup *types.KeyGroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateKeyValueStoreInput ¶
type UpdateKeyValueStoreInput struct { // The comment of the key value store to update. // // This member is required. Comment *string // The key value store to update, if a match occurs. // // This member is required. IfMatch *string // The name of the key value store to update. // // This member is required. Name *string // contains filtered or unexported fields }
type UpdateKeyValueStoreOutput ¶
type UpdateKeyValueStoreOutput struct { // The ETag of the resulting key value store. ETag *string // The resulting key value store to update. KeyValueStore *types.KeyValueStore // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateOriginAccessControlInput ¶
type UpdateOriginAccessControlInput struct { // The unique identifier of the origin access control that you are updating. // // This member is required. Id *string // An origin access control. // // This member is required. OriginAccessControlConfig *types.OriginAccessControlConfig // The current version ( ETag value) of the origin access control that you are // updating. IfMatch *string // contains filtered or unexported fields }
type UpdateOriginAccessControlOutput ¶
type UpdateOriginAccessControlOutput struct { // The new version of the origin access control after it has been updated. ETag *string // The origin access control after it has been updated. OriginAccessControl *types.OriginAccessControl // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateOriginRequestPolicyInput ¶
type UpdateOriginRequestPolicyInput struct { // The unique identifier for the origin request policy that you are updating. The // identifier is returned in a cache behavior's OriginRequestPolicyId field in the // response to GetDistributionConfig . // // This member is required. Id *string // An origin request policy configuration. // // This member is required. OriginRequestPolicyConfig *types.OriginRequestPolicyConfig // The version of the origin request policy that you are updating. The version is // returned in the origin request policy's ETag field in the response to // GetOriginRequestPolicyConfig . IfMatch *string // contains filtered or unexported fields }
type UpdateOriginRequestPolicyOutput ¶
type UpdateOriginRequestPolicyOutput struct { // The current version of the origin request policy. ETag *string // An origin request policy. OriginRequestPolicy *types.OriginRequestPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdatePublicKeyInput ¶
type UpdatePublicKeyInput struct { // The identifier of the public key that you are updating. // // This member is required. Id *string // A public key configuration. // // This member is required. PublicKeyConfig *types.PublicKeyConfig // The value of the ETag header that you received when retrieving the public key // to update. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
type UpdatePublicKeyOutput ¶
type UpdatePublicKeyOutput struct { // The identifier of the current version of the public key. ETag *string // The public key. PublicKey *types.PublicKey // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateRealtimeLogConfigInput ¶
type UpdateRealtimeLogConfigInput struct { // The Amazon Resource Name (ARN) for this real-time log configuration. ARN *string // Contains information about the Amazon Kinesis data stream where you are sending // real-time log data. EndPoints []types.EndPoint // 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. // // [Real-time log configuration fields]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields Fields []string // The name for this real-time log configuration. Name *string // 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. SamplingRate *int64 // contains filtered or unexported fields }
type UpdateRealtimeLogConfigOutput ¶
type UpdateRealtimeLogConfigOutput struct { // A real-time log configuration. RealtimeLogConfig *types.RealtimeLogConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateResponseHeadersPolicyInput ¶
type UpdateResponseHeadersPolicyInput struct { // The identifier for the response headers policy that you are updating. // // This member is required. Id *string // A response headers policy configuration. // // This member is required. ResponseHeadersPolicyConfig *types.ResponseHeadersPolicyConfig // The version of the response headers policy that you are updating. // // The version is returned in the cache policy's ETag field in the response to // GetResponseHeadersPolicyConfig . IfMatch *string // contains filtered or unexported fields }
type UpdateResponseHeadersPolicyOutput ¶
type UpdateResponseHeadersPolicyOutput struct { // The current version of the response headers policy. ETag *string // A response headers policy. ResponseHeadersPolicy *types.ResponseHeadersPolicy // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateStreamingDistributionInput ¶
type UpdateStreamingDistributionInput struct { // The streaming distribution's id. // // This member is required. Id *string // The streaming distribution's configuration information. // // This member is required. StreamingDistributionConfig *types.StreamingDistributionConfig // The value of the ETag header that you received when retrieving the streaming // distribution's configuration. For example: E2QWRUHAPOMQZL . IfMatch *string // contains filtered or unexported fields }
The request to update a streaming distribution.
type UpdateStreamingDistributionOutput ¶
type UpdateStreamingDistributionOutput struct { // The current version of the configuration. For example: E2QWRUHAPOMQZL . ETag *string // The streaming distribution's information. StreamingDistribution *types.StreamingDistribution // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
The returned result of the corresponding request.
Source Files ¶
- api_client.go
- api_op_AssociateAlias.go
- api_op_CopyDistribution.go
- api_op_CreateCachePolicy.go
- api_op_CreateCloudFrontOriginAccessIdentity.go
- api_op_CreateContinuousDeploymentPolicy.go
- api_op_CreateDistribution.go
- api_op_CreateDistributionWithTags.go
- api_op_CreateFieldLevelEncryptionConfig.go
- api_op_CreateFieldLevelEncryptionProfile.go
- api_op_CreateFunction.go
- api_op_CreateInvalidation.go
- api_op_CreateKeyGroup.go
- api_op_CreateKeyValueStore.go
- api_op_CreateMonitoringSubscription.go
- api_op_CreateOriginAccessControl.go
- api_op_CreateOriginRequestPolicy.go
- api_op_CreatePublicKey.go
- api_op_CreateRealtimeLogConfig.go
- api_op_CreateResponseHeadersPolicy.go
- api_op_CreateStreamingDistribution.go
- api_op_CreateStreamingDistributionWithTags.go
- api_op_DeleteCachePolicy.go
- api_op_DeleteCloudFrontOriginAccessIdentity.go
- api_op_DeleteContinuousDeploymentPolicy.go
- api_op_DeleteDistribution.go
- api_op_DeleteFieldLevelEncryptionConfig.go
- api_op_DeleteFieldLevelEncryptionProfile.go
- api_op_DeleteFunction.go
- api_op_DeleteKeyGroup.go
- api_op_DeleteKeyValueStore.go
- api_op_DeleteMonitoringSubscription.go
- api_op_DeleteOriginAccessControl.go
- api_op_DeleteOriginRequestPolicy.go
- api_op_DeletePublicKey.go
- api_op_DeleteRealtimeLogConfig.go
- api_op_DeleteResponseHeadersPolicy.go
- api_op_DeleteStreamingDistribution.go
- api_op_DescribeFunction.go
- api_op_DescribeKeyValueStore.go
- api_op_GetCachePolicy.go
- api_op_GetCachePolicyConfig.go
- api_op_GetCloudFrontOriginAccessIdentity.go
- api_op_GetCloudFrontOriginAccessIdentityConfig.go
- api_op_GetContinuousDeploymentPolicy.go
- api_op_GetContinuousDeploymentPolicyConfig.go
- api_op_GetDistribution.go
- api_op_GetDistributionConfig.go
- api_op_GetFieldLevelEncryption.go
- api_op_GetFieldLevelEncryptionConfig.go
- api_op_GetFieldLevelEncryptionProfile.go
- api_op_GetFieldLevelEncryptionProfileConfig.go
- api_op_GetFunction.go
- api_op_GetInvalidation.go
- api_op_GetKeyGroup.go
- api_op_GetKeyGroupConfig.go
- api_op_GetMonitoringSubscription.go
- api_op_GetOriginAccessControl.go
- api_op_GetOriginAccessControlConfig.go
- api_op_GetOriginRequestPolicy.go
- api_op_GetOriginRequestPolicyConfig.go
- api_op_GetPublicKey.go
- api_op_GetPublicKeyConfig.go
- api_op_GetRealtimeLogConfig.go
- api_op_GetResponseHeadersPolicy.go
- api_op_GetResponseHeadersPolicyConfig.go
- api_op_GetStreamingDistribution.go
- api_op_GetStreamingDistributionConfig.go
- api_op_ListCachePolicies.go
- api_op_ListCloudFrontOriginAccessIdentities.go
- api_op_ListConflictingAliases.go
- api_op_ListContinuousDeploymentPolicies.go
- api_op_ListDistributions.go
- api_op_ListDistributionsByCachePolicyId.go
- api_op_ListDistributionsByKeyGroup.go
- api_op_ListDistributionsByOriginRequestPolicyId.go
- api_op_ListDistributionsByRealtimeLogConfig.go
- api_op_ListDistributionsByResponseHeadersPolicyId.go
- api_op_ListDistributionsByWebACLId.go
- api_op_ListFieldLevelEncryptionConfigs.go
- api_op_ListFieldLevelEncryptionProfiles.go
- api_op_ListFunctions.go
- api_op_ListInvalidations.go
- api_op_ListKeyGroups.go
- api_op_ListKeyValueStores.go
- api_op_ListOriginAccessControls.go
- api_op_ListOriginRequestPolicies.go
- api_op_ListPublicKeys.go
- api_op_ListRealtimeLogConfigs.go
- api_op_ListResponseHeadersPolicies.go
- api_op_ListStreamingDistributions.go
- api_op_ListTagsForResource.go
- api_op_PublishFunction.go
- api_op_TagResource.go
- api_op_TestFunction.go
- api_op_UntagResource.go
- api_op_UpdateCachePolicy.go
- api_op_UpdateCloudFrontOriginAccessIdentity.go
- api_op_UpdateContinuousDeploymentPolicy.go
- api_op_UpdateDistribution.go
- api_op_UpdateDistributionWithStagingConfig.go
- api_op_UpdateFieldLevelEncryptionConfig.go
- api_op_UpdateFieldLevelEncryptionProfile.go
- api_op_UpdateFunction.go
- api_op_UpdateKeyGroup.go
- api_op_UpdateKeyValueStore.go
- api_op_UpdateOriginAccessControl.go
- api_op_UpdateOriginRequestPolicy.go
- api_op_UpdatePublicKey.go
- api_op_UpdateRealtimeLogConfig.go
- api_op_UpdateResponseHeadersPolicy.go
- api_op_UpdateStreamingDistribution.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go